Contract 0x27182C8b647fd83603bB442C0E450DE7445ccfB8 3

 

Contract Overview

Charge DeFi: Static Token
Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x565eda91fe2f702d8048cb7d1110436d1d9ab3fc3951adb8246b2b49ce0f726dApprove586520542023-03-29 16:42:043 hrs ago0x1cf2070311dfba306a8fe0918613ce1e07cc85de IN  Charge DeFi: Static Token0 FTM0.001433510379
0xc7cefc50deb570b1fabc48e1a486dbb829ec340ba07b43fc18c39d85e7add9bbApprove583486142023-03-25 13:51:004 days 5 hrs ago0x8d4046a94a6114d8e2d0eb371e453efde1f4b131 IN  Charge DeFi: Static Token0 FTM0.001253106108
0xe0673e4ff625a8fb5ca67b0c1f4e70a3d659893e49ab64106ff71f79f9df8cc4Approve583252082023-03-25 4:51:074 days 14 hrs ago0x66435387dce9f113be44d5e730eb1c068b328e93 IN  Charge DeFi: Static Token0 FTM0.00085982
0xd2b87c46ca5f728e4d43b7afb683ca6a22d76b29459364bd62d880010fe1d8a8Transfer582580222023-03-24 6:09:275 days 13 hrs ago0x011a03492b1e8cc6b54184f9a1a0628ea1b241a0 IN  Charge DeFi: Static Token0 FTM0.00157138231
0xa2ee672c339be08296c83b05c758713f40f683f3a45d6ee55354f66952892d86Approve581965252023-03-23 10:40:136 days 9 hrs ago0x1732fb0d121a61b73f87da8b6e0b2a494685a574 IN  Charge DeFi: Static Token0 FTM0.000789785428
0x9d7cdfefccc3de7fe7ab829f10ca15c6d0693626f888d584145fce78d7c76358Approve581964382023-03-23 10:38:366 days 9 hrs ago0x1732fb0d121a61b73f87da8b6e0b2a494685a574 IN  Charge DeFi: Static Token0 FTM0.000801104533
0x25c8e245d0a133ce1d512e78146cc5145bab06c81189e5d50e6dc54d7bad112cApprove581817562023-03-23 5:32:576 days 14 hrs ago0xbf31a2536af7fee394ad6a909c4158fadf4c9a63 IN  Charge DeFi: Static Token0 FTM0.001611736208
0x02baa171db196ef5e133ee601eb5e68444cf3709e599e3b9c868383f2246f559Approve579492642023-03-20 0:20:269 days 19 hrs ago0x46e027a80db9498938134b867cfa2dcb30c643b3 IN  Charge DeFi: Static Token0 FTM0.002324524024
0xd6d372e76543a7a36a2edf7833f417f6e059df5a8b99f3916d8024e2afed9ad2Approve577350132023-03-16 23:17:5912 days 20 hrs ago0xa878db75d4c80d9534d070a0a59dfbf66e396450 IN  Charge DeFi: Static Token0 FTM0.000968024116
0x1f9fa356999d0f93105781b23a5a8c02925816733c2ae64263a143de12e1b5a7Approve577349742023-03-16 23:16:5412 days 20 hrs ago0xa878db75d4c80d9534d070a0a59dfbf66e396450 IN  Charge DeFi: Static Token0 FTM0.000968808241
0x16cfade99ece272d2b0cd038ff570aae391ea6c4096526828b9f144ffe670747Approve577349592023-03-16 23:16:3712 days 20 hrs ago0xa878db75d4c80d9534d070a0a59dfbf66e396450 IN  Charge DeFi: Static Token0 FTM0.000877946215
0x9e58099d217044a1f7a18cd00283186616d8b027c494d31e3818f3cea34cb1baApprove577257172023-03-16 19:57:4312 days 23 hrs ago0xac3293cc940c6125985dd520057df999fda0d1f9 IN  Charge DeFi: Static Token0 FTM0.002068727179
0x476dbe0d68a65343c00079d3042775796ec9e6c05401412cb56170d4b638a81eApprove575115922023-03-13 13:36:4716 days 6 hrs ago0xd7ae7f0a87780c5cf2962a6a878e0f557f56e0ba IN  Charge DeFi: Static Token0 FTM0.00254639
0x05e321b34249ffb74a85c081eb92c7da443dcae58bd041e1f3f4a97b23523771Approve574980492023-03-13 7:46:2716 days 11 hrs ago0xe1917a4e22b1d36e882b87e60c75fd0e3195d4f8 IN  Charge DeFi: Static Token0 FTM0.00544111
0x3a0a6049992e8582617af9a42a160355cd76077b8646f9378c74c0cc78f80dbaApprove574664172023-03-12 20:50:2916 days 22 hrs ago0xe2a19464398f77442460296e826bb3331a7439a6 IN  Charge DeFi: Static Token0 FTM0.006340125642
0x26e8aeb759a68adfa68ebd87f38137438c3a21aa147ec44820a09d314fefa0b2Approve568735182023-03-03 17:29:3826 days 2 hrs ago0x4b8b235c511f0c830264c7761520b1f9ad441716 IN  Charge DeFi: Static Token0 FTM0.001166206618
0xc4d176340dfc65f8c88a256dd94c81f537db62935447aa6b26804c927fdaf1c8Approve568275452023-03-03 1:32:0626 days 18 hrs ago0x3974cf2c77cd5c3e76850fb4dac5580991f0b180 IN  Charge DeFi: Static Token0 FTM0.16535
0x897ccc8e46c49b5a495860b098541361e9485fd82273d797221cff890cc6ce52Approve566438412023-02-28 3:08:1429 days 16 hrs ago0xf96f30832f353e2b547d85f8db8b2ae8a4bd500c IN  Charge DeFi: Static Token0 FTM0.001638010298
0x622892366d06343288c04f694e9a925d6bfed64c506013b63cd10f6e3b300049Approve565991642023-02-27 9:59:4030 days 9 hrs ago0x6f79131b3a72592e607d851efa476c62b662cc48 IN  Charge DeFi: Static Token0 FTM0.001138957943
0xae8dabcfbb707d269c58a739a265b56a3c99af78c7bd0eaf6b82eb36232e80d6Approve565989172023-02-27 9:54:5830 days 9 hrs ago0x6f79131b3a72592e607d851efa476c62b662cc48 IN  Charge DeFi: Static Token0 FTM0.001172638167
0x7f90e9440b2a605878fe91858a10f93e2b3b570681010fe17b9cb37943ef6d11Approve563678722023-02-23 15:46:4834 days 3 hrs ago0x064520f3e2ee0334167ca96cdb8c63dcabd78516 IN  Charge DeFi: Static Token0 FTM0.003155097706
0x1207fa6cb23cd159bb41cfbfcd8ddcb1d0bea769f5dab0eca247ba41cc61257aApprove563600012023-02-23 13:18:1234 days 6 hrs ago0x703b9992056002d7c60ad6cc9879787d81592f43 IN  Charge DeFi: Static Token0 FTM0.003028096
0x1dc80a03b86bcadde64915dae9ed42f49cd8bedf95b24493a8bd1816194aa2c2Approve563483622023-02-23 8:23:5134 days 11 hrs ago0x200fba933cb2af4e2347b1b69362ce20521b2971 IN  Charge DeFi: Static Token0 FTM0.00114001603
0x66cabd1bc8a487ef144a27f8544459f0b02987c1efd87c5b33a8be2eec30b4fdApprove563003502023-02-22 12:10:0835 days 7 hrs ago0xe9836664a0e25ddb7b26185f75e7d28883cdbe4e IN  Charge DeFi: Static Token0 FTM0.025349441088
0xfc0c29a8f0eacec9bd996d369a2b17cdab26370e8abfbdec0a082540001d4eebApprove562996082023-02-22 11:46:0035 days 7 hrs ago0xe9836664a0e25ddb7b26185f75e7d28883cdbe4e IN  Charge DeFi: Static Token0 FTM0.026388827631
[ Download CSV Export 

OVERVIEW

Charge DeFi is an elastic supply crypto project featuring rebase mechanics. Through farming and boardroom staking options this project aims to provide a passive daily income.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x36cc87f544f9ca1b33de0a9fd41f35afbb0a03d603f9a6c32c752afda16e7257357699642022-04-11 4:35:39352 days 15 hrs ago Charge DeFi: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Static

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : static.sol
// SPDX-License-Identifier: Elastic-2.0

pragma solidity 0.8.4;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/AccessControlEnumerable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import './lib/SafeMathint.sol';
import './Interfaces/IMintableToken.sol';
import './Orchestrator.sol';

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract Static is Context, IERC20, Orchestrator, IMintableToken {
	using SafeMath for uint256;
	using SafeMathInt for int256;

	bytes32 public constant rebaserRole = keccak256('rebaser');
	bytes32 public constant minterRole = keccak256('minter');
	bytes32 public constant excluderRole = keccak256('excluder');

	uint256 private constant MAX_UINT256 = ~uint256(0);
	uint256 private constant MAX_SUPPLY = ~uint128(0);
	uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 0; // = 100 * 10**10 * (10**18);
	uint256 public TOTAL_GONS;
	uint256 private _gonsPerFragment = 10**18;

	bool public rebaseAllowed = true;

	mapping(address => uint256) private _balances;

	mapping(address => mapping(address => uint256)) private _allowances;

	mapping(address => bool) private _isExcluded;
	address[] public excluded;

	uint256 private _totalSupply;
	string private _name;
	string private _symbol;
	uint8 private _decimals;

	event LogRebase(uint256 indexed epoch, uint256 totalSupply);
	event GrantExclusion(address indexed account);
	event RevokeExclusion(address indexed account);

	function disableRebase() external onlyRole(DEFAULT_ADMIN_ROLE) {
		rebaseAllowed = false;
	}

	function rebase(uint256 epoch, int256 supplyDelta)
		external
		onlyRole(rebaserRole)
		returns (uint256)
	{
		require(rebaseAllowed, 'Rebase is not allowed');
		uint256 prevRebaseSupply = rebaseSupply();
		uint256 prevTotalSupply = _totalSupply;

		uint256 total = _rebase(supplyDelta);

		emit LogRebase(epoch, total);

		//notify downstream consumers about rebase
		_notifyRebase(
			prevRebaseSupply,
			rebaseSupply(),
			prevTotalSupply,
			_totalSupply
		);

		return total;
	}

	/**
	 * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
	 * a default value of 18.
	 *
	 * To select a different value for {decimals}, use {_setupDecimals}.
	 *
	 * All three of these values are immutable: they can only be set once during
	 * construction.
	 */
	constructor(string memory name_, string memory symbol_) {
		_name = name_;
		_symbol = symbol_;
		_decimals = 18;
		_totalSupply = INITIAL_FRAGMENTS_SUPPLY;
		//_balances[msg.sender] = TOTAL_GONS;
		//_gonsPerFragment = 0;  //TOTAL_GONS.div(_totalSupply);
		_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
	}

	/**
	 * @dev Returns the name of the token.
	 */
	function name() external view returns (string memory) {
		return _name;
	}

	/**
	 * @dev Returns the symbol of the token, usually a shorter version of the
	 * name.
	 */
	function symbol() external view returns (string memory) {
		return _symbol;
	}

	/**
	 * @dev Returns the number of decimals used to get its user representation.
	 * For example, if `decimals` equals `2`, a balance of `505` tokens should
	 * be displayed to a user as `5,05` (`505 / 10 ** 2`).
	 *
	 * Tokens usually opt for a value of 18, imitating the relationship between
	 * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
	 * called.
	 *
	 * NOTE: This information is only used for _display_ purposes: it in
	 * no way affects any of the arithmetic of the contract, including
	 * {IERC20-balanceOf} and {IERC20-transfer}.
	 */
	function decimals() external view returns (uint8) {
		return _decimals;
	}

	/**
	 * @dev See {IERC20-totalSupply}.
	 */
	function totalSupply() public view override returns (uint256) {
		return _totalSupply;
	}

	/**
	 * @dev Exposes the supply available for rebasing. Essentially this is total supply minus excluded accounts
	 * @return rebaseSupply The supply available for rebase
	 */
	function rebaseSupply() public view returns (uint256) {
		uint256 excludedSupply = 0;
		for (uint256 i = 0; i < excluded.length; i++) {
			excludedSupply = excludedSupply.add(balanceOf(excluded[i]));
		}
		return _totalSupply.sub(excludedSupply);
	}

	/**
	 * @dev See {IERC20-balanceOf}.
	 */
	function balanceOf(address account) public view override returns (uint256) {
		if (_gonsPerFragment == 0) return 0;
		return _balances[account].div(_gonsPerFragment);
	}

	/**
	 * @dev See {IERC20-transfer}.
	 *
	 * Requirements:
	 *
	 * - `recipient` cannot be the zero address.
	 * - the caller must have a balance of at least `amount`.
	 */
	function transfer(address recipient, uint256 amount)
		public
		virtual
		override
		returns (bool)
	{
		_transfer(_msgSender(), recipient, amount);
		return true;
	}

	/**
	 * @dev See {IERC20-allowance}.
	 */
	function allowance(address owner, address spender)
		public
		view
		virtual
		override
		returns (uint256)
	{
		return _allowances[owner][spender];
	}

	/**
	 * @dev See {IERC20-approve}.
	 *
	 * Requirements:
	 *
	 * - `spender` cannot be the zero address.
	 */
	function approve(address spender, uint256 amount)
		public
		virtual
		override
		returns (bool)
	{
		_approve(_msgSender(), spender, amount);
		return true;
	}

	/**
	 * @dev See {IERC20-transferFrom}.
	 *
	 * Emits an {Approval} event indicating the updated allowance. This is not
	 * required by the EIP. See the note at the beginning of {ERC20}.
	 *
	 * Requirements:
	 *
	 * - `sender` and `recipient` cannot be the zero address.
	 * - `sender` must have a balance of at least `amount`.
	 * - the caller must have allowance for ``sender``'s tokens of at least
	 * `amount`.
	 */
	function transferFrom(
		address sender,
		address recipient,
		uint256 amount
	) public virtual override returns (bool) {
		_transfer(sender, recipient, amount);
		_approve(
			sender,
			_msgSender(),
			_allowances[sender][_msgSender()].sub(
				amount,
				'ERC20: transfer amount exceeds allowance'
			)
		);
		return true;
	}

	/**
	 * @dev Atomically increases the allowance granted to `spender` by the caller.
	 *
	 * This is an alternative to {approve} that can be used as a mitigation for
	 * problems described in {IERC20-approve}.
	 *
	 * Emits an {Approval} event indicating the updated allowance.
	 *
	 * Requirements:
	 *
	 * - `spender` cannot be the zero address.
	 */
	function increaseAllowance(address spender, uint256 addedValue)
		external
		virtual
		returns (bool)
	{
		_approve(
			_msgSender(),
			spender,
			_allowances[_msgSender()][spender].add(addedValue)
		);
		return true;
	}

	/**
	 * @dev Atomically decreases the allowance granted to `spender` by the caller.
	 *
	 * This is an alternative to {approve} that can be used as a mitigation for
	 * problems described in {IERC20-approve}.
	 *
	 * Emits an {Approval} event indicating the updated allowance.
	 *
	 * Requirements:
	 *
	 * - `spender` cannot be the zero address.
	 * - `spender` must have allowance for the caller of at least
	 * `subtractedValue`.
	 */
	function decreaseAllowance(address spender, uint256 subtractedValue)
		external
		virtual
		returns (bool)
	{
		_approve(
			_msgSender(),
			spender,
			_allowances[_msgSender()][spender].sub(
				subtractedValue,
				'ERC20: decreased allowance below zero'
			)
		);
		return true;
	}

	/**
	 * @dev Moves tokens `amount` from `sender` to `recipient`.
	 *
	 * This is internal function is equivalent to {transfer}, and can be used to
	 * e.g. implement automatic token fees, slashing mechanisms, etc.
	 *
	 * Emits a {Transfer} event.
	 *
	 * Requirements:
	 *
	 * - `sender` cannot be the zero address.
	 * - `recipient` cannot be the zero address.
	 * - `sender` must have a balance of at least `amount`.
	 */
	function _transfer(
		address sender,
		address recipient,
		uint256 amount
	) internal virtual {
		require(sender != address(0), 'ERC20: transfer from the zero address');
		require(recipient != address(0), 'ERC20: transfer to the zero address');

		// _beforeTokenTransfer(sender, recipient, amount);

		uint256 gonValue = amount.mul(_gonsPerFragment);
		_balances[sender] = _balances[sender].sub(
			gonValue,
			'ERC20: transfer amount exceeds balance'
		);
		_balances[recipient] = _balances[recipient].add(gonValue);
		emit Transfer(sender, recipient, amount);
	}

	/**
	 * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
	 *
	 * This internal function is equivalent to `approve`, and can be used to
	 * e.g. set automatic allowances for certain subsystems, etc.
	 *
	 * Emits an {Approval} event.
	 *
	 * Requirements:
	 *
	 * - `owner` cannot be the zero address.
	 * - `spender` cannot be the zero address.
	 */
	function _approve(
		address owner,
		address spender,
		uint256 amount
	) internal virtual {
		require(owner != address(0), 'ERC20: approve from the zero address');
		require(spender != address(0), 'ERC20: approve to the zero address');

		_allowances[owner][spender] = amount;
		emit Approval(owner, spender, amount);
	}

	/**
	 * @dev Notifies Fragments contract about a new rebase cycle.
	 * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
	 * Return The total number of fragments after the supply adjustment.
	 */
	function _rebase(int256 supplyDelta) internal virtual returns (uint256) {
		// if supply delta is 0 nothing to rebase
		// if rebaseSupply is 0 nothing can be rebased
		if (supplyDelta == 0 || rebaseSupply() == 0) {
			return _totalSupply;
		}

		uint256[] memory excludedBalances = _burnExcludedAccountTokens();

		if (supplyDelta < 0) {
			_totalSupply = _totalSupply.sub(uint256(supplyDelta.abs()));
		} else {
			_totalSupply = _totalSupply.add(uint256(supplyDelta));
		}

		if (_totalSupply > MAX_SUPPLY) {
			_totalSupply = MAX_SUPPLY;
		}

		_gonsPerFragment = TOTAL_GONS.div(_totalSupply);

		_mintExcludedAccountTokens(excludedBalances);

		return _totalSupply;
	}

	function mint(address recipient_, uint256 amount_)
		external
		override
		onlyRole(minterRole)
		returns (bool)
	{
		uint256 balanceBefore = balanceOf(recipient_);
		_mint(recipient_, amount_, true);
		uint256 balanceAfter = balanceOf(recipient_);
		return balanceAfter > balanceBefore;
	}

	function _mint(
		address recipient_,
		uint256 amount_,
		bool emitEvent
	) private {
		require(
			recipient_ != address(0),
			'ERC20: transfer to the zero address'
		);
		require(amount_ > 0, "ERC20: Can't mint 0 tokens");

		TOTAL_GONS = TOTAL_GONS.add(_gonsPerFragment.mul(amount_));
		_totalSupply = _totalSupply.add(amount_);

		_balances[recipient_] = _balances[recipient_].add(
			amount_.mul(_gonsPerFragment)
		);

		if (emitEvent) emit Transfer(address(0), recipient_, amount_);
	}

	function burnFrom(address account, uint256 amount) external virtual {
		uint256 currentAllowance = allowance(account, _msgSender());
		require(
			currentAllowance >= amount,
			'ERC20: burn amount exceeds allowance'
		);
		unchecked {
			_approve(account, _msgSender(), currentAllowance - amount);
		}
		_burn(account, amount, true);
	}

	function _burn(
		address account,
		uint256 amount,
		bool emitEvent
	) internal virtual {
		require(account != address(0), 'ERC20: burn from the zero address');

		uint256 accountBalance = _balances[account];
		require(
			accountBalance >= amount.mul(_gonsPerFragment),
			'ERC20: burn amount exceeds balance'
		);
		unchecked {
			_balances[account] = _balances[account].sub(
				amount.mul(_gonsPerFragment)
			);
		}

		TOTAL_GONS = TOTAL_GONS.sub(_gonsPerFragment.mul(amount));
		_totalSupply = _totalSupply.sub(amount);

		if (emitEvent) {
			emit Transfer(account, address(0), amount);
		}
	}

	/* ========== EXCLUSION LIST FUNCTIONS ========== */

	function isExcluded(address account) external view returns (bool) {
		return _isExcluded[account];
	}

	function numExcluded() external view returns (uint256) {
		return excluded.length;
	}

	/**
	 * @dev Grant an exclusion from rebases
	 * @param account The account to grant exclusion
	 *
	 * Requirements:
	 *
	 * - `account` must NOT already be excluded.
	 * - can only be called by `excluderRole`
	 */
	function grantRebaseExclusion(address account)
		external
		onlyRole(excluderRole)
	{
		require(!_isExcluded[account], 'Account is already excluded');
		require(excluded.length <= 100, 'Too many excluded accounts');
		_isExcluded[account] = true;
		excluded.push(account);
		emit GrantExclusion(account);
	}

	/**
	 * @dev Revokes an exclusion from rebases
	 * @param account The account to revoke
	 *
	 * Requirements:
	 *
	 * - `account` must already be excluded.
	 * - can only be called by `excluderRole`
	 */
	function revokeRebaseExclusion(address account)
		external
		onlyRole(excluderRole)
	{
		require(_isExcluded[account], 'Account is not already excluded');
		for (uint256 i = 0; i < excluded.length; i++) {
			if (excluded[i] == account) {
				excluded[i] = excluded[excluded.length - 1];
				_isExcluded[account] = false;
				excluded.pop();
				emit RevokeExclusion(account);
				return;
			}
		}
	}

	/**
	 * @dev Burns all tokens from excluded accounts
	 * @return excludedBalances The excluded account balances before burn
	 */
	function _burnExcludedAccountTokens()
		private
		returns (uint256[] memory excludedBalances)
	{
		excludedBalances = new uint256[](excluded.length);
		for (uint256 i = 0; i < excluded.length; i++) {
			address account = excluded[i];
			uint256 balance = balanceOf(account);
			excludedBalances[i] = balance;
			if (balance > 0) _burn(account, balance, false);
		}

		return excludedBalances;
	}

	/**
	 * @dev Mints tokens to excluded accounts
	 * @param excludedBalances The amount of tokens to mint per address
	 */
	function _mintExcludedAccountTokens(uint256[] memory excludedBalances)
		private
	{
		for (uint256 i = 0; i < excluded.length; i++) {
			if (excludedBalances[i] > 0)
				_mint(excluded[i], excludedBalances[i], false);
		}
	}
}

File 2 of 14 : SafeMathint.sol
pragma solidity 0.8.4;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
	int256 private constant MIN_INT256 = int256(1) << 255;
	int256 private constant MAX_INT256 = ~(int256(1) << 255);

	/**
	 * @dev Multiplies two int256 variables and fails on overflow.
	 */
	function mul(int256 a, int256 b) internal pure returns (int256) {
		int256 c = a * b;

		// Detect overflow when multiplying MIN_INT256 with -1
		require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
		require((b == 0) || (c / b == a));
		return c;
	}

	/**
	 * @dev Division of two int256 variables and fails on overflow.
	 */
	function div(int256 a, int256 b) internal pure returns (int256) {
		// Prevent overflow when dividing MIN_INT256 by -1
		require(b != -1 || a != MIN_INT256);

		// Solidity already throws when dividing by 0.
		return a / b;
	}

	/**
	 * @dev Subtracts two int256 variables and fails on overflow.
	 */
	function sub(int256 a, int256 b) internal pure returns (int256) {
		int256 c = a - b;
		require((b >= 0 && c <= a) || (b < 0 && c > a));
		return c;
	}

	/**
	 * @dev Adds two int256 variables and fails on overflow.
	 */
	function add(int256 a, int256 b) internal pure returns (int256) {
		int256 c = a + b;
		require((b >= 0 && c >= a) || (b < 0 && c < a));
		return c;
	}

	/**
	 * @dev Converts to absolute value, and fails on overflow.
	 */
	function abs(int256 a) internal pure returns (int256) {
		require(a != MIN_INT256);
		return a < 0 ? -a : a;
	}
}

