ETH Price: $3,306.78 (+1.75%)
Gas: 3 Gwei

Contract

0xF9c53268e9de692AE1b2ea5216E24e1c3ad7CB1E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Idexo Token (IDO) (@$0.0177)
Transaction Hash
Method
Block
From
To
Transfer203592332024-07-22 2:57:235 days ago1721617043IN
idexo: IDO Token
0 ETH0.000501348.95640719
Transfer202549652024-07-07 13:35:1119 days ago1720359311IN
idexo: IDO Token
0 ETH0.000189984.88702929
Approve201990452024-06-29 18:10:5927 days ago1719684659IN
idexo: IDO Token
0 ETH0.000103042.22473828
Approve201507572024-06-23 0:16:1134 days ago1719101771IN
idexo: IDO Token
0 ETH0.000041631.7109063
Approve201168702024-06-18 6:29:3539 days ago1718692175IN
idexo: IDO Token
0 ETH0.000103744.26297379
Transfer201061512024-06-16 18:29:5940 days ago1718562599IN
idexo: IDO Token
0 ETH0.000116673.42396102
Transfer201060722024-06-16 18:14:1140 days ago1718561651IN
idexo: IDO Token
0 ETH0.000214473.8324101
Transfer200937352024-06-15 0:49:5942 days ago1718412599IN
idexo: IDO Token
0 ETH0.000121883.57691551
Transfer200936412024-06-15 0:30:2342 days ago1718411423IN
idexo: IDO Token
0 ETH0.000185843.63154589
Transfer200516942024-06-09 3:50:4748 days ago1717905047IN
idexo: IDO Token
0 ETH0.000274174.89808997
Approve199720732024-05-29 0:54:3559 days ago1716944075IN
idexo: IDO Token
0 ETH0.000352827.56817402
Transfer199720652024-05-29 0:52:5959 days ago1716943979IN
idexo: IDO Token
0 ETH0.000337569.89912766
Approve199662342024-05-28 5:19:3560 days ago1716873575IN
idexo: IDO Token
0 ETH0.0004937110.5901382
Transfer199637332024-05-27 20:56:3560 days ago1716843395IN
idexo: IDO Token
0 ETH0.0009776519.10371536
Transfer199447542024-05-25 5:19:1163 days ago1716614351IN
idexo: IDO Token
0 ETH0.0005954611.63290448
Transfer199343982024-05-23 18:33:4764 days ago1716489227IN
idexo: IDO Token
0 ETH0.0006010615.46100565
Approve199343382024-05-23 18:21:4764 days ago1716488507IN
idexo: IDO Token
0 ETH0.0006257513.49541631
Transfer198275812024-05-08 19:59:5979 days ago1715198399IN
idexo: IDO Token
0 ETH0.000174385.11764578
Transfer198274882024-05-08 19:41:2379 days ago1715197283IN
idexo: IDO Token
0 ETH0.000231064.12884203
Transfer198235412024-05-08 6:25:1180 days ago1715149511IN
idexo: IDO Token
0 ETH0.000174315.11181923
Transfer198234442024-05-08 6:05:4780 days ago1715148347IN
idexo: IDO Token
0 ETH0.000222824.35213777
Transfer198192152024-05-07 15:54:5980 days ago1715097299IN
idexo: IDO Token
0 ETH0.0004068311.93913699
Transfer198191902024-05-07 15:49:5980 days ago1715096999IN
idexo: IDO Token
0 ETH0.0004932812.69659088
Transfer198191292024-05-07 15:37:3580 days ago1715096255IN
idexo: IDO Token
0 ETH0.000373289.60481754
Transfer198190982024-05-07 15:31:2380 days ago1715095883IN
idexo: IDO Token
0 ETH0.0006837712.22338153
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IDO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-20
*/

pragma solidity 0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

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

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

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

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

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

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

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

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

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

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

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

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

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

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

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

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

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

        _approve(owner, spender, value);
    }

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

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

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

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

    bool private _paused;

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

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

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

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

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

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

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

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

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

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

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

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

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

