Token EthermonToken

 

Overview [ERC-20]

Price
$0.00 @ 0.000002 Eth (-2.02%)
Fully Diluted Market Cap
Max Total Supply:
400,000,000 EMON

Holders:
1,237 (0.00%)

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Ethermon was the very first blockchain battle game on Ethereum. Ethermon NFT collectors can now take their Ethermon to explore in the world famous decentralized 3D world (Decentraland) and challenge other players on battle ladders on the classic website Ethermon.io. Now also on Matic Polygon.

Market

Volume (24H):$44,026.14
Market Capitalization:$0.00
Circulating Supply:0.00 EMON
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthermonToken

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-13
*/

pragma solidity ^0.7.0;

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

abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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;
    }
}


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


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

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


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

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

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

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

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

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

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

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


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

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}


interface ILocker {
  /**
   * @dev Fails if transaction is not allowed. Otherwise returns the penalty.
   * Returns a bool and a uint16, bool clarifying the penalty applied, and uint16 the penaltyOver1000
   */
  function lockOrGetPenalty(address source, address dest)
    external
    returns (bool, uint256);
}

interface TokenRecipient {
  function receiveApproval(
    address _from,
    uint256 _value,
    address _token,
    bytes memory _extraData
  ) external;
}

interface TokenConvertor {
  function convertToOld(uint256, address) external;
}