File 3 of 14 : Orchestrator.sol
// SPDX-License-Identifier: Elastic-2.0
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/AccessControlEnumerable.sol';
import './Interfaces/IRebaseListener.sol';

contract Orchestrator is AccessControlEnumerable {
	struct Transaction {
		bool enabled;
		address destination;
		bytes4 data;
	}

	// Transaction info that can be triggered after rebase
	Transaction[] public transactions;

	// Listeners than can be notified of a rebase
	IRebaseListener[] public listeners;

	/**
	 * @notice Adds a transaction that gets called for a downstream receiver of rebases
	 * @param destination Address of contract destination
	 * @param data Transaction data payload
	 */
	function addTransaction(address destination, string memory data)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		require(transactions.length <= 10, 'Too many transactions');
		Transaction memory tran = Transaction({
			enabled: true,
			destination: destination,
			data: bytes4(keccak256(bytes(data)))
		});
		transactions.push(tran);
	}

	/**
	 * @param index Index of transaction to remove.
	 *              Transaction ordering may have changed since adding.
	 */
	function removeTransaction(uint256 index)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		require(index < transactions.length, 'index out of range');
		if (index < transactions.length - 1) {
			transactions[index] = transactions[transactions.length - 1];
		}
		transactions.pop();
	}

	/**
	 * @param index Index of transaction. Transaction ordering may have changed since adding.
	 * @param enabled True for enabled, false for disabled.
	 */
	function setTransactionEnabled(uint256 index, bool enabled)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		require(
			index < transactions.length,
			'index must be in range of stored tx list'
		);
		transactions[index].enabled = enabled;
	}

	/**
	 * @return Number of transactions, both enabled and disabled, in transactions list.
	 */
	function transactionsSize() external view returns (uint256) {
		return transactions.length;
	}

	/**
	 * @notice Adds an address as IRebaseListener that gets called when a rebase happens
	 * @param listener Address of the listener contract
	 */
	function addListener(IRebaseListener listener)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		require(listeners.length <= 10, 'Too many listeners');

		for (uint256 i = 0; i < listeners.length; i++) {
			require(listeners[i] != listener, 'Listener exists');
		}
		listeners.push(listener);
	}

	/**
	 * @notice Removes an address as IRebaseListener that gets called when a rebase happens
	 * @param listener Address of the listener contract
	 */
	function removeListener(IRebaseListener listener)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		for (uint256 i = 0; i < listeners.length; i++) {
			if (listeners[i] == listener) {
				listeners[i] = listeners[listeners.length - 1];
				listeners.pop();
				return;
			}
		}

		revert('Listener not found');
	}

	/**
	 * @return Number of listeners, in the listener list
	 */
	function listenersSize() external view returns (uint256) {
		return listeners.length;
	}

	function _notifyRebase(
		uint256 prevRebaseSupply,
		uint256 currentRebaseSupply,
		uint256 prevTotalSupply,
		uint256 currentTotalSupply
	) internal {
		for (uint256 i = 0; i < transactions.length; i++) {
			Transaction storage t = transactions[i];
			if (t.enabled) {
				_externalCall(t.destination, t.data);
			}
		}

		for (uint256 i = 0; i < listeners.length; i++) {
			listeners[i].tokenRebased(
				address(this),
				prevRebaseSupply,
				currentRebaseSupply,
				prevTotalSupply,
				currentTotalSupply
			);
		}
	}

	/**
	 *  @dev wrapper to call the encoded transactions on downstream consumers.
	 *  @param destination Address of destination contract.
	 *  @param selector The selector of the function to be called.
	 */
	function _externalCall(address destination, bytes4 selector) private {
		(bool success, bytes memory data) = destination.call(
			abi.encodeWithSelector(selector)
		);
		require(
			success && (data.length == 0 || abi.decode(data, (bool))),
			'Orchestrator: Transaction Failed'
		);
	}
}

