ETH Price: $3,332.92 (-2.51%)

Token

Prime (PRIME)
 

Overview

Max Total Supply

111,111,111.110999999999998888 PRIME

Holders

23,152 ( -0.004%)

Market

Price

$11.24 @ 0.003372 ETH (-2.08%)

Onchain Market Cap

$1,248,888,888.89

Circulating Supply Market Cap

$573,420,863.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
1.422791036606798295 PRIME

Value
$15.99 ( ~0.00479758834809371 Eth) [0.0000%]
0x17cc6042605381c158d2adab487434bde79aa61c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Echelon Prime Foundation is a Web3 ecosystem advancing the next-gen of gaming. Echelon creates and distributes tools to encourage innovation in, and promote the growth of, games. These tools encompass smart contract libraries, communication infrastructure, governance frameworks and more.

Market

Volume (24H):$15,076,315.00
Market Capitalization:$573,420,863.00
Circulating Supply:51,254,982.00 PRIME
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PrimeToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : PrimeToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/*
 * @title Prime [PRIME] ERC20 Token
 * @notice PRIME is a core ERC20 token created by the Echelon Prime Foundation.
 *         PRIME powers the Echelon ecosystem's network of PlayFi games, governance protocols, and more.
 * @author Echelon Prime Foundation
 *
 * @dev Token Summary:
 *      - Symbol: PRIME
 *      - Name: Prime
 *      - Decimals: 18
 *      - Token supply: 111,111,111.111 PRIME
 *      - Burnable: total supply may decrease
 *      - Not mintable
 */

/*
 * @dev InvokeEchelonHandler: Another type of contract in the Echelon ecosystem that will be deployed after PRIME.
 *      Different InvokeEchelonHandler's will be deployed over time to facilitate expanding PRIME use cases.
 *      InvokeEchelonHandler.handleInvokeEchelon is called at the end of the invokeEchelon function (see below).
 *      handleInvokeEchelon enables additional functionality to execute after the movement of PRIME and/or ETH.
 *      A very similar concept is utilized in EchelonCache(1155) to enable Core Pack NFT holders to send NFTs + ETH
 *      and receive a different set of NFTs back, all within a single transaction (no approve necessary).
 * @param _from - The address of the caller of invokeEchelon
 * @param _ethDestination - The address to which ETH was collected to before calling handleInvokeEchelon
 * @param _primeDestination - The address to which PRIME was collected to before calling handleInvokeEchelon
 * @param _id - An id passed by the caller to represent any arbitrary and potentially off-chain event id
 * @param _ethValue - The amount of ETH that was sent to the invokeEchelon function (and was collected to _ethDestination)
 * @param _primeValue - The amount of PRIME that was sent to the invokeEchelon function (and was collected to _primeDestination)
 * @param _data - Catch-all param allowing callers to pass additional data
 */
abstract contract InvokeEchelonHandler {
    function handleInvokeEchelon(
        address _from,
        address _ethDestination,
        address _primeDestination,
        uint256 _id,
        uint256 _ethValue,
        uint256 _primeValue,
        bytes memory _data
    ) external virtual;
}

