ETH Price: $3,094.78 (-1.26%)

Token

Alchemist (⚗️)
 

Overview

Max Total Supply

2,497,848.916965104749977762 ⚗️

Holders

10,678 (0.00%)

Market

Price

$0.72 @ 0.000232 ETH (-0.85%)

Onchain Market Cap

$1,791,967.26

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
5.880423767572712106 ⚗️

Value
$4.22 ( ~0.00136358682745917 Eth) [0.0002%]
0x54b7f8fe8d3aaeeb115d2ae1ac9ea5d6b824e2dc
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The token's purpose is to find the philosopher's stone and use it to explore the galaxy.

Market

Volume (24H):$116.64
Market Capitalization:$0.00
Circulating Supply:0.00 ⚗️
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Alchemist

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 16 : Alchemist.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
pragma abicoder v2;
// pragma experimental SMTChecker;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";
import {ERC20Snapshot} from "@openzeppelin/contracts/token/ERC20/ERC20Snapshot.sol";
import {ERC20Permit} from "@openzeppelin/contracts/drafts/ERC20Permit.sol";
import {TimelockConfig} from "./TimelockConfig.sol";

interface IAlchemist {
    /* event */

    event Advanced(uint256 epoch, uint256 supplyMinted);

    /* user functions */

    function advance() external;

    /* view functions */

    function getAdmin() external view returns (address admin);

    function getRecipient() external view returns (address recipient);

    function getTimelock() external view returns (uint256 timelock);

    function getInflationBps() external view returns (uint256 inflationBps);

    function getEpochDuration() external view returns (uint256 epochDuration);
}

// ⚗️ Alchemist ⚗️
contract Alchemist is
    IAlchemist,
    ERC20("Alchemist", unicode"⚗️"),
    ERC20Burnable,
    ERC20Snapshot,
    ERC20Permit("Alchemist"),
    TimelockConfig
{
    /* constants */

    bytes32 public constant RECIPIENT_CONFIG_ID = keccak256("Recipient");
    bytes32 public constant INFLATION_BPS_CONFIG_ID = keccak256("InflationBPS");
    bytes32 public constant EPOCH_DURATION_CONFIG_ID = keccak256("EpochDuration");

    /* storage */

    uint256 private _epoch;
    uint256 private _previousEpochTimestamp;

    /* constructor function */

    constructor(
        address admin,
        address recipient,
        uint256 inflationBps,
        uint256 epochDuration,
        uint256 timelock,
        uint256 supply,
        uint256 epochStart
    ) TimelockConfig(admin, timelock) {
        // set config
        TimelockConfig._setRawConfig(RECIPIENT_CONFIG_ID, uint256(recipient));
        TimelockConfig._setRawConfig(INFLATION_BPS_CONFIG_ID, inflationBps);
        TimelockConfig._setRawConfig(EPOCH_DURATION_CONFIG_ID, epochDuration);

        // set epoch timestamp
        _previousEpochTimestamp = epochStart;

        // mint initial supply
        ERC20._mint(recipient, supply);
    }

    /* user functions */

    function advance() external override {
        // require new epoch
        require(
            block.timestamp >= _previousEpochTimestamp + getEpochDuration(),
            "not ready to advance"
        );
        // set epoch
        _epoch++;
        _previousEpochTimestamp = block.timestamp;
        // create snapshot
        ERC20Snapshot._snapshot();
        // calculate inflation amount
        uint256 supplyMinted = (ERC20.totalSupply() * getInflationBps()) / 10000;
        // mint to tokenManager
        ERC20._mint(getRecipient(), supplyMinted);
        // emit event
        emit Advanced(_epoch, supplyMinted);
    }

    /* hook functions */

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20, ERC20Snapshot) {
        ERC20Snapshot._beforeTokenTransfer(from, to, amount);
    }

    /* view functions */

    function getAdmin() public view override returns (address admin) {
        return address(TimelockConfig.getConfig(TimelockConfig.ADMIN_CONFIG_ID).value);
    }

    function getRecipient() public view override returns (address recipient) {
        return address(TimelockConfig.getConfig(RECIPIENT_CONFIG_ID).value);
    }

    function getTimelock() public view override returns (uint256 timelock) {
        return TimelockConfig.getConfig(TimelockConfig.TIMELOCK_CONFIG_ID).value;
    }

    function getInflationBps() public view override returns (uint256 inflationBps) {
        return TimelockConfig.getConfig(INFLATION_BPS_CONFIG_ID).value;
    }

    function getEpochDuration() public view override returns (uint256 epochDuration) {
        return TimelockConfig.getConfig(EPOCH_DURATION_CONFIG_ID).value;
    }
}

File 2 of 16 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.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 ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @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;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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() public view virtual returns (uint8) {
        return _decimals;
    }

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

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

    /**
     * @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) public 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) public 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 3 of 16 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../utils/Context.sol";
import "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

File 4 of 16 : ERC20Snapshot.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../math/SafeMath.sol";
import "../../utils/Arrays.sol";
import "../../utils/Counters.sol";
import "./ERC20.sol";

/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */
abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using SafeMath for uint256;
    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping (address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _currentSnapshotId.current();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view virtual returns(uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }


    // Update balance and/or total supply snapshots before the values are modified. This is implemented
    // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
      super._beforeTokenTransfer(from, to, amount);

      if (from == address(0)) {
        // mint
        _updateAccountSnapshot(to);
        _updateTotalSupplySnapshot();
      } else if (to == address(0)) {
        // burn
        _updateAccountSnapshot(from);
        _updateTotalSupplySnapshot();
      } else {
        // transfer
        _updateAccountSnapshot(from);
        _updateAccountSnapshot(to);
      }
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
        private view returns (bool, uint256)
    {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        // solhint-disable-next-line max-line-length
        require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _currentSnapshotId.current();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}

File 5 of 16 : ERC20Permit.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.5 <0.8.0;

import "../token/ERC20/ERC20.sol";
import "./IERC20Permit.sol";
import "../cryptography/ECDSA.sol";
import "../utils/Counters.sol";
import "./EIP712.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _nonces[owner].current(),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }
}

File 6 of 16 : TimelockConfig.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
pragma abicoder v2;

import {EnumerableSet} from "@openzeppelin/contracts/utils/EnumerableSet.sol";

interface ITimelockConfig {
    /* data types */

    struct Config {
        bytes32 id;
        uint256 value;
    }