File 4 of 14 : IRebaseListener.sol
// SPDX-License-Identifier: Elastic-2.0

pragma solidity 0.8.4;

interface IRebaseListener {
	function tokenRebased(
		address token,
		uint256 prevRebaseSupply,
		uint256 currentRebaseSupply,
		uint256 prevTotalSupply,
		uint256 currentTotalSupply
	) external;
}

File 5 of 14 : IMintableToken.sol
// SPDX-License-Identifier: Elastic-2.0

pragma solidity 0.8.4;

interface IMintableToken {
	function mint(address recipient_, uint256 amount_) external returns (bool);
}

File 6 of 14 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 7 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 9 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 10 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 12 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 13 of 14 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 14 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"GrantExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RevokeExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_GONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IRebaseListener","name":"listener","type":"address"}],"name":"addListener","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"string","name":"data","type":"string"}],"name":"addTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableRebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"excluded","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"excluderRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantRebaseExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"listeners","outputs":[{"internalType":"contract IRebaseListener","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listenersSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minterRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numExcluded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"int256","name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebaseAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebaseSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebaserRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IRebaseListener","name":"listener","type":"address"}],"name":"removeListener","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeRebaseExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setTransactionEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"transactions","outputs":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes4","name":"data","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionsSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052670de0b6b3a76400006005556006805460ff191660011790553480156200002a57600080fd5b5060405162002fe138038062002fe18339810160408190526200004d916200035f565b81516200006290600c90602085019062000206565b5080516200007890600d90602084019062000206565b50600e805460ff191660121790556000600b819055620000999033620000a1565b505062000419565b620000b88282620000e460201b620015971760201c565b6000828152600160209081526040909120620000df918390620015a1620000f4821b17901c565b505050565b620000f0828262000114565b5050565b60006200010b836001600160a01b038416620001b4565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000f0576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001703390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620001fd575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200010e565b5060006200010e565b8280546200021490620003c6565b90600052602060002090601f01602090048101928262000238576000855562000283565b82601f106200025357805160ff191683800117855562000283565b8280016001018555821562000283579182015b828111156200028357825182559160200191906001019062000266565b506200029192915062000295565b5090565b5b8082111562000291576000815560010162000296565b600082601f830112620002bd578081fd5b81516001600160401b0380821115620002da57620002da62000403565b604051601f8301601f19908116603f0116810190828211818310171562000305576200030562000403565b8160405283815260209250868385880101111562000321578485fd5b8491505b8382101562000344578582018301518183018401529082019062000325565b838211156200035557848385830101525b9695505050505050565b6000806040838503121562000372578182fd5b82516001600160401b038082111562000389578384fd5b6200039786838701620002ac565b93506020850151915080821115620003ad578283fd5b50620003bc85828601620002ac565b9150509250929050565b600181811c90821680620003db57607f821691505b60208210811415620003fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612bb880620004296000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80637f9e9b6811610151578063b1f3b35c116100c3578063d5b5025211610087578063d5b50252146105b5578063dd62ed3e146105c8578063e00713e914610601578063f084219e1461060a578063f6050e5014610631578063fb9481c01461064457600080fd5b8063b1f3b35c1461053d578063bee2ddc214610550578063ca15c87314610563578063cba0e99614610576578063d547741f146105a257600080fd5b806395d89b411161011557806395d89b41146104b25780639ace38c2146104ba5780639bc5741f146104fc578063a217fddf1461050f578063a457c2d714610517578063a9059cbb1461052a57600080fd5b80637f9e9b681461041e5780638b646bbe146104455780639010d07c1461046c57806391d148541461049757806391d4ec18146104aa57600080fd5b806339509351116101ea5780636e9dde99116101ae5780636e9dde99146103bd57806370a08231146103d057806377f0c615146103e357806379cc6790146103f05780637a43e23f146104035780637ded8aae1461041657600080fd5b8063395093511461036957806340c10f191461037c57806346c3bd1f1461038f5780635244ea37146103a2578063556f98fc146103b557600080fd5b806323b872dd1161023c57806323b872dd146102e55780632418c4e1146102f8578063248a9ca31461030b5780632f2ff15d1461032e578063313ce5671461034157806336568abe1461035657600080fd5b806301ffc9a71461027957806306fdde03146102a1578063095ea7b3146102b657806318160ddd146102c95780631a8f9b04146102db575b600080fd5b61028c610287366004612849565b61064c565b60405190151581526020015b60405180910390f35b6102a9610677565b6040516102989190612926565b61028c6102c43660046127a5565b610709565b600b545b604051908152602001610298565b6102e361071f565b005b61028c6102f33660046126a6565b610738565b6102e3610306366004612652565b6107a1565b6102cd6103193660046127ec565b60009081526020819052604090206001015490565b6102e361033c366004612804565b6109c4565b600e5460405160ff9091168152602001610298565b6102e3610364366004612804565b6109e6565b61028c6103773660046127a5565b610a08565b61028c61038a3660046127a5565b610a3e565b6102e361039d3660046127ec565b610a9c565b6102e36103b03660046126e6565b610c1e565b6102cd610d2d565b6102e36103cb366004612871565b610dac565b6102cd6103de366004612652565b610e5b565b60065461028c9060ff1681565b6102e36103fe3660046127a5565b610e95565b6102cd610411366004612828565b610f18565b600a546102cd565b6102cd7f22bdb532d89c3f536d0ad987578e8cce1b293cc33ed2d1cad42364966548313281565b6102cd7f20280dc25f6be9632332945e993f5421528666989bec87f3720eb06a441e4cfa81565b61047f61047a366004612828565b611005565b6040516001600160a01b039091168152602001610298565b61028c6104a5366004612804565b611024565b6002546102cd565b6102a961104d565b6104cd6104c83660046127ec565b61105c565b6040805193151584526001600160a01b0390921660208401526001600160e01b03191690820152606001610298565b6102e361050a366004612652565b61109a565b6102cd600081565b61028c6105253660046127a5565b611225565b61028c6105383660046127a5565b611274565b61047f61054b3660046127ec565b611281565b61047f61055e3660046127ec565b6112ab565b6102cd6105713660046127ec565b6112bb565b61028c610584366004612652565b6001600160a01b031660009081526009602052604090205460ff1690565b6102e36105b0366004612804565b6112d2565b6102e36105c3366004612652565b6112dc565b6102cd6105d636600461266e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6102cd60045481565b6102cd7f39eb9ec2059d897c44a17440c762c429de204f6fddd727156ca52b8da086a6f781565b6102e361063f366004612652565b611423565b6003546102cd565b60006001600160e01b03198216635a05180f60e01b14806106715750610671826115b6565b92915050565b6060600c805461068690612a4d565b80601f01602080910402602001604051908101604052809291908181526020018280546106b290612a4d565b80156106ff5780601f106106d4576101008083540402835291602001916106ff565b820191906000526020600020905b8154815290600101906020018083116106e257829003601f168201915b5050505050905090565b60006107163384846115eb565b50600192915050565b600061072b8133611710565b506006805460ff19169055565b6000610745848484611774565b610797843361079285604051806060016040528060288152602001612b36602891396001600160a01b038a16600090815260086020908152604080832033845290915290205491906118e5565b6115eb565b5060019392505050565b7f22bdb532d89c3f536d0ad987578e8cce1b293cc33ed2d1cad4236496654831326107cc8133611710565b6001600160a01b03821660009081526009602052604090205460ff166108395760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420616c7265616479206578636c756465640060448201526064015b60405180910390fd5b60005b600a548110156109be57826001600160a01b0316600a828154811061087157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156109ac57600a805461089c906001906129f3565b815481106108ba57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600a80546001600160a01b0390921691839081106108f457634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600990915260409020805460ff19169055600a80548061095157634e487b7160e01b600052603160045260246000fd5b600082815260208120820160001990810180546001600160a01b03191690559091019091556040516001600160a01b038516917fd16467d2057124ad076db0cac7022ebd0361128424aeb658f33adaa5c57b716891a2505050565b806109b681612a88565b91505061083c565b505b5050565b6109ce8282611911565b60008281526001602052604090206109be90826115a1565b6109f08282611937565b60008281526001602052604090206109be90826119b1565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161071691859061079290866119c6565b60007f39eb9ec2059d897c44a17440c762c429de204f6fddd727156ca52b8da086a6f7610a6b8133611710565b6000610a7685610e5b565b9050610a84858560016119d2565b6000610a8f86610e5b565b9190911195945050505050565b6000610aa88133611710565b6002548210610aee5760405162461bcd60e51b8152602060048201526012602482015271696e646578206f7574206f662072616e676560701b6044820152606401610830565b600254610afd906001906129f3565b821015610bd95760028054610b14906001906129f3565b81548110610b3257634e487b7160e01b600052603260045260246000fd5b9060005260206000200160028381548110610b5d57634e487b7160e01b600052603260045260246000fd5b6000918252602090912082549101805460ff909216151560ff1983168117825583546001600160a01b03610100918290041602610100600160a81b03199091166001600160a81b03199093169290921791909117808255915463ffffffff600160a81b91829004160263ffffffff60a81b199092169190911790555b6002805480610bf857634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160c81b03191690550190555050565b6000610c2a8133611710565b600254600a1015610c755760405162461bcd60e51b8152602060048201526015602482015274546f6f206d616e79207472616e73616374696f6e7360581b6044820152606401610830565b506040805160608101825260018082526001600160a01b03948516602080840191825285519501949094206001600160e01b03191692820192835260028054918201815560005290517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90910180549351925160e01c600160a81b0263ffffffff60a81b199390951661010002610100600160a81b0319921515929092166001600160a81b0319909416939093171716919091179055565b600080805b600a54811015610d9857610d84610d7d600a8381548110610d6357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610e5b565b83906119c6565b915080610d9081612a88565b915050610d32565b50600b54610da69082611b03565b91505090565b6000610db88133611710565b6002548310610e1a5760405162461bcd60e51b815260206004820152602860248201527f696e646578206d75737420626520696e2072616e6765206f662073746f726564604482015267081d1e081b1a5cdd60c21b6064820152608401610830565b8160028481548110610e3c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805460ff1916911515919091179055505050565b600060055460001415610e7057506000919050565b6005546001600160a01b03831660009081526007602052604090205461067191611b0f565b6000610ea183336105d6565b905081811015610eff5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610830565b610f0c83338484036115eb565b6109be83836001611b1b565b60007f20280dc25f6be9632332945e993f5421528666989bec87f3720eb06a441e4cfa610f458133611710565b60065460ff16610f8f5760405162461bcd60e51b8152602060048201526015602482015274149958985cd9481a5cc81b9bdd08185b1b1bddd959605a1b6044820152606401610830565b6000610f99610d2d565b600b549091506000610faa86611cc3565b9050867f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f282604051610fde91815260200190565b60405180910390a2610ffb83610ff2610d2d565b84600b54611d69565b9695505050505050565b600082815260016020526040812061101d9083611eb3565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600d805461068690612a4d565b6002818154811061106c57600080fd5b60009182526020909120015460ff811691506001600160a01b0361010082041690600160a81b900460e01b83565b60006110a68133611710565b60005b6003548110156111e757826001600160a01b0316600382815481106110de57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156111d55760038054611109906001906129f3565b8154811061112757634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600380546001600160a01b03909216918390811061116157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060038054806111ae57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b806111df81612a88565b9150506110a9565b5060405162461bcd60e51b8152602060048201526012602482015271131a5cdd195b995c881b9bdd08199bdd5b9960721b6044820152606401610830565b6000610716338461079285604051806060016040528060258152602001612b5e602591393360009081526008602090815260408083206001600160a01b038d16845290915290205491906118e5565b6000610716338484611774565b6003818154811061129157600080fd5b6000918252602090912001546001600160a01b0316905081565b600a818154811061129157600080fd5b600081815260016020526040812061067190611ebf565b6109f08282611ec9565b60006112e88133611710565b600354600a10156113305760405162461bcd60e51b8152602060048201526012602482015271546f6f206d616e79206c697374656e65727360701b6044820152606401610830565b60005b6003548110156113cf57826001600160a01b03166003828154811061136857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156113bd5760405162461bcd60e51b815260206004820152600f60248201526e4c697374656e65722065786973747360881b6044820152606401610830565b806113c781612a88565b915050611333565b5050600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0392909216919091179055565b7f22bdb532d89c3f536d0ad987578e8cce1b293cc33ed2d1cad42364966548313261144e8133611710565b6001600160a01b03821660009081526009602052604090205460ff16156114b75760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610830565b600a546064101561150a5760405162461bcd60e51b815260206004820152601a60248201527f546f6f206d616e79206578636c75646564206163636f756e74730000000000006044820152606401610830565b6001600160a01b038216600081815260096020526040808220805460ff19166001908117909155600a8054918201815583527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191684179055517fa97aa82b14e9f5eee05f81ff79815563498d3b5d92f4d4b3e3d380f0c0d9eebe9190a25050565b6109c08282611eef565b600061101d836001600160a01b038416611f73565b60006001600160e01b03198216637965db0b60e01b148061067157506301ffc9a760e01b6001600160e01b0319831614610671565b6001600160a01b03831661164d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610830565b6001600160a01b0382166116ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610830565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61171a8282611024565b6109c057611732816001600160a01b03166014611fc2565b61173d836020611fc2565b60405160200161174e9291906128b1565b60408051601f198184030181529082905262461bcd60e51b825261083091600401612926565b6001600160a01b0383166117d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610830565b6001600160a01b0382166117fe5760405162461bcd60e51b815260040161083090612959565b6000611815600554836121a490919063ffffffff16565b905061185481604051806060016040528060268152602001612b10602691396001600160a01b03871660009081526007602052604090205491906118e5565b6001600160a01b03808616600090815260076020526040808220939093559085168152205461188390826119c6565b6001600160a01b0380851660008181526007602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118d79086815260200190565b60405180910390a350505050565b600081848411156119095760405162461bcd60e51b81526004016108309190612926565b505050900390565b60008281526020819052604090206001015461192d8133611710565b6109be8383611eef565b6001600160a01b03811633146119a75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610830565b6109c082826121b0565b600061101d836001600160a01b038416612215565b600061101d828461299c565b6001600160a01b0383166119f85760405162461bcd60e51b815260040161083090612959565b60008211611a485760405162461bcd60e51b815260206004820152601a60248201527f45524332303a2043616e2774206d696e74203020746f6b656e730000000000006044820152606401610830565b600554611a6290611a5990846121a4565b600454906119c6565b600455600b54611a7290836119c6565b600b55600554611aa690611a879084906121a4565b6001600160a01b038516600090815260076020526040902054906119c6565b6001600160a01b03841660009081526007602052604090205580156109be576040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611703565b600061101d82846129f3565b600061101d82846129b4565b6001600160a01b038316611b7b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610830565b6001600160a01b038316600090815260076020526040902054600554611ba29084906121a4565b811015611bfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610830565b611c33611c14600554856121a490919063ffffffff16565b6001600160a01b03861660009081526007602052604090205490611b03565b6001600160a01b038516600090815260076020526040902055600554611c6690611c5d90856121a4565b60045490611b03565b600455600b54611c769084611b03565b600b558115611cbd576040518381526000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016118d7565b50505050565b6000811580611cd75750611cd5610d2d565b155b15611ce4575050600b5490565b6000611cee612332565b90506000831215611d1657611d0e611d0584612432565b600b5490611b03565b600b55611d27565b600b54611d2390846119c6565b600b555b600b546001600160801b031015611d44576001600160801b03600b555b600b54600454611d5391611b0f565b600555611d5f8161245c565b5050600b54919050565b60005b600254811015611de857600060028281548110611d9957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805490915060ff1615611dd5578054611dd5906001600160a01b0361010082041690600160a81b900460e01b61251c565b5080611de081612a88565b915050611d6c565b5060005b600354811015611eac5760038181548110611e1757634e487b7160e01b600052603260045260246000fd5b600091825260209091200154604051631732cd4160e21b8152306004820152602481018790526044810186905260648101859052608481018490526001600160a01b0390911690635ccb35049060a401600060405180830381600087803b158015611e8157600080fd5b505af1158015611e95573d6000803e3d6000fd5b505050508080611ea490612a88565b915050611dec565b5050505050565b600061101d838361261a565b6000610671825490565b600082815260208190526040902060010154611ee58133611710565b6109be83836121b0565b611ef98282611024565b6109c0576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611f2f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611fba57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610671565b506000610671565b60606000611fd18360026129d4565b611fdc90600261299c565b67ffffffffffffffff81111561200257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561202c576020820181803683370190505b509050600360fc1b8160008151811061205557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061209257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006120b68460026129d4565b6120c190600161299c565b90505b6001811115612155576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061210357634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061212757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361214e81612a36565b90506120c4565b50831561101d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610830565b600061101d82846129d4565b6121ba8282611024565b156109c0576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156123285760006122396001836129f3565b855490915060009061224d906001906129f3565b90508181146122ce57600086600001828154811061227b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106122ac57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b85548690806122ed57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610671565b6000915050610671565b600a5460609067ffffffffffffffff81111561235e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612387578160200160208202803683370190505b50905060005b600a5481101561242e576000600a82815481106123ba57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546001600160a01b031691506123d982610e5b565b9050808484815181106123fc57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280156124195761241982826000611b1b565b5050808061242690612a88565b91505061238d565b5090565b6000600160ff1b82141561244557600080fd5b600082126124535781610671565b61067182612aa3565b60005b600a548110156109c057600082828151811061248b57634e487b7160e01b600052603260045260246000fd5b6020026020010151111561250a5761250a600a82815481106124bd57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b03168383815181106124fb57634e487b7160e01b600052603260045260246000fd5b602002602001015160006119d2565b8061251481612a88565b91505061245f565b60408051600481526024810182526020810180516001600160e01b03166001600160e01b03198516179052905160009182916001600160a01b0386169161256291612895565b6000604051808303816000865af19150503d806000811461259f576040519150601f19603f3d011682016040523d82523d6000602084013e6125a4565b606091505b50915091508180156125ce5750805115806125ce5750808060200190518101906125ce91906127d0565b611cbd5760405162461bcd60e51b815260206004820181905260248201527f4f7263686573747261746f723a205472616e73616374696f6e204661696c65646044820152606401610830565b600082600001828154811061263f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b600060208284031215612663578081fd5b813561101d81612ae9565b60008060408385031215612680578081fd5b823561268b81612ae9565b9150602083013561269b81612ae9565b809150509250929050565b6000806000606084860312156126ba578081fd5b83356126c581612ae9565b925060208401356126d581612ae9565b929592945050506040919091013590565b600080604083850312156126f8578182fd5b823561270381612ae9565b9150602083013567ffffffffffffffff8082111561271f578283fd5b818501915085601f830112612732578283fd5b81358181111561274457612744612ad3565b604051601f8201601f19908116603f0116810190838211818310171561276c5761276c612ad3565b81604052828152886020848701011115612784578586fd5b82602086016020830137856020848301015280955050505050509250929050565b600080604083850312156127b7578182fd5b82356127c281612ae9565b946020939093013593505050565b6000602082840312156127e1578081fd5b815161101d81612b01565b6000602082840312156127fd578081fd5b5035919050565b60008060408385031215612816578182fd5b82359150602083013561269b81612ae9565b6000806040838503121561283a578182fd5b50508035926020909101359150565b60006020828403121561285a578081fd5b81356001600160e01b03198116811461101d578182fd5b60008060408385031215612883578182fd5b82359150602083013561269b81612b01565b600082516128a7818460208701612a0a565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128e9816017850160208801612a0a565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161291a816028840160208801612a0a565b01602801949350505050565b6020815260008251806020840152612945816040850160208701612a0a565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082198211156129af576129af612abd565b500190565b6000826129cf57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156129ee576129ee612abd565b500290565b600082821015612a0557612a05612abd565b500390565b60005b83811015612a25578181015183820152602001612a0d565b83811115611cbd5750506000910152565b600081612a4557612a45612abd565b506000190190565b600181811c90821680612a6157607f821691505b60208210811415612a8257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a9c57612a9c612abd565b5060010190565b6000600160ff1b821415612ab957612ab9612abd565b0390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612afe57600080fd5b50565b8015158114612afe57600080fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220dbaa445686c4dbb6e450963ffd2271572d1e5fd2c4509219713dbdfa61788e5f64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006537461746963000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065374617469630000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006537461746963000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065374617469630000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Static
Arg [1] : symbol_ (string): Static

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 5374617469630000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 5374617469630000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.