contract PrimeToken is ERC20PresetFixedSupply, AccessControl, ReentrancyGuard {
    /**
     * @notice ERC20 Name of the token: Prime
     * @dev ERC20 function name() public view returns (string)
     * @dev Field is declared public: getter name() is created when compiled,
     *      it returns the name of the token.
     */
    string public constant NAME = "Prime";

    /**
     * @notice ERC20 Symbol of the token: PRIME
     * @dev ERC20 function symbol() public view returns (string)
     * @dev Field is declared public: getter symbol() is created when compiled,
     *      it returns the symbol of the token
     */
    string public constant SYMBOL = "PRIME";

    /**
     * @notice Total supply of the token: 111,111,111.111
     * @dev ERC20 `function totalSupply() public view returns (uint256)`
     * @dev Field is declared public: getter totalSupply() is created when compiled,
     *      it returns the amount of tokens in existence.
     */
    uint256 public constant SUPPLY = 111111111111000000000000000;

    /**
     * @notice EchelonGateway record stores the details of an InvokeEchelonHandler contract
     */
    struct EchelonGateway {
        address ethDestinationAddress;
        address primeDestinationAddress;
        InvokeEchelonHandler invokeEchelonHandler;
    }

    /**
     * @notice a record of all EchelonGateways
     */
    mapping(address => EchelonGateway) public echelonGateways;

    /**
     * @notice Addresses that can send PRIME tokens when transferability is not enabled
     */
    mapping(address => bool) public isAllowlistFrom;

    /**
     * @notice Addresses that can receive PRIME tokens when transferability is not enabled
     */
    mapping(address => bool) public isAllowlistTo;

    /**
     * @notice Constant for checking if transferring for general public is unlocked
     */
    bool public unlocked = false;

    /**
     * @dev Use ECHELON_INVOKER_CONFIGURATION_ROLE as DEFAULT_ADMIN_ROLE.
     *      Addresses with this role can set the invokeEchelonHandlerContractAddress, set the
     *      invokeEchelonDestination, and grant/revoke the ECHELON_INVOKER_CONFIGURATION_ROLE to other addresses
     */
    bytes32 public constant INVOKE_ECHELON_CONFIGURATION_ROLE =
        DEFAULT_ADMIN_ROLE;

    /**
     * @dev Governance address that will enable transferability
     *
     */
    bytes32 public constant UNLOCK_ROLE = keccak256("UNLOCK_ROLE");

    /**
     * @dev Transferability cannot be enabled before this time
     *
     */
    uint256 public _unlockTimestamp;

    /**
     * @dev Fired when a new gateway (i.e. echelon handler contract) is registered
     * @param contractAddress - The address of the newly registered invokeEchelon handler contract
     * @param ethDestinationAddress - The address to which ETH was collected
     * @param primeDestinationAddress - The address to which PRIME was collected
     */
    event EchelonGatewayRegistered(
        address indexed contractAddress,
        address indexed ethDestinationAddress,
        address indexed primeDestinationAddress
    );

    /**
     * @dev initialize a standard openzeppelin ERC20 with Fixed Supply
     *      grant deployer address ECHELON_INVOKER_CONFIGURATION_ROLE
     */
    constructor(
        address[] memory allowlistFrom,
        address[] memory allowlistTo,
        uint256 unlockTimestamp
    ) ERC20PresetFixedSupply(NAME, SYMBOL, SUPPLY, msg.sender) {
        _setupRole(INVOKE_ECHELON_CONFIGURATION_ROLE, msg.sender);
        _unlockTimestamp = unlockTimestamp;
        for (uint16 i = 0; i < allowlistFrom.length; i++) {
            isAllowlistFrom[allowlistFrom[i]] = true;
        }
        for (uint16 i = 0; i < allowlistTo.length; i++) {
            isAllowlistTo[allowlistTo[i]] = true;
        }
    }

    /**
     * @notice Allow the caller to send PRIME and/or ETH to the Echelon Ecosystem of smart contracts
     *         PRIME and ETH are collected to the destination address, handler is invoked to trigger downstream logic and events
     * @param _handlerAddress - The address of the deployed and registered InvokeEchelonHandler contract
     * @param _id - An id passed by the caller to represent any arbitrary and potentially off-chain event id
     * @param _primeValue - The amount of PRIME that was sent to the invokeEchelon function (and was collected to _destination)
     * @param _data - Catch-all param to allow the caller to pass additional data to the handler
     */
    function invokeEchelon(
        address _handlerAddress,
        uint256 _id,
        uint256 _primeValue,
        bytes memory _data
    ) public payable nonReentrant {
        require(msg.value + _primeValue > 0, "Must send ETH and/or PRIME");
        require(
            echelonGateways[_handlerAddress].primeDestinationAddress !=
                address(0),
            "No handler for given _handlerAddress"
        );

        EchelonGateway memory echelonGateway = echelonGateways[_handlerAddress];

        // send ETH to the ETH destination address if transaction includes ETH
        if (msg.value > 0) {
            (bool sent, bytes memory data) = echelonGateway
                .ethDestinationAddress
                .call{ value: msg.value }("");
            require(sent, "Failed to send ETH");
        }

        // send PRIME to the PRIME destination address if transaction includes PRIME
        if (_primeValue > 0) {
            _transfer(
                msg.sender,
                echelonGateway.primeDestinationAddress,
                _primeValue
            );
        }

        // invoke the handler function with all transaction data
        echelonGateway.invokeEchelonHandler.handleInvokeEchelon(
            msg.sender,
            echelonGateway.ethDestinationAddress,
            echelonGateway.primeDestinationAddress,
            _id,
            msg.value,
            _primeValue,
            _data
        );
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Preventing renouncing role.
     */
    function renounceRole(bytes32, address) public virtual override {
        revert("Cannot renounce role");
    }

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

    /**
     * @notice Enable transferability of PRIME tokens
     */
    function executeUnlock() external onlyRole(UNLOCK_ROLE) {
        require(
            block.timestamp > _unlockTimestamp,
            "Must be after _unlockTimestamp"
        );
        unlocked = true;
    }

    /**
     * @notice Allow an address with ECHELON_INVOKER_CONFIGURATION_ROLE to add a handler contract for invokeEchelon
     * @dev additional handler contracts will be added to support new use cases, existing handler contracts can never be
     *      deleted nor replaced
     * @param _contractAddress - The address of the new invokeEchelon handler contract to be registered
     * @param _ethDestinationAddress - The address to which ETH is collected
     * @param _primeDestinationAddress - The address to which PRIME is collected
     */
    function addEchelonHandlerContract(
        address _contractAddress,
        address _ethDestinationAddress,
        address _primeDestinationAddress
    ) public onlyRole(INVOKE_ECHELON_CONFIGURATION_ROLE) {
        require(
            _ethDestinationAddress != address(0) &&
                _primeDestinationAddress != address(0),
            "Destination addresses cannot be 0x0"
        );
        require(
            echelonGateways[_contractAddress].primeDestinationAddress ==
                address(0),
            "Can't overwrite existing gateway"
        );
        echelonGateways[_contractAddress] = EchelonGateway({
            ethDestinationAddress: _ethDestinationAddress,
            primeDestinationAddress: _primeDestinationAddress,
            invokeEchelonHandler: InvokeEchelonHandler(_contractAddress)
        });
        emit EchelonGatewayRegistered(
            _contractAddress,
            _ethDestinationAddress,
            _primeDestinationAddress
        );
    }

    /**
     * @notice Toggling allowlistFrom addresses for transferring
     * @param _allowlistAddresses - Addresses to be enabled/disabled in allowlistFrom
     * @param _toggle - Toggle on or off
     */
    function toggleAllowlistFrom(
        address[] memory _allowlistAddresses,
        bool _toggle
    ) external onlyRole(INVOKE_ECHELON_CONFIGURATION_ROLE) {
        for (uint256 i = 0; i < _allowlistAddresses.length; i++) {
            isAllowlistFrom[_allowlistAddresses[i]] = _toggle;
        }
    }

    /**
     * @notice Toggling allowlistTo addresses for transferring
     * @param _allowlistAddresses - Addresses to be enabled/disabled in allowlistTo
     * @param _toggle - Toggle on or off
     */
    function toggleAllowlistTo(
        address[] memory _allowlistAddresses,
        bool _toggle
    ) external onlyRole(INVOKE_ECHELON_CONFIGURATION_ROLE) {
        for (uint256 i = 0; i < _allowlistAddresses.length; i++) {
            isAllowlistTo[_allowlistAddresses[i]] = _toggle;
        }
    }

    /**
     * @notice Only allow transfer of PRIME if transfers are enabled or sender and/or receiver are allowlisted
     * @dev Hook that is called after any transfer of tokens. This includes minting and burning.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256
    ) internal virtual override {
        require(
            unlocked ||
                (isAllowlistFrom[from] || isAllowlistTo[to]) ||
                (from == address(0)),
            "Transfers not currently supported"
        );
    }
}

File 2 of 13 : ERC20PresetFixedSupply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/presets/ERC20PresetFixedSupply.sol)
pragma solidity ^0.8.0;

import "../extensions/ERC20Burnable.sol";

/**
 * @dev {ERC20} token, including:
 *
 *  - Preminted initial supply
 *  - Ability for holders to burn (destroy) their tokens
 *  - No access control mechanism (for minting/pausing) and hence no governance
 *
 * This contract uses {ERC20Burnable} to include burn capabilities - head to
 * its documentation for details.
 *
 * _Available since v3.4._
 *
 * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
 */
contract ERC20PresetFixedSupply is ERC20Burnable {
    /**
     * @dev Mints `initialSupply` amount of token and transfers them to `owner`.
     *
     * See {ERC20-constructor}.
     */
    constructor(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address owner
    ) ERC20(name, symbol) {
        _mint(owner, initialSupply);
    }
}

File 3 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

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

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

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

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

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

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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 {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 13 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

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

File 6 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` 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 += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 7 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 9 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 10 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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 {AccessControl-_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) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

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

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

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

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"allowlistFrom","type":"address[]"},{"internalType":"address[]","name":"allowlistTo","type":"address[]"},{"internalType":"uint256","name":"unlockTimestamp","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":true,"internalType":"address","name":"ethDestinationAddress","type":"address"},{"indexed":true,"internalType":"address","name":"primeDestinationAddress","type":"address"}],"name":"EchelonGatewayRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INVOKE_ECHELON_CONFIGURATION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNLOCK_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_unlockTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"address","name":"_ethDestinationAddress","type":"address"},{"internalType":"address","name":"_primeDestinationAddress","type":"address"}],"name":"addEchelonHandlerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"","type":"address"}],"name":"echelonGateways","outputs":[{"internalType":"address","name":"ethDestinationAddress","type":"address"},{"internalType":"address","name":"primeDestinationAddress","type":"address"},{"internalType":"contract InvokeEchelonHandler","name":"invokeEchelonHandler","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executeUnlock","outputs":[],"stateMutability":"nonpayable","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":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_handlerAddress","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_primeValue","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"invokeEchelon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAllowlistFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAllowlistTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_allowlistAddresses","type":"address[]"},{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"toggleAllowlistFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_allowlistAddresses","type":"address[]"},{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"toggleAllowlistTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052600a805460ff191690553480156200001b57600080fd5b50604051620024df380380620024df8339810160408190526200003e91620005bc565b604051806040016040528060058152602001645072696d6560d81b815250604051806040016040528060058152602001645052494d4560d81b8152506a5be8b16716c5a35ccd80003383838160039080519060200190620000a192919062000446565b508051620000b790600490602084019062000446565b505050620000cc8183620001e160201b60201c565b5050600160065550620000e39050600033620002d9565b600b81905560005b83518161ffff1610156200015f57600160086000868461ffff1681518110620001185762000118620006c2565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580620001568162000687565b915050620000eb565b5060005b82518161ffff161015620001d757600160096000858461ffff1681518110620001905762000190620006c2565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580620001ce8162000687565b91505062000163565b50505050620006ee565b6001600160a01b0382166200023d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200024b60008383620002e5565b80600260008282546200025f91906200062f565b90915550506001600160a01b038216600090815260208190526040812080548392906200028e9084906200062f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b620002d58282620003a2565b600a5460ff16806200033257506001600160a01b03831660009081526008602052604090205460ff16806200033257506001600160a01b03821660009081526009602052604090205460ff165b806200034557506001600160a01b038316155b6200039d5760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657273206e6f742063757272656e746c7920737570706f7274656044820152601960fa1b606482015260840162000234565b505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620002d55760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004023390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000454906200064a565b90600052602060002090601f016020900481019282620004785760008555620004c3565b82601f106200049357805160ff1916838001178555620004c3565b82800160010185558215620004c3579182015b82811115620004c3578251825591602001919060010190620004a6565b50620004d1929150620004d5565b5090565b5b80821115620004d15760008155600101620004d6565b80516001600160a01b03811681146200050457600080fd5b919050565b600082601f8301126200051b57600080fd5b815160206001600160401b03808311156200053a576200053a620006d8565b8260051b604051601f19603f83011681018181108482111715620005625762000562620006d8565b604052848152838101925086840182880185018910156200058257600080fd5b600092505b85831015620005b0576200059b81620004ec565b84529284019260019290920191840162000587565b50979650505050505050565b600080600060608486031215620005d257600080fd5b83516001600160401b0380821115620005ea57600080fd5b620005f88783880162000509565b945060208601519150808211156200060f57600080fd5b506200061e8682870162000509565b925050604084015190509250925092565b60008219821115620006455762000645620006ac565b500190565b600181811c908216806200065f57607f821691505b602082108114156200068157634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415620006a257620006a2620006ac565b6001019392505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b611de180620006fe6000396000f3fe6080604052600436106102045760003560e01c80637bb1748011610118578063aba5379c116100a0578063d547741f1161006f578063d547741f14610635578063dd62ed3e14610655578063ece881ad14610675578063f104489f146106a9578063f76f8d78146106bc57600080fd5b8063aba5379c1461052b578063b4b7e703146105c6578063b9c78516146105f6578063c50497ae1461061657600080fd5b8063a217fddf116100e7578063a217fddf1461052b578063a3f4df7e14610540578063a433313b14610571578063a457c2d714610586578063a9059cbb146105a657600080fd5b80637bb174801461046d57806391d1485414610483578063955049cd146104a357806395d89b411461051657600080fd5b806335c5ed4b1161019b57806342966c681161016a57806342966c68146103bd5780636a5e2650146103dd57806370a08231146103f75780637212e1b11461042d57806379cc67901461044d57600080fd5b806335c5ed4b1461032d57806336568abe1461034d578063395093511461036d57806340d47bb51461038d57600080fd5b806323b872dd116101d757806323b872dd1461029f578063248a9ca3146102bf5780632f2ff15d146102ef578063313ce5671461031157600080fd5b806301ffc9a71461020957806306fdde031461023e578063095ea7b31461026057806318160ddd14610280575b600080fd5b34801561021557600080fd5b50610229610224366004611b21565b6106ed565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610724565b6040516102359190611c3e565b34801561026c57600080fd5b5061022961027b36600461193c565b6107b6565b34801561028c57600080fd5b506002545b604051908152602001610235565b3480156102ab57600080fd5b506102296102ba366004611900565b6107ce565b3480156102cb57600080fd5b506102916102da366004611ae5565b60009081526005602052604090206001015490565b3480156102fb57600080fd5b5061030f61030a366004611afe565b6107f2565b005b34801561031d57600080fd5b5060405160128152602001610235565b34801561033957600080fd5b5061030f6103483660046118bd565b61081c565b34801561035957600080fd5b5061030f610368366004611afe565b6109b7565b34801561037957600080fd5b5061022961038836600461193c565b6109f6565b34801561039957600080fd5b506102296103a836600461186f565b60086020526000908152604090205460ff1681565b3480156103c957600080fd5b5061030f6103d8366004611ae5565b610a18565b3480156103e957600080fd5b50600a546102299060ff1681565b34801561040357600080fd5b5061029161041236600461186f565b6001600160a01b031660009081526020819052604090205490565b34801561043957600080fd5b5061030f610448366004611a1f565b610a25565b34801561045957600080fd5b5061030f61046836600461193c565b610a9d565b34801561047957600080fd5b50610291600b5481565b34801561048f57600080fd5b5061022961049e366004611afe565b610ab6565b3480156104af57600080fd5b506104ec6104be36600461186f565b6007602052600090815260409020805460018201546002909201546001600160a01b03918216928216911683565b604080516001600160a01b0394851681529284166020840152921691810191909152606001610235565b34801561052257600080fd5b50610253610ae1565b34801561053757600080fd5b50610291600081565b34801561054c57600080fd5b50610253604051806040016040528060058152602001645072696d6560d81b81525081565b34801561057d57600080fd5b5061030f610af0565b34801561059257600080fd5b506102296105a136600461193c565b610b7b565b3480156105b257600080fd5b506102296105c136600461193c565b610bf6565b3480156105d257600080fd5b506102296105e136600461186f565b60096020526000908152604090205460ff1681565b34801561060257600080fd5b5061030f610611366004611a1f565b610c04565b34801561062257600080fd5b506102916a5be8b16716c5a35ccd800081565b34801561064157600080fd5b5061030f610650366004611afe565b610c76565b34801561066157600080fd5b5061029161067036600461188a565b610cf4565b34801561068157600080fd5b506102917fcbbe7dfe7bfb9f48c266587cde1d740252fcb25946b3c7c54b79962b0581377d81565b61030f6106b7366004611966565b610d1f565b3480156106c857600080fd5b50610253604051806040016040528060058152602001645052494d4560d81b81525081565b60006001600160e01b03198216637965db0b60e01b148061071e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461073390611d13565b80601f016020809104026020016040519081016040528092919081815260200182805461075f90611d13565b80156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b5050505050905090565b6000336107c4818585610fc7565b5060019392505050565b6000336107dc8582856110eb565b6107e785858561115f565b506001949350505050565b60008281526005602052604090206001015461080d81611338565b6108178383611342565b505050565b600061082781611338565b6001600160a01b0383161580159061084757506001600160a01b03821615155b6108a45760405162461bcd60e51b815260206004820152602360248201527f44657374696e6174696f6e206164647265737365732063616e6e6f742062652060448201526203078360ec1b60648201526084015b60405180910390fd5b6001600160a01b03848116600090815260076020526040902060010154161561090f5760405162461bcd60e51b815260206004820181905260248201527f43616e2774206f7665727772697465206578697374696e672067617465776179604482015260640161089b565b604080516060810182526001600160a01b0380861680835285821660208085018281528a851686880181815260008281526007909452888420975188549088166001600160a01b03199182161789559251600189018054918916918516919091179055516002909701805497909616969091169590951790935593519092917f66b81d7da7f7d79569de91e83fe8bf2d91493e92250227e66bd4fce953b2b4f691a450505050565b60405162461bcd60e51b815260206004820152601460248201527343616e6e6f742072656e6f756e636520726f6c6560601b604482015260640161089b565b6000336107c4818585610a098383610cf4565b610a139190611c82565b610fc7565b610a2233826113c8565b50565b6000610a3081611338565b60005b8351811015610a97578260086000868481518110610a5357610a53611d7f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a8f81611d4e565b915050610a33565b50505050565b610aa88233836110eb565b610ab282826113c8565b5050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461073390611d13565b7fcbbe7dfe7bfb9f48c266587cde1d740252fcb25946b3c7c54b79962b0581377d610b1a81611338565b600b544211610b6b5760405162461bcd60e51b815260206004820152601e60248201527f4d757374206265206166746572205f756e6c6f636b54696d657374616d700000604482015260640161089b565b50600a805460ff19166001179055565b60003381610b898286610cf4565b905083811015610be95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089b565b6107e78286868403610fc7565b6000336107c481858561115f565b6000610c0f81611338565b60005b8351811015610a97578260096000868481518110610c3257610c32611d7f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c6e81611d4e565b915050610c12565b600082815260056020526040902060010154610c9181611338565b6001600160a01b038216331415610cea5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74207265766f6b6520726f6c652066726f6d2073656c6600000000604482015260640161089b565b6108178383611522565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60026006541415610d725760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089b565b60026006556000610d838334611c82565b11610dd05760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073656e642045544820616e642f6f72205052494d45000000000000604482015260640161089b565b6001600160a01b0384811660009081526007602052604090206001015416610e465760405162461bcd60e51b8152602060048201526024808201527f4e6f2068616e646c657220666f7220676976656e205f68616e646c65724164646044820152637265737360e01b606482015260840161089b565b6001600160a01b038085166000908152600760209081526040918290208251606081018452815485168152600182015485169281019290925260020154909216908201523415610f315760008082600001516001600160a01b03163460405160006040518083038185875af1925050503d8060008114610ee2576040519150601f19603f3d011682016040523d82523d6000602084013e610ee7565b606091505b509150915081610f2e5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b604482015260640161089b565b50505b8215610f4657610f463382602001518561115f565b604080820151825160208401519251632675b6ff60e11b81526001600160a01b0390921692634ceb6dfe92610f8992339290918a9034908b908b90600401611bec565b600060405180830381600087803b158015610fa357600080fd5b505af1158015610fb7573d6000803e3d6000fd5b5050600160065550505050505050565b6001600160a01b0383166110295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089b565b6001600160a01b03821661108a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110f78484610cf4565b90506000198114610a9757818110156111525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089b565b610a978484848403610fc7565b6001600160a01b0383166111c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089b565b6001600160a01b0382166112255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089b565b611230838383611589565b6001600160a01b038316600090815260208190526040902054818110156112a85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906112df908490611c82565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161132b91815260200190565b60405180910390a3610a97565b610a22813361163c565b61134c8282610ab6565b610ab25760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113843390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b0382166114285760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089b565b61143482600083611589565b6001600160a01b038216600090815260208190526040902054818110156114a85760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d7908490611cb9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61152c8282610ab6565b15610ab25760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600a5460ff16806115d457506001600160a01b03831660009081526008602052604090205460ff16806115d457506001600160a01b03821660009081526009602052604090205460ff165b806115e657506001600160a01b038316155b6108175760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657273206e6f742063757272656e746c7920737570706f7274656044820152601960fa1b606482015260840161089b565b6116468282610ab6565b610ab25761165e816001600160a01b031660146116a0565b6116698360206116a0565b60405160200161167a929190611b77565b60408051601f198184030181529082905262461bcd60e51b825261089b91600401611c3e565b606060006116af836002611c9a565b6116ba906002611c82565b67ffffffffffffffff8111156116d2576116d2611d95565b6040519080825280601f01601f1916602001820160405280156116fc576020820181803683370190505b509050600360fc1b8160008151811061171757611717611d7f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061174657611746611d7f565b60200101906001600160f81b031916908160001a905350600061176a846002611c9a565b611775906001611c82565b90505b60018111156117ed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106117a9576117a9611d7f565b1a60f81b8282815181106117bf576117bf611d7f565b60200101906001600160f81b031916908160001a90535060049490941c936117e681611cfc565b9050611778565b50831561183c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161089b565b9392505050565b80356001600160a01b038116811461185a57600080fd5b919050565b8035801515811461185a57600080fd5b60006020828403121561188157600080fd5b61183c82611843565b6000806040838503121561189d57600080fd5b6118a683611843565b91506118b460208401611843565b90509250929050565b6000806000606084860312156118d257600080fd5b6118db84611843565b92506118e960208501611843565b91506118f760408501611843565b90509250925092565b60008060006060848603121561191557600080fd5b61191e84611843565b925061192c60208501611843565b9150604084013590509250925092565b6000806040838503121561194f57600080fd5b61195883611843565b946020939093013593505050565b6000806000806080858703121561197c57600080fd5b61198585611843565b9350602080860135935060408601359250606086013567ffffffffffffffff808211156119b157600080fd5b818801915088601f8301126119c557600080fd5b8135818111156119d7576119d7611d95565b6119e9601f8201601f19168501611c51565b915080825289848285010111156119ff57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611a3257600080fd5b823567ffffffffffffffff80821115611a4a57600080fd5b818501915085601f830112611a5e57600080fd5b8135602082821115611a7257611a72611d95565b8160051b9250611a83818401611c51565b8281528181019085830185870184018b1015611a9e57600080fd5b600096505b84871015611ac857611ab481611843565b835260019690960195918301918301611aa3565b509650611ad8905087820161185f565b9450505050509250929050565b600060208284031215611af757600080fd5b5035919050565b60008060408385031215611b1157600080fd5b823591506118b460208401611843565b600060208284031215611b3357600080fd5b81356001600160e01b03198116811461183c57600080fd5b60008151808452611b63816020860160208601611cd0565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611baf816017850160208801611cd0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611be0816028840160208801611cd0565b01602801949350505050565b600060018060a01b03808a16835280891660208401528088166040840152508560608301528460808301528360a083015260e060c0830152611c3160e0830184611b4b565b9998505050505050505050565b60208152600061183c6020830184611b4b565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c7a57611c7a611d95565b604052919050565b60008219821115611c9557611c95611d69565b500190565b6000816000190483118215151615611cb457611cb4611d69565b500290565b600082821015611ccb57611ccb611d69565b500390565b60005b83811015611ceb578181015183820152602001611cd3565b83811115610a975750506000910152565b600081611d0b57611d0b611d69565b506000190190565b600181811c90821680611d2757607f821691505b60208210811415611d4857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d6257611d62611d69565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220227c9d340aacadaa283ea60492610d6b4ae4c6e54ca88e75d631c80c5941e8a764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000063b1135000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80637bb1748011610118578063aba5379c116100a0578063d547741f1161006f578063d547741f14610635578063dd62ed3e14610655578063ece881ad14610675578063f104489f146106a9578063f76f8d78146106bc57600080fd5b8063aba5379c1461052b578063b4b7e703146105c6578063b9c78516146105f6578063c50497ae1461061657600080fd5b8063a217fddf116100e7578063a217fddf1461052b578063a3f4df7e14610540578063a433313b14610571578063a457c2d714610586578063a9059cbb146105a657600080fd5b80637bb174801461046d57806391d1485414610483578063955049cd146104a357806395d89b411461051657600080fd5b806335c5ed4b1161019b57806342966c681161016a57806342966c68146103bd5780636a5e2650146103dd57806370a08231146103f75780637212e1b11461042d57806379cc67901461044d57600080fd5b806335c5ed4b1461032d57806336568abe1461034d578063395093511461036d57806340d47bb51461038d57600080fd5b806323b872dd116101d757806323b872dd1461029f578063248a9ca3146102bf5780632f2ff15d146102ef578063313ce5671461031157600080fd5b806301ffc9a71461020957806306fdde031461023e578063095ea7b31461026057806318160ddd14610280575b600080fd5b34801561021557600080fd5b50610229610224366004611b21565b6106ed565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610724565b6040516102359190611c3e565b34801561026c57600080fd5b5061022961027b36600461193c565b6107b6565b34801561028c57600080fd5b506002545b604051908152602001610235565b3480156102ab57600080fd5b506102296102ba366004611900565b6107ce565b3480156102cb57600080fd5b506102916102da366004611ae5565b60009081526005602052604090206001015490565b3480156102fb57600080fd5b5061030f61030a366004611afe565b6107f2565b005b34801561031d57600080fd5b5060405160128152602001610235565b34801561033957600080fd5b5061030f6103483660046118bd565b61081c565b34801561035957600080fd5b5061030f610368366004611afe565b6109b7565b34801561037957600080fd5b5061022961038836600461193c565b6109f6565b34801561039957600080fd5b506102296103a836600461186f565b60086020526000908152604090205460ff1681565b3480156103c957600080fd5b5061030f6103d8366004611ae5565b610a18565b3480156103e957600080fd5b50600a546102299060ff1681565b34801561040357600080fd5b5061029161041236600461186f565b6001600160a01b031660009081526020819052604090205490565b34801561043957600080fd5b5061030f610448366004611a1f565b610a25565b34801561045957600080fd5b5061030f61046836600461193c565b610a9d565b34801561047957600080fd5b50610291600b5481565b34801561048f57600080fd5b5061022961049e366004611afe565b610ab6565b3480156104af57600080fd5b506104ec6104be36600461186f565b6007602052600090815260409020805460018201546002909201546001600160a01b03918216928216911683565b604080516001600160a01b0394851681529284166020840152921691810191909152606001610235565b34801561052257600080fd5b50610253610ae1565b34801561053757600080fd5b50610291600081565b34801561054c57600080fd5b50610253604051806040016040528060058152602001645072696d6560d81b81525081565b34801561057d57600080fd5b5061030f610af0565b34801561059257600080fd5b506102296105a136600461193c565b610b7b565b3480156105b257600080fd5b506102296105c136600461193c565b610bf6565b3480156105d257600080fd5b506102296105e136600461186f565b60096020526000908152604090205460ff1681565b34801561060257600080fd5b5061030f610611366004611a1f565b610c04565b34801561062257600080fd5b506102916a5be8b16716c5a35ccd800081565b34801561064157600080fd5b5061030f610650366004611afe565b610c76565b34801561066157600080fd5b5061029161067036600461188a565b610cf4565b34801561068157600080fd5b506102917fcbbe7dfe7bfb9f48c266587cde1d740252fcb25946b3c7c54b79962b0581377d81565b61030f6106b7366004611966565b610d1f565b3480156106c857600080fd5b50610253604051806040016040528060058152602001645052494d4560d81b81525081565b60006001600160e01b03198216637965db0b60e01b148061071e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461073390611d13565b80601f016020809104026020016040519081016040528092919081815260200182805461075f90611d13565b80156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b5050505050905090565b6000336107c4818585610fc7565b5060019392505050565b6000336107dc8582856110eb565b6107e785858561115f565b506001949350505050565b60008281526005602052604090206001015461080d81611338565b6108178383611342565b505050565b600061082781611338565b6001600160a01b0383161580159061084757506001600160a01b03821615155b6108a45760405162461bcd60e51b815260206004820152602360248201527f44657374696e6174696f6e206164647265737365732063616e6e6f742062652060448201526203078360ec1b60648201526084015b60405180910390fd5b6001600160a01b03848116600090815260076020526040902060010154161561090f5760405162461bcd60e51b815260206004820181905260248201527f43616e2774206f7665727772697465206578697374696e672067617465776179604482015260640161089b565b604080516060810182526001600160a01b0380861680835285821660208085018281528a851686880181815260008281526007909452888420975188549088166001600160a01b03199182161789559251600189018054918916918516919091179055516002909701805497909616969091169590951790935593519092917f66b81d7da7f7d79569de91e83fe8bf2d91493e92250227e66bd4fce953b2b4f691a450505050565b60405162461bcd60e51b815260206004820152601460248201527343616e6e6f742072656e6f756e636520726f6c6560601b604482015260640161089b565b6000336107c4818585610a098383610cf4565b610a139190611c82565b610fc7565b610a2233826113c8565b50565b6000610a3081611338565b60005b8351811015610a97578260086000868481518110610a5357610a53611d7f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a8f81611d4e565b915050610a33565b50505050565b610aa88233836110eb565b610ab282826113c8565b5050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461073390611d13565b7fcbbe7dfe7bfb9f48c266587cde1d740252fcb25946b3c7c54b79962b0581377d610b1a81611338565b600b544211610b6b5760405162461bcd60e51b815260206004820152601e60248201527f4d757374206265206166746572205f756e6c6f636b54696d657374616d700000604482015260640161089b565b50600a805460ff19166001179055565b60003381610b898286610cf4565b905083811015610be95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089b565b6107e78286868403610fc7565b6000336107c481858561115f565b6000610c0f81611338565b60005b8351811015610a97578260096000868481518110610c3257610c32611d7f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c6e81611d4e565b915050610c12565b600082815260056020526040902060010154610c9181611338565b6001600160a01b038216331415610cea5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74207265766f6b6520726f6c652066726f6d2073656c6600000000604482015260640161089b565b6108178383611522565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60026006541415610d725760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089b565b60026006556000610d838334611c82565b11610dd05760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073656e642045544820616e642f6f72205052494d45000000000000604482015260640161089b565b6001600160a01b0384811660009081526007602052604090206001015416610e465760405162461bcd60e51b8152602060048201526024808201527f4e6f2068616e646c657220666f7220676976656e205f68616e646c65724164646044820152637265737360e01b606482015260840161089b565b6001600160a01b038085166000908152600760209081526040918290208251606081018452815485168152600182015485169281019290925260020154909216908201523415610f315760008082600001516001600160a01b03163460405160006040518083038185875af1925050503d8060008114610ee2576040519150601f19603f3d011682016040523d82523d6000602084013e610ee7565b606091505b509150915081610f2e5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b604482015260640161089b565b50505b8215610f4657610f463382602001518561115f565b604080820151825160208401519251632675b6ff60e11b81526001600160a01b0390921692634ceb6dfe92610f8992339290918a9034908b908b90600401611bec565b600060405180830381600087803b158015610fa357600080fd5b505af1158015610fb7573d6000803e3d6000fd5b5050600160065550505050505050565b6001600160a01b0383166110295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089b565b6001600160a01b03821661108a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110f78484610cf4565b90506000198114610a9757818110156111525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089b565b610a978484848403610fc7565b6001600160a01b0383166111c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089b565b6001600160a01b0382166112255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089b565b611230838383611589565b6001600160a01b038316600090815260208190526040902054818110156112a85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906112df908490611c82565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161132b91815260200190565b60405180910390a3610a97565b610a22813361163c565b61134c8282610ab6565b610ab25760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113843390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b0382166114285760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089b565b61143482600083611589565b6001600160a01b038216600090815260208190526040902054818110156114a85760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d7908490611cb9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61152c8282610ab6565b15610ab25760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600a5460ff16806115d457506001600160a01b03831660009081526008602052604090205460ff16806115d457506001600160a01b03821660009081526009602052604090205460ff165b806115e657506001600160a01b038316155b6108175760405162461bcd60e51b815260206004820152602160248201527f5472616e7366657273206e6f742063757272656e746c7920737570706f7274656044820152601960fa1b606482015260840161089b565b6116468282610ab6565b610ab25761165e816001600160a01b031660146116a0565b6116698360206116a0565b60405160200161167a929190611b77565b60408051601f198184030181529082905262461bcd60e51b825261089b91600401611c3e565b606060006116af836002611c9a565b6116ba906002611c82565b67ffffffffffffffff8111156116d2576116d2611d95565b6040519080825280601f01601f1916602001820160405280156116fc576020820181803683370190505b509050600360fc1b8160008151811061171757611717611d7f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061174657611746611d7f565b60200101906001600160f81b031916908160001a905350600061176a846002611c9a565b611775906001611c82565b90505b60018111156117ed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106117a9576117a9611d7f565b1a60f81b8282815181106117bf576117bf611d7f565b60200101906001600160f81b031916908160001a90535060049490941c936117e681611cfc565b9050611778565b50831561183c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161089b565b9392505050565b80356001600160a01b038116811461185a57600080fd5b919050565b8035801515811461185a57600080fd5b60006020828403121561188157600080fd5b61183c82611843565b6000806040838503121561189d57600080fd5b6118a683611843565b91506118b460208401611843565b90509250929050565b6000806000606084860312156118d257600080fd5b6118db84611843565b92506118e960208501611843565b91506118f760408501611843565b90509250925092565b60008060006060848603121561191557600080fd5b61191e84611843565b925061192c60208501611843565b9150604084013590509250925092565b6000806040838503121561194f57600080fd5b61195883611843565b946020939093013593505050565b6000806000806080858703121561197c57600080fd5b61198585611843565b9350602080860135935060408601359250606086013567ffffffffffffffff808211156119b157600080fd5b818801915088601f8301126119c557600080fd5b8135818111156119d7576119d7611d95565b6119e9601f8201601f19168501611c51565b915080825289848285010111156119ff57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611a3257600080fd5b823567ffffffffffffffff80821115611a4a57600080fd5b818501915085601f830112611a5e57600080fd5b8135602082821115611a7257611a72611d95565b8160051b9250611a83818401611c51565b8281528181019085830185870184018b1015611a9e57600080fd5b600096505b84871015611ac857611ab481611843565b835260019690960195918301918301611aa3565b509650611ad8905087820161185f565b9450505050509250929050565b600060208284031215611af757600080fd5b5035919050565b60008060408385031215611b1157600080fd5b823591506118b460208401611843565b600060208284031215611b3357600080fd5b81356001600160e01b03198116811461183c57600080fd5b60008151808452611b63816020860160208601611cd0565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611baf816017850160208801611cd0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611be0816028840160208801611cd0565b01602801949350505050565b600060018060a01b03808a16835280891660208401528088166040840152508560608301528460808301528360a083015260e060c0830152611c3160e0830184611b4b565b9998505050505050505050565b60208152600061183c6020830184611b4b565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c7a57611c7a611d95565b604052919050565b60008219821115611c9557611c95611d69565b500190565b6000816000190483118215151615611cb457611cb4611d69565b500290565b600082821015611ccb57611ccb611d69565b500390565b60005b83811015611ceb578181015183820152602001611cd3565b83811115610a975750506000910152565b600081611d0b57611d0b611d69565b506000190190565b600181811c90821680611d2757607f821691505b60208210811415611d4857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d6257611d62611d69565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220227c9d340aacadaa283ea60492610d6b4ae4c6e54ca88e75d631c80c5941e8a764736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000063b1135000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000063b11350
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


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.