Contract 0xa353dEb6Fb81dF3844D8bd614D33d040fDBb8188 4

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xa42930cbd28d5fed2fe7787009e21a2480d20c0d7f5f9b3543a9ad132be4521bApprove434118722023-06-01 15:14:271 day 12 hrs ago0x03f4b156e8c077219a69a4ec63faca4b449b7723 IN  Idle Mystic: MST Token0 MATIC0.003965744817 159.838169244
0xf690dd2663032a1fa572eaa6e4723dd7b889e6b5543e6ded0542ed0f6f8f9b8fApprove434116622023-06-01 15:05:551 day 13 hrs ago0x03f4b156e8c077219a69a4ec63faca4b449b7723 IN  Idle Mystic: MST Token0 MATIC0.004761448948 191.908788365
0x1a9a0cfedd855cff54507f508667440eaa822517174931e07e9e962d452d5fbaApprove434116262023-06-01 15:04:291 day 13 hrs ago0x03f4b156e8c077219a69a4ec63faca4b449b7723 IN  Idle Mystic: MST Token0 MATIC0.005075729519 204.57577361
0x925cf881a5504063bf6102ddb352cd998ed8c1250346f7a38b0c6b89c76b389cApprove432892712023-05-29 13:08:044 days 15 hrs ago0xe24ce5ae042deed1c53f760c60e05ecc85fb5f12 IN  Idle Mystic: MST Token0 MATIC0.003709993715 149.530196912
0xd0ae752c4a661925b24f74db8755bdc90a60653792ddc5d68d817e7d8aeb8801Approve432891642023-05-29 13:04:164 days 15 hrs ago0xe24ce5ae042deed1c53f760c60e05ecc85fb5f12 IN  Idle Mystic: MST Token0 MATIC0.003897515723 157.08821586
0xdf656b651a3a04c74a02960e65c82b53423008f239503b15847eba60086c83d8Approve431252652023-05-25 9:15:588 days 18 hrs ago0xdb5f726cf651f3de390e8d94422cbc92e98c902f IN  Idle Mystic: MST Token0 MATIC0.003579529984 144.27189492
0xa298a228152589c23b940f6abee1066abd4352cd08bc2eb1d4523c958fe75a14Approve431252162023-05-25 9:14:148 days 18 hrs ago0xdb5f726cf651f3de390e8d94422cbc92e98c902f IN  Idle Mystic: MST Token0 MATIC0.003746438177 150.99908014
0xa10d73a5140c7e49246f57e7a62c4512a2a25bd028fd902e20de7e31d94a4d46Approve430238522023-05-22 19:42:2411 days 8 hrs ago0xdb5f726cf651f3de390e8d94422cbc92e98c902f IN  Idle Mystic: MST Token0 MATIC0.003920138158
0x051b862686d73ecc0ea08e84e8796727e6973cfb4759d7f79a344caa440f1059Transfer429026232023-05-19 17:15:1514 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.012615349175506.071452817
0x8b735c9b74c269e4bac27ff4da959844a49976fea44013b62dc843dd6e02b6dfTransfer429026232023-05-19 17:15:1514 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.0252306983511,012.142905635
0x188d1d2a9972befc66adc78ae949a4858a5cade6a69085b072f072c8ff5f9297Transfer429026232023-05-19 17:15:1514 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.012615349175506.071452817
0xf3873167599842a55246980acc8c56fe7d192fcf3048024e707510832068123fTransfer429026212023-05-19 17:15:0714 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.012615349175506.071452817
0x55727e819acaca52b4cfa4d845a21ffecc64a141ca7a47ef526f9fdfdacc660bTransfer429026212023-05-19 17:15:0714 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.012615349175506.071452817
0x8ec5f6e20e31318868e66c58f122e6892a8df20cd125657a1f57ee4b27d06d47Transfer429026202023-05-19 17:15:0314 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.032982857361,323.1248941
0xad50391fc8813f61190ff44b1ad1ca85df5ecde58aaf9c66e497b4df08cdfe50Transfer429026182023-05-19 17:14:5514 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.012615349175506.071452817
0x51664cf502fe572cd7fd0b8a9876d800bbfda01085a3d9a070a5612e40ae2644Transfer429026182023-05-19 17:14:5514 days 10 hrs ago0xc1a459640c444c78e76cae1979eb538a3dc37163 IN  Idle Mystic: MST Token0 MATIC0.023994365792506.071452817
0x8acc138d2fccdebb66d406fdb4555bc4ce81a7fc56d110e143534bfd99775675Approve427366572023-05-15 13:46:0418 days 14 hrs ago0x49d403206d51a719e04595a043fab7ce5cbe7f4b IN  Idle Mystic: MST Token0 MATIC0.00403564761 162.655580613
0x23bea08d8356a85ddcc1575189f042c54bcf2e86875294cec6842825e9b21d2eTransfer426897112023-05-14 9:48:4619 days 18 hrs ago0x01d5e0431f81b60ab302ae3cb1db754a9df4a5c5 IN  Idle Mystic: MST Token0 MATIC0.007039309254 148.543106085
0x71e4d1d0f252ead328e8371e1660b25ae47a313ed8a99e06eb92f2ebbc766633Approve426021202023-05-12 5:17:3921 days 22 hrs ago0xe66a5a7ddda004ac66926ea8ab91c1b1014dd840 IN  Idle Mystic: MST Token0 MATIC0.01336279551283.741278489
0xc190829263e41fee8f5b2690a990a395e1e5e64d5f9862d207d52c216f1617e3Approve424998832023-05-09 16:15:4224 days 11 hrs ago sinnermoose94.wallet  IN  Idle Mystic: MST Token0 MATIC0.004218210196 170.013711517
0x536fa5d24466d1855140194adba78aea7798852bdb0d52868d1d55c6721566e9Approve422936652023-05-04 11:29:5329 days 16 hrs ago0x1c2a7f47341740e859f36cca7b2e80c62438f0a5 IN  Idle Mystic: MST Token0 MATIC0.012471901718 264.824327824
0xfdd3792ecbba2a87ee111807053ef2603beb57dbf334297bd603b4a31a291220Transfer422824162023-05-04 4:39:5829 days 23 hrs ago0x26c502ee7875fa65e1ef76a3797084861d9f2ca1 IN  Idle Mystic: MST Token0 MATIC0.011249357495 237.383306165
0x89cd7ad130cfb35a4a932d0341b2f935356f447e27a745d79ec52c1bd9608853Approve419412972023-04-25 13:16:1338 days 14 hrs ago0xf7b8986d6cb3bbf03fffe5b7ee1a6850328708d7 IN  Idle Mystic: MST Token0 MATIC0.012633948179 509.207536166
0x7d31eccd0841f8bb6ac7acc4fb625454a5162a5acf6bbf8c1823e0cad554a1feApprove419412832023-04-25 13:15:4338 days 14 hrs ago0xf7b8986d6cb3bbf03fffe5b7ee1a6850328708d7 IN  Idle Mystic: MST Token0 MATIC0.011247388662 453.322665857
0x1d0fab1fe3f24b00b2514417f11fa23471806d008fe81effb794836f502ca71eTransfer418408862023-04-22 22:04:3341 days 6 hrs ago0xad4b86815ba72099cd062aa4e911c18b2a9cb3c4 IN  Idle Mystic: MST Token0 MATIC0.011268710376 237.791689556
[ Download CSV Export 

OVERVIEW

In the world of Idle Mystic, to be part of community governance, players need to hold IMT (Idle Mystic Token). IMT holders can contribute to in-game decisions for the community by vote. Players can earn IMT by playing the game.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChildStoneToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 2 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT

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 3 of 17 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `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 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 4 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 17 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 6 of 17 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

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 10 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 11 of 17 : ChildMintableERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "../common/AccessControlMixin.sol";
import "./IChildToken.sol";
import "../common/NativeMetaTransaction.sol";


contract ChildMintableERC20 is
    ERC20,
    IChildToken,
    AccessControlMixin,
    NativeMetaTransaction
{
    bytes32 public constant DEPOSITOR_ROLE = keccak256("DEPOSITOR_ROLE");

    constructor(
        string memory name_,
        string memory symbol_
    ) ERC20(name_, symbol_) {
        _setupContractId("ChildMintableERC20");
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _initializeEIP712(name_);
    }

    /**
     * @notice called when token is deposited on root chain
     * @dev Should be callable only by ChildChainManager
     * Should handle deposit by minting the required amount for user
     * Make sure minting is done only by this function
     * @param user user address for whom deposit is being done
     * @param depositData abi encoded amount
     */
    function deposit(address user, bytes calldata depositData)
        external
        override
        only(DEPOSITOR_ROLE)
    {
        uint256 amount = abi.decode(depositData, (uint256));
        _mint(user, amount);
    }

    /**
     * @notice called when user wants to withdraw tokens back to root chain
     * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain
     * @param amount amount of tokens to withdraw
     */
    function withdraw(uint256 amount) external {
        _burn(_msgSender(), amount);
    }

    /**
     * @notice Example function to handle minting tokens on matic chain
     * @dev Minting can be done as per requirement,
     * This implementation allows only admin to mint tokens but it can be changed as per requirement
     * @param user user for whom tokens are being minted
     * @param amount amount of token to mint
     */
    function mint(address user, uint256 amount) public virtual only(DEFAULT_ADMIN_ROLE) {
        _mint(user, amount);
    }
}

File 12 of 17 : ChildStoneToken.sol
// contracts/StoneToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ChildMintableERC20.sol";

contract ChildStoneToken is ChildMintableERC20 {

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    modifier onlyMinter() {
        _checkRole(MINTER_ROLE, msg.sender);
        _;
    }

    constructor() ChildMintableERC20("MagicStone", "MST") {
        _initRoles();
    }

     // init creator as admin role
    function _initRoles() internal virtual {
        _setupRole(MINTER_ROLE, msg.sender);
    }

    function safeMint(address account, uint256 amount) public onlyMinter {
        _mint(account, amount);
    }

    function batchSafeMint(address[] memory account, uint256[] memory amount) public onlyMinter {
        for (uint i = 0; i < account.length; i++) {
            _mint(account[i], amount[i]);
        }
    }
   
    function grantMinter(address account) public virtual onlyRole(getRoleAdmin(MINTER_ROLE)) {
        _setupRole(MINTER_ROLE, account);
    }
}

File 13 of 17 : IChildToken.sol
// SPDX-License-Identifier: MIT'
pragma solidity ^0.8.0;

interface IChildToken {
    function deposit(address user, bytes calldata depositData) external;
}

File 14 of 17 : AccessControlMixin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";

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

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 15 of 17 : EIP712Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Initializable.sol";

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

    string constant public ERC712_VERSION = "1";

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

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

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

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

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

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 16 of 17 : Initializable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

File 17 of 17 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./EIP712Base.sol";

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

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

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

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

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

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

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

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

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

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "details": {
      "constantOptimizer": true,
      "cse": true,
      "deduplicate": true,
      "jumpdestRemover": true,
      "orderLiterals": true,
      "peephole": true,
      "yul": false
    },
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEPOSITOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_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":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"batchSafeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff191690553480156200001b57600080fd5b506040518060400160405280600a8152602001694d6167696353746f6e6560b01b815250604051806040016040528060038152602001621354d560ea1b815250818181600390805190602001906200007592919062000318565b5080516200008b90600490602084019062000318565b505060408051808201909152601281527104368696c644d696e7461626c6545524332360741b6020820152620000c29150620000f6565b620000d86000620000d262000133565b62000137565b620000e38262000143565b50620000f090506200018d565b620005ae565b8060405160200162000109919062000476565b604051602081830303815290604052600690805190602001906200012f92919062000318565b5050565b3390565b6200012f8282620001bb565b60075460ff1615620001725760405162461bcd60e51b81526004016200016990620004ee565b60405180910390fd5b6200017d8162000247565b506007805460ff19166001179055565b620001b97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000137565b565b620001c78282620002e9565b6200012f5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200020362000133565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040518060800160405280604f815260200162002a01604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc630620002b562000314565b604051620002cb95949392919060200162000498565b60408051601f19818403018152919052805160209091012060085550565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b4690565b828054620003269062000567565b90600052602060002090601f0160209004810192826200034a576000855562000395565b82601f106200036557805160ff191683800117855562000395565b8280016001018555821562000395579182015b828111156200039557825182559160200191906001019062000378565b50620003a3929150620003a7565b5090565b5b80821115620003a35760008155600101620003a8565b620003c98162000518565b82525050565b620003c98162000525565b6000620003e78262000506565b620003f3818562000513565b93506200040581856020860162000534565b9290920192915050565b60006200041e601a8362000513565b7f3a20494e53554646494349454e545f5045524d495353494f4e530000000000008152601a0192915050565b600062000459600e836200050a565b6d185b1c9958591e481a5b9a5d195960921b815260200192915050565b6000620004848284620003da565b915062000491826200040f565b9392505050565b60a08101620004a88288620003cf565b620004b76020830187620003cf565b620004c66040830186620003cf565b620004d56060830185620003be565b620004e46080830184620003cf565b9695505050505050565b6020808252810162000500816200044a565b92915050565b5190565b90815260200190565b919050565b6000620005008262000528565b90565b6001600160a01b031690565b60005b838110156200055157818101518382015260200162000537565b8381111562000561576000848401525b50505050565b6002810460018216806200057c57607f821691505b6020821081141562000592576200059262000598565b50919050565b634e487b7160e01b600052602260045260246000fd5b61244380620005be6000396000f3fe6080604052600436106101d85760003560e01c806336568abe11610102578063a3b0b5a311610095578063d539139311610064578063d53913931461050c578063d547741f14610521578063dd62ed3e14610541578063e0af221a14610561576101d8565b8063a3b0b5a314610497578063a457c2d7146104ac578063a9059cbb146104cc578063cf2c52cb146104ec576101d8565b806391d14854116100d157806391d148541461042d57806395d89b411461044d578063a144819414610462578063a217fddf14610482576101d8565b806336568abe146103ad57806339509351146103cd57806340c10f19146103ed57806370a082311461040d576101d8565b806323b872dd1161017a5780632e1a7d4d116101495780632e1a7d4d146103365780632f2ff15d14610356578063313ce567146103765780633408e47014610398576101d8565b806323b872dd146102b4578063248a9ca3146102d4578063261707fa146102f45780632d0335ab14610316576101d8565b80630c53c51c116101b65780630c53c51c146102555780630f7e59701461026857806318160ddd1461027d57806320379ee51461029f576101d8565b806301ffc9a7146101dd57806306fdde0314610213578063095ea7b314610235575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046118f5565b610581565b60405161020a9190611f79565b60405180910390f35b34801561021f57600080fd5b50610228610592565b60405161020a9190611ff2565b34801561024157600080fd5b506101fd610250366004611829565b610624565b61022861026336600461179c565b610641565b34801561027457600080fd5b506102286107cc565b34801561028957600080fd5b506102926107e9565b60405161020a9190611f87565b3480156102ab57600080fd5b506102926107ef565b3480156102c057600080fd5b506101fd6102cf3660046116f9565b6107f5565b3480156102e057600080fd5b506102926102ef3660046118b8565b610885565b34801561030057600080fd5b5061031461030f3660046116a1565b61089a565b005b34801561032257600080fd5b506102926103313660046116a1565b6108de565b34801561034257600080fd5b506103146103513660046118b8565b6108f9565b34801561036257600080fd5b506103146103713660046118d6565b61090d565b34801561038257600080fd5b5061038b610931565b60405161020a9190612104565b3480156103a457600080fd5b50610292610936565b3480156103b957600080fd5b506103146103c83660046118d6565b61093a565b3480156103d957600080fd5b506101fd6103e8366004611829565b61097c565b3480156103f957600080fd5b50610314610408366004611829565b6109d0565b34801561041957600080fd5b506102926104283660046116a1565b610a09565b34801561043957600080fd5b506101fd6104483660046118d6565b610a24565b34801561045957600080fd5b50610228610a4f565b34801561046e57600080fd5b5061031461047d366004611829565b610a5e565b34801561048e57600080fd5b50610292610a80565b3480156104a357600080fd5b50610292610a85565b3480156104b857600080fd5b506101fd6104c7366004611829565b610aa9565b3480156104d857600080fd5b506101fd6104e7366004611829565b610b22565b3480156104f857600080fd5b50610314610507366004611746565b610b36565b34801561051857600080fd5b50610292610ba5565b34801561052d57600080fd5b5061031461053c3660046118d6565b610bb7565b34801561054d57600080fd5b5061029261055c3660046116bf565b610bd6565b34801561056d57600080fd5b5061031461057c366004611859565b610c01565b600061058c82610c8f565b92915050565b6060600380546105a1906122c5565b80601f01602080910402602001604051908101604052809291908181526020018280546105cd906122c5565b801561061a5780601f106105ef5761010080835404028352916020019161061a565b820191906000526020600020905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6000610638610631610cb4565b8484610cb8565b50600192915050565b60408051606081810183526001600160a01b0388166000818152600960209081529085902054845283015291810186905261067f8782878787610d6c565b6106a45760405162461bcd60e51b815260040161069b90612094565b60405180910390fd5b6001600160a01b0387166000908152600960205260409020546106c8906001610e12565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061071890899033908a90611f4c565b60405180910390a1600080306001600160a01b0316888a604051602001610740929190611ecb565b60408051601f198184030181529082905261075a91611ebf565b6000604051808303816000865af19150503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b5091509150816107be5760405162461bcd60e51b815260040161069b90612054565b925050505b95945050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b60085490565b6000610802848484610e25565b6001600160a01b038416600090815260016020526040812081610823610cb4565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156108665760405162461bcd60e51b815260040161069b90612084565b61087a85610872610cb4565b858403610cb8565b506001949350505050565b60009081526005602052604090206001015490565b6108b16000805160206123ee833981519152610885565b6108c2816108bd610cb4565b610f4f565b6108da6000805160206123ee83398151915283610fb3565b5050565b6001600160a01b031660009081526009602052604090205490565b61090a610904610cb4565b82610fbd565b50565b61091682610885565b610922816108bd610cb4565b61092c83836110ae565b505050565b601290565b4690565b610942610cb4565b6001600160a01b0316816001600160a01b0316146109725760405162461bcd60e51b815260040161069b906120e4565b6108da8282611135565b6000610638610989610cb4565b848460016000610997610cb4565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546109cb91906121a9565b610cb8565b60006109de81610448610cb4565b6006906109fe5760405162461bcd60e51b815260040161069b9190612003565b5061092c83836111ba565b6001600160a01b031660009081526020819052604090205490565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105a1906122c5565b610a766000805160206123ee83398151915233610f4f565b6108da82826111ba565b600081565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a981565b60008060016000610ab8610cb4565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610b045760405162461bcd60e51b815260040161069b906120d4565b610b18610b0f610cb4565b85858403610cb8565b5060019392505050565b6000610638610b2f610cb4565b8484610e25565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a9610b6381610448610cb4565b600690610b835760405162461bcd60e51b815260040161069b9190612003565b506000610b92838501856118b8565b9050610b9e85826111ba565b5050505050565b6000805160206123ee83398151915281565b610bc082610885565b610bcc816108bd610cb4565b61092c8383611135565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610c196000805160206123ee83398151915233610f4f565b60005b825181101561092c57610c7d838281518110610c4857634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110610c7057634e487b7160e01b600052603260045260246000fd5b60200260200101516111ba565b80610c87816122f2565b915050610c1c565b60006001600160e01b03198216637965db0b60e01b148061058c575061058c82611282565b3390565b6001600160a01b038316610cde5760405162461bcd60e51b815260040161069b906120c4565b6001600160a01b038216610d045760405162461bcd60e51b815260040161069b90612044565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d5f908590611f87565b60405180910390a3505050565b60006001600160a01b038616610d945760405162461bcd60e51b815260040161069b90612074565b6001610da7610da28761129b565b6112f9565b83868660405160008152602001604052604051610dc79493929190611fca565b6020604051602081039080840390855afa158015610de9573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610e1e82846121a9565b9392505050565b6001600160a01b038316610e4b5760405162461bcd60e51b815260040161069b906120b4565b6001600160a01b038216610e715760405162461bcd60e51b815260040161069b90612024565b610e7c83838361092c565b6001600160a01b03831660009081526020819052604090205481811015610eb55760405162461bcd60e51b815260040161069b90612064565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610eec9084906121a9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f369190611f87565b60405180910390a3610f4984848461092c565b50505050565b610f598282610a24565b6108da57610f71816001600160a01b03166014611315565b610f7c836020611315565b604051602001610f8d929190611f1e565b60408051601f198184030181529082905262461bcd60e51b825261069b91600401611ff2565b6108da82826110ae565b6001600160a01b038216610fe35760405162461bcd60e51b815260040161069b906120a4565b610fef8260008361092c565b6001600160a01b038216600090815260208190526040902054818110156110285760405162461bcd60e51b815260040161069b90612034565b6001600160a01b038316600090815260208190526040812083830390556002805484929061105790849061220c565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061109a908690611f87565b60405180910390a361092c8360008461092c565b6110b88282610a24565b6108da5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110f1610cb4565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61113f8282610a24565b156108da5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19169055611176610cb4565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b0382166111e05760405162461bcd60e51b815260040161069b906120f4565b6111ec6000838361092c565b80600260008282546111fe91906121a9565b90915550506001600160a01b0382166000908152602081905260408120805483929061122b9084906121a9565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061126e908590611f87565b60405180910390a36108da6000838361092c565b6001600160e01b031981166301ffc9a760e01b14919050565b60006040518060800160405280604381526020016123ab60439139805160209182012083518483015160408087015180519086012090516112dc9501611f95565b604051602081830303815290604052805190602001209050919050565b60006113036107ef565b826040516020016112dc929190611eed565b606060006113248360026121d7565b61132f9060026121a9565b67ffffffffffffffff81111561135557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561137f576020820181803683370190505b509050600360fc1b816000815181106113a857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106113e557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006114098460026121d7565b6114149060016121a9565b90505b60018111156114a8576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061145657634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061147a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936114a1816122a3565b9050611417565b508315610e1e5760405162461bcd60e51b815260040161069b90612014565b60006114da6114d58461213c565b612112565b905080838252602082019050828560208602820111156114f957600080fd5b60005b85811015611525578161150f88826115c1565b84525060209283019291909101906001016114fc565b5050509392505050565b600061153d6114d58461213c565b9050808382526020820190508285602086028201111561155c57600080fd5b60005b8581101561152557816115728882611616565b845250602092830192919091019060010161155f565b60006115966114d584612160565b9050828152602081018484840111156115ae57600080fd5b6115b984828561226b565b509392505050565b803561058c8161237b565b600082601f8301126115dd57600080fd5b81356115ed8482602086016114c7565b949350505050565b600082601f83011261160657600080fd5b81356115ed84826020860161152f565b803561058c8161238f565b803561058c81612398565b60008083601f84011261163e57600080fd5b50813567ffffffffffffffff81111561165657600080fd5b60208301915083600182028301111561166e57600080fd5b9250929050565b600082601f83011261168657600080fd5b81356115ed848260208601611588565b803561058c816123a1565b6000602082840312156116b357600080fd5b60006115ed84846115c1565b600080604083850312156116d257600080fd5b60006116de85856115c1565b92505060206116ef858286016115c1565b9150509250929050565b60008060006060848603121561170e57600080fd5b600061171a86866115c1565b935050602061172b868287016115c1565b925050604061173c86828701611616565b9150509250925092565b60008060006040848603121561175b57600080fd5b600061176786866115c1565b935050602084013567ffffffffffffffff81111561178457600080fd5b6117908682870161162c565b92509250509250925092565b600080600080600060a086880312156117b457600080fd5b60006117c088886115c1565b955050602086013567ffffffffffffffff8111156117dd57600080fd5b6117e988828901611675565b94505060406117fa88828901611616565b935050606061180b88828901611616565b925050608061181c88828901611696565b9150509295509295909350565b6000806040838503121561183c57600080fd5b600061184885856115c1565b92505060206116ef85828601611616565b6000806040838503121561186c57600080fd5b823567ffffffffffffffff81111561188357600080fd5b61188f858286016115cc565b925050602083013567ffffffffffffffff8111156118ac57600080fd5b6116ef858286016115f5565b6000602082840312156118ca57600080fd5b60006115ed8484611616565b600080604083850312156118e957600080fd5b60006116de8585611616565b60006020828403121561190757600080fd5b60006115ed8484611621565b61191c81612239565b82525050565b61191c61192e82612239565b612318565b61191c81612244565b61191c81612249565b61191c61195182612249565b612249565b600061196182612197565b61196b818561219b565b935061197b818560208601612277565b6119848161236b565b9093019392505050565b600061199982612197565b6119a381856121a4565b93506119b3818560208601612277565b9290920192915050565b600081546119ca816122c5565b6119d4818661219b565b94506001821680156119ed57600181146119ff57611a2d565b60ff1983168652602086019350611a2d565b611a088561218b565b60005b83811015611a2757815488820152600190910190602001611a0b565b87019450505b50505092915050565b6000611a4360208361219b565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74815260200192915050565b6000611a7c60238361219b565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647281526265737360e81b602082015260400192915050565b6000611ac160228361219b565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e815261636560f01b602082015260400192915050565b6000611b0560228361219b565b7f45524332303a20617070726f766520746f20746865207a65726f206164647265815261737360f01b602082015260400192915050565b6000611b49601c8361219b565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000815260200192915050565b6000611b826002836121a4565b61190160f01b815260020192915050565b6000611ba060268361219b565b7f45524332303a207472616e7366657220616d6f756e7420657863656564732062815265616c616e636560d01b602082015260400192915050565b6000611be860258361219b565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5381526424a3a722a960d91b602082015260400192915050565b6000611c2f60288361219b565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320618152676c6c6f77616e636560c01b602082015260400192915050565b6000611c7960218361219b565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d6174638152600d60fb1b602082015260400192915050565b6000611cbc60218361219b565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265738152607360f81b602082015260400192915050565b6000611cff60258361219b565b7f45524332303a207472616e736665722066726f6d20746865207a65726f206164815264647265737360d81b602082015260400192915050565b6000611d4660248361219b565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164648152637265737360e01b602082015260400192915050565b6000611d8c6017836121a4565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260170192915050565b6000611dc560258361219b565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77815264207a65726f60d81b602082015260400192915050565b6000611e0c6011836121a4565b7001034b99036b4b9b9b4b733903937b6329607d1b815260110192915050565b6000611e39602f8361219b565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636581526e103937b632b9903337b91039b2b63360891b602082015260400192915050565b6000611e8a601f8361219b565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300815260200192915050565b61191c81612265565b6000610e1e828461198e565b6000611ed7828561198e565b9150611ee38284611922565b5060140192915050565b6000611ef882611b75565b9150611f048285611945565b602082019150611f148284611945565b5060200192915050565b6000611f2982611d7f565b9150611f35828561198e565b9150611f4082611dff565b91506115ed828461198e565b60608101611f5a8286611913565b611f676020830185611913565b81810360408301526107c38184611956565b6020810161058c8284611933565b6020810161058c828461193c565b60808101611fa3828761193c565b611fb0602083018661193c565b611fbd6040830185611913565b6107c3606083018461193c565b60808101611fd8828761193c565b611fe56020830186611eb6565b611fbd604083018561193c565b60208082528101610e1e8184611956565b60208082528101610e1e81846119bd565b6020808252810161058c81611a36565b6020808252810161058c81611a6f565b6020808252810161058c81611ab4565b6020808252810161058c81611af8565b6020808252810161058c81611b3c565b6020808252810161058c81611b93565b6020808252810161058c81611bdb565b6020808252810161058c81611c22565b6020808252810161058c81611c6c565b6020808252810161058c81611caf565b6020808252810161058c81611cf2565b6020808252810161058c81611d39565b6020808252810161058c81611db8565b6020808252810161058c81611e2c565b6020808252810161058c81611e7d565b6020810161058c8284611eb6565b60405181810167ffffffffffffffff8111828210171561213457612134612355565b604052919050565b600067ffffffffffffffff82111561215657612156612355565b5060209081020190565b600067ffffffffffffffff82111561217a5761217a612355565b506020601f91909101601f19160190565b60009081526020902090565b5190565b90815260200190565b919050565b60006121b482612249565b91506121bf83612249565b925082198211156121d2576121d2612329565b500190565b60006121e282612249565b91506121ed83612249565b925081600019048311821515161561220757612207612329565b500290565b600061221782612249565b915061222283612249565b92508282101561223457612234612329565b500390565b600061058c82612259565b151590565b90565b6001600160e01b03191690565b6001600160a01b031690565b60ff1690565b82818337506000910152565b60005b8381101561229257818101518382015260200161227a565b83811115610f495750506000910152565b60006122ae82612249565b9150816122bd576122bd612329565b506000190190565b6002810460018216806122d957607f821691505b602082108114156122ec576122ec61233f565b50919050565b60006122fd82612249565b915060001982141561231157612311612329565b5060010190565b600061058c82600061058c82612375565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f01601f191690565b60601b90565b61238481612239565b811461090a57600080fd5b61238481612249565b6123848161224c565b6123848161226556fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265299f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a26469706673582212208e7060851096706088809bb3f193a169bf5eb21bd3febdc57f1924d9b376dee764736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.