    struct PendingRequest {
        bytes32 id;
        uint256 value;
        uint256 timestamp;
    }

    /* events */

    event ChangeRequested(bytes32 configID, uint256 value);
    event ChangeConfirmed(bytes32 configID, uint256 value);
    event ChangeCanceled(bytes32 configID, uint256 value);

    /* user functions */

    function confirmChange(bytes32 configID) external;

    /* admin functions */

    function requestChange(bytes32 configID, uint256 value) external;

    function cancelChange(bytes32 configID) external;

    /* pure functions */

    function calculateConfigID(string memory name) external pure returns (bytes32 configID);

    /* view functions */

    function getConfig(bytes32 configID) external view returns (Config memory config);

    function isConfig(bytes32 configID) external view returns (bool status);

    function getConfigCount() external view returns (uint256 count);

    function getConfigByIndex(uint256 index) external view returns (Config memory config);

    function getPending(bytes32 configID)
        external
        view
        returns (PendingRequest memory pendingRequest);

    function isPending(bytes32 configID) external view returns (bool status);

    function getPendingCount() external view returns (uint256 count);

    function getPendingByIndex(uint256 index)
        external
        view
        returns (PendingRequest memory pendingRequest);
}

contract TimelockConfig is ITimelockConfig {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    /* constants */

    bytes32 public constant ADMIN_CONFIG_ID = keccak256("Admin");
    bytes32 public constant TIMELOCK_CONFIG_ID = keccak256("Timelock");

    /* storage */

    struct InternalPending {
        uint256 value;
        uint256 timestamp;
    }

    mapping(bytes32 => uint256) _config;
    EnumerableSet.Bytes32Set _configSet;

    mapping(bytes32 => InternalPending) _pending;
    EnumerableSet.Bytes32Set _pendingSet;

    /* modifiers */

    modifier onlyAdmin() {
        require(msg.sender == address(_config[ADMIN_CONFIG_ID]), "only admin");
        _;
    }

    /* constructor */

    constructor(address admin, uint256 timelock) {
        _setRawConfig(ADMIN_CONFIG_ID, uint256(admin));
        _setRawConfig(TIMELOCK_CONFIG_ID, timelock);
    }

    /* user functions */

    function confirmChange(bytes32 configID) external override {
        // require sufficient time elapsed
        require(
            block.timestamp >= _pending[configID].timestamp + _config[TIMELOCK_CONFIG_ID],
            "too early"
        );

        // get pending value
        uint256 value = _pending[configID].value;

        // commit change
        _configSet.add(configID);
        _config[configID] = value;

        // delete pending
        _pendingSet.remove(configID);
        delete _pending[configID];

        // emit event
        emit ChangeConfirmed(configID, value);
    }

    /* admin functions */

    function requestChange(bytes32 configID, uint256 value) external override onlyAdmin {
        // add to pending set
        require(_pendingSet.add(configID), "existing request");

        // lock new value
        _pending[configID] = InternalPending(value, block.timestamp);

        // emit event
        emit ChangeRequested(configID, value);
    }

    function cancelChange(bytes32 configID) external override onlyAdmin {
        // remove from pending set
        require(_pendingSet.remove(configID), "no request");

        // get pending value
        uint256 value = _pending[configID].value;

        // delete pending
        delete _pending[configID];

        // emit event
        emit ChangeCanceled(configID, value);
    }

    /* convenience functions */

    function _setRawConfig(bytes32 configID, uint256 value) internal {
        // commit change
        _configSet.add(configID);
        _config[configID] = value;

        // emit event
        emit ChangeRequested(configID, value);
        emit ChangeConfirmed(configID, value);
    }

    /* pure functions */

    function calculateConfigID(string memory name) public pure override returns (bytes32 configID) {
        return keccak256(abi.encodePacked(name));
    }

    /* view functions */

    function isConfig(bytes32 configID) public view override returns (bool status) {
        return _configSet.contains(configID);
    }

    function getConfigCount() public view override returns (uint256 count) {
        return _configSet.length();
    }

    function getConfigByIndex(uint256 index)
        public
        view
        override
        returns (ITimelockConfig.Config memory config)
    {
        // get config ID
        bytes32 configID = _configSet.at(index);
        // return config
        return ITimelockConfig.Config(configID, _config[configID]);
    }

    function getConfig(bytes32 configID)
        public
        view
        override
        returns (ITimelockConfig.Config memory config)
    {
        // check for existance
        require(_configSet.contains(configID), "not config");
        // return config
        return ITimelockConfig.Config(configID, _config[configID]);
    }

    function isPending(bytes32 configID) public view override returns (bool status) {
        return _pendingSet.contains(configID);
    }

    function getPendingCount() public view override returns (uint256 count) {
        return _pendingSet.length();
    }

    function getPendingByIndex(uint256 index)
        public
        view
        override
        returns (ITimelockConfig.PendingRequest memory pendingRequest)
    {
        // get config ID
        bytes32 configID = _pendingSet.at(index);
        // return config
        return
            ITimelockConfig.PendingRequest(
                configID,
                _pending[configID].value,
                _pending[configID].timestamp
            );
    }

    function getPending(bytes32 configID)
        public
        view
        override
        returns (ITimelockConfig.PendingRequest memory pendingRequest)
    {
        // check for existance
        require(_pendingSet.contains(configID), "not pending");
        // return config
        return
            ITimelockConfig.PendingRequest(
                configID,
                _pending[configID].value,
                _pending[configID].timestamp
            );
    }
}

File 7 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 8 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 9 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 10 of 16 : Arrays.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
   /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

File 11 of 16 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../math/SafeMath.sol";

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

File 12 of 16 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 13 of 16 : IERC20Permit.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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

pragma solidity ^0.7.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

File 15 of 16 : EIP712.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = _getChainId();
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view virtual returns (bytes32) {
        if (_getChainId() == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                _getChainId(),
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash));
    }

    function _getChainId() private view returns (uint256 chainId) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }
}

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