contract EthermonToken is Ownable, AccessControl, ERC20Pausable {
  using SafeMath for uint256;
  // metadata
  string public version = "1.0";
  bytes32 public constant MODERATOR_ROLE = keccak256("MODERATOR_ROLE");

  // Ethermon payment
  address public convertorContract;
  ILocker public locker;

  mapping(address => bool) public frozenAccount;
  event FrozenFunds(address target, bool frozen);

  modifier onlyModerators {
    require(hasRole(MODERATOR_ROLE, msg.sender), "Caller is not a moderator");
    _;
  }

  // constructor
  constructor() ERC20("EthermonToken", "EMON") Ownable() Pausable() {
    _setupDecimals(18);

    _mint(msg.sender, 400000000 * 10**decimals());
  }

  function setLocker(address _locker) external onlyOwner() {
    locker = ILocker(_locker);
  }

  function AddModerator(address _newModerator) public onlyOwner {
    _setupRole(MODERATOR_ROLE, _newModerator);
  }

  function RemoveModerator(address _oldModerator) public onlyOwner {
    revokeRole(MODERATOR_ROLE, _oldModerator);
  }

  function UpdateMaintaining(bool _isMaintaining) public onlyOwner {
    if (_isMaintaining) _pause();
    else _unpause();
  }

  function approveAndCall(
    address _spender,
    uint256 _value,
    bytes memory _extraData
  ) public returns (bool success) {
    TokenRecipient spender = TokenRecipient(_spender);
    if (approve(_spender, _value)) {
      spender.receiveApproval(msg.sender, _value, address(this), _extraData);
      return true;
    }
  }

  function transferAndCall(
    address _convertor,
    uint256 _amount,
    bytes memory _extraData
  ) public returns (bool success) {
    require(_amount != 0);
    TokenConvertor convertor = TokenConvertor(_convertor);
    convertor.convertToOld(_amount, msg.sender);
    _transfer(_msgSender(), _convertor, _amount);
    return true;
  }

  function freezeAccount(address _target, bool _freeze) public onlyOwner {
    frozenAccount[_target] = _freeze;
    FrozenFunds(_target, _freeze);
  }

  function _transfer(
    address sender,
    address recipient,
    uint256 amount
  ) internal virtual override {
    if (address(locker) != address(0)) {
      locker.lockOrGetPenalty(sender, recipient);
    }
    return ERC20._transfer(sender, recipient, amount);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"frozen","type":"bool"}],"name":"FrozenFunds","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_newModerator","type":"address"}],"name":"AddModerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MODERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oldModerator","type":"address"}],"name":"RemoveModerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMaintaining","type":"bool"}],"name":"UpdateMaintaining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convertorContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bool","name":"_freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"frozenAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"contract ILocker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_locker","type":"address"}],"name":"setLocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_convertor","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60c060405260036080819052620312e360ec1b60a09081526200002691600891906200035b565b503480156200003457600080fd5b506040518060400160405280600d81526020016c22ba3432b936b7b72a37b5b2b760991b8152506040518060400160405280600481526020016322a6a7a760e11b81525060006200008a6200015060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000e99060059060208501906200035b565b508051620000ff9060069060208401906200035b565b505060078054601260ff19909116811761ff00191690915562000123915062000154565b6200014a33620001326200016a565b60ff16600a0a6317d78400026200017360201b60201c565b620003f7565b3390565b6007805460ff191660ff92909216919091179055565b60075460ff1690565b6001600160a01b038216620001cf576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001dd6000838362000286565b620001f981600454620002eb60201b620013821790919060201c565b6004556001600160a01b0382166000908152600260209081526040909120546200022e91839062001382620002eb821b17901c565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6200029e838383620002e660201b620013dc1760201c565b620002a86200034d565b15620002e65760405162461bcd60e51b815260040180806020018281038252602a815260200180620021ec602a913960400191505060405180910390fd5b505050565b60008282018381101562000346576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754610100900460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039e57805160ff1916838001178555620003ce565b82800160010185558215620003ce579182015b82811115620003ce578251825591602001919060010190620003b1565b50620003dc929150620003e0565b5090565b5b80821115620003dc5760008155600101620003e1565b611de580620004076000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063797669c911610125578063b85d6275116100ad578063d7b96d4e1161007c578063d7b96d4e1461077b578063dd62ed3e14610783578063e122db6c146107b1578063e724529c146107b9578063f2fde38b146107e757610211565b8063b85d627514610651578063ca15c87314610677578063cae9ca5114610694578063d547741f1461074f57610211565b806395d89b41116100f457806395d89b41146105c3578063a217fddf146105cb578063a457c2d7146105d3578063a9059cbb146105ff578063b414d4b61461062b57610211565b8063797669c9146105485780638da5cb5b146105505780639010d07c1461057457806391d148541461059757610211565b806336568abe116101a857806354fd4d501161017757806354fd4d50146104e45780635c975abb146104ec5780636c81fd6d146104f457806370a082311461051a578063715018a61461054057610211565b806336568abe146103b257806339509351146103de5780634000aea01461040a57806348ef5aa8146104c557610211565b806323b872dd116101e457806323b872dd14610315578063248a9ca31461034b5780632f2ff15d14610368578063313ce5671461039457610211565b806306fdde0314610216578063095ea7b314610293578063171060ec146102d357806318160ddd146102fb575b600080fd5b61021e61080d565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610258578181015183820152602001610240565b50505050905090810190601f1680156102855780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102bf600480360360408110156102a957600080fd5b506001600160a01b0381351690602001356108a3565b604080519115158252519081900360200190f35b6102f9600480360360208110156102e957600080fd5b50356001600160a01b03166108c1565b005b610303610945565b60408051918252519081900360200190f35b6102bf6004803603606081101561032b57600080fd5b506001600160a01b0381358116916020810135909116906040013561094b565b6103036004803603602081101561036157600080fd5b50356109d3565b6102f96004803603604081101561037e57600080fd5b50803590602001356001600160a01b03166109e8565b61039c610a54565b6040805160ff9092168252519081900360200190f35b6102f9600480360360408110156103c857600080fd5b50803590602001356001600160a01b0316610a5d565b6102bf600480360360408110156103f457600080fd5b506001600160a01b038135169060200135610abe565b6102bf6004803603606081101561042057600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561045057600080fd5b82018360208201111561046257600080fd5b8035906020019184600183028401116401000000008311171561048457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b0c945050505050565b6102f9600480360360208110156104db57600080fd5b50351515610b9e565b61021e610c1e565b6102bf610cac565b6102f96004803603602081101561050a57600080fd5b50356001600160a01b0316610cba565b6103036004803603602081101561053057600080fd5b50356001600160a01b0316610d46565b6102f9610d61565b610303610e0d565b610558610e31565b604080516001600160a01b039092168252519081900360200190f35b6105586004803603604081101561058a57600080fd5b5080359060200135610e40565b6102bf600480360360408110156105ad57600080fd5b50803590602001356001600160a01b0316610e58565b61021e610e70565b610303610ed1565b6102bf600480360360408110156105e957600080fd5b506001600160a01b038135169060200135610ed6565b6102bf6004803603604081101561061557600080fd5b506001600160a01b038135169060200135610f3e565b6102bf6004803603602081101561064157600080fd5b50356001600160a01b0316610f52565b6102f96004803603602081101561066757600080fd5b50356001600160a01b0316610f67565b6103036004803603602081101561068d57600080fd5b5035610ff3565b6102bf600480360360608110156106aa57600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156106da57600080fd5b8201836020820111156106ec57600080fd5b8035906020019184600183028401116401000000008311171561070e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061100a945050505050565b6102f96004803603604081101561076557600080fd5b50803590602001356001600160a01b0316611118565b610558611171565b6103036004803603604081101561079957600080fd5b506001600160a01b0381358116916020013516611180565b6105586111ab565b6102f9600480360360408110156107cf57600080fd5b506001600160a01b03813516906020013515156111ba565b6102f9600480360360208110156107fd57600080fd5b50356001600160a01b0316611280565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108995780601f1061086e57610100808354040283529160200191610899565b820191906000526020600020905b81548152906001019060200180831161087c57829003601f168201915b5050505050905090565b60006108b76108b06113e1565b84846113e5565b5060015b92915050565b6108c96113e1565b6001600160a01b03166108da610e31565b6001600160a01b031614610923576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60045490565b60006109588484846114d1565b6109c8846109646113e1565b6109c385604051806060016040528060288152602001611ca1602891396001600160a01b038a166000908152600360205260408120906109a26113e1565b6001600160a01b03168152602081019190915260400160002054919061156d565b6113e5565b5060015b9392505050565b60009081526001602052604090206002015490565b600082815260016020526040902060020154610a0b90610a066113e1565b610e58565b610a465760405162461bcd60e51b815260040180806020018281038252602f815260200180611bd4602f913960400191505060405180910390fd5b610a508282611604565b5050565b60075460ff1690565b610a656113e1565b6001600160a01b0316816001600160a01b031614610ab45760405162461bcd60e51b815260040180806020018281038252602f815260200180611d57602f913960400191505060405180910390fd5b610a50828261166d565b60006108b7610acb6113e1565b846109c38560036000610adc6113e1565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611382565b600082610b1857600080fd5b60408051631efb138d60e31b815260048101859052336024820152905185916001600160a01b0383169163f7d89c689160448082019260009290919082900301818387803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b50505050610b93610b8c6113e1565b86866114d1565b506001949350505050565b610ba66113e1565b6001600160a01b0316610bb7610e31565b6001600160a01b031614610c00576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b8015610c1357610c0e6116d6565b610c1b565b610c1b611778565b50565b6008805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610ca45780601f10610c7957610100808354040283529160200191610ca4565b820191906000526020600020905b815481529060010190602001808311610c8757829003601f168201915b505050505081565b600754610100900460ff1690565b610cc26113e1565b6001600160a01b0316610cd3610e31565b6001600160a01b031614610d1c576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b610c1b7f71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f82610a46565b6001600160a01b031660009081526002602052604090205490565b610d696113e1565b6001600160a01b0316610d7a610e31565b6001600160a01b031614610dc3576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b7f71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f81565b6000546001600160a01b031690565b60008281526001602052604081206109cc90836117fc565b60008281526001602052604081206109cc9083611808565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108995780601f1061086e57610100808354040283529160200191610899565b600081565b60006108b7610ee36113e1565b846109c385604051806060016040528060258152602001611d326025913960036000610f0d6113e1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061156d565b60006108b7610f4b6113e1565b84846114d1565b600b6020526000908152604090205460ff1681565b610f6f6113e1565b6001600160a01b0316610f80610e31565b6001600160a01b031614610fc9576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b610c1b7f71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f82611118565b60008181526001602052604081206108bb9061181d565b60008361101781856108a3565b1561111057806001600160a01b0316638f4ffcb1338630876040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561109f578181015183820152602001611087565b50505050905090810190601f1680156110cc5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156110ee57600080fd5b505af1158015611102573d6000803e3d6000fd5b5050505060019150506109cc565b509392505050565b60008281526001602052604090206002015461113690610a066113e1565b610ab45760405162461bcd60e51b8152600401808060200182810382526030815260200180611c716030913960400191505060405180910390fd5b600a546001600160a01b031681565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6009546001600160a01b031681565b6111c26113e1565b6001600160a01b03166111d3610e31565b6001600160a01b03161461121c576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b6112886113e1565b6001600160a01b0316611299610e31565b6001600160a01b0316146112e2576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc9833981519152604482015290519081900360640190fd5b6001600160a01b0381166113275760405162461bcd60e51b8152600401808060200182810382526026815260200180611c036026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000828201838110156109cc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b505050565b3390565b6001600160a01b03831661142a5760405162461bcd60e51b8152600401808060200182810382526024815260200180611d0e6024913960400191505060405180910390fd5b6001600160a01b03821661146f5760405162461bcd60e51b8152600401808060200182810382526022815260200180611c296022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600a546001600160a01b03161561156257600a546040805163aa61a9dd60e01b81526001600160a01b0386811660048301528581166024830152825193169263aa61a9dd926044808401939192918290030181600087803b15801561153557600080fd5b505af1158015611549573d6000803e3d6000fd5b505050506040513d604081101561155f57600080fd5b50505b6113dc838383611828565b600081848411156115fc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115c15781810151838201526020016115a9565b50505050905090810190601f1680156115ee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082815260016020526040902061161c9082611985565b15610a50576116296113e1565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600160205260409020611685908261199a565b15610a50576116926113e1565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6116de610cac565b15611723576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6007805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861175b6113e1565b604080516001600160a01b039092168252519081900360200190a1565b611780610cac565b6117c8576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6007805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61175b6113e1565b60006109cc83836119af565b60006109cc836001600160a01b038416611a13565b60006108bb82611a2b565b6001600160a01b03831661186d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611ce96025913960400191505060405180910390fd5b6001600160a01b0382166118b25760405162461bcd60e51b8152600401808060200182810382526023815260200180611bb16023913960400191505060405180910390fd5b6118bd838383611a2f565b6118fa81604051806060016040528060268152602001611c4b602691396001600160a01b038616600090815260026020526040902054919061156d565b6001600160a01b0380851660009081526002602052604080822093909355908416815220546119299082611382565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60006109cc836001600160a01b038416611a7e565b60006109cc836001600160a01b038416611ac8565b815460009082106119f15760405162461bcd60e51b8152600401808060200182810382526022815260200180611b8f6022913960400191505060405180910390fd5b826000018281548110611a0057fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b611a3a8383836113dc565b611a42610cac565b156113dc5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d86602a913960400191505060405180910390fd5b6000611a8a8383611a13565b611ac0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108bb565b5060006108bb565b60008181526001830160205260408120548015611b845783546000198083019190810190600090879083908110611afb57fe5b9060005260206000200154905080876000018481548110611b1857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b4857fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506108bb565b60009150506108bb56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c6645524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564a264697066735822122026bd943f7fc8e27e00e2116bb95eddf12693a5d1cb1940478e606ccca26e68ce64736f6c6343000700003345524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564

