MATIC Price: $0.736091 (-0.43%)
Gas: 30 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

LunaFi (LFI) (@$0.00)

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Value
Transfer574706942024-05-28 1:10:4218 hrs ago1716858642IN
LunaFi: LFI Token
0 MATIC0.0011682430.10000008
Approve574642042024-05-27 21:08:4322 hrs ago1716844123IN
LunaFi: LFI Token
0 MATIC0.00699417150.00919874
Transfer574324902024-05-27 1:19:2142 hrs ago1716772761IN
LunaFi: LFI Token
0 MATIC0.0012070531.10000008
Approve574012122024-05-26 5:41:202 days ago1716702080IN
LunaFi: LFI Token
0 MATIC0.0007902330.00000011
Approve574012012024-05-26 5:40:582 days ago1716702058IN
LunaFi: LFI Token
0 MATIC0.0007302330.00000012
Transfer573938912024-05-26 1:02:492 days ago1716685369IN
LunaFi: LFI Token
0 MATIC0.0011682430.10000003
Transfer573626182024-05-25 5:28:483 days ago1716614928IN
LunaFi: LFI Token
0 MATIC0.0011643630.0000001
Transfer573245522024-05-24 5:52:034 days ago1716529923IN
LunaFi: LFI Token
0 MATIC0.0023173459.70704297
Transfer572959592024-05-23 11:54:575 days ago1716465297IN
LunaFi: LFI Token
0 MATIC0.0029507776.02740349
Transfer572437302024-05-22 2:31:146 days ago1716345074IN
LunaFi: LFI Token
0 MATIC0.0011721230.20000428
Approve571961932024-05-20 20:17:077 days ago1716236227IN
LunaFi: LFI Token
0 MATIC0.00854651183.30331512
Transfer571961162024-05-20 20:14:237 days ago1716236063IN
LunaFi: LFI Token
0 MATIC0.0045292688.55221911
Approve571691572024-05-20 3:16:588 days ago1716175018IN
LunaFi: LFI Token
0 MATIC0.0014010830.05000009
Transfer571660782024-05-20 1:22:408 days ago1716168160IN
LunaFi: LFI Token
0 MATIC0.0012031731.00000008
Transfer571275532024-05-19 0:59:029 days ago1716080342IN
LunaFi: LFI Token
0 MATIC0.00117630.30000016
Approve571229452024-05-18 22:01:339 days ago1716069693IN
LunaFi: LFI Token
0 MATIC0.00699375150.00000002
Transfer570962012024-05-18 5:04:5610 days ago1716008696IN
LunaFi: LFI Token
0 MATIC0.001424436.70000762
Approve570616982024-05-17 6:52:0311 days ago1715928723IN
LunaFi: LFI Token
0 MATIC0.0021680146.76370273
Transfer570524192024-05-17 0:44:3311 days ago1715906673IN
LunaFi: LFI Token
0 MATIC0.00117630.30002288
Transfer570181452024-05-16 2:23:3112 days ago1715826211IN
LunaFi: LFI Token
0 MATIC0.0012963233.40001636
Transfer569789502024-05-15 1:29:0913 days ago1715736549IN
LunaFi: LFI Token
0 MATIC0.0012050331.04803646
Transfer569425802024-05-14 2:24:3214 days ago1715653472IN
LunaFi: LFI Token
0 MATIC0.00117630.30000005
Transfer569030052024-05-13 2:07:0015 days ago1715566020IN
LunaFi: LFI Token
0 MATIC0.00397046102.30000016
Transfer568648792024-05-12 2:25:4916 days ago1715480749IN
LunaFi: LFI Token
0 MATIC0.00117630.30000004
Approve568521822024-05-11 18:45:0617 days ago1715453106IN
LunaFi: LFI Token
0 MATIC0.00699375150.00000003
View all transactions

Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LFIToken

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-07-28
*/

// Sources flattened with hardhat v2.10.1 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

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

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

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

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

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


// File @openzeppelin/contracts/security/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @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 Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        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());
    }
}


// File @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. 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.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // 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) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @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) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @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) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

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

    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);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

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

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, 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);
    }
}


// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. 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;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;