pragma solidity ^0.7.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;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            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] = toDeleteIndex + 1; // All indexes are 1-based

            // 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) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        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));
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"inflationBps","type":"uint256"},{"internalType":"uint256","name":"epochDuration","type":"uint256"},{"internalType":"uint256","name":"timelock","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"epochStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supplyMinted","type":"uint256"}],"name":"Advanced","type":"event"},{"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":false,"internalType":"bytes32","name":"configID","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ChangeCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"configID","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ChangeConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"configID","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ChangeRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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":"ADMIN_CONFIG_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EPOCH_DURATION_CONFIG_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INFLATION_BPS_CONFIG_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECIPIENT_CONFIG_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMELOCK_CONFIG_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"advance","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":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"calculateConfigID","outputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"name":"cancelChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"name":"confirmChange","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":"getAdmin","outputs":[{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"name":"getConfig","outputs":[{"components":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct ITimelockConfig.Config","name":"config","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getConfigByIndex","outputs":[{"components":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct ITimelockConfig.Config","name":"config","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getConfigCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEpochDuration","outputs":[{"internalType":"uint256","name":"epochDuration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInflationBps","outputs":[{"internalType":"uint256","name":"inflationBps","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"name":"getPending","outputs":[{"components":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct ITimelockConfig.PendingRequest","name":"pendingRequest","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getPendingByIndex","outputs":[{"components":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct ITimelockConfig.PendingRequest","name":"pendingRequest","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRecipient","outputs":[{"internalType":"address","name":"recipient","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimelock","outputs":[{"internalType":"uint256","name":"timelock","type":"uint256"}],"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":"bytes32","name":"configID","type":"bytes32"}],"name":"isConfig","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"}],"name":"isPending","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"configID","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"requestChange","outputs":[],"stateMutability":"nonpayable","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":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b5060405162002f6a38038062002f6a8339810160408190526200005a9162000807565b868360405180604001604052806009815260200168105b18da195b5a5cdd60ba1b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806009815260200168105b18da195b5a5cdd60ba1b81525060405180604001604052806006815260200165e29a97efb88f60d01b8152508160039080519060200190620000f292919062000743565b5080516200010890600490602084019062000743565b50506005805460ff1916601217905550815160208084019190912082519183019190912060c082905260e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f62000161620002bb565b60a05262000171818484620002bf565b6080526101005250620001b493507fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b3925050506001600160a01b03841662000323565b620001e07f8bdc034209cd34465f1fe5127e9f4c5350103200f3bf7dc8daa75003ccf585e08262000323565b5050620002227f9e4b78fbafcf1409bcad5ea4e306cb9e24dd8084dc2a168e004bb04a5b0dc2d9876001600160a01b03166200032360201b620011b51760201c565b620002597f5e06cfb937811754a8f7cce232ff752da7656d6b44b63c8dd1c0b2a2cd01c3ec866200032360201b620011b51760201c565b620002907f322c05de6115faacfacfbb9e9dba1e2783b1b27705406d17d876122098819d3b856200032360201b620011b51760201c565b80601281905550620002ae8683620003cb60201b6200123d1760201c565b505050505050506200087b565b4690565b6000838383620002ce620002bb565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b6200033e82600c620004da60201b6200132d1790919060201c565b506000828152600b602052604090819020829055517f418d422a38ef786681f03ffea8d9ae04b8cad6da2488f8200a80daddd13b870b906200038490849084906200086d565b60405180910390a17fbb7640d9671cd2b6ad67894615875d39f4222b2b047d3dbfe122026796ac36b48282604051620003bf9291906200086d565b60405180910390a15050565b6001600160a01b03821662000427576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200043560008383620004f1565b62000451816002546200050e60201b620013401790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000484918390620013406200050e821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000620004e8838362000569565b90505b92915050565b62000509838383620005b860201b6200139a1760201c565b505050565b600082820183811015620004e8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006200057783836200062a565b620005af57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620004eb565b506000620004eb565b620005d08383836200050960201b62000af51760201c565b6001600160a01b038316620005fa57620005ea8262000642565b620005f462000673565b62000509565b6001600160a01b0382166200061457620005ea8362000642565b6200061f8362000642565b620005098262000642565b60009081526001919091016020526040902054151590565b6001600160a01b038116600090815260066020526040902062000670906200066a8362000685565b620006a4565b50565b6200068360076200066a62000700565b565b6001600160a01b0381166000908152602081905260409020545b919050565b6000620006bd60096200070660201b620013f21760201c565b905080620006cb846200070a565b101562000509578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60025490565b5490565b80546000906200071d575060006200069f565b8154829060001981019081106200073057fe5b906000526020600020015490506200069f565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200077b5760008555620007c6565b82601f106200079657805160ff1916838001178555620007c6565b82800160010185558215620007c6579182015b82811115620007c6578251825591602001919060010190620007a9565b50620007d4929150620007d8565b5090565b5b80821115620007d45760008155600101620007d9565b80516001600160a01b03811681146200069f57600080fd5b600080600080600080600060e0888a03121562000822578283fd5b6200082d88620007ef565b96506200083d60208901620007ef565b604089015160608a015160808b015160a08c015160c0909c01519a9d939c50919a90999198509650945092505050565b918252602082015260400190565b60805160a05160c05160e05161010051610120516126a5620008c560003980610f1e5250806117355250806117775250806117565250806116dc52508061170c52506126a56000f3fe608060405234801561001057600080fd5b50600436106102d35760003560e01c806378de7d1911610186578063a9059cbb116100e3578063dd62ed3e11610097578063e879b11811610071578063e879b1181461056b578063ea105ac714610573578063fa4e4a371461057b576102d3565b8063dd62ed3e1461053d578063dec98ab714610550578063e531d8c714610558576102d3565b8063beda2483116100c8578063beda24831461050f578063d505accf14610522578063d795ede114610535576102d3565b8063a9059cbb146104f4578063b7840a9114610507576102d3565b8063981b24d01161013a578063a457c2d71161011f578063a457c2d7146104bb578063a65ad63e146104ce578063a7d59b59146104e1576102d3565b8063981b24d01461049557806398e83051146104a8576102d3565b80637ecebe001161016b5780637ecebe001461046757806394e90e691461047a57806395d89b411461048d576102d3565b806378de7d191461043457806379cc679014610454576102d3565b806342966c68116102345780635d3ea8f1116101e85780636dd5b69d116101cd5780636dd5b69d146103f95780636e9960c31461041957806370a0823114610421576102d3565b80635d3ea8f1146103e95780636221a54b146103f1576102d3565b806352d567921161021957806352d56792146103bb57806353adf2cb146103ce5780635449b798146103d6576102d3565b806342966c68146103935780634ee2cd7e146103a8576102d3565b8063313ce5671161028b5780633684369711610270578063368436971461037057806339509351146103785780633f0971911461038b576102d3565b8063313ce567146103535780633644e51514610368576102d3565b806318160ddd116102bc57806318160ddd146103165780631b88094d1461032b57806323b872dd14610340576102d3565b806306fdde03146102d8578063095ea7b3146102f6575b600080fd5b6102e0610583565b6040516102ed9190612277565b60405180910390f35b61030961030436600461212e565b61061a565b6040516102ed9190612255565b61031e610638565b6040516102ed9190612260565b61033361063e565b6040516102ed9190612241565b61030961034e366004612082565b610672565b61035b6106f9565b6040516102ed9190612463565b61031e610702565b61031e610711565b61030961038636600461212e565b610735565b61031e610783565b6103a66103a1366004612157565b6107a7565b005b61031e6103b636600461212e565b6107bb565b61031e6103c9366004612190565b610804565b61031e610835565b6103a66103e4366004612157565b610859565b61031e610954565b61031e61097f565b61040c610407366004612157565b6109a6565b6040516102ed919061242b565b6103336109fa565b61031e61042f366004612036565b610a25565b610447610442366004612157565b610a40565b6040516102ed9190612442565b6103a661046236600461212e565b610aa5565b61031e610475366004612036565b610afa565b610309610488366004612157565b610b1b565b6102e0610b28565b61031e6104a3366004612157565b610b89565b61040c6104b6366004612157565b610bb9565b6103096104c936600461212e565b610bf6565b6103a66104dc36600461216f565b610c5e565b6104476104ef366004612157565b610d54565b61030961050236600461212e565b610da2565b61031e610db6565b6103a661051d366004612157565b610dda565b6103a66105303660046120bd565b610eaf565b61031e611066565b61031e61054b366004612050565b611072565b61031e61109d565b610309610566366004612157565b6110c8565b61031e6110d5565b6103a66110e1565b61031e611191565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b820191906000526020600020905b8154815290600101906020018083116105f257829003601f168201915b505050505090505b90565b600061062e6106276113f6565b84846113fa565b5060015b92915050565b60025490565b60006106697f9e4b78fbafcf1409bcad5ea4e306cb9e24dd8084dc2a168e004bb04a5b0dc2d96109a6565b60200151905090565b600061067f8484846114e6565b6106ef8461068b6113f6565b6106ea85604051806060016040528060288152602001612595602891396001600160a01b038a166000908152600160205260408120906106c96113f6565b6001600160a01b031681526020810191909152604001600020549190611641565b6113fa565b5060019392505050565b60055460ff1690565b600061070c6116d8565b905090565b7f9e4b78fbafcf1409bcad5ea4e306cb9e24dd8084dc2a168e004bb04a5b0dc2d981565b600061062e6107426113f6565b846106ea85600160006107536113f6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611340565b7f5e06cfb937811754a8f7cce232ff752da7656d6b44b63c8dd1c0b2a2cd01c3ec81565b6107b86107b26113f6565b826117a2565b50565b6001600160a01b0382166000908152600660205260408120819081906107e290859061189e565b91509150816107f9576107f485610a25565b6107fb565b805b95945050505050565b6000816040516020016108179190612225565b6040516020818303038152906040528051906020012090505b919050565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b381565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b3600052600b6020527fffc36f802faa194a6d4caed967ce60079d1789b50aaabf942244d6cecbcb9314546001600160a01b031633146108d45760405162461bcd60e51b81526004016108cb90612318565b60405180910390fd5b6108df600f826119a2565b6108fb5760405162461bcd60e51b81526004016108cb906122aa565b6000818152600e60205260408082208054838255600190910192909255517f2f6191371f2d30882f348c3fedb0661e7d34da33a44c4d44dc8aaca6d8d37945906109489084908490612269565b60405180910390a15050565b60006106697f322c05de6115faacfacfbb9e9dba1e2783b1b27705406d17d876122098819d3b6109a6565b60006106697f8bdc034209cd34465f1fe5127e9f4c5350103200f3bf7dc8daa75003ccf585e05b6109ae611fe4565b6109b9600c836119ae565b6109d55760405162461bcd60e51b81526004016108cb906122e1565b506040805180820182528281526000928352600b602090815291909220549082015290565b60006106697fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b36109a6565b6001600160a01b031660009081526020819052604090205490565b610a48611ffb565b610a53600f836119ae565b610a6f5760405162461bcd60e51b81526004016108cb9061234f565b50604080516060810182528281526000838152600e60208181528483208054828601529590925290526001909201549082015290565b6000610ad7826040518060600160405280602481526020016125bd60249139610ad08661054b6113f6565b9190611641565b9050610aeb83610ae56113f6565b836113fa565b610af583836117a2565b505050565b6001600160a01b0381166000908152600a60205260408120610632906113f2565b6000610632600c836119ae565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b6000806000610b9984600761189e565b9150915081610baf57610baa610638565b610bb1565b805b949350505050565b610bc1611fe4565b6000610bce600c846119ba565b6040805180820182528281526000928352600b60209081529190922054908201529392505050565b600061062e610c036113f6565b846106ea8560405180606001604052806025815260200161264b6025913960016000610c2d6113f6565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611641565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b3600052600b6020527fffc36f802faa194a6d4caed967ce60079d1789b50aaabf942244d6cecbcb9314546001600160a01b03163314610cd05760405162461bcd60e51b81526004016108cb90612318565b610cdb600f8361132d565b610cf75760405162461bcd60e51b81526004016108cb90612386565b6040805180820182528281524260208083019182526000868152600e9091528390209151825551600190910155517f418d422a38ef786681f03ffea8d9ae04b8cad6da2488f8200a80daddd13b870b906109489084908490612269565b610d5c611ffb565b6000610d69600f846119ba565b604080516060810182528281526000838152600e6020818152848320805482860152959092529052600190920154908201529392505050565b600061062e610daf6113f6565b84846114e6565b7f322c05de6115faacfacfbb9e9dba1e2783b1b27705406d17d876122098819d3b81565b7f0ddad97eb7f0ed5db6e3a1f3e5e7c4ee24c1c1fbe12f27761684cb8ed620c912546000828152600e602052604090206001015401421015610e2e5760405162461bcd60e51b81526004016108cb906123f4565b6000818152600e6020526040902054610e48600c8361132d565b506000828152600b60205260409020819055610e65600f836119a2565b506000828152600e602052604080822082815560010191909155517fbb7640d9671cd2b6ad67894615875d39f4222b2b047d3dbfe122026796ac36b4906109489084908490612269565b83421115610f04576040805162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015290519081900360640190fd5b6001600160a01b0387166000908152600a602052604081207f000000000000000000000000000000000000000000000000000000000000000090899089908990610f4d906113f2565b8960405160200180878152602001866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040528051906020012090506000610fb6826119c6565b90506000610fc682878787611a2d565b9050896001600160a01b0316816001600160a01b03161461102e576040805162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b6001600160a01b038a166000908152600a6020526040902061104f90611ba2565b61105a8a8a8a6113fa565b50505050505050505050565b600061070c600f611bab565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006106697f5e06cfb937811754a8f7cce232ff752da7656d6b44b63c8dd1c0b2a2cd01c3ec6109a6565b6000610632600f836119ae565b600061070c600c611bab565b6110e9610954565b6012540142101561110c5760405162461bcd60e51b81526004016108cb906123bd565b60118054600101905542601255611121611bb6565b50600061271061112f61109d565b611137610638565b028161113f57fe5b04905061115361114d61063e565b8261123d565b7fa8eb7e5fda38cf18e907bee8da786b6c9477deefbd4f2a7869f4a12abb68b4c360115482604051611186929190612269565b60405180910390a150565b7f8bdc034209cd34465f1fe5127e9f4c5350103200f3bf7dc8daa75003ccf585e081565b6111c0600c8361132d565b506000828152600b602052604090819020829055517f418d422a38ef786681f03ffea8d9ae04b8cad6da2488f8200a80daddd13b870b906112049084908490612269565b60405180910390a17fbb7640d9671cd2b6ad67894615875d39f4222b2b047d3dbfe122026796ac36b48282604051610948929190612269565b6001600160a01b038216611298576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6112a460008383611c0a565b6002546112b19082611340565b6002556001600160a01b0382166000908152602081905260409020546112d79082611340565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006113398383611c15565b9392505050565b600082820183811015611339576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6113a5838383610af5565b6001600160a01b0383166113c9576113bc82611c5f565b6113c4611c89565b610af5565b6001600160a01b0382166113e0576113bc83611c5f565b6113e983611c5f565b610af582611c5f565b5490565b3390565b6001600160a01b03831661143f5760405162461bcd60e51b81526004018080602001828103825260248152602001806126276024913960400191505060405180910390fd5b6001600160a01b0382166114845760405162461bcd60e51b81526004018080602001828103825260228152602001806125096022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661152b5760405162461bcd60e51b81526004018080602001828103825260258152602001806126026025913960400191505060405180910390fd5b6001600160a01b0382166115705760405162461bcd60e51b81526004018080602001828103825260238152602001806124c46023913960400191505060405180910390fd5b61157b838383611c0a565b6115b88160405180606001604052806026815260200161252b602691396001600160a01b0386166000908152602081905260409020549190611641565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115e79082611340565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116d05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561169557818101518382015260200161167d565b50505050905090810190601f1680156116c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60007f0000000000000000000000000000000000000000000000000000000000000000611703611c98565b141561173057507f0000000000000000000000000000000000000000000000000000000000000000610617565b61179b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611c9c565b9050610617565b6001600160a01b0382166117e75760405162461bcd60e51b81526004018080602001828103825260218152602001806125e16021913960400191505060405180910390fd5b6117f382600083611c0a565b611830816040518060600160405280602281526020016124e7602291396001600160a01b0385166000908152602081905260409020549190611641565b6001600160a01b0383166000908152602081905260409020556002546118569082611cfe565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600080600084116118f6576040805162461bcd60e51b815260206004820152601660248201527f4552433230536e617073686f743a206964206973203000000000000000000000604482015290519081900360640190fd5b61190060096113f2565b841115611954576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b60006119608486611d5b565b845490915081141561197957600080925092505061199b565b600184600101828154811061198a57fe5b906000526020600020015492509250505b9250929050565b60006113398383611dfc565b60006113398383611ec2565b60006113398383611eda565b60006119d06116d8565b8260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611a8e5760405162461bcd60e51b81526004018080602001828103825260228152602001806125516022913960400191505060405180910390fd5b8360ff16601b1480611aa357508360ff16601c145b611ade5760405162461bcd60e51b81526004018080602001828103825260228152602001806125736022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611b3a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107fb576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b80546001019055565b6000610632826113f2565b6000611bc26009611ba2565b6000611bce60096113f2565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b610af583838361139a565b6000611c218383611ec2565b611c5757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610632565b506000610632565b6001600160a01b03811660009081526006602052604090206107b890611c8483610a25565b611f3e565b611c966007611c84610638565b565b4690565b6000838383611ca9611c98565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b600082821115611d55576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8154600090611d6c57506000610632565b82546000905b80821015611dbb576000611d868383611f8a565b905084868281548110611d9557fe5b90600052602060002001541115611dae57809150611db5565b8060010192505b50611d72565b600082118015611de3575083856001840381548110611dd657fe5b9060005260206000200154145b15611df45750600019019050610632565b509050610632565b60008181526001830160205260408120548015611eb85783546000198083019190810190600090879083908110611e2f57fe5b9060005260206000200154905080876000018481548110611e4c57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611e7c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610632565b6000915050610632565b60009081526001919091016020526040902054151590565b81546000908210611f1c5760405162461bcd60e51b81526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611f2b57fe5b9060005260206000200154905092915050565b6000611f4a60096113f2565b905080611f5684611faf565b1015610af5578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006002808306600285060181611f9d57fe5b04600283046002850401019392505050565b8054600090611fc057506000610830565b815482906000198101908110611fd257fe5b90600052602060002001549050610830565b604080518082019091526000808252602082015290565b60405180606001604052806000801916815260200160008152602001600081525090565b80356001600160a01b038116811461083057600080fd5b600060208284031215612047578081fd5b6113398261201f565b60008060408385031215612062578081fd5b61206b8361201f565b91506120796020840161201f565b90509250929050565b600080600060608486031215612096578081fd5b61209f8461201f565b92506120ad6020850161201f565b9150604084013590509250925092565b600080600080600080600060e0888a0312156120d7578283fd5b6120e08861201f565b96506120ee6020890161201f565b95506040880135945060608801359350608088013560ff81168114612111578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612140578182fd5b6121498361201f565b946020939093013593505050565b600060208284031215612168578081fd5b5035919050565b60008060408385031215612181578182fd5b50508035926020909101359150565b600060208083850312156121a2578182fd5b823567ffffffffffffffff808211156121b9578384fd5b818501915085601f8301126121cc578384fd5b8135818111156121d857fe5b604051601f8201601f19168101850183811182821017156121f557fe5b604052818152838201850188101561220b578586fd5b818585018683013790810190930193909352509392505050565b60008251612237818460208701612471565b9190910192915050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b918252602082015260400190565b6000602082528251806020840152612296816040850160208701612471565b601f01601f19169190910160400192915050565b6020808252600a908201527f6e6f207265717565737400000000000000000000000000000000000000000000604082015260600190565b6020808252600a908201527f6e6f7420636f6e66696700000000000000000000000000000000000000000000604082015260600190565b6020808252600a908201527f6f6e6c792061646d696e00000000000000000000000000000000000000000000604082015260600190565b6020808252600b908201527f6e6f742070656e64696e67000000000000000000000000000000000000000000604082015260600190565b60208082526010908201527f6578697374696e67207265717565737400000000000000000000000000000000604082015260600190565b60208082526014908201527f6e6f7420726561647920746f20616476616e6365000000000000000000000000604082015260600190565b60208082526009908201527f746f6f206561726c790000000000000000000000000000000000000000000000604082015260600190565b815181526020918201519181019190915260400190565b81518152602080830151908201526040918201519181019190915260600190565b60ff91909116815260200190565b60005b8381101561248c578181015183820152602001612474565b8381111561249b576000848401525b5050505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545434453413a20696e76616c6964207369676e6174757265202773272076616c756545434453413a20696e76616c6964207369676e6174757265202776272076616c756545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220338b36453ed4b51898239bed781bbdd9af6ded24249fa6a49bda04f630a89c8b64736f6c63430007060033000000000000000000000000777b0884f97fd361c55e472530272be61ceb87c80000000000000000000000001c428a75181bc25509af3a5b7faee97b4b6d3562000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000001275000000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000060286800

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102d35760003560e01c806378de7d1911610186578063a9059cbb116100e3578063dd62ed3e11610097578063e879b11811610071578063e879b1181461056b578063ea105ac714610573578063fa4e4a371461057b576102d3565b8063dd62ed3e1461053d578063dec98ab714610550578063e531d8c714610558576102d3565b8063beda2483116100c8578063beda24831461050f578063d505accf14610522578063d795ede114610535576102d3565b8063a9059cbb146104f4578063b7840a9114610507576102d3565b8063981b24d01161013a578063a457c2d71161011f578063a457c2d7146104bb578063a65ad63e146104ce578063a7d59b59146104e1576102d3565b8063981b24d01461049557806398e83051146104a8576102d3565b80637ecebe001161016b5780637ecebe001461046757806394e90e691461047a57806395d89b411461048d576102d3565b806378de7d191461043457806379cc679014610454576102d3565b806342966c68116102345780635d3ea8f1116101e85780636dd5b69d116101cd5780636dd5b69d146103f95780636e9960c31461041957806370a0823114610421576102d3565b80635d3ea8f1146103e95780636221a54b146103f1576102d3565b806352d567921161021957806352d56792146103bb57806353adf2cb146103ce5780635449b798146103d6576102d3565b806342966c68146103935780634ee2cd7e146103a8576102d3565b8063313ce5671161028b5780633684369711610270578063368436971461037057806339509351146103785780633f0971911461038b576102d3565b8063313ce567146103535780633644e51514610368576102d3565b806318160ddd116102bc57806318160ddd146103165780631b88094d1461032b57806323b872dd14610340576102d3565b806306fdde03146102d8578063095ea7b3146102f6575b600080fd5b6102e0610583565b6040516102ed9190612277565b60405180910390f35b61030961030436600461212e565b61061a565b6040516102ed9190612255565b61031e610638565b6040516102ed9190612260565b61033361063e565b6040516102ed9190612241565b61030961034e366004612082565b610672565b61035b6106f9565b6040516102ed9190612463565b61031e610702565b61031e610711565b61030961038636600461212e565b610735565b61031e610783565b6103a66103a1366004612157565b6107a7565b005b61031e6103b636600461212e565b6107bb565b61031e6103c9366004612190565b610804565b61031e610835565b6103a66103e4366004612157565b610859565b61031e610954565b61031e61097f565b61040c610407366004612157565b6109a6565b6040516102ed919061242b565b6103336109fa565b61031e61042f366004612036565b610a25565b610447610442366004612157565b610a40565b6040516102ed9190612442565b6103a661046236600461212e565b610aa5565b61031e610475366004612036565b610afa565b610309610488366004612157565b610b1b565b6102e0610b28565b61031e6104a3366004612157565b610b89565b61040c6104b6366004612157565b610bb9565b6103096104c936600461212e565b610bf6565b6103a66104dc36600461216f565b610c5e565b6104476104ef366004612157565b610d54565b61030961050236600461212e565b610da2565b61031e610db6565b6103a661051d366004612157565b610dda565b6103a66105303660046120bd565b610eaf565b61031e611066565b61031e61054b366004612050565b611072565b61031e61109d565b610309610566366004612157565b6110c8565b61031e6110d5565b6103a66110e1565b61031e611191565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b820191906000526020600020905b8154815290600101906020018083116105f257829003601f168201915b505050505090505b90565b600061062e6106276113f6565b84846113fa565b5060015b92915050565b60025490565b60006106697f9e4b78fbafcf1409bcad5ea4e306cb9e24dd8084dc2a168e004bb04a5b0dc2d96109a6565b60200151905090565b600061067f8484846114e6565b6106ef8461068b6113f6565b6106ea85604051806060016040528060288152602001612595602891396001600160a01b038a166000908152600160205260408120906106c96113f6565b6001600160a01b031681526020810191909152604001600020549190611641565b6113fa565b5060019392505050565b60055460ff1690565b600061070c6116d8565b905090565b7f9e4b78fbafcf1409bcad5ea4e306cb9e24dd8084dc2a168e004bb04a5b0dc2d981565b600061062e6107426113f6565b846106ea85600160006107536113f6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611340565b7f5e06cfb937811754a8f7cce232ff752da7656d6b44b63c8dd1c0b2a2cd01c3ec81565b6107b86107b26113f6565b826117a2565b50565b6001600160a01b0382166000908152600660205260408120819081906107e290859061189e565b91509150816107f9576107f485610a25565b6107fb565b805b95945050505050565b6000816040516020016108179190612225565b6040516020818303038152906040528051906020012090505b919050565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b381565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b3600052600b6020527fffc36f802faa194a6d4caed967ce60079d1789b50aaabf942244d6cecbcb9314546001600160a01b031633146108d45760405162461bcd60e51b81526004016108cb90612318565b60405180910390fd5b6108df600f826119a2565b6108fb5760405162461bcd60e51b81526004016108cb906122aa565b6000818152600e60205260408082208054838255600190910192909255517f2f6191371f2d30882f348c3fedb0661e7d34da33a44c4d44dc8aaca6d8d37945906109489084908490612269565b60405180910390a15050565b60006106697f322c05de6115faacfacfbb9e9dba1e2783b1b27705406d17d876122098819d3b6109a6565b60006106697f8bdc034209cd34465f1fe5127e9f4c5350103200f3bf7dc8daa75003ccf585e05b6109ae611fe4565b6109b9600c836119ae565b6109d55760405162461bcd60e51b81526004016108cb906122e1565b506040805180820182528281526000928352600b602090815291909220549082015290565b60006106697fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b36109a6565b6001600160a01b031660009081526020819052604090205490565b610a48611ffb565b610a53600f836119ae565b610a6f5760405162461bcd60e51b81526004016108cb9061234f565b50604080516060810182528281526000838152600e60208181528483208054828601529590925290526001909201549082015290565b6000610ad7826040518060600160405280602481526020016125bd60249139610ad08661054b6113f6565b9190611641565b9050610aeb83610ae56113f6565b836113fa565b610af583836117a2565b505050565b6001600160a01b0381166000908152600a60205260408120610632906113f2565b6000610632600c836119ae565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b6000806000610b9984600761189e565b9150915081610baf57610baa610638565b610bb1565b805b949350505050565b610bc1611fe4565b6000610bce600c846119ba565b6040805180820182528281526000928352600b60209081529190922054908201529392505050565b600061062e610c036113f6565b846106ea8560405180606001604052806025815260200161264b6025913960016000610c2d6113f6565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611641565b7fa729ef4e25027bc652fc8b5c4d1d902947361fa7c8e7b4905e877823f27331b3600052600b6020527fffc36f802faa194a6d4caed967ce60079d1789b50aaabf942244d6cecbcb9314546001600160a01b03163314610cd05760405162461bcd60e51b81526004016108cb90612318565b610cdb600f8361132d565b610cf75760405162461bcd60e51b81526004016108cb90612386565b6040805180820182528281524260208083019182526000868152600e9091528390209151825551600190910155517f418d422a38ef786681f03ffea8d9ae04b8cad6da2488f8200a80daddd13b870b906109489084908490612269565b610d5c611ffb565b6000610d69600f846119ba565b604080516060810182528281526000838152600e6020818152848320805482860152959092529052600190920154908201529392505050565b600061062e610daf6113f6565b84846114e6565b7f322c05de6115faacfacfbb9e9dba1e2783b1b27705406d17d876122098819d3b81565b7f0ddad97eb7f0ed5db6e3a1f3e5e7c4ee24c1c1fbe12f27761684cb8ed620c912546000828152600e602052604090206001015401421015610e2e5760405162461bcd60e51b81526004016108cb906123f4565b6000818152600e6020526040902054610e48600c8361132d565b506000828152600b60205260409020819055610e65600f836119a2565b506000828152600e602052604080822082815560010191909155517fbb7640d9671cd2b6ad67894615875d39f4222b2b047d3dbfe122026796ac36b4906109489084908490612269565b83421115610f04576040805162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015290519081900360640190fd5b6001600160a01b0387166000908152600a602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610f4d906113f2565b8960405160200180878152602001866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040528051906020012090506000610fb6826119c6565b90506000610fc682878787611a2d565b9050896001600160a01b0316816001600160a01b03161461102e576040805162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b6001600160a01b038a166000908152600a6020526040902061104f90611ba2565b61105a8a8a8a6113fa565b50505050505050505050565b600061070c600f611bab565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006106697f5e06cfb937811754a8f7cce232ff752da7656d6b44b63c8dd1c0b2a2cd01c3ec6109a6565b6000610632600f836119ae565b600061070c600c611bab565b6110e9610954565b6012540142101561110c5760405162461bcd60e51b81526004016108cb906123bd565b60118054600101905542601255611121611bb6565b50600061271061112f61109d565b611137610638565b028161113f57fe5b04905061115361114d61063e565b8261123d565b7fa8eb7e5fda38cf18e907bee8da786b6c9477deefbd4f2a7869f4a12abb68b4c360115482604051611186929190612269565b60405180910390a150565b7f8bdc034209cd34465f1fe5127e9f4c5350103200f3bf7dc8daa75003ccf585e081565b6111c0600c8361132d565b506000828152600b602052604090819020829055517f418d422a38ef786681f03ffea8d9ae04b8cad6da2488f8200a80daddd13b870b906112049084908490612269565b60405180910390a17fbb7640d9671cd2b6ad67894615875d39f4222b2b047d3dbfe122026796ac36b48282604051610948929190612269565b6001600160a01b038216611298576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6112a460008383611c0a565b6002546112b19082611340565b6002556001600160a01b0382166000908152602081905260409020546112d79082611340565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006113398383611c15565b9392505050565b600082820183811015611339576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6113a5838383610af5565b6001600160a01b0383166113c9576113bc82611c5f565b6113c4611c89565b610af5565b6001600160a01b0382166113e0576113bc83611c5f565b6113e983611c5f565b610af582611c5f565b5490565b3390565b6001600160a01b03831661143f5760405162461bcd60e51b81526004018080602001828103825260248152602001806126276024913960400191505060405180910390fd5b6001600160a01b0382166114845760405162461bcd60e51b81526004018080602001828103825260228152602001806125096022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661152b5760405162461bcd60e51b81526004018080602001828103825260258152602001806126026025913960400191505060405180910390fd5b6001600160a01b0382166115705760405162461bcd60e51b81526004018080602001828103825260238152602001806124c46023913960400191505060405180910390fd5b61157b838383611c0a565b6115b88160405180606001604052806026815260200161252b602691396001600160a01b0386166000908152602081905260409020549190611641565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115e79082611340565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116d05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561169557818101518382015260200161167d565b50505050905090810190601f1680156116c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60007f0000000000000000000000000000000000000000000000000000000000000001611703611c98565b141561173057507f561d3e62b3d53d038b3a5c43708c131dd451bc4c423b8b1a01391d9df54d3e32610617565b61179b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f9fa3d2645b1ff41433ec4b5f960209c281de228aa0055a14990a6eba0fedc0f27fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6611c9c565b9050610617565b6001600160a01b0382166117e75760405162461bcd60e51b81526004018080602001828103825260218152602001806125e16021913960400191505060405180910390fd5b6117f382600083611c0a565b611830816040518060600160405280602281526020016124e7602291396001600160a01b0385166000908152602081905260409020549190611641565b6001600160a01b0383166000908152602081905260409020556002546118569082611cfe565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600080600084116118f6576040805162461bcd60e51b815260206004820152601660248201527f4552433230536e617073686f743a206964206973203000000000000000000000604482015290519081900360640190fd5b61190060096113f2565b841115611954576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b60006119608486611d5b565b845490915081141561197957600080925092505061199b565b600184600101828154811061198a57fe5b906000526020600020015492509250505b9250929050565b60006113398383611dfc565b60006113398383611ec2565b60006113398383611eda565b60006119d06116d8565b8260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611a8e5760405162461bcd60e51b81526004018080602001828103825260228152602001806125516022913960400191505060405180910390fd5b8360ff16601b1480611aa357508360ff16601c145b611ade5760405162461bcd60e51b81526004018080602001828103825260228152602001806125736022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611b3a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107fb576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b80546001019055565b6000610632826113f2565b6000611bc26009611ba2565b6000611bce60096113f2565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b610af583838361139a565b6000611c218383611ec2565b611c5757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610632565b506000610632565b6001600160a01b03811660009081526006602052604090206107b890611c8483610a25565b611f3e565b611c966007611c84610638565b565b4690565b6000838383611ca9611c98565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b600082821115611d55576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8154600090611d6c57506000610632565b82546000905b80821015611dbb576000611d868383611f8a565b905084868281548110611d9557fe5b90600052602060002001541115611dae57809150611db5565b8060010192505b50611d72565b600082118015611de3575083856001840381548110611dd657fe5b9060005260206000200154145b15611df45750600019019050610632565b509050610632565b60008181526001830160205260408120548015611eb85783546000198083019190810190600090879083908110611e2f57fe5b9060005260206000200154905080876000018481548110611e4c57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611e7c57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610632565b6000915050610632565b60009081526001919091016020526040902054151590565b81546000908210611f1c5760405162461bcd60e51b81526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611f2b57fe5b9060005260206000200154905092915050565b6000611f4a60096113f2565b905080611f5684611faf565b1015610af5578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60006002808306600285060181611f9d57fe5b04600283046002850401019392505050565b8054600090611fc057506000610830565b815482906000198101908110611fd257fe5b90600052602060002001549050610830565b604080518082019091526000808252602082015290565b60405180606001604052806000801916815260200160008152602001600081525090565b80356001600160a01b038116811461083057600080fd5b600060208284031215612047578081fd5b6113398261201f565b60008060408385031215612062578081fd5b61206b8361201f565b91506120796020840161201f565b90509250929050565b600080600060608486031215612096578081fd5b61209f8461201f565b92506120ad6020850161201f565b9150604084013590509250925092565b600080600080600080600060e0888a0312156120d7578283fd5b6120e08861201f565b96506120ee6020890161201f565b95506040880135945060608801359350608088013560ff81168114612111578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612140578182fd5b6121498361201f565b946020939093013593505050565b600060208284031215612168578081fd5b5035919050565b60008060408385031215612181578182fd5b50508035926020909101359150565b600060208083850312156121a2578182fd5b823567ffffffffffffffff808211156121b9578384fd5b818501915085601f8301126121cc578384fd5b8135818111156121d857fe5b604051601f8201601f19168101850183811182821017156121f557fe5b604052818152838201850188101561220b578586fd5b818585018683013790810190930193909352509392505050565b60008251612237818460208701612471565b9190910192915050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b918252602082015260400190565b6000602082528251806020840152612296816040850160208701612471565b601f01601f19169190910160400192915050565b6020808252600a908201527f6e6f207265717565737400000000000000000000000000000000000000000000604082015260600190565b6020808252600a908201527f6e6f7420636f6e66696700000000000000000000000000000000000000000000604082015260600190565b6020808252600a908201527f6f6e6c792061646d696e00000000000000000000000000000000000000000000604082015260600190565b6020808252600b908201527f6e6f742070656e64696e67000000000000000000000000000000000000000000604082015260600190565b60208082526010908201527f6578697374696e67207265717565737400000000000000000000000000000000604082015260600190565b60208082526014908201527f6e6f7420726561647920746f20616476616e6365000000000000000000000000604082015260600190565b60208082526009908201527f746f6f206561726c790000000000000000000000000000000000000000000000604082015260600190565b815181526020918201519181019190915260400190565b81518152602080830151908201526040918201519181019190915260600190565b60ff91909116815260200190565b60005b8381101561248c578181015183820152602001612474565b8381111561249b576000848401525b5050505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545434453413a20696e76616c6964207369676e6174757265202773272076616c756545434453413a20696e76616c6964207369676e6174757265202776272076616c756545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220338b36453ed4b51898239bed781bbdd9af6ded24249fa6a49bda04f630a89c8b64736f6c63430007060033

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

000000000000000000000000777b0884f97fd361c55e472530272be61ceb87c80000000000000000000000001c428a75181bc25509af3a5b7faee97b4b6d3562000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000001275000000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000060286800

-----Decoded View---------------
Arg [0] : admin (address): 0x777B0884f97Fd361c55e472530272Be61cEb87c8
Arg [1] : recipient (address): 0x1c428A75181Bc25509aF3A5B7FAEE97b4B6d3562
Arg [2] : inflationBps (uint256): 100
Arg [3] : epochDuration (uint256): 1209600
Arg [4] : timelock (uint256): 604800
Arg [5] : supply (uint256): 1000000000000000000000000
Arg [6] : epochStart (uint256): 1613260800

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000777b0884f97fd361c55e472530272be61ceb87c8
Arg [1] : 0000000000000000000000001c428a75181bc25509af3a5b7faee97b4b6d3562
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [3] : 0000000000000000000000000000000000000000000000000000000000127500
Arg [4] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [5] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000060286800


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.