Deployed ByteCode Sourcemap

46995:2336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35362:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37508:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37508:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47709:95;;;;;;;;;;;;;;;;-1:-1:-1;47709:95:0;-1:-1:-1;;;;;47709:95:0;;:::i;:::-;;36461:108;;;:::i;:::-;;;;;;;;;;;;;;;;38159:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38159:321:0;;;;;;;;;;;;;;;;;:::i;21824:114::-;;;;;;;;;;;;;;;;-1:-1:-1;21824:114:0;;:::i;22200:227::-;;;;;;;;;;;;;;;;-1:-1:-1;22200:227:0;;;;;;-1:-1:-1;;;;;22200:227:0;;:::i;36305:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23409:209;;;;;;;;;;;;;;;;-1:-1:-1;23409:209:0;;;;;;-1:-1:-1;;;;;23409:209:0;;:::i;38889:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38889:218:0;;;;;;;;:::i;48536:350::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48536:350:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48536:350:0;;-1:-1:-1;48536:350:0;;-1:-1:-1;;;;;48536:350:0:i;48057:128::-;;;;;;;;;;;;;;;;-1:-1:-1;48057:128:0;;;;:::i;47110:29::-;;;:::i;44779:86::-;;;:::i;47810:116::-;;;;;;;;;;;;;;;;-1:-1:-1;47810:116:0;-1:-1:-1;;;;;47810:116:0;;:::i;36632:127::-;;;;;;;;;;;;;;;;-1:-1:-1;36632:127:0;-1:-1:-1;;;;;36632:127:0;;:::i;1575:148::-;;;:::i;47144:68::-;;;:::i;924:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;924:87:0;;;;;;;;;;;;;;21497:138;;;;;;;;;;;;;;;;-1:-1:-1;21497:138:0;;;;;;;:::i;20458:139::-;;;;;;;;;;;;;;;;-1:-1:-1;20458:139:0;;;;;;-1:-1:-1;;;;;20458:139:0;;:::i;35572:95::-;;;:::i;19203:49::-;;;:::i;39610:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39610:269:0;;;;;;;;:::i;36972:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36972:175:0;;;;;;;;:::i;47307:45::-;;;;;;;;;;;;;;;;-1:-1:-1;47307:45:0;-1:-1:-1;;;;;47307:45:0;;:::i;47932:119::-;;;;;;;;;;;;;;;;-1:-1:-1;47932:119:0;-1:-1:-1;;;;;47932:119:0;;:::i;20771:127::-;;;;;;;;;;;;;;;;-1:-1:-1;20771:127:0;;:::i;48191:339::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48191:339:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48191:339:0;;-1:-1:-1;48191:339:0;;-1:-1:-1;;;;;48191:339:0:i;22672:230::-;;;;;;;;;;;;;;;;-1:-1:-1;22672:230:0;;;;;;-1:-1:-1;;;;;22672:230:0;;:::i;47279:21::-;;;:::i;37210:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37210:151:0;;;;;;;;;;:::i;47242:32::-;;;:::i;48892:152::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48892:152:0;;;;;;;;;;:::i;1878:244::-;;;;;;;;;;;;;;;;-1:-1:-1;1878:244:0;-1:-1:-1;;;;;1878:244:0;;:::i;35362:91::-;35440:5;35433:12;;;;;;;;-1:-1:-1;;35433:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35407:13;;35433:12;;35440:5;;35433:12;;35440:5;35433:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35362:91;:::o;37508:169::-;37591:4;37608:39;37617:12;:10;:12::i;:::-;37631:7;37640:6;37608:8;:39::i;:::-;-1:-1:-1;37665:4:0;37508:169;;;;;:::o;47709:95::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;47773:6:::1;:25:::0;;-1:-1:-1;;;;;;47773:25:0::1;-1:-1:-1::0;;;;;47773:25:0;;;::::1;::::0;;;::::1;::::0;;47709:95::o;36461:108::-;36549:12;;36461:108;:::o;38159:321::-;38265:4;38282:36;38292:6;38300:9;38311:6;38282:9;:36::i;:::-;38329:121;38338:6;38346:12;:10;:12::i;:::-;38360:89;38398:6;38360:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38360:19:0;;;;;;:11;:19;;;;;;38380:12;:10;:12::i;:::-;-1:-1:-1;;;;;38360:33:0;;;;;;;;;;;;-1:-1:-1;38360:33:0;;;:89;:37;:89::i;:::-;38329:8;:121::i;:::-;-1:-1:-1;38468:4:0;38159:321;;;;;;:::o;21824:114::-;21881:7;21908:12;;;:6;:12;;;;;:22;;;;21824:114::o;22200:227::-;22292:12;;;;:6;:12;;;;;:22;;;22284:45;;22316:12;:10;:12::i;:::-;22284:7;:45::i;:::-;22276:105;;;;-1:-1:-1;;;22276:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22394:25;22405:4;22411:7;22394:10;:25::i;:::-;22200:227;;:::o;36305:91::-;36379:9;;;;36305:91;:::o;23409:209::-;23507:12;:10;:12::i;:::-;-1:-1:-1;;;;;23496:23:0;:7;-1:-1:-1;;;;;23496:23:0;;23488:83;;;;-1:-1:-1;;;23488:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23584:26;23596:4;23602:7;23584:11;:26::i;38889:218::-;38977:4;38994:83;39003:12;:10;:12::i;:::-;39017:7;39026:50;39065:10;39026:11;:25;39038:12;:10;:12::i;:::-;-1:-1:-1;;;;;39026:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;39026:25:0;;;:34;;;;;;;;;;;:38;:50::i;48536:350::-;48659:12;48688;48680:21;;;;;;48768:43;;;-1:-1:-1;;;48768:43:0;;;;;;;;48800:10;48768:43;;;;;;48750:10;;-1:-1:-1;;;;;48768:22:0;;;;;:43;;;;;48708:24;;48768:43;;;;;;;;48708:24;48768:22;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48818:44;48828:12;:10;:12::i;:::-;48842:10;48854:7;48818:9;:44::i;:::-;-1:-1:-1;48876:4:0;;48536:350;-1:-1:-1;;;;48536:350:0:o;48057:128::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;48133:14:::1;48129:50;;;48149:8;:6;:8::i;:::-;48129:50;;;48169:10;:8;:10::i;:::-;48057:128:::0;:::o;47110:29::-;;;;;;;;;;;;;;;-1:-1:-1;;47110:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44779:86::-;44850:7;;;;;;;;44779:86::o;47810:116::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;47879:41:::1;47185:27;47906:13;47879:10;:41::i;36632:127::-:0;-1:-1:-1;;;;;36733:18:0;36706:7;36733:18;;;:9;:18;;;;;;;36632:127::o;1575:148::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;1682:1:::1;1666:6:::0;;1645:40:::1;::::0;-1:-1:-1;;;;;1666:6:0;;::::1;::::0;1645:40:::1;::::0;1682:1;;1645:40:::1;1713:1;1696:19:::0;;-1:-1:-1;;;;;;1696:19:0::1;::::0;;1575:148::o;47144:68::-;47185:27;47144:68;:::o;924:87::-;970:7;997:6;-1:-1:-1;;;;;997:6:0;924:87;:::o;21497:138::-;21570:7;21597:12;;;:6;:12;;;;;:30;;21621:5;21597:23;:30::i;20458:139::-;20527:4;20551:12;;;:6;:12;;;;;:38;;20581:7;20551:29;:38::i;35572:95::-;35652:7;35645:14;;;;;;;;-1:-1:-1;;35645:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35619:13;;35645:14;;35652:7;;35645:14;;35652:7;35645:14;;;;;;;;;;;;;;;;;;;;;;;;19203:49;19248:4;19203:49;:::o;39610:269::-;39703:4;39720:129;39729:12;:10;:12::i;:::-;39743:7;39752:96;39791:15;39752:96;;;;;;;;;;;;;;;;;:11;:25;39764:12;:10;:12::i;:::-;-1:-1:-1;;;;;39752:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;39752:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;36972:175::-;37058:4;37075:42;37085:12;:10;:12::i;:::-;37099:9;37110:6;37075:9;:42::i;47307:45::-;;;;;;;;;;;;;;;:::o;47932:119::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;48004:41:::1;47185:27;48031:13;48004:10;:41::i;20771:127::-:0;20834:7;20861:12;;;:6;:12;;;;;:29;;:27;:29::i;48191:339::-;48310:12;48371:8;48391:25;48371:8;48409:6;48391:7;:25::i;:::-;48387:138;;;48427:7;-1:-1:-1;;;;;48427:23:0;;48451:10;48463:6;48479:4;48486:10;48427:70;;;;;;;;;;;;;-1:-1:-1;;;;;48427:70:0;;;;;;;;;;;-1:-1:-1;;;;;48427:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48513:4;48506:11;;;;;48387:138;48191:339;;;;;;:::o;22672:230::-;22765:12;;;;:6;:12;;;;;:22;;;22757:45;;22789:12;:10;:12::i;22757:45::-;22749:106;;;;-1:-1:-1;;;22749:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47279:21;;;-1:-1:-1;;;;;47279:21:0;;:::o;37210:151::-;-1:-1:-1;;;;;37326:18:0;;;37299:7;37326:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;37210:151::o;47242:32::-;;;-1:-1:-1;;;;;47242:32:0;;:::o;48892:152::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;48970:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;;:32;;-1:-1:-1;;48970:32:0::1;::::0;::::1;;::::0;;::::1;::::0;;;49009:29;;;;;;;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;48892:152:::0;;:::o;1878:244::-;1155:12;:10;:12::i;:::-;-1:-1:-1;;;;;1144:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1144:23:0;;1136:68;;;;;-1:-1:-1;;;1136:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1136:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1967:22:0;::::1;1959:73;;;;-1:-1:-1::0;;;1959:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2069:6;::::0;;2048:38:::1;::::0;-1:-1:-1;;;;;2048:38:0;;::::1;::::0;2069:6;::::1;::::0;2048:38:::1;::::0;::::1;2097:6;:17:::0;;-1:-1:-1;;;;;;2097:17:0::1;-1:-1:-1::0;;;;;2097:17:0;;;::::1;::::0;;;::::1;::::0;;1878:244::o;29817:179::-;29875:7;29907:5;;;29931:6;;;;29923:46;;;;;-1:-1:-1;;;29923:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;44136:92;;;;:::o;60:106::-;148:10;60:106;:::o;42757:346::-;-1:-1:-1;;;;;42859:19:0;;42851:68;;;;-1:-1:-1;;;42851:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42938:21:0;;42930:68;;;;-1:-1:-1;;;42930:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43011:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;43063:32;;;;;;;;;;;;;;;;;42757:346;;;:::o;49050:278::-;49185:6;;-1:-1:-1;;;;;49185:6:0;49177:29;49173:94;;49217:6;;:42;;;-1:-1:-1;;;49217:42:0;;-1:-1:-1;;;;;49217:42:0;;;;;;;;;;;;;;;;:6;;;:23;;:42;;;;;;;;;;;;;:6;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49173:94:0;49280:42;49296:6;49304:9;49315:6;49280:15;:42::i;32644:166::-;32730:7;32766:12;32758:6;;;;32750:29;;;;-1:-1:-1;;;32750:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32797:5:0;;;32644:166::o;24652:188::-;24726:12;;;;:6;:12;;;;;:33;;24751:7;24726:24;:33::i;:::-;24722:111;;;24808:12;:10;:12::i;:::-;-1:-1:-1;;;;;24781:40:0;24799:7;-1:-1:-1;;;;;24781:40:0;24793:4;24781:40;;;;;;;;;;24652:188;;:::o;24848:192::-;24923:12;;;;:6;:12;;;;;:36;;24951:7;24923:27;:36::i;:::-;24919:114;;;25008:12;:10;:12::i;:::-;-1:-1:-1;;;;;24981:40:0;24999:7;-1:-1:-1;;;;;24981:40:0;24993:4;24981:40;;;;;;;;;;24848:192;;:::o;45579:118::-;45105:8;:6;:8::i;:::-;45104:9;45096:38;;;;;-1:-1:-1;;;45096:38:0;;;;;;;;;;;;-1:-1:-1;;;45096:38:0;;;;;;;;;;;;;;;45639:7:::1;:14:::0;;-1:-1:-1;;45639:14:0::1;;;::::0;;45669:20:::1;45676:12;:10;:12::i;:::-;45669:20;::::0;;-1:-1:-1;;;;;45669:20:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;45579:118::o:0;45838:120::-;45382:8;:6;:8::i;:::-;45374:41;;;;;-1:-1:-1;;;45374:41:0;;;;;;;;;;;;-1:-1:-1;;;45374:41:0;;;;;;;;;;;;;;;45897:7:::1;:15:::0;;-1:-1:-1;;45897:15:0::1;::::0;;45928:22:::1;45937:12;:10;:12::i;9265:158::-:0;9339:7;9390:22;9394:3;9406:5;9390:3;:22::i;8551:167::-;8631:4;8655:55;8665:3;-1:-1:-1;;;;;8685:23:0;;8655:9;:55::i;8804:117::-;8867:7;8894:19;8902:3;8894:7;:19::i;40369:539::-;-1:-1:-1;;;;;40475:20:0;;40467:70;;;;-1:-1:-1;;;40467:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40556:23:0;;40548:71;;;;-1:-1:-1;;;40548:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40632:47;40653:6;40661:9;40672:6;40632:20;:47::i;:::-;40712:71;40734:6;40712:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40712:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;40692:17:0;;;;;;;:9;:17;;;;;;:91;;;;40817:20;;;;;;;:32;;40842:6;40817:24;:32::i;:::-;-1:-1:-1;;;;;40794:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;40865:35;;;;;;;40794:20;;40865:35;;;;;;;;;;;;;40369:539;;;:::o;7979:152::-;8049:4;8073:50;8078:3;-1:-1:-1;;;;;8098:23:0;;8073:4;:50::i;8307:158::-;8380:4;8404:53;8412:3;-1:-1:-1;;;;;8432:23:0;;8404:7;:53::i;5931:204::-;6026:18;;5998:7;;6026:26;-1:-1:-1;6018:73:0;;;;-1:-1:-1;;;6018:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6109:3;:11;;6121:5;6109:18;;;;;;;;;;;;;;;;6102:25;;5931:204;;;;:::o;5263:129::-;5336:4;5360:19;;;:12;;;;;:19;;;;;;:24;;;5263:129::o;5478:109::-;5561:18;;5478:109::o;46169:238::-;46278:44;46305:4;46311:2;46315:6;46278:26;:44::i;:::-;46344:8;:6;:8::i;:::-;46343:9;46335:64;;;;-1:-1:-1;;;46335:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3043:414;3106:4;3128:21;3138:3;3143:5;3128:9;:21::i;:::-;3123:327;;-1:-1:-1;3166:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;3349:18;;3327:19;;;:12;;;:19;;;;;;:40;;;;3382:11;;3123:327;-1:-1:-1;3433:5:0;3426:12;;3633:1544;3699:4;3838:19;;;:12;;;:19;;;;;;3874:15;;3870:1300;;4309:18;;-1:-1:-1;;4260:14:0;;;;4309:22;;;;4236:21;;4309:3;;:22;;4596;;;;;;;;;;;;;;4576:42;;4742:9;4713:3;:11;;4725:13;4713:26;;;;;;;;;;;;;;;;;;;:38;;;;4819:23;;;4861:1;4819:12;;;:23;;;;;;4845:17;;;4819:43;;4971:17;;4819:3;;4971:17;;;;;;;;;;;;;;;;;;;;;;5066:3;:12;;:19;5079:5;5066:19;;;;;;;;;;;5059:26;;;5109:4;5102:11;;;;;;;;3870:1300;5153:5;5146:12;;;;

Swarm Source

ipfs://26bd943f7fc8e27e00e2116bb95eddf12693a5d1cb1940478e606ccca26e68ce

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.