contract IDO is ERC20Permit, ERC20Pausable, AccessControl {
    // Contract owner address
    address public owner;
    // Proposed new contract owner address
    address public newOwner;

    bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE");
    uint256 public constant cap = 100 * 1000 * 1000 * 1 ether;

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

    constructor() ERC20("Idexo Token", "IDO") ERC20Permit("Idexo Token") {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(OPERATOR_ROLE, _msgSender());

        _mint(_msgSender(), cap);
        owner = _msgSender();
        emit OwnershipTransferred(address(0), _msgSender());
    }

    /****************************|
    |          Ownership         |
    |___________________________*/

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     * `owner` should first call {removeOperator} for himself.
     */
    function renounceOwnership() external onlyOwner {
        emit OwnershipTransferred(owner, address(0));
        owner = address(0);
    }

    /**
     * @dev Transfer the contract ownership.
     * The new owner still needs to accept the transfer.
     * can only be called by the contract owner.
     *
     * @param _newOwner new contract owner.
     */
    function transferOwnership(address _newOwner) external onlyOwner {
        require(_newOwner != address(0), "IDO: INVALID_ADDRESS");
        require(_newOwner != owner, "IDO: OWNERSHIP_SELF_TRANSFER");
        newOwner = _newOwner;
    }

    /**
     * @dev The new owner accept an ownership transfer.
     * The new owner should remove `operator` role from previous owner and add for himself.
     */
    function acceptOwnership() external {
        require(_msgSender() == newOwner, "IDO: CALLER_NO_NEW_OWNER");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
        newOwner = address(0);
    }

    /***********************|
    |          Role         |
    |______________________*/

    /**
     * @dev Restricted to members of the operator role.
     */
    modifier onlyOperator() {
        require(hasRole(OPERATOR_ROLE, _msgSender()), "IDO: CALLER_NO_OPERATOR_ROLE");
        _;
    }

    /**
     * @dev Add an account to the operator role.
     * @param account address
     */
    function addOperator(address account) public onlyOwner {
        require(!hasRole(OPERATOR_ROLE, account), "IDO: ALREADY_OERATOR_ROLE");
        grantRole(OPERATOR_ROLE, account);
    }

    /**
     * @dev Remove an account from the operator role.
     * @param account address
     */
    function removeOperator(address account) public onlyOwner {
        require(hasRole(OPERATOR_ROLE, account), "IDO: NO_OPERATOR_ROLE");
        revokeRole(OPERATOR_ROLE, account);
    }

    /**
     * @dev Check if an account is operator.
     * @param account address
     */
    function checkOperator(address account) public view returns (bool) {
        return hasRole(OPERATOR_ROLE, account);
    }

    /************************|
    |          Token         |
    |_______________________*/

    /**
     * @dev `_beforeTokenTransfer` hook override.
     * @param from address
     * @param to address
     * @param amount uint256
     * `Owner` can only transfer when paused
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20, ERC20Pausable) {
        if (from == owner) {
            return;
        }
        ERC20Pausable._beforeTokenTransfer(from, to, amount);
    }

    /**
     * @dev Get chain id.
     */
    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly { id := chainid() }
        return id;
    }

    /******************************|
    |          Pausability         |
    |_____________________________*/

    /**
     * @dev Pause.
     */
    function pause() public onlyOperator {
        super._pause();
    }

    /**
     * @dev Unpause.
     */
    function unpause() public onlyOperator {
        super._unpause();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOperator","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":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040518060400160405280600b81526020016a24b232bc37902a37b5b2b760a91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600b81526020016a24b232bc37902a37b5b2b760a91b8152506040518060400160405280600381526020016249444f60e81b8152508160039080519060200190620000cf92919062000476565b508051620000e590600490602084019062000476565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250506006805460ff191690556200018960003362000212565b620001b57f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9293362000212565b620001cc336a52b7d2dcc80cd2e400000062000222565b600880546001600160a01b031916339081179091556040516000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36200057e565b6200021e828262000319565b5050565b6001600160a01b0382166200027e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200028c60008383620003bd565b8060026000828254620002a091906200051c565b90915550506001600160a01b03821660009081526020819052604081208054839290620002cf9084906200051c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff166200021e5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003793390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6008546001600160a01b0384811691161415620003d957505050565b620003f1838383620003f660201b62000e441760201c565b505050565b6200040e838383620003f160201b620006811760201c565b60065460ff1615620003f15760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b606482015260840162000275565b828054620004849062000541565b90600052602060002090601f016020900481019282620004a85760008555620004f3565b82601f10620004c357805160ff1916838001178555620004f3565b82800160010185558215620004f3579182015b82811115620004f3578251825591602001919060010190620004d6565b506200050192915062000505565b5090565b5b8082111562000501576000815560010162000506565b600082198211156200053c57634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200055657607f821691505b602082108114156200057857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051611cdc620005ce6000396000610bfd015260006112f1015260006113400152600061131b0152600061129f015260006112c80152611cdc6000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806379ba509711610125578063a9059cbb116100ad578063d547741f1161007c578063d547741f1461043f578063dd62ed3e14610452578063de1ac2fd1461048b578063f2fde38b1461049e578063f5b541a6146104b157600080fd5b8063a9059cbb146103f3578063ac8a584a14610406578063d4ee1d9014610419578063d505accf1461042c57600080fd5b806391d14854116100f457806391d14854146103aa57806395d89b41146103bd5780639870d7fe146103c5578063a217fddf146103d8578063a457c2d7146103e057600080fd5b806379ba50971461035c5780637ecebe00146103645780638456cb59146103775780638da5cb5b1461037f57600080fd5b80633408e470116101a8578063395093511161017757806339509351146103055780633f4ba83a146103185780635c975abb1461032057806370a082311461032b578063715018a61461035457600080fd5b80633408e470146102d2578063355274ea146102d85780633644e515146102ea57806336568abe146102f257600080fd5b806323b872dd116101e457806323b872dd14610278578063248a9ca31461028b5780632f2ff15d146102ae578063313ce567146102c357600080fd5b806301ffc9a71461021657806306fdde031461023e578063095ea7b31461025357806318160ddd14610266575b600080fd5b610229610224366004611aa8565b6104c6565b60405190151581526020015b60405180910390f35b6102466104fd565b6040516102359190611b45565b610229610261366004611a45565b61058f565b6002545b604051908152602001610235565b610229610286366004611999565b6105a5565b61026a610299366004611a6e565b60009081526007602052604090206001015490565b6102c16102bc366004611a86565b61065b565b005b60405160128152602001610235565b4661026a565b61026a6a52b7d2dcc80cd2e400000081565b61026a610686565b6102c1610300366004611a86565b610695565b610229610313366004611a45565b610713565b6102c161074a565b60065460ff16610229565b61026a61033936600461194d565b6001600160a01b031660009081526020819052604090205490565b6102c16107b8565b6102c161082c565b61026a61037236600461194d565b6108f5565b6102c1610913565b600854610392906001600160a01b031681565b6040516001600160a01b039091168152602001610235565b6102296103b8366004611a86565b61097f565b6102466109aa565b6102c16103d336600461194d565b6109b9565b61026a600081565b6102296103ee366004611a45565b610a63565b610229610401366004611a45565b610afe565b6102c161041436600461194d565b610b0b565b600954610392906001600160a01b031681565b6102c161043a3660046119d4565b610ba9565b6102c161044d366004611a86565b610d0d565b61026a610460366004611967565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022961049936600461194d565b610d33565b6102c16104ac36600461194d565b610d4d565b61026a600080516020611c8783398151915281565b60006001600160e01b03198216637965db0b60e01b14806104f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461050c90611c3b565b80601f016020809104026020016040519081016040528092919081815260200182805461053890611c3b565b80156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b5050505050905090565b600061059c338484610eaa565b50600192915050565b60006105b2848484610fce565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561063c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610650853361064b8685611bdd565b610eaa565b506001949350505050565b60008281526007602052604090206001015461067781336111b1565b6106818383611215565b505050565b600061069061129b565b905090565b6001600160a01b03811633146107055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610633565b61070f828261138e565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161059c91859061064b908690611ba6565b610762600080516020611c878339815191523361097f565b6107ae5760405162461bcd60e51b815260206004820152601c60248201527f49444f3a2043414c4c45525f4e4f5f4f50455241544f525f524f4c45000000006044820152606401610633565b6107b66113f5565b565b6008546001600160a01b031633146107e25760405162461bcd60e51b815260040161063390611b78565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6009546001600160a01b0316336001600160a01b03161461088f5760405162461bcd60e51b815260206004820152601860248201527f49444f3a2043414c4c45525f4e4f5f4e45575f4f574e455200000000000000006044820152606401610633565b6009546008546040516001600160a01b0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360098054600880546001600160a01b03199081166001600160a01b03841617909155169055565b6001600160a01b0381166000908152600560205260408120546104f7565b61092b600080516020611c878339815191523361097f565b6109775760405162461bcd60e51b815260206004820152601c60248201527f49444f3a2043414c4c45525f4e4f5f4f50455241544f525f524f4c45000000006044820152606401610633565b6107b6611488565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461050c90611c3b565b6008546001600160a01b031633146109e35760405162461bcd60e51b815260040161063390611b78565b6109fb600080516020611c878339815191528261097f565b15610a485760405162461bcd60e51b815260206004820152601960248201527f49444f3a20414c52454144595f4f455241544f525f524f4c45000000000000006044820152606401610633565b610a60600080516020611c878339815191528261065b565b50565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ae55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610633565b610af4338561064b8685611bdd565b5060019392505050565b600061059c338484610fce565b6008546001600160a01b03163314610b355760405162461bcd60e51b815260040161063390611b78565b610b4d600080516020611c878339815191528261097f565b610b915760405162461bcd60e51b815260206004820152601560248201527449444f3a204e4f5f4f50455241544f525f524f4c4560581b6044820152606401610633565b610a60600080516020611c8783398151915282610d0d565b83421115610bf95760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610633565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610c288c611503565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610c838261152b565b90506000610c9382878787611579565b9050896001600160a01b0316816001600160a01b031614610cf65760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610633565b610d018a8a8a610eaa565b50505050505050505050565b600082815260076020526040902060010154610d2981336111b1565b610681838361138e565b60006104f7600080516020611c878339815191528361097f565b6008546001600160a01b03163314610d775760405162461bcd60e51b815260040161063390611b78565b6001600160a01b038116610dc45760405162461bcd60e51b815260206004820152601460248201527349444f3a20494e56414c49445f4144445245535360601b6044820152606401610633565b6008546001600160a01b0382811691161415610e225760405162461bcd60e51b815260206004820152601c60248201527f49444f3a204f574e4552534849505f53454c465f5452414e53464552000000006044820152606401610633565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff16156106815760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610633565b6001600160a01b038316610f0c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610633565b6001600160a01b038216610f6d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610633565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610633565b6001600160a01b0382166110945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610633565b61109f838383611722565b6001600160a01b038316600090815260208190526040902054818110156111175760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610633565b6111218282611bdd565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611157908490611ba6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111a391815260200190565b60405180910390a350505050565b6111bb828261097f565b61070f576111d3816001600160a01b03166014611748565b6111de836020611748565b6040516020016111ef929190611ad0565b60408051601f198184030181529082905262461bcd60e51b825261063391600401611b45565b61121f828261097f565b61070f5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112573390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f00000000000000000000000000000000000000000000000000000000000000004614156112ea57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b611398828261097f565b1561070f5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60065460ff1661143e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610633565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff16156114ce5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610633565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861146b3390565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006104f761153861129b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156115f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610633565b8360ff16601b148061160b57508360ff16601c145b6116625760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610633565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156116b6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117195760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610633565b95945050505050565b6008546001600160a01b038481169116141561173d57505050565b610681838383610e44565b60606000611757836002611bbe565b611762906002611ba6565b67ffffffffffffffff81111561178857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117b2576020820181803683370190505b509050600360fc1b816000815181106117db57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061181857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061183c846002611bbe565b611847906001611ba6565b90505b60018111156118db576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061188957634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106118ad57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936118d481611c24565b905061184a565b50831561192a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610633565b9392505050565b80356001600160a01b038116811461194857600080fd5b919050565b60006020828403121561195e578081fd5b61192a82611931565b60008060408385031215611979578081fd5b61198283611931565b915061199060208401611931565b90509250929050565b6000806000606084860312156119ad578081fd5b6119b684611931565b92506119c460208501611931565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119ee578283fd5b6119f788611931565b9650611a0560208901611931565b95506040880135945060608801359350608088013560ff81168114611a28578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a57578182fd5b611a6083611931565b946020939093013593505050565b600060208284031215611a7f578081fd5b5035919050565b60008060408385031215611a98578182fd5b8235915061199060208401611931565b600060208284031215611ab9578081fd5b81356001600160e01b03198116811461192a578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b08816017850160208801611bf4565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b39816028840160208801611bf4565b01602801949350505050565b6020815260008251806020840152611b64816040850160208701611bf4565b601f01601f19169190910160400192915050565b60208082526014908201527324a2279d1021a0a62622a92fa727afa7aba722a960611b604082015260600190565b60008219821115611bb957611bb9611c70565b500190565b6000816000190483118215151615611bd857611bd8611c70565b500290565b600082821015611bef57611bef611c70565b500390565b60005b83811015611c0f578181015183820152602001611bf7565b83811115611c1e576000848401525b50505050565b600081611c3357611c33611c70565b506000190190565b600181811c90821680611c4f57607f821691505b6020821081141561152557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a2646970667358221220e9746e14e5c29feb3a14eeb56fef091585636273aed597b8eec38c381165258b64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c806379ba509711610125578063a9059cbb116100ad578063d547741f1161007c578063d547741f1461043f578063dd62ed3e14610452578063de1ac2fd1461048b578063f2fde38b1461049e578063f5b541a6146104b157600080fd5b8063a9059cbb146103f3578063ac8a584a14610406578063d4ee1d9014610419578063d505accf1461042c57600080fd5b806391d14854116100f457806391d14854146103aa57806395d89b41146103bd5780639870d7fe146103c5578063a217fddf146103d8578063a457c2d7146103e057600080fd5b806379ba50971461035c5780637ecebe00146103645780638456cb59146103775780638da5cb5b1461037f57600080fd5b80633408e470116101a8578063395093511161017757806339509351146103055780633f4ba83a146103185780635c975abb1461032057806370a082311461032b578063715018a61461035457600080fd5b80633408e470146102d2578063355274ea146102d85780633644e515146102ea57806336568abe146102f257600080fd5b806323b872dd116101e457806323b872dd14610278578063248a9ca31461028b5780632f2ff15d146102ae578063313ce567146102c357600080fd5b806301ffc9a71461021657806306fdde031461023e578063095ea7b31461025357806318160ddd14610266575b600080fd5b610229610224366004611aa8565b6104c6565b60405190151581526020015b60405180910390f35b6102466104fd565b6040516102359190611b45565b610229610261366004611a45565b61058f565b6002545b604051908152602001610235565b610229610286366004611999565b6105a5565b61026a610299366004611a6e565b60009081526007602052604090206001015490565b6102c16102bc366004611a86565b61065b565b005b60405160128152602001610235565b4661026a565b61026a6a52b7d2dcc80cd2e400000081565b61026a610686565b6102c1610300366004611a86565b610695565b610229610313366004611a45565b610713565b6102c161074a565b60065460ff16610229565b61026a61033936600461194d565b6001600160a01b031660009081526020819052604090205490565b6102c16107b8565b6102c161082c565b61026a61037236600461194d565b6108f5565b6102c1610913565b600854610392906001600160a01b031681565b6040516001600160a01b039091168152602001610235565b6102296103b8366004611a86565b61097f565b6102466109aa565b6102c16103d336600461194d565b6109b9565b61026a600081565b6102296103ee366004611a45565b610a63565b610229610401366004611a45565b610afe565b6102c161041436600461194d565b610b0b565b600954610392906001600160a01b031681565b6102c161043a3660046119d4565b610ba9565b6102c161044d366004611a86565b610d0d565b61026a610460366004611967565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022961049936600461194d565b610d33565b6102c16104ac36600461194d565b610d4d565b61026a600080516020611c8783398151915281565b60006001600160e01b03198216637965db0b60e01b14806104f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461050c90611c3b565b80601f016020809104026020016040519081016040528092919081815260200182805461053890611c3b565b80156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b5050505050905090565b600061059c338484610eaa565b50600192915050565b60006105b2848484610fce565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561063c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610650853361064b8685611bdd565b610eaa565b506001949350505050565b60008281526007602052604090206001015461067781336111b1565b6106818383611215565b505050565b600061069061129b565b905090565b6001600160a01b03811633146107055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610633565b61070f828261138e565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161059c91859061064b908690611ba6565b610762600080516020611c878339815191523361097f565b6107ae5760405162461bcd60e51b815260206004820152601c60248201527f49444f3a2043414c4c45525f4e4f5f4f50455241544f525f524f4c45000000006044820152606401610633565b6107b66113f5565b565b6008546001600160a01b031633146107e25760405162461bcd60e51b815260040161063390611b78565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6009546001600160a01b0316336001600160a01b03161461088f5760405162461bcd60e51b815260206004820152601860248201527f49444f3a2043414c4c45525f4e4f5f4e45575f4f574e455200000000000000006044820152606401610633565b6009546008546040516001600160a01b0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360098054600880546001600160a01b03199081166001600160a01b03841617909155169055565b6001600160a01b0381166000908152600560205260408120546104f7565b61092b600080516020611c878339815191523361097f565b6109775760405162461bcd60e51b815260206004820152601c60248201527f49444f3a2043414c4c45525f4e4f5f4f50455241544f525f524f4c45000000006044820152606401610633565b6107b6611488565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461050c90611c3b565b6008546001600160a01b031633146109e35760405162461bcd60e51b815260040161063390611b78565b6109fb600080516020611c878339815191528261097f565b15610a485760405162461bcd60e51b815260206004820152601960248201527f49444f3a20414c52454144595f4f455241544f525f524f4c45000000000000006044820152606401610633565b610a60600080516020611c878339815191528261065b565b50565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ae55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610633565b610af4338561064b8685611bdd565b5060019392505050565b600061059c338484610fce565b6008546001600160a01b03163314610b355760405162461bcd60e51b815260040161063390611b78565b610b4d600080516020611c878339815191528261097f565b610b915760405162461bcd60e51b815260206004820152601560248201527449444f3a204e4f5f4f50455241544f525f524f4c4560581b6044820152606401610633565b610a60600080516020611c8783398151915282610d0d565b83421115610bf95760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610633565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610c288c611503565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610c838261152b565b90506000610c9382878787611579565b9050896001600160a01b0316816001600160a01b031614610cf65760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610633565b610d018a8a8a610eaa565b50505050505050505050565b600082815260076020526040902060010154610d2981336111b1565b610681838361138e565b60006104f7600080516020611c878339815191528361097f565b6008546001600160a01b03163314610d775760405162461bcd60e51b815260040161063390611b78565b6001600160a01b038116610dc45760405162461bcd60e51b815260206004820152601460248201527349444f3a20494e56414c49445f4144445245535360601b6044820152606401610633565b6008546001600160a01b0382811691161415610e225760405162461bcd60e51b815260206004820152601c60248201527f49444f3a204f574e4552534849505f53454c465f5452414e53464552000000006044820152606401610633565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff16156106815760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610633565b6001600160a01b038316610f0c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610633565b6001600160a01b038216610f6d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610633565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610633565b6001600160a01b0382166110945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610633565b61109f838383611722565b6001600160a01b038316600090815260208190526040902054818110156111175760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610633565b6111218282611bdd565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611157908490611ba6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111a391815260200190565b60405180910390a350505050565b6111bb828261097f565b61070f576111d3816001600160a01b03166014611748565b6111de836020611748565b6040516020016111ef929190611ad0565b60408051601f198184030181529082905262461bcd60e51b825261063391600401611b45565b61121f828261097f565b61070f5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112573390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f00000000000000000000000000000000000000000000000000000000000000014614156112ea57507fe05dda4d86e8ee69e9d37d624b70dc6ad83ecfae04dfae559b94a2af7463137690565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fd5007dfd94226c68f7bc6d82127781071411bb2b436821e3be64776dfe1243ba828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b611398828261097f565b1561070f5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60065460ff1661143e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610633565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff16156114ce5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610633565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861146b3390565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006104f761153861129b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156115f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610633565b8360ff16601b148061160b57508360ff16601c145b6116625760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610633565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156116b6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117195760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610633565b95945050505050565b6008546001600160a01b038481169116141561173d57505050565b610681838383610e44565b60606000611757836002611bbe565b611762906002611ba6565b67ffffffffffffffff81111561178857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117b2576020820181803683370190505b509050600360fc1b816000815181106117db57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061181857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061183c846002611bbe565b611847906001611ba6565b90505b60018111156118db576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061188957634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106118ad57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936118d481611c24565b905061184a565b50831561192a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610633565b9392505050565b80356001600160a01b038116811461194857600080fd5b919050565b60006020828403121561195e578081fd5b61192a82611931565b60008060408385031215611979578081fd5b61198283611931565b915061199060208401611931565b90509250929050565b6000806000606084860312156119ad578081fd5b6119b684611931565b92506119c460208501611931565b9150604084013590509250925092565b600080600080600080600060e0888a0312156119ee578283fd5b6119f788611931565b9650611a0560208901611931565b95506040880135945060608801359350608088013560ff81168114611a28578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611a57578182fd5b611a6083611931565b946020939093013593505050565b600060208284031215611a7f578081fd5b5035919050565b60008060408385031215611a98578182fd5b8235915061199060208401611931565b600060208284031215611ab9578081fd5b81356001600160e01b03198116811461192a578182fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b08816017850160208801611bf4565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b39816028840160208801611bf4565b01602801949350505050565b6020815260008251806020840152611b64816040850160208701611bf4565b601f01601f19169190910160400192915050565b60208082526014908201527324a2279d1021a0a62622a92fa727afa7aba722a960611b604082015260600190565b60008219821115611bb957611bb9611c70565b500190565b6000816000190483118215151615611bd857611bd8611c70565b500290565b600082821015611bef57611bef611c70565b500390565b60005b83811015611c0f578181015183820152602001611bf7565b83811115611c1e576000848401525b50505050565b600081611c3357611c33611c70565b506000190190565b600181811c90821680611c4f57607f821691505b6020821081141561152557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a2646970667358221220e9746e14e5c29feb3a14eeb56fef091585636273aed597b8eec38c381165258b64736f6c63430008040033

Deployed Bytecode Sourcemap

45660:4583:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41194:217;;;;;;:::i;:::-;;:::i;:::-;;;4334:14:1;;4327:22;4309:41;;4297:2;4282:18;41194:217:0;;;;;;;;8277:100;;;:::i;:::-;;;;;;;:::i;10444:169::-;;;;;;:::i;:::-;;:::i;9397:108::-;9485:12;;9397:108;;;4507:25:1;;;4495:2;4480:18;9397:108:0;4462:76:1;11095:422:0;;;;;;:::i;:::-;;:::i;42505:123::-;;;;;;:::i;:::-;42571:7;42598:12;;;:6;:12;;;;;:22;;;;42505:123;42890:147;;;;;;:::i;:::-;;:::i;:::-;;9239:93;;;9322:2;15815:36:1;;15803:2;15788:18;9239:93:0;15770:87:1;49747:139:0;49848:9;49747:139;;45932:57;;45962:27;45932:57;;30228:115;;;:::i;43938:218::-;;;;;;:::i;:::-;;:::i;11926:215::-;;;;;;:::i;:::-;;:::i;50166:74::-;;;:::i;31679:86::-;31750:7;;;;31679:86;;9568:127;;;;;;:::i;:::-;-1:-1:-1;;;;;9669:18:0;9642:7;9669:18;;;;;;;;;;;;9568:127;46961:140;;;:::i;47751:228::-;;;:::i;29970:128::-;;;;;;:::i;:::-;;:::i;50048:70::-;;;:::i;45756:20::-;;;;;-1:-1:-1;;;;;45756:20:0;;;;;;-1:-1:-1;;;;;4125:32:1;;;4107:51;;4095:2;4080:18;45756:20:0;4062:102:1;41503:139:0;;;;;;:::i;:::-;;:::i;8496:104::-;;;:::i;48396:188::-;;;;;;:::i;:::-;;:::i;39468:49::-;;39513:4;39468:49;;12644:377;;;;;;:::i;:::-;;:::i;9908:175::-;;;;;;:::i;:::-;;:::i;48696:187::-;;;;;;:::i;:::-;;:::i;45827:23::-;;;;;-1:-1:-1;;;;;45827:23:0;;;29133:771;;;;;;:::i;:::-;;:::i;43282:149::-;;;;;;:::i;:::-;;:::i;10146:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;10262:18:0;;;10235:7;10262:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10146:151;48986:124;;;;;;:::i;:::-;;:::i;47334:241::-;;;;;;:::i;:::-;;:::i;45859:66::-;;-1:-1:-1;;;;;;;;;;;45859:66:0;;41194:217;41279:4;-1:-1:-1;;;;;;41303:47:0;;-1:-1:-1;;;41303:47:0;;:100;;-1:-1:-1;;;;;;;;;;37127:40:0;;;41367:36;41296:107;41194:217;-1:-1:-1;;41194:217:0:o;8277:100::-;8331:13;8364:5;8357:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8277:100;:::o;10444:169::-;10527:4;10544:39;6039:10;10567:7;10576:6;10544:8;:39::i;:::-;-1:-1:-1;10601:4:0;10444:169;;;;:::o;11095:422::-;11201:4;11218:36;11228:6;11236:9;11247:6;11218:9;:36::i;:::-;-1:-1:-1;;;;;11294:19:0;;11267:24;11294:19;;;:11;:19;;;;;;;;6039:10;11294:33;;;;;;;;11346:26;;;;11338:79;;;;-1:-1:-1;;;11338:79:0;;11823:2:1;11338:79:0;;;11805:21:1;11862:2;11842:18;;;11835:30;11901:34;11881:18;;;11874:62;-1:-1:-1;;;11952:18:1;;;11945:38;12000:19;;11338:79:0;;;;;;;;;11428:57;11437:6;6039:10;11459:25;11478:6;11459:16;:25;:::i;:::-;11428:8;:57::i;:::-;-1:-1:-1;11505:4:0;;11095:422;-1:-1:-1;;;;11095:422:0:o;42890:147::-;42571:7;42598:12;;;:6;:12;;;;;:22;;;41072:30;41083:4;6039:10;41072;:30::i;:::-;43004:25:::1;43015:4;43021:7;43004:10;:25::i;:::-;42890:147:::0;;;:::o;30228:115::-;30288:7;30315:20;:18;:20::i;:::-;30308:27;;30228:115;:::o;43938:218::-;-1:-1:-1;;;;;44034:23:0;;6039:10;44034:23;44026:83;;;;-1:-1:-1;;;44026:83:0;;14866:2:1;44026:83:0;;;14848:21:1;14905:2;14885:18;;;14878:30;14944:34;14924:18;;;14917:62;-1:-1:-1;;;14995:18:1;;;14988:45;15050:19;;44026:83:0;14838:237:1;44026:83:0;44122:26;44134:4;44140:7;44122:11;:26::i;:::-;43938:218;;:::o;11926:215::-;6039:10;12014:4;12063:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12063:34:0;;;;;;;;;;12014:4;;12031:80;;12054:7;;12063:47;;12100:10;;12063:47;:::i;50166:74::-;48200:36;-1:-1:-1;;;;;;;;;;;6039:10:0;41503:139;:::i;48200:36::-;48192:77;;;;-1:-1:-1;;;48192:77:0;;14103:2:1;48192:77:0;;;14085:21:1;14142:2;14122:18;;;14115:30;14181;14161:18;;;14154:58;14229:18;;48192:77:0;14075:178:1;48192:77:0;50216:16:::1;:14;:16::i;:::-;50166:74::o:0;46961:140::-;46645:5;;-1:-1:-1;;;;;46645:5:0;6039:10;46645:21;46637:54;;;;-1:-1:-1;;;46637:54:0;;;;;;;:::i;:::-;47046:5:::1;::::0;47025:39:::1;::::0;47061:1:::1;::::0;-1:-1:-1;;;;;47046:5:0::1;::::0;47025:39:::1;::::0;47061:1;;47025:39:::1;47075:5;:18:::0;;-1:-1:-1;;;;;;47075:18:0::1;::::0;;46961:140::o;47751:228::-;47822:8;;-1:-1:-1;;;;;47822:8:0;6039:10;-1:-1:-1;;;;;47806:24:0;;47798:61;;;;-1:-1:-1;;;47798:61:0;;8496:2:1;47798:61:0;;;8478:21:1;8535:2;8515:18;;;8508:30;8574:26;8554:18;;;8547:54;8618:18;;47798:61:0;8468:174:1;47798:61:0;47903:8;;47896:5;;47875:37;;-1:-1:-1;;;;;47903:8:0;;;;47896:5;;;;47875:37;;47903:8;;47875:37;47931:8;;;47923:5;:16;;-1:-1:-1;;;;;;47923:16:0;;;-1:-1:-1;;;;;47931:8:0;;47923:16;;;;47950:21;;;47751:228::o;29970:128::-;-1:-1:-1;;;;;30066:14:0;;30039:7;30066:14;;;:7;:14;;;;;27468;30066:24;27376:114;50048:70;48200:36;-1:-1:-1;;;;;;;;;;;6039:10:0;41503:139;:::i;48200:36::-;48192:77;;;;-1:-1:-1;;;48192:77:0;;14103:2:1;48192:77:0;;;14085:21:1;14142:2;14122:18;;;14115:30;14181;14161:18;;;14154:58;14229:18;;48192:77:0;14075:178:1;48192:77:0;50096:14:::1;:12;:14::i;41503:139::-:0;41581:4;41605:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;41605:29:0;;;;;;;;;;;;;;;41503:139::o;8496:104::-;8552:13;8585:7;8578:14;;;;;:::i;48396:188::-;46645:5;;-1:-1:-1;;;;;46645:5:0;6039:10;46645:21;46637:54;;;;-1:-1:-1;;;46637:54:0;;;;;;;:::i;:::-;48471:31:::1;-1:-1:-1::0;;;;;;;;;;;48494:7:0::1;48471;:31::i;:::-;48470:32;48462:70;;;::::0;-1:-1:-1;;;48462:70:0;;12938:2:1;48462:70:0::1;::::0;::::1;12920:21:1::0;12977:2;12957:18;;;12950:30;13016:27;12996:18;;;12989:55;13061:18;;48462:70:0::1;12910:175:1::0;48462:70:0::1;48543:33;-1:-1:-1::0;;;;;;;;;;;48568:7:0::1;48543:9;:33::i;:::-;48396:188:::0;:::o;12644:377::-;6039:10;12737:4;12781:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12781:34:0;;;;;;;;;;12834:35;;;;12826:85;;;;-1:-1:-1;;;12826:85:0;;14460:2:1;12826:85:0;;;14442:21:1;14499:2;14479:18;;;14472:30;14538:34;14518:18;;;14511:62;-1:-1:-1;;;14589:18:1;;;14582:35;14634:19;;12826:85:0;14432:227:1;12826:85:0;12922:67;6039:10;12945:7;12954:34;12973:15;12954:16;:34;:::i;12922:67::-;-1:-1:-1;13009:4:0;;12644:377;-1:-1:-1;;;12644:377:0:o;9908:175::-;9994:4;10011:42;6039:10;10035:9;10046:6;10011:9;:42::i;48696:187::-;46645:5;;-1:-1:-1;;;;;46645:5:0;6039:10;46645:21;46637:54;;;;-1:-1:-1;;;46637:54:0;;;;;;;:::i;:::-;48773:31:::1;-1:-1:-1::0;;;;;;;;;;;48796:7:0::1;48773;:31::i;:::-;48765:65;;;::::0;-1:-1:-1;;;48765:65:0;;10711:2:1;48765:65:0::1;::::0;::::1;10693:21:1::0;10750:2;10730:18;;;10723:30;-1:-1:-1;;;10769:18:1;;;10762:51;10830:18;;48765:65:0::1;10683:171:1::0;48765:65:0::1;48841:34;-1:-1:-1::0;;;;;;;;;;;48867:7:0::1;48841:10;:34::i;29133:771::-:0;29362:8;29343:15;:27;;29335:69;;;;-1:-1:-1;;;29335:69:0;;8849:2:1;29335:69:0;;;8831:21:1;8888:2;8868:18;;;8861:30;8927:31;8907:18;;;8900:59;8976:18;;29335:69:0;8821:179:1;29335:69:0;29417:18;29491:16;29526:5;29550:7;29576:5;29600:16;29610:5;29600:9;:16::i;:::-;29462:196;;;;;;4830:25:1;;;;-1:-1:-1;;;;;4929:15:1;;;4909:18;;;4902:43;4981:15;;;;4961:18;;;4954:43;5013:18;;;5006:34;5056:19;;;5049:35;5100:19;;;5093:35;;;4802:19;;29462:196:0;;;;;;;;;;;;29438:231;;;;;;29417:252;;29682:12;29697:28;29714:10;29697:16;:28::i;:::-;29682:43;;29738:14;29755:28;29769:4;29775:1;29778;29781;29755:13;:28::i;:::-;29738:45;;29812:5;-1:-1:-1;;;;;29802:15:0;:6;-1:-1:-1;;;;;29802:15:0;;29794:58;;;;-1:-1:-1;;;29794:58:0;;11464:2:1;29794:58:0;;;11446:21:1;11503:2;11483:18;;;11476:30;11542:32;11522:18;;;11515:60;11592:18;;29794:58:0;11436:180:1;29794:58:0;29865:31;29874:5;29881:7;29890:5;29865:8;:31::i;:::-;29133:771;;;;;;;;;;:::o;43282:149::-;42571:7;42598:12;;;:6;:12;;;;;:22;;;41072:30;41083:4;6039:10;41072;:30::i;:::-;43397:26:::1;43409:4;43415:7;43397:11;:26::i;48986:124::-:0;49047:4;49071:31;-1:-1:-1;;;;;;;;;;;49094:7:0;49071;:31::i;47334:241::-;46645:5;;-1:-1:-1;;;;;46645:5:0;6039:10;46645:21;46637:54;;;;-1:-1:-1;;;46637:54:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47418:23:0;::::1;47410:56;;;::::0;-1:-1:-1;;;47410:56:0;;9614:2:1;47410:56:0::1;::::0;::::1;9596:21:1::0;9653:2;9633:18;;;9626:30;-1:-1:-1;;;9672:18:1;;;9665:50;9732:18;;47410:56:0::1;9586:170:1::0;47410:56:0::1;47498:5;::::0;-1:-1:-1;;;;;47485:18:0;;::::1;47498:5:::0;::::1;47485:18;;47477:59;;;::::0;-1:-1:-1;;;47477:59:0;;12232:2:1;47477:59:0::1;::::0;::::1;12214:21:1::0;12271:2;12251:18;;;12244:30;12310;12290:18;;;12283:58;12358:18;;47477:59:0::1;12204:178:1::0;47477:59:0::1;47547:8;:20:::0;;-1:-1:-1;;;;;;47547:20:0::1;-1:-1:-1::0;;;;;47547:20:0;;;::::1;::::0;;;::::1;::::0;;47334:241::o;33346:238::-;31750:7;;;;33520:9;33512:64;;;;-1:-1:-1;;;33512:64:0;;15282:2:1;33512:64:0;;;15264:21:1;15321:2;15301:18;;;15294:30;15360:34;15340:18;;;15333:62;-1:-1:-1;;;15411:18:1;;;15404:40;15461:19;;33512:64:0;15254:232:1;16000:346:0;-1:-1:-1;;;;;16102:19:0;;16094:68;;;;-1:-1:-1;;;16094:68:0;;13698:2:1;16094:68:0;;;13680:21:1;13737:2;13717:18;;;13710:30;13776:34;13756:18;;;13749:62;-1:-1:-1;;;13827:18:1;;;13820:34;13871:19;;16094:68:0;13670:226:1;16094:68:0;-1:-1:-1;;;;;16181:21:0;;16173:68;;;;-1:-1:-1;;;16173:68:0;;8093:2:1;16173:68:0;;;8075:21:1;8132:2;8112:18;;;8105:30;8171:34;8151:18;;;8144:62;-1:-1:-1;;;8222:18:1;;;8215:32;8264:19;;16173:68:0;8065:224:1;16173:68:0;-1:-1:-1;;;;;16254:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;16306:32;;4507:25:1;;;16306:32:0;;4480:18:1;16306:32:0;;;;;;;16000:346;;;:::o;13511:604::-;-1:-1:-1;;;;;13617:20:0;;13609:70;;;;-1:-1:-1;;;13609:70:0;;13292:2:1;13609:70:0;;;13274:21:1;13331:2;13311:18;;;13304:30;13370:34;13350:18;;;13343:62;-1:-1:-1;;;13421:18:1;;;13414:35;13466:19;;13609:70:0;13264:227:1;13609:70:0;-1:-1:-1;;;;;13698:23:0;;13690:71;;;;-1:-1:-1;;;13690:71:0;;7340:2:1;13690:71:0;;;7322:21:1;7379:2;7359:18;;;7352:30;7418:34;7398:18;;;7391:62;-1:-1:-1;;;7469:18:1;;;7462:33;7512:19;;13690:71:0;7312:225:1;13690:71:0;13774:47;13795:6;13803:9;13814:6;13774:20;:47::i;:::-;-1:-1:-1;;;;;13858:17:0;;13834:21;13858:17;;;;;;;;;;;13894:23;;;;13886:74;;;;-1:-1:-1;;;13886:74:0;;9207:2:1;13886:74:0;;;9189:21:1;9246:2;9226:18;;;9219:30;9285:34;9265:18;;;9258:62;-1:-1:-1;;;9336:18:1;;;9329:36;9382:19;;13886:74:0;9179:228:1;13886:74:0;13991:22;14007:6;13991:13;:22;:::i;:::-;-1:-1:-1;;;;;13971:17:0;;;:9;:17;;;;;;;;;;;:42;;;;14024:20;;;;;;;;:30;;14048:6;;13971:9;14024:30;;14048:6;;14024:30;:::i;:::-;;;;;;;;14089:9;-1:-1:-1;;;;;14072:35:0;14081:6;-1:-1:-1;;;;;14072:35:0;;14100:6;14072:35;;;;4507:25:1;;4495:2;4480:18;;4462:76;14072:35:0;;;;;;;;13511:604;;;;:::o;41932:384::-;42012:22;42020:4;42026:7;42012;:22::i;:::-;42008:301;;42144:41;42172:7;-1:-1:-1;;;;;42144:41:0;42182:2;42144:19;:41::i;:::-;42242:38;42270:4;42277:2;42242:19;:38::i;:::-;42065:230;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;42065:230:0;;;;;;;;;;-1:-1:-1;;;42051:246:0;;;;;;;:::i;45186:229::-;45261:22;45269:4;45275:7;45261;:22::i;:::-;45256:152;;45300:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;45300:29:0;;;;;;;;;:36;;-1:-1:-1;;45300:36:0;45332:4;45300:36;;;45383:12;6039:10;;5959:98;45383:12;-1:-1:-1;;;;;45356:40:0;45374:7;-1:-1:-1;;;;;45356:40:0;45368:4;45356:40;;;;;;;;;;45186:229;;:::o;25203:281::-;25256:7;25297:16;25280:13;:33;25276:201;;;-1:-1:-1;25337:24:0;;25203:281::o;25276:201::-;-1:-1:-1;25645:165:0;;;25423:10;25645:165;;;;5398:25:1;;;;25435:12:0;5439:18:1;;;5432:34;25449:15:0;5482:18:1;;;5475:34;25750:13:0;5525:18:1;;;5518:34;25790:4:0;5568:19:1;;;;5561:61;;;;25645:165:0;;;;;;;;;;5370:19:1;;;;25645:165:0;;;25621:200;;;;;;30228:115::o;45423:230::-;45498:22;45506:4;45512:7;45498;:22::i;:::-;45494:152;;;45569:5;45537:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;45537:29:0;;;;;;;;;;:37;;-1:-1:-1;;45537:37:0;;;45594:40;6039:10;;45537:12;;45594:40;;45569:5;45594:40;45423:230;;:::o;32738:120::-;31750:7;;;;32274:41;;;;-1:-1:-1;;;32274:41:0;;7744:2:1;32274:41:0;;;7726:21:1;7783:2;7763:18;;;7756:30;-1:-1:-1;;;7802:18:1;;;7795:50;7862:18;;32274:41:0;7716:170:1;32274:41:0;32797:7:::1;:15:::0;;-1:-1:-1;;32797:15:0::1;::::0;;32828:22:::1;6039:10:::0;32837:12:::1;32828:22;::::0;-1:-1:-1;;;;;4125:32:1;;;4107:51;;4095:2;4080:18;32828:22:0::1;;;;;;;32738:120::o:0;32479:118::-;31750:7;;;;32004:9;31996:38;;;;-1:-1:-1;;;31996:38:0;;10366:2:1;31996:38:0;;;10348:21:1;10405:2;10385:18;;;10378:30;-1:-1:-1;;;10424:18:1;;;10417:46;10480:18;;31996:38:0;10338:166:1;31996:38:0;32539:7:::1;:14:::0;;-1:-1:-1;;32539:14:0::1;32549:4;32539:14;::::0;;32569:20:::1;32576:12;6039:10:::0;;5959:98;30481:207;-1:-1:-1;;;;;30602:14:0;;30541:15;30602:14;;;:7;:14;;;;;27468;;27605:1;27587:19;;;;27468:14;30663:17;30481:207;;;;:::o;26471:167::-;26548:7;26575:55;26597:20;:18;:20::i;:::-;26619:10;22187:57;;-1:-1:-1;;;22187:57:0;;;3031:27:1;3074:11;;;3067:27;;;3110:12;;;3103:28;;;22150:7:0;;3147:12:1;;22187:57:0;;;;;;;;;;;;22177:68;;;;;;22170:75;;22057:196;;;;;19706:1432;19791:7;20716:66;20702:80;;;20694:127;;;;-1:-1:-1;;;20694:127:0;;9963:2:1;20694:127:0;;;9945:21:1;10002:2;9982:18;;;9975:30;10041:34;10021:18;;;10014:62;-1:-1:-1;;;10092:18:1;;;10085:32;10134:19;;20694:127:0;9935:224:1;20694:127:0;20840:1;:7;;20845:2;20840:7;:18;;;;20851:1;:7;;20856:2;20851:7;20840:18;20832:65;;;;-1:-1:-1;;;20832:65:0;;11061:2:1;20832:65:0;;;11043:21:1;11100:2;11080:18;;;11073:30;11139:34;11119:18;;;11112:62;-1:-1:-1;;;11190:18:1;;;11183:32;11232:19;;20832:65:0;11033:224:1;20832:65:0;21012:24;;;20995:14;21012:24;;;;;;;;;5860:25:1;;;5933:4;5921:17;;5901:18;;;5894:45;;;;5955:18;;;5948:34;;;5998:18;;;5991:34;;;21012:24:0;;5832:19:1;;21012:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21012:24:0;;-1:-1:-1;;21012:24:0;;;-1:-1:-1;;;;;;;21055:20:0;;21047:57;;;;-1:-1:-1;;;21047:57:0;;6626:2:1;21047:57:0;;;6608:21:1;6665:2;6645:18;;;6638:30;6704:26;6684:18;;;6677:54;6748:18;;21047:57:0;6598:174:1;21047:57:0;21124:6;19706:1432;-1:-1:-1;;;;;19706:1432:0:o;49415:279::-;49584:5;;-1:-1:-1;;;;;49576:13:0;;;49584:5;;49576:13;49572:52;;;49415:279;;;:::o;49572:52::-;49634;49669:4;49675:2;49679:6;49634:34;:52::i;35114:447::-;35189:13;35215:19;35247:10;35251:6;35247:1;:10;:::i;:::-;:14;;35260:1;35247:14;:::i;:::-;35237:25;;;;;;-1:-1:-1;;;35237:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35237:25:0;;35215:47;;-1:-1:-1;;;35273:6:0;35280:1;35273:9;;;;;;-1:-1:-1;;;35273:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;35273:15:0;;;;;;;;;-1:-1:-1;;;35299:6:0;35306:1;35299:9;;;;;;-1:-1:-1;;;35299:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;35299:15:0;;;;;;;;-1:-1:-1;35330:9:0;35342:10;35346:6;35342:1;:10;:::i;:::-;:14;;35355:1;35342:14;:::i;:::-;35330:26;;35325:131;35362:1;35358;:5;35325:131;;;-1:-1:-1;;;35406:5:0;35414:3;35406:11;35397:21;;;;;-1:-1:-1;;;35397:21:0;;;;;;;;;;;;35385:6;35392:1;35385:9;;;;;;-1:-1:-1;;;35385:9:0;;;;;;;;;;;;:33;-1:-1:-1;;;;;35385:33:0;;;;;;;;-1:-1:-1;35443:1:0;35433:11;;;;;35365:3;;;:::i;:::-;;;35325:131;;;-1:-1:-1;35474:10:0;;35466:55;;;;-1:-1:-1;;;35466:55:0;;6979:2:1;35466:55:0;;;6961:21:1;;;6998:18;;;6991:30;7057:34;7037:18;;;7030:62;7109:18;;35466:55:0;6951:182:1;35466:55:0;35546:6;35114:447;-1:-1:-1;;;35114:447:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:713::-;1122:6;1130;1138;1146;1154;1162;1170;1223:3;1211:9;1202:7;1198:23;1194:33;1191:2;;;1245:6;1237;1230:22;1191:2;1273:29;1292:9;1273:29;:::i;:::-;1263:39;;1321:38;1355:2;1344:9;1340:18;1321:38;:::i;:::-;1311:48;;1406:2;1395:9;1391:18;1378:32;1368:42;;1457:2;1446:9;1442:18;1429:32;1419:42;;1511:3;1500:9;1496:19;1483:33;1556:4;1549:5;1545:16;1538:5;1535:27;1525:2;;1581:6;1573;1566:22;1525:2;1181:543;;;;-1:-1:-1;1181:543:1;;;;1609:5;1661:3;1646:19;;1633:33;;-1:-1:-1;1713:3:1;1698:19;;;1685:33;;1181:543;-1:-1:-1;;1181:543:1:o;1729:264::-;1797:6;1805;1858:2;1846:9;1837:7;1833:23;1829:32;1826:2;;;1879:6;1871;1864:22;1826:2;1907:29;1926:9;1907:29;:::i;:::-;1897:39;1983:2;1968:18;;;;1955:32;;-1:-1:-1;;;1816:177:1:o;1998:190::-;2057:6;2110:2;2098:9;2089:7;2085:23;2081:32;2078:2;;;2131:6;2123;2116:22;2078:2;-1:-1:-1;2159:23:1;;2068:120;-1:-1:-1;2068:120:1:o;2193:264::-;2261:6;2269;2322:2;2310:9;2301:7;2297:23;2293:32;2290:2;;;2343:6;2335;2328:22;2290:2;2384:9;2371:23;2361:33;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;2462:306::-;2520:6;2573:2;2561:9;2552:7;2548:23;2544:32;2541:2;;;2594:6;2586;2579:22;2541:2;2625:23;;-1:-1:-1;;;;;;2677:32:1;;2667:43;;2657:2;;2729:6;2721;2714:22;3170:786;3581:25;3576:3;3569:38;3551:3;3636:6;3630:13;3652:62;3707:6;3702:2;3697:3;3693:12;3686:4;3678:6;3674:17;3652:62;:::i;:::-;-1:-1:-1;;;3773:2:1;3733:16;;;3765:11;;;3758:40;3823:13;;3845:63;3823:13;3894:2;3886:11;;3879:4;3867:17;;3845:63;:::i;:::-;3928:17;3947:2;3924:26;;3559:397;-1:-1:-1;;;;3559:397:1:o;6036:383::-;6185:2;6174:9;6167:21;6148:4;6217:6;6211:13;6260:6;6255:2;6244:9;6240:18;6233:34;6276:66;6335:6;6330:2;6319:9;6315:18;6310:2;6302:6;6298:15;6276:66;:::i;:::-;6403:2;6382:15;-1:-1:-1;;6378:29:1;6363:45;;;;6410:2;6359:54;;6157:262;-1:-1:-1;;6157:262:1:o;12387:344::-;12589:2;12571:21;;;12628:2;12608:18;;;12601:30;-1:-1:-1;;;12662:2:1;12647:18;;12640:50;12722:2;12707:18;;12561:170::o;15862:128::-;15902:3;15933:1;15929:6;15926:1;15923:13;15920:2;;;15939:18;;:::i;:::-;-1:-1:-1;15975:9:1;;15910:80::o;15995:168::-;16035:7;16101:1;16097;16093:6;16089:14;16086:1;16083:21;16078:1;16071:9;16064:17;16060:45;16057:2;;;16108:18;;:::i;:::-;-1:-1:-1;16148:9:1;;16047:116::o;16168:125::-;16208:4;16236:1;16233;16230:8;16227:2;;;16241:18;;:::i;:::-;-1:-1:-1;16278:9:1;;16217:76::o;16298:258::-;16370:1;16380:113;16394:6;16391:1;16388:13;16380:113;;;16470:11;;;16464:18;16451:11;;;16444:39;16416:2;16409:10;16380:113;;;16511:6;16508:1;16505:13;16502:2;;;16546:1;16537:6;16532:3;16528:16;16521:27;16502:2;;16351:205;;;:::o;16561:136::-;16600:3;16628:5;16618:2;;16637:18;;:::i;:::-;-1:-1:-1;;;16673:18:1;;16608:89::o;16702:380::-;16781:1;16777:12;;;;16824;;;16845:2;;16899:4;16891:6;16887:17;16877:27;;16845:2;16952;16944:6;16941:14;16921:18;16918:38;16915:2;;;16998:10;16993:3;16989:20;16986:1;16979:31;17033:4;17030:1;17023:15;17061:4;17058:1;17051:15;17087:127;17148:10;17143:3;17139:20;17136:1;17129:31;17179:4;17176:1;17169:15;17203:4;17200:1;17193:15

Swarm Source

ipfs://e9746e14e5c29feb3a14eeb56fef091585636273aed597b8eec38c381165258b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Idexo has built a cross-chain NFT API that users can use to build NFTs and Marketplaces into their applications in just a few lines of code and a simplified economic model that enables transactions to happen with just an API key.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.