/**
 * @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 constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

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


// File contracts/ChildNonMintable.sol

pragma solidity 0.8.10;




abstract contract BPContract {
    function protect(address sender, address receiver, uint256 amount) external virtual;
}
/// @notice LunaFI Token contract
contract LFIToken is
    ERC20,
    Pausable,
    ERC20Permit,
    AccessControl
{
    string constant TOKEN_NAME = "LunaFi";
    string constant TOKEN_SYMBOL = "LFI";

    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE");

    uint8 internal constant DECIMAL_PLACES = 18;

    BPContract public BP;
    bool public bpEnabled;
    bool public BPDisabledForever = false;

    address public childChainManagerProxy;

    constructor(address _childChainManagerProxy) ERC20(TOKEN_NAME, TOKEN_SYMBOL) ERC20Permit(TOKEN_NAME) {
        childChainManagerProxy = _childChainManagerProxy;

        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MANAGER_ROLE, msg.sender);
    }
    /// @notice Function to set the Bot Protection addresss
    /// @param _bp bot protection contract address
    function setBPAddress(address _bp) external onlyRole(MANAGER_ROLE){
        require(address(BP) == address(0),"can only be initialized once");
        BP = BPContract(_bp);
    }
    /// @notice Function to enable or disable bot protection
    /// @param _enabled - trur or false to enable or disable the bot protection
    function setBpEnabled(bool _enabled) external onlyRole(MANAGER_ROLE) {
        bpEnabled = _enabled;
    }
    /// @notice Function to disable bot protection for ever
    function setBotProtectionDisableForever() external onlyRole(MANAGER_ROLE) {
        require(BPDisabledForever == false);
        BPDisabledForever = true;
    }
    /// @notice Function to pause contract operations
    function pause() external onlyRole(PAUSER_ROLE) returns (bool) {
        _pause();
        return true;
    }
    /// @notice Function to unpause contract operations
    function unpause() external onlyRole(PAUSER_ROLE) returns (bool) {
        _unpause();
        return true;
    }
    // Function to retunr decimals
    function decimals() public pure override returns (uint8) {
        return DECIMAL_PLACES;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return super.balanceOf(account);
    }
    /// @notice Internal _beforeTokenTransfer function
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20) whenNotPaused {
        if(bpEnabled && !BPDisabledForever) {
            BP.protect(from,to,amount);
        }
        super._beforeTokenTransfer(from, to, amount);
    }
    /// @notice Internal _afterTokenTransfer function
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20) {
        super._afterTokenTransfer(from, to, amount);
    }

    function deposit(address user, bytes calldata depositData) external {
        require(msg.sender == childChainManagerProxy, "You're not allowed to deposit");
        uint256 amount = abi.decode(depositData, (uint256));
        _mint(user, amount);
    }

    function withdraw(uint256 amount) external {
        _burn(_msgSender(), amount);
    } 

    function burn(uint256 amount) public {
        _burn(msg.sender, amount);
    }    
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_childChainManagerProxy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"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":"BP","outputs":[{"internalType":"contract BPContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BPDisabledForever","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"bpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"childChainManagerProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bp","type":"address"}],"name":"setBPAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBotProtectionDisableForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBpEnabled","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040526009805460ff60a81b191690553480156200001f57600080fd5b50604051620022a9380380620022a983398101604081905262000042916200032c565b604051806040016040528060068152602001654c756e61466960d01b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060068152602001654c756e61466960d01b815250604051806040016040528060038152602001624c464960e81b8152508160039080519060200190620000cf92919062000286565b508051620000e590600490602084019062000286565b50506005805460ff1916905550815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060c052610120525050600a80546001600160a01b0319166001600160a01b03861617905550620001ae91506000905033620001e1565b620001da7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0833620001e1565b506200039b565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16620002825760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002413390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b82805462000294906200035e565b90600052602060002090601f016020900481019282620002b8576000855562000303565b82601f10620002d357805160ff191683800117855562000303565b8280016001018555821562000303579182015b8281111562000303578251825591602001919060010190620002e6565b506200031192915062000315565b5090565b5b8082111562000311576000815560010162000316565b6000602082840312156200033f57600080fd5b81516001600160a01b03811681146200035757600080fd5b9392505050565b600181811c908216806200037357607f821691505b602082108114156200039557634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051611ebe620003eb6000396000611155015260006111a40152600061117f015260006110d8015260006111020152600061112c0152611ebe6000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c806362f629e711610125578063a9059cbb116100ad578063d505accf1161007c578063d505accf14610453578063d547741f14610466578063dd62ed3e14610479578063e63ab1e91461048c578063ec87621c146104b357600080fd5b8063a9059cbb14610412578063c818c28014610425578063cf2c52cb1461042d578063d39b7e4f1461044057600080fd5b806391d14854116100f457806391d14854146103c957806395d89b41146103dc5780639cfdbd5e146103e4578063a217fddf146103f7578063a457c2d7146103ff57600080fd5b806362f629e71461037057806370a082311461039b5780637ecebe00146103ae5780638456cb59146103c157600080fd5b80632f2ff15d116101a857806336568abe1161017757806336568abe14610337578063395093511461034a5780633f4ba83a1461035d57806342966c68146102e65780635c975abb1461036557600080fd5b80632f2ff15d146102f9578063313ce5671461030c578063346168051461031b5780633644e5151461032f57600080fd5b8063206a8a22116101ef578063206a8a221461028757806323b872dd1461029c578063248a9ca3146102af57806326898da9146102d25780632e1a7d4d146102e657600080fd5b806301ffc9a71461022157806306fdde0314610249578063095ea7b31461025e57806318160ddd14610271575b600080fd5b61023461022f366004611a54565b6104c8565b60405190151581526020015b60405180910390f35b6102516104ff565b6040516102409190611aaa565b61023461026c366004611af9565b610591565b6102796105a9565b604051908152602001610240565b61029a610295366004611b23565b6105b9565b005b6102346102aa366004611b45565b6105f0565b6102796102bd366004611b81565b60009081526008602052604090206001015490565b60095461023490600160a01b900460ff1681565b61029a6102f4366004611b81565b610614565b61029a610307366004611b9a565b610621565b60405160128152602001610240565b60095461023490600160a81b900460ff1681565b61027961064b565b61029a610345366004611b9a565b610655565b610234610358366004611af9565b6106d8565b6102346106fa565b60055460ff16610234565b600a54610383906001600160a01b031681565b6040516001600160a01b039091168152602001610240565b6102796103a9366004611bc6565b610736565b6102796103bc366004611bc6565b610754565b610234610772565b6102346103d7366004611b9a565b6107a6565b6102516107d1565b600954610383906001600160a01b031681565b610279600081565b61023461040d366004611af9565b6107e0565b610234610420366004611af9565b61085b565b61029a610869565b61029a61043b366004611be1565b6108ae565b61029a61044e366004611bc6565b610928565b61029a610461366004611c64565b6109bc565b61029a610474366004611b9a565b610b20565b610279610487366004611cd7565b610b45565b6102797f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b610279600080516020611e6983398151915281565b60006001600160e01b03198216637965db0b60e01b14806104f957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461050e90611d01565b80601f016020809104026020016040519081016040528092919081815260200182805461053a90611d01565b80156105875780601f1061055c57610100808354040283529160200191610587565b820191906000526020600020905b81548152906001019060200180831161056a57829003601f168201915b5050505050905090565b60003361059f818585610b70565b5060019392505050565b60006105b460025490565b905090565b600080516020611e698339815191526105d181610c94565b5060098054911515600160a01b0260ff60a01b19909216919091179055565b6000336105fe858285610c9e565b610609858585610d12565b506001949350505050565b61061e3382610eeb565b50565b60008281526008602052604090206001015461063c81610c94565b6106468383611045565b505050565b60006105b46110cb565b6001600160a01b03811633146106ca5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106d482826111f2565b5050565b60003361059f8185856106eb8383610b45565b6106f59190611d4c565b610b70565b60007f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61072681610c94565b61072e611259565b600191505090565b6001600160a01b0381166000908152602081905260408120546104f9565b6001600160a01b0381166000908152600660205260408120546104f9565b60007f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61079e81610c94565b61072e6112ab565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461050e90611d01565b600033816107ee8286610b45565b90508381101561084e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c1565b6106098286868403610b70565b60003361059f818585610d12565b600080516020611e6983398151915261088181610c94565b600954600160a81b900460ff161561089857600080fd5b506009805460ff60a81b1916600160a81b179055565b600a546001600160a01b031633146109085760405162461bcd60e51b815260206004820152601d60248201527f596f75277265206e6f7420616c6c6f77656420746f206465706f73697400000060448201526064016106c1565b600061091682840184611b81565b905061092284826112e8565b50505050565b600080516020611e6983398151915261094081610c94565b6009546001600160a01b0316156109995760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c7920626520696e697469616c697a6564206f6e63650000000060448201526064016106c1565b50600980546001600160a01b0319166001600160a01b0392909216919091179055565b83421115610a0c5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106c1565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610a3b8c6113d3565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610a96826113fb565b90506000610aa682878787611449565b9050896001600160a01b0316816001600160a01b031614610b095760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106c1565b610b148a8a8a610b70565b50505050505050505050565b600082815260086020526040902060010154610b3b81610c94565b61064683836111f2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610bd25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c1565b6001600160a01b038216610c335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61061e8133611471565b6000610caa8484610b45565b905060001981146109225781811015610d055760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c1565b6109228484848403610b70565b6001600160a01b038316610d765760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c1565b6001600160a01b038216610dd85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c1565b610de38383836114d5565b6001600160a01b03831660009081526020819052604090205481811015610e5b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e92908490611d4c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ede91815260200190565b60405180910390a3610922565b6001600160a01b038216610f4b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106c1565b610f57826000836114d5565b6001600160a01b03821660009081526020819052604090205481811015610fcb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106c1565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610ffa908490611d64565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61104f82826107a6565b6106d45760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110873390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561112457507f000000000000000000000000000000000000000000000000000000000000000046145b1561114e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6111fc82826107a6565b156106d45760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611261611578565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6112b36115c3565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861128e3390565b6001600160a01b03821661133e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106c1565b61134a600083836114d5565b806002600082825461135c9190611d4c565b90915550506001600160a01b03821660009081526020819052604081208054839290611389908490611d4c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b60006104f96114086110cb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061145a87878787611609565b91509150611467816116f6565b5095945050505050565b61147b82826107a6565b6106d457611493816001600160a01b031660146118b1565b61149e8360206118b1565b6040516020016114af929190611d7b565b60408051601f198184030181529082905262461bcd60e51b82526106c191600401611aaa565b6114dd6115c3565b600954600160a01b900460ff1680156115005750600954600160a81b900460ff16155b1561064657600954604051637e2f3afd60e01b81526001600160a01b03858116600483015284811660248301526044820184905290911690637e2f3afd90606401600060405180830381600087803b15801561155b57600080fd5b505af115801561156f573d6000803e3d6000fd5b50505050505050565b60055460ff166115c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106c1565b565b60055460ff16156115c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106c1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561164057506000905060036116ed565b8460ff16601b1415801561165857508460ff16601c14155b1561166957506000905060046116ed565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156116bd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116e6576000600192509250506116ed565b9150600090505b94509492505050565b600081600481111561170a5761170a611df0565b14156117135750565b600181600481111561172757611727611df0565b14156117755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106c1565b600281600481111561178957611789611df0565b14156117d75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106c1565b60038160048111156117eb576117eb611df0565b14156118445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106c1565b600481600481111561185857611858611df0565b141561061e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106c1565b606060006118c0836002611e06565b6118cb906002611d4c565b67ffffffffffffffff8111156118e3576118e3611e25565b6040519080825280601f01601f19166020018201604052801561190d576020820181803683370190505b509050600360fc1b8160008151811061192857611928611e3b565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061195757611957611e3b565b60200101906001600160f81b031916908160001a905350600061197b846002611e06565b611986906001611d4c565b90505b60018111156119fe576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106119ba576119ba611e3b565b1a60f81b8282815181106119d0576119d0611e3b565b60200101906001600160f81b031916908160001a90535060049490941c936119f781611e51565b9050611989565b508315611a4d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106c1565b9392505050565b600060208284031215611a6657600080fd5b81356001600160e01b031981168114611a4d57600080fd5b60005b83811015611a99578181015183820152602001611a81565b838111156109225750506000910152565b6020815260008251806020840152611ac9816040850160208701611a7e565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611af457600080fd5b919050565b60008060408385031215611b0c57600080fd5b611b1583611add565b946020939093013593505050565b600060208284031215611b3557600080fd5b81358015158114611a4d57600080fd5b600080600060608486031215611b5a57600080fd5b611b6384611add565b9250611b7160208501611add565b9150604084013590509250925092565b600060208284031215611b9357600080fd5b5035919050565b60008060408385031215611bad57600080fd5b82359150611bbd60208401611add565b90509250929050565b600060208284031215611bd857600080fd5b611a4d82611add565b600080600060408486031215611bf657600080fd5b611bff84611add565b9250602084013567ffffffffffffffff80821115611c1c57600080fd5b818601915086601f830112611c3057600080fd5b813581811115611c3f57600080fd5b876020828501011115611c5157600080fd5b6020830194508093505050509250925092565b600080600080600080600060e0888a031215611c7f57600080fd5b611c8888611add565b9650611c9660208901611add565b95506040880135945060608801359350608088013560ff81168114611cba57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611cea57600080fd5b611cf383611add565b9150611bbd60208401611add565b600181811c90821680611d1557607f821691505b602082108114156113f557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611d5f57611d5f611d36565b500190565b600082821015611d7657611d76611d36565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611db3816017850160208801611a7e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611de4816028840160208801611a7e565b01602801949350505050565b634e487b7160e01b600052602160045260246000fd5b6000816000190483118215151615611e2057611e20611d36565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611e6057611e60611d36565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a2646970667358221220f1542cefb2ea4be7ad5dd90cd6128a3d5a6ea9b728636a6e0fea3115e94d2f9b64736f6c634300080a0033000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c806362f629e711610125578063a9059cbb116100ad578063d505accf1161007c578063d505accf14610453578063d547741f14610466578063dd62ed3e14610479578063e63ab1e91461048c578063ec87621c146104b357600080fd5b8063a9059cbb14610412578063c818c28014610425578063cf2c52cb1461042d578063d39b7e4f1461044057600080fd5b806391d14854116100f457806391d14854146103c957806395d89b41146103dc5780639cfdbd5e146103e4578063a217fddf146103f7578063a457c2d7146103ff57600080fd5b806362f629e71461037057806370a082311461039b5780637ecebe00146103ae5780638456cb59146103c157600080fd5b80632f2ff15d116101a857806336568abe1161017757806336568abe14610337578063395093511461034a5780633f4ba83a1461035d57806342966c68146102e65780635c975abb1461036557600080fd5b80632f2ff15d146102f9578063313ce5671461030c578063346168051461031b5780633644e5151461032f57600080fd5b8063206a8a22116101ef578063206a8a221461028757806323b872dd1461029c578063248a9ca3146102af57806326898da9146102d25780632e1a7d4d146102e657600080fd5b806301ffc9a71461022157806306fdde0314610249578063095ea7b31461025e57806318160ddd14610271575b600080fd5b61023461022f366004611a54565b6104c8565b60405190151581526020015b60405180910390f35b6102516104ff565b6040516102409190611aaa565b61023461026c366004611af9565b610591565b6102796105a9565b604051908152602001610240565b61029a610295366004611b23565b6105b9565b005b6102346102aa366004611b45565b6105f0565b6102796102bd366004611b81565b60009081526008602052604090206001015490565b60095461023490600160a01b900460ff1681565b61029a6102f4366004611b81565b610614565b61029a610307366004611b9a565b610621565b60405160128152602001610240565b60095461023490600160a81b900460ff1681565b61027961064b565b61029a610345366004611b9a565b610655565b610234610358366004611af9565b6106d8565b6102346106fa565b60055460ff16610234565b600a54610383906001600160a01b031681565b6040516001600160a01b039091168152602001610240565b6102796103a9366004611bc6565b610736565b6102796103bc366004611bc6565b610754565b610234610772565b6102346103d7366004611b9a565b6107a6565b6102516107d1565b600954610383906001600160a01b031681565b610279600081565b61023461040d366004611af9565b6107e0565b610234610420366004611af9565b61085b565b61029a610869565b61029a61043b366004611be1565b6108ae565b61029a61044e366004611bc6565b610928565b61029a610461366004611c64565b6109bc565b61029a610474366004611b9a565b610b20565b610279610487366004611cd7565b610b45565b6102797f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b610279600080516020611e6983398151915281565b60006001600160e01b03198216637965db0b60e01b14806104f957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461050e90611d01565b80601f016020809104026020016040519081016040528092919081815260200182805461053a90611d01565b80156105875780601f1061055c57610100808354040283529160200191610587565b820191906000526020600020905b81548152906001019060200180831161056a57829003601f168201915b5050505050905090565b60003361059f818585610b70565b5060019392505050565b60006105b460025490565b905090565b600080516020611e698339815191526105d181610c94565b5060098054911515600160a01b0260ff60a01b19909216919091179055565b6000336105fe858285610c9e565b610609858585610d12565b506001949350505050565b61061e3382610eeb565b50565b60008281526008602052604090206001015461063c81610c94565b6106468383611045565b505050565b60006105b46110cb565b6001600160a01b03811633146106ca5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106d482826111f2565b5050565b60003361059f8185856106eb8383610b45565b6106f59190611d4c565b610b70565b60007f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61072681610c94565b61072e611259565b600191505090565b6001600160a01b0381166000908152602081905260408120546104f9565b6001600160a01b0381166000908152600660205260408120546104f9565b60007f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61079e81610c94565b61072e6112ab565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461050e90611d01565b600033816107ee8286610b45565b90508381101561084e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c1565b6106098286868403610b70565b60003361059f818585610d12565b600080516020611e6983398151915261088181610c94565b600954600160a81b900460ff161561089857600080fd5b506009805460ff60a81b1916600160a81b179055565b600a546001600160a01b031633146109085760405162461bcd60e51b815260206004820152601d60248201527f596f75277265206e6f7420616c6c6f77656420746f206465706f73697400000060448201526064016106c1565b600061091682840184611b81565b905061092284826112e8565b50505050565b600080516020611e6983398151915261094081610c94565b6009546001600160a01b0316156109995760405162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c7920626520696e697469616c697a6564206f6e63650000000060448201526064016106c1565b50600980546001600160a01b0319166001600160a01b0392909216919091179055565b83421115610a0c5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106c1565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610a3b8c6113d3565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610a96826113fb565b90506000610aa682878787611449565b9050896001600160a01b0316816001600160a01b031614610b095760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106c1565b610b148a8a8a610b70565b50505050505050505050565b600082815260086020526040902060010154610b3b81610c94565b61064683836111f2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610bd25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c1565b6001600160a01b038216610c335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61061e8133611471565b6000610caa8484610b45565b905060001981146109225781811015610d055760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c1565b6109228484848403610b70565b6001600160a01b038316610d765760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c1565b6001600160a01b038216610dd85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c1565b610de38383836114d5565b6001600160a01b03831660009081526020819052604090205481811015610e5b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e92908490611d4c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ede91815260200190565b60405180910390a3610922565b6001600160a01b038216610f4b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106c1565b610f57826000836114d5565b6001600160a01b03821660009081526020819052604090205481811015610fcb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106c1565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610ffa908490611d64565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61104f82826107a6565b6106d45760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110873390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f00000000000000000000000077d97db5615dfe8a2d16b38eaa3f8f34524a0a741614801561112457507f000000000000000000000000000000000000000000000000000000000000008946145b1561114e57507f16717b98177f9127d41386c4abaee913e482e45d913e44d394e92bab26848d7890565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f4dfa3667a3a69be54c36625b2074b58cdb7c48c5a566d6919961909c3737f8ba828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6111fc82826107a6565b156106d45760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611261611578565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6112b36115c3565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861128e3390565b6001600160a01b03821661133e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106c1565b61134a600083836114d5565b806002600082825461135c9190611d4c565b90915550506001600160a01b03821660009081526020819052604081208054839290611389908490611d4c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b60006104f96114086110cb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061145a87878787611609565b91509150611467816116f6565b5095945050505050565b61147b82826107a6565b6106d457611493816001600160a01b031660146118b1565b61149e8360206118b1565b6040516020016114af929190611d7b565b60408051601f198184030181529082905262461bcd60e51b82526106c191600401611aaa565b6114dd6115c3565b600954600160a01b900460ff1680156115005750600954600160a81b900460ff16155b1561064657600954604051637e2f3afd60e01b81526001600160a01b03858116600483015284811660248301526044820184905290911690637e2f3afd90606401600060405180830381600087803b15801561155b57600080fd5b505af115801561156f573d6000803e3d6000fd5b50505050505050565b60055460ff166115c15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106c1565b565b60055460ff16156115c15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106c1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561164057506000905060036116ed565b8460ff16601b1415801561165857508460ff16601c14155b1561166957506000905060046116ed565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156116bd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116e6576000600192509250506116ed565b9150600090505b94509492505050565b600081600481111561170a5761170a611df0565b14156117135750565b600181600481111561172757611727611df0565b14156117755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106c1565b600281600481111561178957611789611df0565b14156117d75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106c1565b60038160048111156117eb576117eb611df0565b14156118445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106c1565b600481600481111561185857611858611df0565b141561061e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106c1565b606060006118c0836002611e06565b6118cb906002611d4c565b67ffffffffffffffff8111156118e3576118e3611e25565b6040519080825280601f01601f19166020018201604052801561190d576020820181803683370190505b509050600360fc1b8160008151811061192857611928611e3b565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061195757611957611e3b565b60200101906001600160f81b031916908160001a905350600061197b846002611e06565b611986906001611d4c565b90505b60018111156119fe576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106119ba576119ba611e3b565b1a60f81b8282815181106119d0576119d0611e3b565b60200101906001600160f81b031916908160001a90535060049490941c936119f781611e51565b9050611989565b508315611a4d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106c1565b9392505050565b600060208284031215611a6657600080fd5b81356001600160e01b031981168114611a4d57600080fd5b60005b83811015611a99578181015183820152602001611a81565b838111156109225750506000910152565b6020815260008251806020840152611ac9816040850160208701611a7e565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611af457600080fd5b919050565b60008060408385031215611b0c57600080fd5b611b1583611add565b946020939093013593505050565b600060208284031215611b3557600080fd5b81358015158114611a4d57600080fd5b600080600060608486031215611b5a57600080fd5b611b6384611add565b9250611b7160208501611add565b9150604084013590509250925092565b600060208284031215611b9357600080fd5b5035919050565b60008060408385031215611bad57600080fd5b82359150611bbd60208401611add565b90509250929050565b600060208284031215611bd857600080fd5b611a4d82611add565b600080600060408486031215611bf657600080fd5b611bff84611add565b9250602084013567ffffffffffffffff80821115611c1c57600080fd5b818601915086601f830112611c3057600080fd5b813581811115611c3f57600080fd5b876020828501011115611c5157600080fd5b6020830194508093505050509250925092565b600080600080600080600060e0888a031215611c7f57600080fd5b611c8888611add565b9650611c9660208901611add565b95506040880135945060608801359350608088013560ff81168114611cba57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611cea57600080fd5b611cf383611add565b9150611bbd60208401611add565b600181811c90821680611d1557607f821691505b602082108114156113f557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611d5f57611d5f611d36565b500190565b600082821015611d7657611d76611d36565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611db3816017850160208801611a7e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611de4816028840160208801611a7e565b01602801949350505050565b634e487b7160e01b600052602160045260246000fd5b6000816000190483118215151615611e2057611e20611d36565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611e6057611e60611d36565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a2646970667358221220f1542cefb2ea4be7ad5dd90cd6128a3d5a6ea9b728636a6e0fea3115e94d2f9b64736f6c634300080a0033

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

000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa

-----Decoded View---------------
Arg [0] : _childChainManagerProxy (address): 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa


Deployed Bytecode Sourcemap

57637:3518:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30315:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;30315:204:0;;;;;;;;6775:100;;;:::i;:::-;;;;;;;:::i;9126:201::-;;;;;;:::i;:::-;;:::i;59773:107::-;;;:::i;:::-;;;1731:25:1;;;1719:2;1704:18;59773:107:0;1585:177:1;58879:108:0;;;;;;:::i;:::-;;:::i;:::-;;9907:295;;;;;;:::i;:::-;;:::i;32151:131::-;;;;;;:::i;:::-;32225:7;32252:12;;;:6;:12;;;;;:22;;;;32151:131;58040:21;;;;;-1:-1:-1;;;58040:21:0;;;;;;60963:89;;;;;;:::i;:::-;;:::i;32592:147::-;;;;;;:::i;:::-;;:::i;59611:97::-;;;58002:2;3331:36:1;;3319:2;3304:18;59611:97:0;3189:184:1;58068:37:0;;;;;-1:-1:-1;;;58068:37:0;;;;;;56933:115;;;:::i;33736:218::-;;;;;;:::i;:::-;;:::i;10611:238::-;;;;;;:::i;:::-;;:::i;59453:116::-;;;:::i;19240:86::-;19311:7;;;;19240:86;;58114:37;;;;;-1:-1:-1;;;;;58114:37:0;;;;;;-1:-1:-1;;;;;3542:32:1;;;3524:51;;3512:2;3497:18;58114:37:0;3378:203:1;59943:125:0;;;;;;:::i;:::-;;:::i;56675:128::-;;;;;;:::i;:::-;;:::i;59278:112::-;;;:::i;30611:147::-;;;;;;:::i;:::-;;:::i;6994:104::-;;;:::i;58013:20::-;;;;;-1:-1:-1;;;;;58013:20:0;;;29716:49;;29761:4;29716:49;;11352:436;;;;;;:::i;:::-;;:::i;8399:193::-;;;;;;:::i;:::-;;:::i;59054:163::-;;;:::i;60698:257::-;;;;;;:::i;:::-;;:::i;58549:181::-;;;;;;:::i;:::-;;:::i;55964:645::-;;;;;;:::i;:::-;;:::i;33032:149::-;;;;;;:::i;:::-;;:::i;8655:151::-;;;;;;:::i;:::-;;:::i;57819:62::-;;57857:24;57819:62;;57888:64;;-1:-1:-1;;;;;;;;;;;57888:64:0;;30315:204;30400:4;-1:-1:-1;;;;;;30424:47:0;;-1:-1:-1;;;30424:47:0;;:87;;-1:-1:-1;;;;;;;;;;27679:40:0;;;30475:36;30417:94;30315:204;-1:-1:-1;;30315:204:0:o;6775:100::-;6829:13;6862:5;6855:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6775:100;:::o;9126:201::-;9209:4;4489:10;9265:32;4489:10;9281:7;9290:6;9265:8;:32::i;:::-;-1:-1:-1;9315:4:0;;9126:201;-1:-1:-1;;;9126:201:0:o;59773:107::-;59826:7;59853:19;7983:12;;;7895:108;59853:19;59846:26;;59773:107;:::o;58879:108::-;-1:-1:-1;;;;;;;;;;;30207:16:0;30218:4;30207:10;:16::i;:::-;-1:-1:-1;58959:9:0::1;:20:::0;;;::::1;;-1:-1:-1::0;;;58959:20:0::1;-1:-1:-1::0;;;;58959:20:0;;::::1;::::0;;;::::1;::::0;;58879:108::o;9907:295::-;10038:4;4489:10;10096:38;10112:4;4489:10;10127:6;10096:15;:38::i;:::-;10145:27;10155:4;10161:2;10165:6;10145:9;:27::i;:::-;-1:-1:-1;10190:4:0;;9907:295;-1:-1:-1;;;;9907:295:0:o;60963:89::-;61017:27;4489:10;61037:6;61017:5;:27::i;:::-;60963:89;:::o;32592:147::-;32225:7;32252:12;;;:6;:12;;;;;:22;;;30207:16;30218:4;30207:10;:16::i;:::-;32706:25:::1;32717:4;32723:7;32706:10;:25::i;:::-;32592:147:::0;;;:::o;56933:115::-;56993:7;57020:20;:18;:20::i;33736:218::-;-1:-1:-1;;;;;33832:23:0;;4489:10;33832:23;33824:83;;;;-1:-1:-1;;;33824:83:0;;6224:2:1;33824:83:0;;;6206:21:1;6263:2;6243:18;;;6236:30;6302:34;6282:18;;;6275:62;-1:-1:-1;;;6353:18:1;;;6346:45;6408:19;;33824:83:0;;;;;;;;;33920:26;33932:4;33938:7;33920:11;:26::i;:::-;33736:218;;:::o;10611:238::-;10699:4;4489:10;10755:64;4489:10;10771:7;10808:10;10780:25;4489:10;10771:7;10780:9;:25::i;:::-;:38;;;;:::i;:::-;10755:8;:64::i;59453:116::-;59512:4;57857:24;30207:16;30218:4;30207:10;:16::i;:::-;59529:10:::1;:8;:10::i;:::-;59557:4;59550:11;;59453:116:::0;;:::o;59943:125::-;-1:-1:-1;;;;;8167:18:0;;60009:7;8167:18;;;;;;;;;;;60036:24;8066:127;56675:128;-1:-1:-1;;;;;56771:14:0;;56744:7;56771:14;;;:7;:14;;;;;53609;56771:24;53517:114;59278:112;59335:4;57857:24;30207:16;30218:4;30207:10;:16::i;:::-;59352:8:::1;:6;:8::i;30611:147::-:0;30697:4;30721:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30721:29:0;;;;;;;;;;;;;;;30611:147::o;6994:104::-;7050:13;7083:7;7076:14;;;;;:::i;11352:436::-;11445:4;4489:10;11445:4;11528:25;4489:10;11545:7;11528:9;:25::i;:::-;11501:52;;11592:15;11572:16;:35;;11564:85;;;;-1:-1:-1;;;11564:85:0;;6905:2:1;11564:85:0;;;6887:21:1;6944:2;6924:18;;;6917:30;6983:34;6963:18;;;6956:62;-1:-1:-1;;;7034:18:1;;;7027:35;7079:19;;11564:85:0;6703:401:1;11564:85:0;11685:60;11694:5;11701:7;11729:15;11710:16;:34;11685:8;:60::i;8399:193::-;8478:4;4489:10;8534:28;4489:10;8551:2;8555:6;8534:9;:28::i;59054:163::-;-1:-1:-1;;;;;;;;;;;30207:16:0;30218:4;30207:10;:16::i;:::-;59147:17:::1;::::0;-1:-1:-1;;;59147:17:0;::::1;;;:26;59139:35;;;::::0;::::1;;-1:-1:-1::0;59185:17:0::1;:24:::0;;-1:-1:-1;;;;59185:24:0::1;-1:-1:-1::0;;;59185:24:0::1;::::0;;59054:163::o;60698:257::-;60799:22;;-1:-1:-1;;;;;60799:22:0;60785:10;:36;60777:78;;;;-1:-1:-1;;;60777:78:0;;7311:2:1;60777:78:0;;;7293:21:1;7350:2;7330:18;;;7323:30;7389:31;7369:18;;;7362:59;7438:18;;60777:78:0;7109:353:1;60777:78:0;60866:14;60883:34;;;;60894:11;60883:34;:::i;:::-;60866:51;;60928:19;60934:4;60940:6;60928:5;:19::i;:::-;60766:189;60698:257;;;:::o;58549:181::-;-1:-1:-1;;;;;;;;;;;30207:16:0;30218:4;30207:10;:16::i;:::-;58642:2:::1;::::0;-1:-1:-1;;;;;58642:2:0::1;58634:25:::0;58626:65:::1;;;::::0;-1:-1:-1;;;58626:65:0;;7669:2:1;58626:65:0::1;::::0;::::1;7651:21:1::0;7708:2;7688:18;;;7681:30;7747;7727:18;;;7720:58;7795:18;;58626:65:0::1;7467:352:1::0;58626:65:0::1;-1:-1:-1::0;58702:2:0::1;:20:::0;;-1:-1:-1;;;;;;58702:20:0::1;-1:-1:-1::0;;;;;58702:20:0;;;::::1;::::0;;;::::1;::::0;;58549:181::o;55964:645::-;56208:8;56189:15;:27;;56181:69;;;;-1:-1:-1;;;56181:69:0;;8026:2:1;56181:69:0;;;8008:21:1;8065:2;8045:18;;;8038:30;8104:31;8084:18;;;8077:59;8153:18;;56181:69:0;7824:353:1;56181:69:0;56263:18;55139:95;56323:5;56330:7;56339:5;56346:16;56356:5;56346:9;:16::i;:::-;56294:79;;;;;;8469:25:1;;;;-1:-1:-1;;;;;8568:15:1;;;8548:18;;;8541:43;8620:15;;;;8600:18;;;8593:43;8652:18;;;8645:34;8695:19;;;8688:35;8739:19;;;8732:35;;;8441:19;;56294:79:0;;;;;;;;;;;;56284:90;;;;;;56263:111;;56387:12;56402:28;56419:10;56402:16;:28::i;:::-;56387:43;;56443:14;56460:28;56474:4;56480:1;56483;56486;56460:13;:28::i;:::-;56443:45;;56517:5;-1:-1:-1;;;;;56507:15:0;:6;-1:-1:-1;;;;;56507:15:0;;56499:58;;;;-1:-1:-1;;;56499:58:0;;8980:2:1;56499:58:0;;;8962:21:1;9019:2;8999:18;;;8992:30;9058:32;9038:18;;;9031:60;9108:18;;56499:58:0;8778:354:1;56499:58:0;56570:31;56579:5;56586:7;56595:5;56570:8;:31::i;:::-;56170:439;;;55964:645;;;;;;;:::o;33032:149::-;32225:7;32252:12;;;:6;:12;;;;;:22;;;30207:16;30218:4;30207:10;:16::i;:::-;33147:26:::1;33159:4;33165:7;33147:11;:26::i;8655:151::-:0;-1:-1:-1;;;;;8771:18:0;;;8744:7;8771:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8655:151::o;14977:380::-;-1:-1:-1;;;;;15113:19:0;;15105:68;;;;-1:-1:-1;;;15105:68:0;;9339:2:1;15105:68:0;;;9321:21:1;9378:2;9358:18;;;9351:30;9417:34;9397:18;;;9390:62;-1:-1:-1;;;9468:18:1;;;9461:34;9512:19;;15105:68:0;9137:400:1;15105:68:0;-1:-1:-1;;;;;15192:21:0;;15184:68;;;;-1:-1:-1;;;15184:68:0;;9744:2:1;15184:68:0;;;9726:21:1;9783:2;9763:18;;;9756:30;9822:34;9802:18;;;9795:62;-1:-1:-1;;;9873:18:1;;;9866:32;9915:19;;15184:68:0;9542:398:1;15184:68:0;-1:-1:-1;;;;;15265:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15317:32;;1731:25:1;;;15317:32:0;;1704:18:1;15317:32:0;;;;;;;14977:380;;;:::o;31062:105::-;31129:30;31140:4;4489:10;31129;:30::i;15648:453::-;15783:24;15810:25;15820:5;15827:7;15810:9;:25::i;:::-;15783:52;;-1:-1:-1;;15850:16:0;:37;15846:248;;15932:6;15912:16;:26;;15904:68;;;;-1:-1:-1;;;15904:68:0;;10147:2:1;15904:68:0;;;10129:21:1;10186:2;10166:18;;;10159:30;10225:31;10205:18;;;10198:59;10274:18;;15904:68:0;9945:353:1;15904:68:0;16016:51;16025:5;16032:7;16060:6;16041:16;:25;16016:8;:51::i;12258:671::-;-1:-1:-1;;;;;12389:18:0;;12381:68;;;;-1:-1:-1;;;12381:68:0;;10505:2:1;12381:68:0;;;10487:21:1;10544:2;10524:18;;;10517:30;10583:34;10563:18;;;10556:62;-1:-1:-1;;;10634:18:1;;;10627:35;10679:19;;12381:68:0;10303:401:1;12381:68:0;-1:-1:-1;;;;;12468:16:0;;12460:64;;;;-1:-1:-1;;;12460:64:0;;10911:2:1;12460:64:0;;;10893:21:1;10950:2;10930:18;;;10923:30;10989:34;10969:18;;;10962:62;-1:-1:-1;;;11040:18:1;;;11033:33;11083:19;;12460:64:0;10709:399:1;12460:64:0;12537:38;12558:4;12564:2;12568:6;12537:20;:38::i;:::-;-1:-1:-1;;;;;12610:15:0;;12588:19;12610:15;;;;;;;;;;;12644:21;;;;12636:72;;;;-1:-1:-1;;;12636:72:0;;11315:2:1;12636:72:0;;;11297:21:1;11354:2;11334:18;;;11327:30;11393:34;11373:18;;;11366:62;-1:-1:-1;;;11444:18:1;;;11437:36;11490:19;;12636:72:0;11113:402:1;12636:72:0;-1:-1:-1;;;;;12744:15:0;;;:9;:15;;;;;;;;;;;12762:20;;;12744:38;;12804:13;;;;;;;;:23;;12776:6;;12744:9;12804:23;;12776:6;;12804:23;:::i;:::-;;;;;;;;12860:2;-1:-1:-1;;;;;12845:26:0;12854:4;-1:-1:-1;;;;;12845:26:0;;12864:6;12845:26;;;;1731:25:1;;1719:2;1704:18;;1585:177;12845:26:0;;;;;;;;12884:37;32592:147;13948:591;-1:-1:-1;;;;;14032:21:0;;14024:67;;;;-1:-1:-1;;;14024:67:0;;11722:2:1;14024:67:0;;;11704:21:1;11761:2;11741:18;;;11734:30;11800:34;11780:18;;;11773:62;-1:-1:-1;;;11851:18:1;;;11844:31;11892:19;;14024:67:0;11520:397:1;14024:67:0;14104:49;14125:7;14142:1;14146:6;14104:20;:49::i;:::-;-1:-1:-1;;;;;14191:18:0;;14166:22;14191:18;;;;;;;;;;;14228:24;;;;14220:71;;;;-1:-1:-1;;;14220:71:0;;12124:2:1;14220:71:0;;;12106:21:1;12163:2;12143:18;;;12136:30;12202:34;12182:18;;;12175:62;-1:-1:-1;;;12253:18:1;;;12246:32;12295:19;;14220:71:0;11922:398:1;14220:71:0;-1:-1:-1;;;;;14327:18:0;;:9;:18;;;;;;;;;;14348:23;;;14327:44;;14393:12;:22;;14365:6;;14327:9;14393:22;;14365:6;;14393:22;:::i;:::-;;;;-1:-1:-1;;14433:37:0;;1731:25:1;;;14459:1:0;;-1:-1:-1;;;;;14433:37:0;;;;;1719:2:1;1704:18;14433:37:0;;;;;;;32592:147;;;:::o;35333:238::-;35417:22;35425:4;35431:7;35417;:22::i;:::-;35412:152;;35456:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;35456:29:0;;;;;;;;;:36;;-1:-1:-1;;35456:36:0;35488:4;35456:36;;;35539:12;4489:10;;4409:98;35539:12;-1:-1:-1;;;;;35512:40:0;35530:7;-1:-1:-1;;;;;35512:40:0;35524:4;35512:40;;;;;;;;;;35333:238;;:::o;51238:314::-;51291:7;51323:4;-1:-1:-1;;;;;51332:12:0;51315:29;;:66;;;;;51365:16;51348:13;:33;51315:66;51311:234;;;-1:-1:-1;51405:24:0;;51238:314::o;51311:234::-;-1:-1:-1;51741:73:0;;;51491:10;51741:73;;;;14245:25:1;;;;51503:12:0;14286:18:1;;;14279:34;51517:15:0;14329:18:1;;;14322:34;51785:13:0;14372:18:1;;;14365:34;51808:4:0;14415:19:1;;;;14408:61;;;;51741:73:0;;;;;;;;;;14217:19:1;;;;51741:73:0;;;51731:84;;;;;;59773:107::o;35751:239::-;35835:22;35843:4;35849:7;35835;:22::i;:::-;35831:152;;;35906:5;35874:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;35874:29:0;;;;;;;;;;:37;;-1:-1:-1;;35874:37:0;;;35931:40;4489:10;;35874:12;;35931:40;;35906:5;35931:40;35751:239;;:::o;20095:120::-;19104:16;:14;:16::i;:::-;20154:7:::1;:15:::0;;-1:-1:-1;;20154:15:0::1;::::0;;20185:22:::1;4489:10:::0;20194:12:::1;20185:22;::::0;-1:-1:-1;;;;;3542:32:1;;;3524:51;;3512:2;3497:18;20185:22:0::1;;;;;;;20095:120::o:0;19836:118::-;18845:19;:17;:19::i;:::-;19896:7:::1;:14:::0;;-1:-1:-1;;19896:14:0::1;19906:4;19896:14;::::0;;19926:20:::1;19933:12;4489:10:::0;;4409:98;13216:399;-1:-1:-1;;;;;13300:21:0;;13292:65;;;;-1:-1:-1;;;13292:65:0;;12657:2:1;13292:65:0;;;12639:21:1;12696:2;12676:18;;;12669:30;12735:33;12715:18;;;12708:61;12786:18;;13292:65:0;12455:355:1;13292:65:0;13370:49;13399:1;13403:7;13412:6;13370:20;:49::i;:::-;13448:6;13432:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13465:18:0;;:9;:18;;;;;;;;;;:28;;13487:6;;13465:9;:28;;13487:6;;13465:28;:::i;:::-;;;;-1:-1:-1;;13509:37:0;;1731:25:1;;;-1:-1:-1;;;;;13509:37:0;;;13526:1;;13509:37;;1719:2:1;1704:18;13509:37:0;;;;;;;33736:218;;:::o;57186:207::-;-1:-1:-1;;;;;57307:14:0;;57246:15;57307:14;;;:7;:14;;;;;53609;;53746:1;53728:19;;;;53609:14;57368:17;57263:130;57186:207;;;:::o;52465:167::-;52542:7;52569:55;52591:20;:18;:20::i;:::-;52613:10;47931:57;;-1:-1:-1;;;47931:57:0;;;15432:27:1;15475:11;;;15468:27;;;15511:12;;;15504:28;;;47894:7:0;;15548:12:1;;47931:57:0;;;;;;;;;;;;47921:68;;;;;;47914:75;;47801:196;;;;;46110:279;46238:7;46259:17;46278:18;46300:25;46311:4;46317:1;46320;46323;46300:10;:25::i;:::-;46258:67;;;;46336:18;46348:5;46336:11;:18::i;:::-;-1:-1:-1;46372:9:0;46110:279;-1:-1:-1;;;;;46110:279:0:o;31457:505::-;31546:22;31554:4;31560:7;31546;:22::i;:::-;31541:414;;31734:41;31762:7;-1:-1:-1;;;;;31734:41:0;31772:2;31734:19;:41::i;:::-;31848:38;31876:4;31883:2;31848:19;:38::i;:::-;31639:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;31639:270:0;;;;;;;;;;-1:-1:-1;;;31585:358:0;;;;;;;:::i;60130:307::-;18845:19;:17;:19::i;:::-;60289:9:::1;::::0;-1:-1:-1;;;60289:9:0;::::1;;;:31:::0;::::1;;;-1:-1:-1::0;60303:17:0::1;::::0;-1:-1:-1;;;60303:17:0;::::1;;;60302:18;60289:31;60286:89;;;60337:2;::::0;:26:::1;::::0;-1:-1:-1;;;60337:26:0;;-1:-1:-1;;;;;13864:15:1;;;60337:26:0::1;::::0;::::1;13846:34:1::0;13916:15;;;13896:18;;;13889:43;13948:18;;;13941:34;;;60337:2:0;;::::1;::::0;:10:::1;::::0;13781:18:1;;60337:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;32592:147:::0;;;:::o;19584:108::-;19311:7;;;;19643:41;;;;-1:-1:-1;;;19643:41:0;;14682:2:1;19643:41:0;;;14664:21:1;14721:2;14701:18;;;14694:30;-1:-1:-1;;;14740:18:1;;;14733:50;14800:18;;19643:41:0;14480:344:1;19643:41:0;19584:108::o;19399:::-;19311:7;;;;19469:9;19461:38;;;;-1:-1:-1;;;19461:38:0;;15031:2:1;19461:38:0;;;15013:21:1;15070:2;15050:18;;;15043:30;-1:-1:-1;;;15089:18:1;;;15082:46;15145:18;;19461:38:0;14829:340:1;44339:1632:0;44470:7;;45404:66;45391:79;;45387:163;;;-1:-1:-1;45503:1:0;;-1:-1:-1;45507:30:0;45487:51;;45387:163;45564:1;:7;;45569:2;45564:7;;:18;;;;;45575:1;:7;;45580:2;45575:7;;45564:18;45560:102;;;-1:-1:-1;45615:1:0;;-1:-1:-1;45619:30:0;45599:51;;45560:102;45776:24;;;45759:14;45776:24;;;;;;;;;15798:25:1;;;15871:4;15859:17;;15839:18;;;15832:45;;;;15893:18;;;15886:34;;;15936:18;;;15929:34;;;45776:24:0;;15770:19:1;;45776:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45776:24:0;;-1:-1:-1;;45776:24:0;;;-1:-1:-1;;;;;;;45815:20:0;;45811:103;;45868:1;45872:29;45852:50;;;;;;;45811:103;45934:6;-1:-1:-1;45942:20:0;;-1:-1:-1;44339:1632:0;;;;;;;;:::o;38952:643::-;39030:20;39021:5;:29;;;;;;;;:::i;:::-;;39017:571;;;38952:643;:::o;39017:571::-;39128:29;39119:5;:38;;;;;;;;:::i;:::-;;39115:473;;;39174:34;;-1:-1:-1;;;39174:34:0;;16308:2:1;39174:34:0;;;16290:21:1;16347:2;16327:18;;;16320:30;16386:26;16366:18;;;16359:54;16430:18;;39174:34:0;16106:348:1;39115:473:0;39239:35;39230:5;:44;;;;;;;;:::i;:::-;;39226:362;;;39291:41;;-1:-1:-1;;;39291:41:0;;16661:2:1;39291:41:0;;;16643:21:1;16700:2;16680:18;;;16673:30;16739:33;16719:18;;;16712:61;16790:18;;39291:41:0;16459:355:1;39226:362:0;39363:30;39354:5;:39;;;;;;;;:::i;:::-;;39350:238;;;39410:44;;-1:-1:-1;;;39410:44:0;;17021:2:1;39410:44:0;;;17003:21:1;17060:2;17040:18;;;17033:30;17099:34;17079:18;;;17072:62;-1:-1:-1;;;17150:18:1;;;17143:32;17192:19;;39410:44:0;16819:398:1;39350:238:0;39485:30;39476:5;:39;;;;;;;;:::i;:::-;;39472:116;;;39532:44;;-1:-1:-1;;;39532:44:0;;17424:2:1;39532:44:0;;;17406:21:1;17463:2;17443:18;;;17436:30;17502:34;17482:18;;;17475:62;-1:-1:-1;;;17553:18:1;;;17546:32;17595:19;;39532:44:0;17222:398:1;25010:451:0;25085:13;25111:19;25143:10;25147:6;25143:1;:10;:::i;:::-;:14;;25156:1;25143:14;:::i;:::-;25133:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25133:25:0;;25111:47;;-1:-1:-1;;;25169:6:0;25176:1;25169:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;25169:15:0;;;;;;;;;-1:-1:-1;;;25195:6:0;25202:1;25195:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;25195:15:0;;;;;;;;-1:-1:-1;25226:9:0;25238:10;25242:6;25238:1;:10;:::i;:::-;:14;;25251:1;25238:14;:::i;:::-;25226:26;;25221:135;25258:1;25254;:5;25221:135;;;-1:-1:-1;;;25306:5:0;25314:3;25306:11;25293:25;;;;;;;:::i;:::-;;;;25281:6;25288:1;25281:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;25281:37:0;;;;;;;;-1:-1:-1;25343:1:0;25333:11;;;;;25261:3;;;:::i;:::-;;;25221:135;;;-1:-1:-1;25374:10:0;;25366:55;;;;-1:-1:-1;;;25366:55:0;;18405:2:1;25366:55:0;;;18387:21:1;;;18424:18;;;18417:30;18483:34;18463:18;;;18456:62;18535:18;;25366:55:0;18203:356:1;25366:55:0;25446:6;25010:451;-1:-1:-1;;;25010:451:0:o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:173::-;1216:20;;-1:-1:-1;;;;;1265:31:1;;1255:42;;1245:70;;1311:1;1308;1301:12;1245:70;1148:173;;;:::o;1326:254::-;1394:6;1402;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;1494:29;1513:9;1494:29;:::i;:::-;1484:39;1570:2;1555:18;;;;1542:32;;-1:-1:-1;;;1326:254:1:o;1767:273::-;1823:6;1876:2;1864:9;1855:7;1851:23;1847:32;1844:52;;;1892:1;1889;1882:12;1844:52;1931:9;1918:23;1984:5;1977:13;1970:21;1963:5;1960:32;1950:60;;2006:1;2003;1996:12;2045:328;2122:6;2130;2138;2191:2;2179:9;2170:7;2166:23;2162:32;2159:52;;;2207:1;2204;2197:12;2159:52;2230:29;2249:9;2230:29;:::i;:::-;2220:39;;2278:38;2312:2;2301:9;2297:18;2278:38;:::i;:::-;2268:48;;2363:2;2352:9;2348:18;2335:32;2325:42;;2045:328;;;;;:::o;2378:180::-;2437:6;2490:2;2478:9;2469:7;2465:23;2461:32;2458:52;;;2506:1;2503;2496:12;2458:52;-1:-1:-1;2529:23:1;;2378:180;-1:-1:-1;2378:180:1:o;2930:254::-;2998:6;3006;3059:2;3047:9;3038:7;3034:23;3030:32;3027:52;;;3075:1;3072;3065:12;3027:52;3111:9;3098:23;3088:33;;3140:38;3174:2;3163:9;3159:18;3140:38;:::i;:::-;3130:48;;2930:254;;;;;:::o;3586:186::-;3645:6;3698:2;3686:9;3677:7;3673:23;3669:32;3666:52;;;3714:1;3711;3704:12;3666:52;3737:29;3756:9;3737:29;:::i;4004:665::-;4083:6;4091;4099;4152:2;4140:9;4131:7;4127:23;4123:32;4120:52;;;4168:1;4165;4158:12;4120:52;4191:29;4210:9;4191:29;:::i;:::-;4181:39;;4271:2;4260:9;4256:18;4243:32;4294:18;4335:2;4327:6;4324:14;4321:34;;;4351:1;4348;4341:12;4321:34;4389:6;4378:9;4374:22;4364:32;;4434:7;4427:4;4423:2;4419:13;4415:27;4405:55;;4456:1;4453;4446:12;4405:55;4496:2;4483:16;4522:2;4514:6;4511:14;4508:34;;;4538:1;4535;4528:12;4508:34;4583:7;4578:2;4569:6;4565:2;4561:15;4557:24;4554:37;4551:57;;;4604:1;4601;4594:12;4551:57;4635:2;4631;4627:11;4617:21;;4657:6;4647:16;;;;;4004:665;;;;;:::o;4674:693::-;4785:6;4793;4801;4809;4817;4825;4833;4886:3;4874:9;4865:7;4861:23;4857:33;4854:53;;;4903:1;4900;4893:12;4854:53;4926:29;4945:9;4926:29;:::i;:::-;4916:39;;4974:38;5008:2;4997:9;4993:18;4974:38;:::i;:::-;4964:48;;5059:2;5048:9;5044:18;5031:32;5021:42;;5110:2;5099:9;5095:18;5082:32;5072:42;;5164:3;5153:9;5149:19;5136:33;5209:4;5202:5;5198:16;5191:5;5188:27;5178:55;;5229:1;5226;5219:12;5178:55;4674:693;;;;-1:-1:-1;4674:693:1;;;;5252:5;5304:3;5289:19;;5276:33;;-1:-1:-1;5356:3:1;5341:19;;;5328:33;;4674:693;-1:-1:-1;;4674:693:1:o;5372:260::-;5440:6;5448;5501:2;5489:9;5480:7;5476:23;5472:32;5469:52;;;5517:1;5514;5507:12;5469:52;5540:29;5559:9;5540:29;:::i;:::-;5530:39;;5588:38;5622:2;5611:9;5607:18;5588:38;:::i;5637:380::-;5716:1;5712:12;;;;5759;;;5780:61;;5834:4;5826:6;5822:17;5812:27;;5780:61;5887:2;5879:6;5876:14;5856:18;5853:38;5850:161;;;5933:10;5928:3;5924:20;5921:1;5914:31;5968:4;5965:1;5958:15;5996:4;5993:1;5986:15;6438:127;6499:10;6494:3;6490:20;6487:1;6480:31;6530:4;6527:1;6520:15;6554:4;6551:1;6544:15;6570:128;6610:3;6641:1;6637:6;6634:1;6631:13;6628:39;;;6647:18;;:::i;:::-;-1:-1:-1;6683:9:1;;6570:128::o;12325:125::-;12365:4;12393:1;12390;12387:8;12384:34;;;12398:18;;:::i;:::-;-1:-1:-1;12435:9:1;;12325:125::o;12815:786::-;13226:25;13221:3;13214:38;13196:3;13281:6;13275:13;13297:62;13352:6;13347:2;13342:3;13338:12;13331:4;13323:6;13319:17;13297:62;:::i;:::-;-1:-1:-1;;;13418:2:1;13378:16;;;13410:11;;;13403:40;13468:13;;13490:63;13468:13;13539:2;13531:11;;13524:4;13512:17;;13490:63;:::i;:::-;13573:17;13592:2;13569:26;;12815:786;-1:-1:-1;;;;12815:786:1:o;15974:127::-;16035:10;16030:3;16026:20;16023:1;16016:31;16066:4;16063:1;16056:15;16090:4;16087:1;16080:15;17625:168;17665:7;17731:1;17727;17723:6;17719:14;17716:1;17713:21;17708:1;17701:9;17694:17;17690:45;17687:71;;;17738:18;;:::i;:::-;-1:-1:-1;17778:9:1;;17625:168::o;17798:127::-;17859:10;17854:3;17850:20;17847:1;17840:31;17890:4;17887:1;17880:15;17914:4;17911:1;17904:15;17930:127;17991:10;17986:3;17982:20;17979:1;17972:31;18022:4;18019:1;18012:15;18046:4;18043:1;18036:15;18062:136;18101:3;18129:5;18119:39;;18138:18;;:::i;:::-;-1:-1:-1;;;18174:18:1;;18062:136::o

Swarm Source

ipfs://f1542cefb2ea4be7ad5dd90cd6128a3d5a6ea9b728636a6e0fea3115e94d2f9b

Block Transaction Gas Used Reward
view all blocks produced

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

OVERVIEW

LunaFi is a peerless DeFi betting platform that invites users to invest and become the house.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.