Contract 0x31e06a414f5e89106b5071014fa5769f571fb07a 9

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x797368c97979144da41bf20e2d0ba58e46cdbecd5a2ce4ddbf66563241e87dbeSet Approval For...1878674922024-03-07 3:04:0022 days 12 hrs ago0x3f0372441069ee1189334d6ab8cc4e0455826f6c IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00010888 0.1
0x105831eafad2b8d7b5699ba6fa8d56b5bd8bd2f004ca0ce06616271ce0251161Upgrade1878658112024-03-07 2:56:4822 days 12 hrs ago0x5ba17875ea5f3baa8e9a06aaf973ba7c21994c40 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00016898 0.1
0x2e9e629a54a1b377ccdace81e4c6cb9822803860e2df664646f2fa7c83aaa668Upgrade1878646222024-03-07 2:51:4022 days 12 hrs ago0x3f0372441069ee1189334d6ab8cc4e0455826f6c IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00015069 0.1
0xf26e7648690d023f5e5603d91871f3d30fe00a88a6e5528d80f97fa656d3b621Upgrade1868018292024-03-03 21:20:2725 days 17 hrs ago0x3b0b262b187001522c34edcafc378500133ab230 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00015587 0.1
0xe48db771954a3be205d28ded4e1e15ebf33cc5fe5a363ccd825d8350095486f7Upgrade1786869562024-02-08 13:21:5450 days 1 hr ago0x3bef284c6c1ea66af56d726de3d849464504a7ff IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00018161 0.1
0x3fad52aea1bc68f9129317feba91627e3929fc3a9c417afad5a3456a33e77de1Set Approval For...1739543772024-01-25 6:49:3064 days 8 hrs ago0x03eb3d91a745e541050ad5485616054e977dc7b2 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00002648 0.1
0xc689d623523cf48c9dd52158b7d9c366a1f8c607c3a9e20c343bd84b83453807Upgrade1722668832024-01-20 6:50:3169 days 8 hrs ago0x4dec0401207a64d1a93f2614f2d9abbefe15de8f IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00005528 0.1
0x2191fb9ab598583ffaf2390551fd3a81cceb411d8ab0fef3b74dd0c0915f67efSet Approval For...1719478482024-01-19 8:15:3070 days 6 hrs ago0xde2972fd4ee37ff934218a0789a7222d43c41377 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00004374 0.1
0xf1f664fef1d3ee23a012b34dd4acb4236078a53e033d7dbacf0fc433037575d4Set Approval For...1719477792024-01-19 8:15:1370 days 6 hrs ago0xde2972fd4ee37ff934218a0789a7222d43c41377 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00004374 0.1
0xf3d49414aea393f9e32fd321ee03421425e7409373842b0e338ded1833ce9f9aUpgrade1665360552024-01-03 3:56:3786 days 11 hrs ago0x2e0d63ffcb08ea20ff3acdbb72dfec97343885d2 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00015294 0.1
0xee4c930420e3fc0f088f80ffa2f2d7840e3e6caa55611942d2f0008094f525a0Upgrade1652054692023-12-30 6:44:0390 days 8 hrs ago0x8b7ae9db845ff3eae47fe1070224f62e12b2aea9 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00006161 0.1
0xb681a0ca19f7ef93fbfff42c0212524daf3979aef3fbcab1bd551529c9fcfc44Set Approval For...1645782372023-12-28 10:29:2092 days 4 hrs ago0xc41e114ae06e1dcb884d9ff25c4937a3f85abe9f IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00006874 0.1
0x55c1aa6780daf99d9bcd064b680fad80be013ea6c7fbf6d75dedb21924a8ec36Upgrade1637148052023-12-25 21:19:4794 days 17 hrs ago0x6f45f308fc8bb691a665eae3171d72aa3020ba52 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00029614 0.1
0x9f5dc32f69fee14b7161d2b7a2e1abf2754a640a403357af33f25c20f5434fcdSet Approval For...1634066662023-12-24 22:54:1795 days 16 hrs ago0xe8206240096b1e7b1c7f1d08bfddaafadb1fb604 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00005365 0.1
0x16cbba09155e3da2af9b39c12a9c0512e4aa55f925868e247fece2feb7d5fd4cSet Approval For...1625325102023-12-22 8:45:0498 days 6 hrs ago0x2838b6db061a5b600b53decd12cf14270ce1d09d IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.000102840.1
0xee401c3f772e3127102cbab150644db57b13002b5835407c32b9d42ad312c9f5Upgrade1624016162023-12-21 23:31:4998 days 15 hrs ago0xcbaa0b9735f546e5471fdf3b9e1b2a5faf145b93 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00008854 0.1
0x7eaa3f10fbb9ec015d38f51c806e9777397f6f6a40750009bbaf69c0f67acb72Set Approval For...1607998112023-12-17 2:36:10103 days 12 hrs ago0x118ca06612e8e9a0898abb6755a9e13750fa9106 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00006707 0.1
0x1d7c2042c137f08400e54e8b06dc7e127d70173a54c42c684773117a81ac4662Set Approval For...1607994452023-12-17 2:34:22103 days 12 hrs ago0x1cf580a93f8cc49299f54889422ecf1baf1178c9 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00007885 0.1
0x4e2a26b032c3e6897a6add717baa68db2611e7eca9fe1721c5318373d62fca82Transfer From1481175222023-11-07 19:19:43142 days 19 hrs ago0x02aee0ce756fa0157294ff3ff48c1dd02adccf04 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00011286 0.1
0x9a1be149d5058e50f52f4a092162e5884dfd52a293748c5715ce6dbb802485a7Set Approval For...1463870282023-11-02 12:59:00148 days 2 hrs ago0x14eb987f50389df4229d01c44e65dc27e29679c2 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00005645 0.1
0xfb967b9660e67bfefe10c3a8f8b4f1213f72bc895f08de7b2c66779a0232dcd3Set Approval For...1445810912023-10-27 18:09:55153 days 21 hrs ago0x3e3bf77705ca28391e46e107e739d6b0347a8c5a IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.0000559 0.1
0x72b5b6fad0af13aefe4582f0f8ac531dc826c8037b20be7377d9747fa8581eeaSet Approval For...1439293392023-10-25 17:15:53155 days 21 hrs ago0x867f126c690c0153ce45cd851a62b0e832309e38 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00010442 0.1
0xbb475d365c7c955b59764cb74333a4147227925bbd2da2f3274a1d7151302eecUpgrade1351555382023-09-27 16:14:22183 days 22 hrs ago0x81a1b8ed2d0449a50168c6b410a4de24cebb9f70 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00008997 0.1
0xd4d42fc9742624091e3aa96f54eae095b55afba6f6c884a0f64cd8e7fc835200Upgrade1324342982023-09-19 5:51:57192 days 9 hrs ago0x31421c442c422bd16aef6ae44d3b11f404eeabd9 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.0000364 0.1
0x67a1e7c02579dfd9078f0247f3efecf46e259533263559b55240bcd61f0a28e5Upgrade1277189242023-09-03 18:04:53207 days 21 hrs ago0xfa4dc543531b5b176ebd03209d4b18b575f76a52 IN  0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH0.00005484 0.1
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe649cb353b1820729ff86d14ba300f953753a60d2dce6b19b4864cf08dca7de5718246892023-03-20 16:04:35374 days 23 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xe649cb353b1820729ff86d14ba300f953753a60d2dce6b19b4864cf08dca7de5718246892023-03-20 16:04:35374 days 23 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x34a872316b5bb17d954d27b64f483f39dc4107b62873328a09df2d622ce2bcde718245642023-03-20 16:04:03374 days 23 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x34a872316b5bb17d954d27b64f483f39dc4107b62873328a09df2d622ce2bcde718245642023-03-20 16:04:03374 days 23 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x042e5c5e912e3250c65f32e3ed965d0c28d8bcd4d693530b2606ba706f309171717977192023-03-20 14:13:29375 days 59 mins ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x042e5c5e912e3250c65f32e3ed965d0c28d8bcd4d693530b2606ba706f309171717977192023-03-20 14:13:29375 days 59 mins ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x562faec34ec74335a618525607896c516a78f38a231f65ba535d45e3a6b65eac717975092023-03-20 14:12:36375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x562faec34ec74335a618525607896c516a78f38a231f65ba535d45e3a6b65eac717975092023-03-20 14:12:36375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x856f957bfa33800ca4c3429e496f2556ee3df6a3a12326078ad5d36c2278fbbf717972832023-03-20 14:11:39375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x856f957bfa33800ca4c3429e496f2556ee3df6a3a12326078ad5d36c2278fbbf717972832023-03-20 14:11:39375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xe976f25eb1fa440799b681e1daffcba6f2047bde0155e8487b77ec3237112c74717972352023-03-20 14:11:27375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xe976f25eb1fa440799b681e1daffcba6f2047bde0155e8487b77ec3237112c74717972352023-03-20 14:11:27375 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x87c8d874c9ab0afb7564d557ca9e2d6278808af2d791d64e75679ce3840e9388717530962023-03-20 11:10:54375 days 4 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x87c8d874c9ab0afb7564d557ca9e2d6278808af2d791d64e75679ce3840e9388717530962023-03-20 11:10:54375 days 4 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x26f2585b98f5f6b5caf64875b2cdaecbc5e635bb49fab6cc858a120aa86b5e3c716019402023-03-20 0:36:37375 days 14 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x26f2585b98f5f6b5caf64875b2cdaecbc5e635bb49fab6cc858a120aa86b5e3c716019402023-03-20 0:36:37375 days 14 hrs ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xbcc5627d569e022597e1ea1f4f6f23fd29e8fe5921080e32827fd6502189272d713448162023-03-19 6:43:02376 days 8 hrs ago 0x31e06a414f5e89106b5071014fa5769f571fb07a 0xa0dc9e505373e92ede773de021444ae251f9c1710 ETH
0xbcc5627d569e022597e1ea1f4f6f23fd29e8fe5921080e32827fd6502189272d713448162023-03-19 6:43:02376 days 8 hrs ago 0x31e06a414f5e89106b5071014fa5769f571fb07a 0xa0dc9e505373e92ede773de021444ae251f9c1710 ETH
0xbcc5627d569e022597e1ea1f4f6f23fd29e8fe5921080e32827fd6502189272d713448162023-03-19 6:43:02376 days 8 hrs ago 0x31e06a414f5e89106b5071014fa5769f571fb07a 0xa0dc9e505373e92ede773de021444ae251f9c1710 ETH
0x88438582907c7e19c88fe1a64e47c1fe5f04f27e59aaf8c4dd83d1496739e099700916182023-03-15 13:56:50380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0x88438582907c7e19c88fe1a64e47c1fe5f04f27e59aaf8c4dd83d1496739e099700916182023-03-15 13:56:50380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xdb22e4d0037a207033a700c476c92763b9d50aeb86dbd80f535b4b4f175709b8700890222023-03-15 13:45:39380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xdb22e4d0037a207033a700c476c92763b9d50aeb86dbd80f535b4b4f175709b8700890222023-03-15 13:45:39380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xccc5109d04f3e5e82d13c270c623e210bcda3f4024eeb77db8ef343edcadc674700856022023-03-15 13:30:54380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
0xccc5109d04f3e5e82d13c270c623e210bcda3f4024eeb77db8ef343edcadc674700856022023-03-15 13:30:54380 days 1 hr ago Treasure DAO: Trove Marketplace 0x31e06a414f5e89106b5071014fa5769f571fb07a0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EGGV2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2022-07-12
*/

// File: contracts/UserAccessible/Types.sol


pragma solidity ^0.8.0;

bytes32 constant MINTER_ROLE = keccak256("MINTER_ROLE");
bytes32 constant BURNER_ROLE = keccak256("BURNER_ROLE");
bytes32 constant DEFAULT_ADMIN_ROLE = 0x00; // from AccessControl
// File: @openzeppelin/contracts/access/IAccessControl.sol


// 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: contracts/UserAccess/IUserAccess.sol


pragma solidity ^0.8.0;


interface IUserAccess is IAccessControl {
  function setRoleAdmin(bytes32 role, bytes32 adminRole) external;
}
// File: contracts/UserAccessible/UserAccessible.sol


pragma solidity ^0.8.0;



abstract contract UserAccessible {

  IUserAccess public userAccess;

  modifier onlyRole (bytes32 role) {
    require(userAccess != IUserAccess(address(0)), 'UA_NOT_SET');
    require(userAccess.hasRole(role, msg.sender), 'UA_UNAUTHORIZED');
    _;
  }

  modifier onlyAdmin () {
    require(userAccess != IUserAccess(address(0)), 'UA_NOT_SET');
    require(userAccess.hasRole(DEFAULT_ADMIN_ROLE, msg.sender), 'UA_UNAUTHORIZED');
    _;
  }

  constructor (address _userAccess) {
    _setUserAccess(_userAccess);
  }

  function _setUserAccess (address _userAccess) internal {
    userAccess = IUserAccess(_userAccess);
  }

  function hasRole (bytes32 role, address sender) public view returns (bool) {
    return userAccess.hasRole(role, sender);
  }

}
// File: @openzeppelin/contracts/utils/Strings.sol


// 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/Context.sol


// 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/access/Ownable.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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/ERC165.sol


// 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/token/ERC721/IERC721.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) 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.
     * - `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 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: contracts/NFTUpgrade/NFTUpgrade.sol
pragma solidity ^0.8.0;





abstract contract NFTUpgrade is
  ERC721Enumerable, 
  UserAccessible {

  IERC721 public oldContract;

  string public baseURI;

  mapping (uint => bool) public tokenUpgraded;

  constructor(
    string memory ticker,
    string memory name,
    address oldContractAddr,
    address userAccessAddr
  ) 
    ERC721(ticker, name)
    UserAccessible(userAccessAddr) 
  {
    oldContract = IERC721(oldContractAddr);
  }

  modifier notUpgraded (uint tokenId) {
    require(!tokenUpgraded[tokenId], 'ALREADY_UPGRADED');
    _;
  }

  function upgrade (uint[] calldata tokenIds) public {
    require(oldContract.isApprovedForAll(msg.sender, address(this)), 'NOT_APPROVED');
    for (uint i = 0; i < tokenIds.length; i++) {
      uint tokenId = tokenIds[i];
      _upgrade(tokenId);
    }
  }

  function burn (uint[] calldata tokenIds) public onlyRole(keccak256('BURNER_ROLE')) {
    for (uint i = 0; i < tokenIds.length; i++) {
      uint tokenId = tokenIds[i];
      _burn(tokenId);
    }
  }

  function setBaseURI (string memory newBaseURI) public onlyAdmin {
    _setBaseURI(newBaseURI);
  }

  function _upgrade (uint tokenId) internal notUpgraded(tokenId) {
    require(oldContract.ownerOf(tokenId) == msg.sender, 'NOT_OWNER');
    oldContract.transferFrom(msg.sender, address(oldContract), tokenId); // transfer back to old contract to "burn"
    _safeMint(msg.sender, tokenId);
    tokenUpgraded[tokenId] = true;
  }

  function _setBaseURI (string memory newBaseURI) internal {
    baseURI = newBaseURI;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    return string(abi.encodePacked(
      super.tokenURI(tokenId),
      ".json"
    ));
  }

  function _baseURI() internal view override returns (string memory) {
    return baseURI;
  }

  function _burn (uint tokenId) internal override {
    super._burn(tokenId);
  }

}
// File: contracts/EGGFAMV2/EGG.sol

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;


contract EGGV2 is NFTUpgrade {
  constructor(address addr, address userAccess) 
    NFTUpgrade("EGG", "EGG von EGGFAM", addr, userAccess) {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"address","name":"userAccess","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"sender","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenUpgraded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userAccess","outputs":[{"internalType":"contract IUserAccess","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200236c3803806200236c8339810160408190526200003491620001d0565b6040518060400160405280600381526020016245474760e81b8152506040518060400160405280600e81526020016d45474720766f6e2045474746414d60901b81525083838084848160009080519060200190620000949291906200010d565b508051620000aa9060019060208401906200010d565b505050620000be81620000eb60201b60201c565b5050600b80546001600160a01b0319166001600160a01b0392909216919091179055506200024592505050565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b8280546200011b9062000208565b90600052602060002090601f0160209004810192826200013f57600085556200018a565b82601f106200015a57805160ff19168380011785556200018a565b828001600101855582156200018a579182015b828111156200018a5782518255916020019190600101906200016d565b50620001989291506200019c565b5090565b5b808211156200019857600081556001016200019d565b80516001600160a01b0381168114620001cb57600080fd5b919050565b60008060408385031215620001e457600080fd5b620001ef83620001b3565b9150620001ff60208401620001b3565b90509250929050565b600181811c908216806200021d57607f821691505b602082108114156200023f57634e487b7160e01b600052602260045260246000fd5b50919050565b61211780620002556000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806355f804b3116100c357806395d89b411161007c57806395d89b41146102e8578063a22cb465146102f0578063b80f55c914610303578063b88d4fde14610316578063c87b56dd14610329578063e985e9c51461033c57600080fd5b806355f804b3146102815780636352211e146102945780636c0360eb146102a757806370a08231146102af578063839aef5d146102c257806391d14854146102d557600080fd5b806318160ddd1161011557806318160ddd1461021057806323b872dd146102225780632f745c591461023557806330503c4e1461024857806342842e0e1461025b5780634f6ccce71461026e57600080fd5b806301025f8e1461015d57806301ffc9a71461019557806306fdde03146101a8578063081812fc146101bd578063095ea7b3146101e85780630f800356146101fd575b600080fd5b61018061016b366004611dd4565b600d6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6101806101a3366004611d51565b610378565b6101b06103a3565b60405161018c9190611eae565b6101d06101cb366004611dd4565b610435565b6040516001600160a01b03909116815260200161018c565b6101fb6101f6366004611c6e565b61045c565b005b6101fb61020b366004611c9a565b610577565b6008545b60405190815260200161018c565b6101fb610230366004611b7f565b610677565b610214610243366004611c6e565b6106a8565b600b546101d0906001600160a01b031681565b6101fb610269366004611b7f565b61073e565b61021461027c366004611dd4565b610759565b6101fb61028f366004611d8b565b6107ec565b6101d06102a2366004611dd4565b6108fd565b6101b061095d565b6102146102bd366004611b0c565b6109eb565b600a546101d0906001600160a01b031681565b6101806102e3366004611d2c565b610a71565b6101b0610afd565b6101fb6102fe366004611c40565b610b0c565b6101fb610311366004611c9a565b610b1b565b6101fb610324366004611bc0565b610c8c565b6101b0610337366004611dd4565b610cbe565b61018061034a366004611b46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b0319821663780e9d6360e01b148061039d575061039d82610cef565b92915050565b6060600080546103b290611fd0565b80601f01602080910402602001604051908101604052809291908181526020018280546103de90611fd0565b801561042b5780601f106104005761010080835404028352916020019161042b565b820191906000526020600020905b81548152906001019060200180831161040e57829003601f168201915b5050505050905090565b600061044082610d3f565b506000908152600460205260409020546001600160a01b031690565b6000610467826108fd565b9050806001600160a01b0316836001600160a01b031614156104da5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104f657506104f6813361034a565b6105685760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104d1565b6105728383610d9e565b505050565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156105c057600080fd5b505afa1580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190611d0f565b6106335760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b60448201526064016104d1565b60005b818110156105725760008383838181106106525761065261207c565b90506020020135905061066481610e0c565b508061066f8161200b565b915050610636565b6106813382610faf565b61069d5760405162461bcd60e51b81526004016104d190611f13565b61057283838361102e565b60006106b3836109eb565b82106107155760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104d1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61057283838360405180602001604052806000815250610c8c565b600061076460085490565b82106107c75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104d1565b600882815481106107da576107da61207c565b90600052602060002001549050919050565b600a546001600160a01b03166108315760405162461bcd60e51b815260206004820152600a602482015269155057d393d517d4d15560b21b60448201526064016104d1565b600a54604051632474521560e21b8152600060048201523360248201526001600160a01b03909116906391d148549060440160206040518083038186803b15801561087b57600080fd5b505afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b39190611d0f565b6108f15760405162461bcd60e51b815260206004820152600f60248201526e155057d5539055551213d492569151608a1b60448201526064016104d1565b6108fa816111d5565b50565b6000818152600260205260408120546001600160a01b03168061039d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d1565b600c805461096a90611fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461099690611fd0565b80156109e35780601f106109b8576101008083540402835291602001916109e3565b820191906000526020600020905b8154815290600101906020018083116109c657829003601f168201915b505050505081565b60006001600160a01b038216610a555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104d1565b506001600160a01b031660009081526003602052604090205490565b600a54604051632474521560e21b8152600481018490526001600160a01b03838116602483015260009216906391d148549060440160206040518083038186803b158015610abe57600080fd5b505afa158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190611d0f565b9392505050565b6060600180546103b290611fd0565b610b173383836111e8565b5050565b600a547f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848906001600160a01b0316610b825760405162461bcd60e51b815260206004820152600a602482015269155057d393d517d4d15560b21b60448201526064016104d1565b600a54604051632474521560e21b8152600481018390523360248201526001600160a01b03909116906391d148549060440160206040518083038186803b158015610bcc57600080fd5b505afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c049190611d0f565b610c425760405162461bcd60e51b815260206004820152600f60248201526e155057d5539055551213d492569151608a1b60448201526064016104d1565b60005b82811015610c86576000848483818110610c6157610c6161207c565b905060200201359050610c73816112b7565b5080610c7e8161200b565b915050610c45565b50505050565b610c963383610faf565b610cb25760405162461bcd60e51b81526004016104d190611f13565b610c86848484846112c0565b6060610cc9826112f3565b604051602001610cd99190611e48565b6040516020818303038152906040529050919050565b60006001600160e01b031982166380ac58cd60e01b1480610d2057506001600160e01b03198216635b5e139f60e01b145b8061039d57506301ffc9a760e01b6001600160e01b031983161461039d565b6000818152600260205260409020546001600160a01b03166108fa5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d1565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610dd3826108fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600d6020526040902054819060ff1615610e605760405162461bcd60e51b815260206004820152601060248201526f1053149150511657d55411d49051115160821b60448201526064016104d1565b600b546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610ea457600080fd5b505afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edc9190611b29565b6001600160a01b031614610f1e5760405162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b60448201526064016104d1565b600b546040516323b872dd60e01b81523360048201526001600160a01b039091166024820181905260448201849052906323b872dd90606401600060405180830381600087803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b50505050610f933383611359565b506000908152600d60205260409020805460ff19166001179055565b600080610fbb836108fd565b9050806001600160a01b0316846001600160a01b0316148061100257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110265750836001600160a01b031661101b84610435565b6001600160a01b0316145b949350505050565b826001600160a01b0316611041826108fd565b6001600160a01b0316146110a55760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104d1565b6001600160a01b0382166111075760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d1565b611112838383611373565b61111d600082610d9e565b6001600160a01b0383166000908152600360205260408120805460019290611146908490611f8d565b90915550506001600160a01b0382166000908152600360205260408120805460019290611174908490611f61565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8051610b1790600c9060208401906119fd565b816001600160a01b0316836001600160a01b0316141561124a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6108fa8161142b565b6112cb84848461102e565b6112d7848484846114d2565b610c865760405162461bcd60e51b81526004016104d190611ec1565b60606112fe82610d3f565b60006113086115df565b905060008151116113285760405180602001604052806000815250610af6565b80611332846115ee565b604051602001611343929190611e19565b6040516020818303038152906040529392505050565b610b178282604051806020016040528060008152506116ec565b6001600160a01b0383166113ce576113c981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6113f1565b816001600160a01b0316836001600160a01b0316146113f1576113f1838261171f565b6001600160a01b03821661140857610572816117bc565b826001600160a01b0316826001600160a01b03161461057257610572828261186b565b6000611436826108fd565b905061144481600084611373565b61144f600083610d9e565b6001600160a01b0381166000908152600360205260408120805460019290611478908490611f8d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b156115d457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611516903390899088908890600401611e71565b602060405180830381600087803b15801561153057600080fd5b505af1925050508015611560575060408051601f3d908101601f1916820190925261155d91810190611d6e565b60015b6115ba573d80801561158e576040519150601f19603f3d011682016040523d82523d6000602084013e611593565b606091505b5080516115b25760405162461bcd60e51b81526004016104d190611ec1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611026565b506001949350505050565b6060600c80546103b290611fd0565b6060816116125750506040805180820190915260018152600360fc1b602082015290565b8160005b811561163c57806116268161200b565b91506116359050600a83611f79565b9150611616565b60008167ffffffffffffffff81111561165757611657612092565b6040519080825280601f01601f191660200182016040528015611681576020820181803683370190505b5090505b841561102657611696600183611f8d565b91506116a3600a86612026565b6116ae906030611f61565b60f81b8183815181106116c3576116c361207c565b60200101906001600160f81b031916908160001a9053506116e5600a86611f79565b9450611685565b6116f683836118af565b61170360008484846114d2565b6105725760405162461bcd60e51b81526004016104d190611ec1565b6000600161172c846109eb565b6117369190611f8d565b600083815260076020526040902054909150808214611789576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117ce90600190611f8d565b600083815260096020526040812054600880549394509092849081106117f6576117f661207c565b9060005260206000200154905080600883815481106118175761181761207c565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061184f5761184f612066565b6001900381819060005260206000200160009055905550505050565b6000611876836109eb565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119055760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d1565b6000818152600260205260409020546001600160a01b03161561196a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d1565b61197660008383611373565b6001600160a01b038216600090815260036020526040812080546001929061199f908490611f61565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611a0990611fd0565b90600052602060002090601f016020900481019282611a2b5760008555611a71565b82601f10611a4457805160ff1916838001178555611a71565b82800160010185558215611a71579182015b82811115611a71578251825591602001919060010190611a56565b50611a7d929150611a81565b5090565b5b80821115611a7d5760008155600101611a82565b600067ffffffffffffffff80841115611ab157611ab1612092565b604051601f8501601f19908116603f01168101908282118183101715611ad957611ad9612092565b81604052809350858152868686011115611af257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b1e57600080fd5b8135610af6816120a8565b600060208284031215611b3b57600080fd5b8151610af6816120a8565b60008060408385031215611b5957600080fd5b8235611b64816120a8565b91506020830135611b74816120a8565b809150509250929050565b600080600060608486031215611b9457600080fd5b8335611b9f816120a8565b92506020840135611baf816120a8565b929592945050506040919091013590565b60008060008060808587031215611bd657600080fd5b8435611be1816120a8565b93506020850135611bf1816120a8565b925060408501359150606085013567ffffffffffffffff811115611c1457600080fd5b8501601f81018713611c2557600080fd5b611c3487823560208401611a96565b91505092959194509250565b60008060408385031215611c5357600080fd5b8235611c5e816120a8565b91506020830135611b74816120bd565b60008060408385031215611c8157600080fd5b8235611c8c816120a8565b946020939093013593505050565b60008060208385031215611cad57600080fd5b823567ffffffffffffffff80821115611cc557600080fd5b818501915085601f830112611cd957600080fd5b813581811115611ce857600080fd5b8660208260051b8501011115611cfd57600080fd5b60209290920196919550909350505050565b600060208284031215611d2157600080fd5b8151610af6816120bd565b60008060408385031215611d3f57600080fd5b823591506020830135611b74816120a8565b600060208284031215611d6357600080fd5b8135610af6816120cb565b600060208284031215611d8057600080fd5b8151610af6816120cb565b600060208284031215611d9d57600080fd5b813567ffffffffffffffff811115611db457600080fd5b8201601f81018413611dc557600080fd5b61102684823560208401611a96565b600060208284031215611de657600080fd5b5035919050565b60008151808452611e05816020860160208601611fa4565b601f01601f19169290920160200192915050565b60008351611e2b818460208801611fa4565b835190830190611e3f818360208801611fa4565b01949350505050565b60008251611e5a818460208701611fa4565b64173539b7b760d91b920191825250600501919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ea490830184611ded565b9695505050505050565b602081526000610af66020830184611ded565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115611f7457611f7461203a565b500190565b600082611f8857611f88612050565b500490565b600082821015611f9f57611f9f61203a565b500390565b60005b83811015611fbf578181015183820152602001611fa7565b83811115610c865750506000910152565b600181811c90821680611fe457607f821691505b6020821081141561200557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561201f5761201f61203a565b5060010190565b60008261203557612035612050565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146108fa57600080fd5b80151581146108fa57600080fd5b6001600160e01b0319811681146108fa57600080fdfea26469706673582212204dd9f78c117ca3e988550c0cc4adea5138ef965d3d50ed99be4214b54f3e89df64736f6c63430008070033000000000000000000000000a0dc9e505373e92ede773de021444ae251f9c171000000000000000000000000bc972e15541fcc38889111ef0549da152d5584ea

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806355f804b3116100c357806395d89b411161007c57806395d89b41146102e8578063a22cb465146102f0578063b80f55c914610303578063b88d4fde14610316578063c87b56dd14610329578063e985e9c51461033c57600080fd5b806355f804b3146102815780636352211e146102945780636c0360eb146102a757806370a08231146102af578063839aef5d146102c257806391d14854146102d557600080fd5b806318160ddd1161011557806318160ddd1461021057806323b872dd146102225780632f745c591461023557806330503c4e1461024857806342842e0e1461025b5780634f6ccce71461026e57600080fd5b806301025f8e1461015d57806301ffc9a71461019557806306fdde03146101a8578063081812fc146101bd578063095ea7b3146101e85780630f800356146101fd575b600080fd5b61018061016b366004611dd4565b600d6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6101806101a3366004611d51565b610378565b6101b06103a3565b60405161018c9190611eae565b6101d06101cb366004611dd4565b610435565b6040516001600160a01b03909116815260200161018c565b6101fb6101f6366004611c6e565b61045c565b005b6101fb61020b366004611c9a565b610577565b6008545b60405190815260200161018c565b6101fb610230366004611b7f565b610677565b610214610243366004611c6e565b6106a8565b600b546101d0906001600160a01b031681565b6101fb610269366004611b7f565b61073e565b61021461027c366004611dd4565b610759565b6101fb61028f366004611d8b565b6107ec565b6101d06102a2366004611dd4565b6108fd565b6101b061095d565b6102146102bd366004611b0c565b6109eb565b600a546101d0906001600160a01b031681565b6101806102e3366004611d2c565b610a71565b6101b0610afd565b6101fb6102fe366004611c40565b610b0c565b6101fb610311366004611c9a565b610b1b565b6101fb610324366004611bc0565b610c8c565b6101b0610337366004611dd4565b610cbe565b61018061034a366004611b46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b0319821663780e9d6360e01b148061039d575061039d82610cef565b92915050565b6060600080546103b290611fd0565b80601f01602080910402602001604051908101604052809291908181526020018280546103de90611fd0565b801561042b5780601f106104005761010080835404028352916020019161042b565b820191906000526020600020905b81548152906001019060200180831161040e57829003601f168201915b5050505050905090565b600061044082610d3f565b506000908152600460205260409020546001600160a01b031690565b6000610467826108fd565b9050806001600160a01b0316836001600160a01b031614156104da5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104f657506104f6813361034a565b6105685760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104d1565b6105728383610d9e565b505050565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156105c057600080fd5b505afa1580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190611d0f565b6106335760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b60448201526064016104d1565b60005b818110156105725760008383838181106106525761065261207c565b90506020020135905061066481610e0c565b508061066f8161200b565b915050610636565b6106813382610faf565b61069d5760405162461bcd60e51b81526004016104d190611f13565b61057283838361102e565b60006106b3836109eb565b82106107155760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104d1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61057283838360405180602001604052806000815250610c8c565b600061076460085490565b82106107c75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104d1565b600882815481106107da576107da61207c565b90600052602060002001549050919050565b600a546001600160a01b03166108315760405162461bcd60e51b815260206004820152600a602482015269155057d393d517d4d15560b21b60448201526064016104d1565b600a54604051632474521560e21b8152600060048201523360248201526001600160a01b03909116906391d148549060440160206040518083038186803b15801561087b57600080fd5b505afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b39190611d0f565b6108f15760405162461bcd60e51b815260206004820152600f60248201526e155057d5539055551213d492569151608a1b60448201526064016104d1565b6108fa816111d5565b50565b6000818152600260205260408120546001600160a01b03168061039d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d1565b600c805461096a90611fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461099690611fd0565b80156109e35780601f106109b8576101008083540402835291602001916109e3565b820191906000526020600020905b8154815290600101906020018083116109c657829003601f168201915b505050505081565b60006001600160a01b038216610a555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104d1565b506001600160a01b031660009081526003602052604090205490565b600a54604051632474521560e21b8152600481018490526001600160a01b03838116602483015260009216906391d148549060440160206040518083038186803b158015610abe57600080fd5b505afa158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190611d0f565b9392505050565b6060600180546103b290611fd0565b610b173383836111e8565b5050565b600a547f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848906001600160a01b0316610b825760405162461bcd60e51b815260206004820152600a602482015269155057d393d517d4d15560b21b60448201526064016104d1565b600a54604051632474521560e21b8152600481018390523360248201526001600160a01b03909116906391d148549060440160206040518083038186803b158015610bcc57600080fd5b505afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c049190611d0f565b610c425760405162461bcd60e51b815260206004820152600f60248201526e155057d5539055551213d492569151608a1b60448201526064016104d1565b60005b82811015610c86576000848483818110610c6157610c6161207c565b905060200201359050610c73816112b7565b5080610c7e8161200b565b915050610c45565b50505050565b610c963383610faf565b610cb25760405162461bcd60e51b81526004016104d190611f13565b610c86848484846112c0565b6060610cc9826112f3565b604051602001610cd99190611e48565b6040516020818303038152906040529050919050565b60006001600160e01b031982166380ac58cd60e01b1480610d2057506001600160e01b03198216635b5e139f60e01b145b8061039d57506301ffc9a760e01b6001600160e01b031983161461039d565b6000818152600260205260409020546001600160a01b03166108fa5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d1565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610dd3826108fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600d6020526040902054819060ff1615610e605760405162461bcd60e51b815260206004820152601060248201526f1053149150511657d55411d49051115160821b60448201526064016104d1565b600b546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610ea457600080fd5b505afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edc9190611b29565b6001600160a01b031614610f1e5760405162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b60448201526064016104d1565b600b546040516323b872dd60e01b81523360048201526001600160a01b039091166024820181905260448201849052906323b872dd90606401600060405180830381600087803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b50505050610f933383611359565b506000908152600d60205260409020805460ff19166001179055565b600080610fbb836108fd565b9050806001600160a01b0316846001600160a01b0316148061100257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110265750836001600160a01b031661101b84610435565b6001600160a01b0316145b949350505050565b826001600160a01b0316611041826108fd565b6001600160a01b0316146110a55760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104d1565b6001600160a01b0382166111075760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d1565b611112838383611373565b61111d600082610d9e565b6001600160a01b0383166000908152600360205260408120805460019290611146908490611f8d565b90915550506001600160a01b0382166000908152600360205260408120805460019290611174908490611f61565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8051610b1790600c9060208401906119fd565b816001600160a01b0316836001600160a01b0316141561124a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6108fa8161142b565b6112cb84848461102e565b6112d7848484846114d2565b610c865760405162461bcd60e51b81526004016104d190611ec1565b60606112fe82610d3f565b60006113086115df565b905060008151116113285760405180602001604052806000815250610af6565b80611332846115ee565b604051602001611343929190611e19565b6040516020818303038152906040529392505050565b610b178282604051806020016040528060008152506116ec565b6001600160a01b0383166113ce576113c981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6113f1565b816001600160a01b0316836001600160a01b0316146113f1576113f1838261171f565b6001600160a01b03821661140857610572816117bc565b826001600160a01b0316826001600160a01b03161461057257610572828261186b565b6000611436826108fd565b905061144481600084611373565b61144f600083610d9e565b6001600160a01b0381166000908152600360205260408120805460019290611478908490611f8d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b156115d457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611516903390899088908890600401611e71565b602060405180830381600087803b15801561153057600080fd5b505af1925050508015611560575060408051601f3d908101601f1916820190925261155d91810190611d6e565b60015b6115ba573d80801561158e576040519150601f19603f3d011682016040523d82523d6000602084013e611593565b606091505b5080516115b25760405162461bcd60e51b81526004016104d190611ec1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611026565b506001949350505050565b6060600c80546103b290611fd0565b6060816116125750506040805180820190915260018152600360fc1b602082015290565b8160005b811561163c57806116268161200b565b91506116359050600a83611f79565b9150611616565b60008167ffffffffffffffff81111561165757611657612092565b6040519080825280601f01601f191660200182016040528015611681576020820181803683370190505b5090505b841561102657611696600183611f8d565b91506116a3600a86612026565b6116ae906030611f61565b60f81b8183815181106116c3576116c361207c565b60200101906001600160f81b031916908160001a9053506116e5600a86611f79565b9450611685565b6116f683836118af565b61170360008484846114d2565b6105725760405162461bcd60e51b81526004016104d190611ec1565b6000600161172c846109eb565b6117369190611f8d565b600083815260076020526040902054909150808214611789576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117ce90600190611f8d565b600083815260096020526040812054600880549394509092849081106117f6576117f661207c565b9060005260206000200154905080600883815481106118175761181761207c565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061184f5761184f612066565b6001900381819060005260206000200160009055905550505050565b6000611876836109eb565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119055760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d1565b6000818152600260205260409020546001600160a01b03161561196a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d1565b61197660008383611373565b6001600160a01b038216600090815260036020526040812080546001929061199f908490611f61565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611a0990611fd0565b90600052602060002090601f016020900481019282611a2b5760008555611a71565b82601f10611a4457805160ff1916838001178555611a71565b82800160010185558215611a71579182015b82811115611a71578251825591602001919060010190611a56565b50611a7d929150611a81565b5090565b5b80821115611a7d5760008155600101611a82565b600067ffffffffffffffff80841115611ab157611ab1612092565b604051601f8501601f19908116603f01168101908282118183101715611ad957611ad9612092565b81604052809350858152868686011115611af257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b1e57600080fd5b8135610af6816120a8565b600060208284031215611b3b57600080fd5b8151610af6816120a8565b60008060408385031215611b5957600080fd5b8235611b64816120a8565b91506020830135611b74816120a8565b809150509250929050565b600080600060608486031215611b9457600080fd5b8335611b9f816120a8565b92506020840135611baf816120a8565b929592945050506040919091013590565b60008060008060808587031215611bd657600080fd5b8435611be1816120a8565b93506020850135611bf1816120a8565b925060408501359150606085013567ffffffffffffffff811115611c1457600080fd5b8501601f81018713611c2557600080fd5b611c3487823560208401611a96565b91505092959194509250565b60008060408385031215611c5357600080fd5b8235611c5e816120a8565b91506020830135611b74816120bd565b60008060408385031215611c8157600080fd5b8235611c8c816120a8565b946020939093013593505050565b60008060208385031215611cad57600080fd5b823567ffffffffffffffff80821115611cc557600080fd5b818501915085601f830112611cd957600080fd5b813581811115611ce857600080fd5b8660208260051b8501011115611cfd57600080fd5b60209290920196919550909350505050565b600060208284031215611d2157600080fd5b8151610af6816120bd565b60008060408385031215611d3f57600080fd5b823591506020830135611b74816120a8565b600060208284031215611d6357600080fd5b8135610af6816120cb565b600060208284031215611d8057600080fd5b8151610af6816120cb565b600060208284031215611d9d57600080fd5b813567ffffffffffffffff811115611db457600080fd5b8201601f81018413611dc557600080fd5b61102684823560208401611a96565b600060208284031215611de657600080fd5b5035919050565b60008151808452611e05816020860160208601611fa4565b601f01601f19169290920160200192915050565b60008351611e2b818460208801611fa4565b835190830190611e3f818360208801611fa4565b01949350505050565b60008251611e5a818460208701611fa4565b64173539b7b760d91b920191825250600501919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ea490830184611ded565b9695505050505050565b602081526000610af66020830184611ded565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115611f7457611f7461203a565b500190565b600082611f8857611f88612050565b500490565b600082821015611f9f57611f9f61203a565b500390565b60005b83811015611fbf578181015183820152602001611fa7565b83811115610c865750506000910152565b600181811c90821680611fe457607f821691505b6020821081141561200557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561201f5761201f61203a565b5060010190565b60008261203557612035612050565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146108fa57600080fd5b80151581146108fa57600080fd5b6001600160e01b0319811681146108fa57600080fdfea26469706673582212204dd9f78c117ca3e988550c0cc4adea5138ef965d3d50ed99be4214b54f3e89df64736f6c63430008070033

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

000000000000000000000000a0dc9e505373e92ede773de021444ae251f9c171000000000000000000000000bc972e15541fcc38889111ef0549da152d5584ea

-----Decoded View---------------
Arg [0] : addr (address): 0xA0Dc9e505373e92eDE773dE021444ae251f9C171
Arg [1] : userAccess (address): 0xbc972E15541FCC38889111eF0549dA152D5584ea

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0dc9e505373e92ede773de021444ae251f9c171
Arg [1] : 000000000000000000000000bc972e15541fcc38889111ef0549da152d5584ea


Deployed ByteCode Sourcemap

52662:145:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50748:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8592:14:1;;8585:22;8567:41;;8555:2;8540:18;50748:43:0;;;;;;;;44379:224;;;;;;:::i;:::-;;:::i;31113:100::-;;;:::i;:::-;;;;;;;:::i;32626:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7201:32:1;;;7183:51;;7171:2;7156:18;32626:171:0;7037:203:1;32143:417:0;;;;;;:::i;:::-;;:::i;:::-;;51165:262;;;;;;:::i;:::-;;:::i;45019:113::-;45107:10;:17;45019:113;;;16562:25:1;;;16550:2;16535:18;45019:113:0;16416:177:1;33326:336:0;;;;;;:::i;:::-;;:::i;44687:256::-;;;;;;:::i;:::-;;:::i;50687:26::-;;;;;-1:-1:-1;;;;;50687:26:0;;;33733:185;;;;;;:::i;:::-;;:::i;45209:233::-;;;;;;:::i;:::-;;:::i;51643:100::-;;;;;;:::i;:::-;;:::i;30824:222::-;;;;;;:::i;:::-;;:::i;50720:21::-;;;:::i;30555:207::-;;;;;;:::i;:::-;;:::i;3623:29::-;;;;;-1:-1:-1;;;;;3623:29:0;;;4235:127;;;;;;:::i;:::-;;:::i;31282:104::-;;;:::i;32869:155::-;;;;;;:::i;:::-;;:::i;51433:204::-;;;;;;:::i;:::-;;:::i;33989:323::-;;;;;;:::i;:::-;;:::i;52181:187::-;;;;;;:::i;:::-;;:::i;33095:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;33216:25:0;;;33192:4;33216:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33095:164;44379:224;44481:4;-1:-1:-1;;;;;;44505:50:0;;-1:-1:-1;;;44505:50:0;;:90;;;44559:36;44583:11;44559:23;:36::i;:::-;44498:97;44379:224;-1:-1:-1;;44379:224:0:o;31113:100::-;31167:13;31200:5;31193:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31113:100;:::o;32626:171::-;32702:7;32722:23;32737:7;32722:14;:23::i;:::-;-1:-1:-1;32765:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32765:24:0;;32626:171::o;32143:417::-;32224:13;32240:23;32255:7;32240:14;:23::i;:::-;32224:39;;32288:5;-1:-1:-1;;;;;32282:11:0;:2;-1:-1:-1;;;;;32282:11:0;;;32274:57;;;;-1:-1:-1;;;32274:57:0;;14712:2:1;32274:57:0;;;14694:21:1;14751:2;14731:18;;;14724:30;14790:34;14770:18;;;14763:62;-1:-1:-1;;;14841:18:1;;;14834:31;14882:19;;32274:57:0;;;;;;;;;7625:10;-1:-1:-1;;;;;32366:21:0;;;;:62;;-1:-1:-1;32391:37:0;32408:5;7625:10;33095:164;:::i;32391:37::-;32344:174;;;;-1:-1:-1;;;32344:174:0;;13567:2:1;32344:174:0;;;13549:21:1;13606:2;13586:18;;;13579:30;13645:34;13625:18;;;13618:62;13716:32;13696:18;;;13689:60;13766:19;;32344:174:0;13365:426:1;32344:174:0;32531:21;32540:2;32544:7;32531:8;:21::i;:::-;32213:347;32143:417;;:::o;51165:262::-;51231:11;;:55;;-1:-1:-1;;;51231:55:0;;51260:10;51231:55;;;7457:34:1;51280:4:0;7507:18:1;;;7500:43;-1:-1:-1;;;;;51231:11:0;;;;:28;;7392:18:1;;51231:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51223:80;;;;-1:-1:-1;;;51223:80:0;;12127:2:1;51223:80:0;;;12109:21:1;12166:2;12146:18;;;12139:30;-1:-1:-1;;;12185:18:1;;;12178:42;12237:18;;51223:80:0;11925:336:1;51223:80:0;51315:6;51310:112;51327:19;;;51310:112;;;51362:12;51377:8;;51386:1;51377:11;;;;;;;:::i;:::-;;;;;;;51362:26;;51397:17;51406:7;51397:8;:17::i;:::-;-1:-1:-1;51348:3:0;;;;:::i;:::-;;;;51310:112;;33326:336;33521:41;7625:10;33554:7;33521:18;:41::i;:::-;33513:100;;;;-1:-1:-1;;;33513:100:0;;;;;;;:::i;:::-;33626:28;33636:4;33642:2;33646:7;33626:9;:28::i;44687:256::-;44784:7;44820:23;44837:5;44820:16;:23::i;:::-;44812:5;:31;44804:87;;;;-1:-1:-1;;;44804:87:0;;9774:2:1;44804:87:0;;;9756:21:1;9813:2;9793:18;;;9786:30;9852:34;9832:18;;;9825:62;-1:-1:-1;;;9903:18:1;;;9896:41;9954:19;;44804:87:0;9572:407:1;44804:87:0;-1:-1:-1;;;;;;44909:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;44687:256::o;33733:185::-;33871:39;33888:4;33894:2;33898:7;33871:39;;;;;;;;;;;;:16;:39::i;45209:233::-;45284:7;45320:30;45107:10;:17;;45019:113;45320:30;45312:5;:38;45304:95;;;;-1:-1:-1;;;45304:95:0;;15453:2:1;45304:95:0;;;15435:21:1;15492:2;15472:18;;;15465:30;15531:34;15511:18;;;15504:62;-1:-1:-1;;;15582:18:1;;;15575:42;15634:19;;45304:95:0;15251:408:1;45304:95:0;45417:10;45428:5;45417:17;;;;;;;;:::i;:::-;;;;;;;;;45410:24;;45209:233;;;:::o;51643:100::-;3887:10;;-1:-1:-1;;;;;3887:10:0;3879:60;;;;-1:-1:-1;;;3879:60:0;;15114:2:1;3879:60:0;;;15096:21:1;15153:2;15133:18;;;15126:30;-1:-1:-1;;;15172:18:1;;;15165:40;15222:18;;3879:60:0;14912:334:1;3879:60:0;3954:10;;:50;;-1:-1:-1;;;3954:50:0;;:10;:50;;;8793:25:1;3993:10:0;8834:18:1;;;8827:60;-1:-1:-1;;;;;3954:10:0;;;;:18;;8766::1;;3954:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3946:78;;;;-1:-1:-1;;;3946:78:0;;12468:2:1;3946:78:0;;;12450:21:1;12507:2;12487:18;;;12480:30;-1:-1:-1;;;12526:18:1;;;12519:45;12581:18;;3946:78:0;12266:339:1;3946:78:0;51714:23:::1;51726:10;51714:11;:23::i;:::-;51643:100:::0;:::o;30824:222::-;30896:7;30932:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30932:16:0;30967:19;30959:56;;;;-1:-1:-1;;;30959:56:0;;14359:2:1;30959:56:0;;;14341:21:1;14398:2;14378:18;;;14371:30;-1:-1:-1;;;14417:18:1;;;14410:54;14481:18;;30959:56:0;14157:348:1;50720:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30555:207::-;30627:7;-1:-1:-1;;;;;30655:19:0;;30647:73;;;;-1:-1:-1;;;30647:73:0;;12812:2:1;30647:73:0;;;12794:21:1;12851:2;12831:18;;;12824:30;12890:34;12870:18;;;12863:62;-1:-1:-1;;;12941:18:1;;;12934:39;12990:19;;30647:73:0;12610:405:1;30647:73:0;-1:-1:-1;;;;;;30738:16:0;;;;;:9;:16;;;;;;;30555:207::o;4235:127::-;4324:10;;:32;;-1:-1:-1;;;4324:32:0;;;;;8793:25:1;;;-1:-1:-1;;;;;8854:32:1;;;8834:18;;;8827:60;4304:4:0;;4324:10;;:18;;8766::1;;4324:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4317:39;4235:127;-1:-1:-1;;;4235:127:0:o;31282:104::-;31338:13;31371:7;31364:14;;;;;:::i;32869:155::-;32964:52;7625:10;32997:8;33007;32964:18;:52::i;:::-;32869:155;;:::o;51433:204::-;3707:10;;51490:24;;-1:-1:-1;;;;;3707:10:0;3699:60;;;;-1:-1:-1;;;3699:60:0;;15114:2:1;3699:60:0;;;15096:21:1;15153:2;15133:18;;;15126:30;-1:-1:-1;;;15172:18:1;;;15165:40;15222:18;;3699:60:0;14912:334:1;3699:60:0;3774:10;;:36;;-1:-1:-1;;;3774:36:0;;;;;8793:25:1;;;3799:10:0;8834:18:1;;;8827:60;-1:-1:-1;;;;;3774:10:0;;;;:18;;8766::1;;3774:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3766:64;;;;-1:-1:-1;;;3766:64:0;;12468:2:1;3766:64:0;;;12450:21:1;12507:2;12487:18;;;12480:30;-1:-1:-1;;;12526:18:1;;;12519:45;12581:18;;3766:64:0;12266:339:1;3766:64:0;51528:6:::1;51523:109;51540:19:::0;;::::1;51523:109;;;51575:12;51590:8;;51599:1;51590:11;;;;;;;:::i;:::-;;;;;;;51575:26;;51610:14;51616:7;51610:5;:14::i;:::-;-1:-1:-1::0;51561:3:0;::::1;::::0;::::1;:::i;:::-;;;;51523:109;;;;51433:204:::0;;;:::o;33989:323::-;34163:41;7625:10;34196:7;34163:18;:41::i;:::-;34155:100;;;;-1:-1:-1;;;34155:100:0;;;;;;;:::i;:::-;34266:38;34280:4;34286:2;34290:7;34299:4;34266:13;:38::i;52181:187::-;52254:13;52315:23;52330:7;52315:14;:23::i;:::-;52290:71;;;;;;;;:::i;:::-;;;;;;;;;;;;;52276:86;;52181:187;;;:::o;30186:305::-;30288:4;-1:-1:-1;;;;;;30325:40:0;;-1:-1:-1;;;30325:40:0;;:105;;-1:-1:-1;;;;;;;30382:48:0;;-1:-1:-1;;;30382:48:0;30325:105;:158;;;-1:-1:-1;;;;;;;;;;21957:40:0;;;30447:36;21848:157;40601:135;35884:4;35908:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35908:16:0;40675:53;;;;-1:-1:-1;;;40675:53:0;;14359:2:1;40675:53:0;;;14341:21:1;14398:2;14378:18;;;14371:30;-1:-1:-1;;;14417:18:1;;;14410:54;14481:18;;40675:53:0;14157:348:1;39880:174:0;39955:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39955:29:0;-1:-1:-1;;;;;39955:29:0;;;;;;;;:24;;40009:23;39955:24;40009:14;:23::i;:::-;-1:-1:-1;;;;;40000:46:0;;;;;;;;;;;39880:174;;:::o;51749:330::-;51102:22;;;;:13;:22;;;;;;51803:7;;51102:22;;51101:23;51093:52;;;;-1:-1:-1;;;51093:52:0;;13222:2:1;51093:52:0;;;13204:21:1;13261:2;13241:18;;;13234:30;-1:-1:-1;;;13280:18:1;;;13273:46;13336:18;;51093:52:0;13020:340:1;51093:52:0;51827:11:::1;::::0;:28:::1;::::0;-1:-1:-1;;;51827:28:0;;::::1;::::0;::::1;16562:25:1::0;;;51859:10:0::1;::::0;-1:-1:-1;;;;;51827:11:0::1;::::0;:19:::1;::::0;16535:18:1;;51827:28:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;51827:42:0::1;;51819:64;;;::::0;-1:-1:-1;;;51819:64:0;;15866:2:1;51819:64:0::1;::::0;::::1;15848:21:1::0;15905:1;15885:18;;;15878:29;-1:-1:-1;;;15923:18:1;;;15916:39;15972:18;;51819:64:0::1;15664:332:1::0;51819:64:0::1;51890:11;::::0;:67:::1;::::0;-1:-1:-1;;;51890:67:0;;51915:10:::1;51890:67;::::0;::::1;7794:34:1::0;-1:-1:-1;;;;;51890:11:0;;::::1;7844:18:1::0;;;7837:43;;;7896:18;;;7889:34;;;51890:11:0;:24:::1;::::0;7729:18:1;;51890:67:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;52007:30;52017:10;52029:7;52007:9;:30::i;:::-;-1:-1:-1::0;52044:22:0::1;::::0;;;:13:::1;:22;::::0;;;;:29;;-1:-1:-1;;52044:29:0::1;52069:4;52044:29;::::0;;51749:330::o;36113:264::-;36206:4;36223:13;36239:23;36254:7;36239:14;:23::i;:::-;36223:39;;36292:5;-1:-1:-1;;;;;36281:16:0;:7;-1:-1:-1;;;;;36281:16:0;;:52;;;-1:-1:-1;;;;;;33216:25:0;;;33192:4;33216:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;36301:32;36281:87;;;;36361:7;-1:-1:-1;;;;;36337:31:0;:20;36349:7;36337:11;:20::i;:::-;-1:-1:-1;;;;;36337:31:0;;36281:87;36273:96;36113:264;-1:-1:-1;;;;36113:264:0:o;39136:625::-;39295:4;-1:-1:-1;;;;;39268:31:0;:23;39283:7;39268:14;:23::i;:::-;-1:-1:-1;;;;;39268:31:0;;39260:81;;;;-1:-1:-1;;;39260:81:0;;10605:2:1;39260:81:0;;;10587:21:1;10644:2;10624:18;;;10617:30;10683:34;10663:18;;;10656:62;-1:-1:-1;;;10734:18:1;;;10727:35;10779:19;;39260:81:0;10403:401:1;39260:81:0;-1:-1:-1;;;;;39360:16:0;;39352:65;;;;-1:-1:-1;;;39352:65:0;;11368:2:1;39352:65:0;;;11350:21:1;11407:2;11387:18;;;11380:30;11446:34;11426:18;;;11419:62;-1:-1:-1;;;11497:18:1;;;11490:34;11541:19;;39352:65:0;11166:400:1;39352:65:0;39430:39;39451:4;39457:2;39461:7;39430:20;:39::i;:::-;39534:29;39551:1;39555:7;39534:8;:29::i;:::-;-1:-1:-1;;;;;39576:15:0;;;;;;:9;:15;;;;;:20;;39595:1;;39576:15;:20;;39595:1;;39576:20;:::i;:::-;;;;-1:-1:-1;;;;;;;39607:13:0;;;;;;:9;:13;;;;;:18;;39624:1;;39607:13;:18;;39624:1;;39607:18;:::i;:::-;;;;-1:-1:-1;;39636:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;39636:21:0;-1:-1:-1;;;;;39636:21:0;;;;;;;;;39675:27;;39636:16;;39675:27;;;;;;;32213:347;32143:417;;:::o;52085:90::-;52149:20;;;;:7;;:20;;;;;:::i;40197:315::-;40352:8;-1:-1:-1;;;;;40343:17:0;:5;-1:-1:-1;;;;;40343:17:0;;;40335:55;;;;-1:-1:-1;;;40335:55:0;;11773:2:1;40335:55:0;;;11755:21:1;11812:2;11792:18;;;11785:30;11851:27;11831:18;;;11824:55;11896:18;;40335:55:0;11571:349:1;40335:55:0;-1:-1:-1;;;;;40401:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;40401:46:0;;;;;;;;;;40463:41;;8567::1;;;40463::0;;8540:18:1;40463:41:0;;;;;;;40197:315;;;:::o;52474:81::-;52529:20;52541:7;52529:11;:20::i;35193:313::-;35349:28;35359:4;35365:2;35369:7;35349:9;:28::i;:::-;35396:47;35419:4;35425:2;35429:7;35438:4;35396:22;:47::i;:::-;35388:110;;;;-1:-1:-1;;;35388:110:0;;;;;;;:::i;31457:281::-;31530:13;31556:23;31571:7;31556:14;:23::i;:::-;31592:21;31616:10;:8;:10::i;:::-;31592:34;;31668:1;31650:7;31644:21;:25;:86;;;;;;;;;;;;;;;;;31696:7;31705:18;:7;:16;:18::i;:::-;31679:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31637:93;31457:281;-1:-1:-1;;;31457:281:0:o;36719:110::-;36795:26;36805:2;36809:7;36795:26;;;;;;;;;;;;:9;:26::i;46055:589::-;-1:-1:-1;;;;;46261:18:0;;46257:187;;46296:40;46328:7;47471:10;:17;;47444:24;;;;:15;:24;;;;;:44;;;47499:24;;;;;;;;;;;;47367:164;46296:40;46257:187;;;46366:2;-1:-1:-1;;;;;46358:10:0;:4;-1:-1:-1;;;;;46358:10:0;;46354:90;;46385:47;46418:4;46424:7;46385:32;:47::i;:::-;-1:-1:-1;;;;;46458:16:0;;46454:183;;46491:45;46528:7;46491:36;:45::i;46454:183::-;46564:4;-1:-1:-1;;;;;46558:10:0;:2;-1:-1:-1;;;;;46558:10:0;;46554:83;;46585:40;46613:2;46617:7;46585:27;:40::i;38379:420::-;38439:13;38455:23;38470:7;38455:14;:23::i;:::-;38439:39;;38491:48;38512:5;38527:1;38531:7;38491:20;:48::i;:::-;38580:29;38597:1;38601:7;38580:8;:29::i;:::-;-1:-1:-1;;;;;38622:16:0;;;;;;:9;:16;;;;;:21;;38642:1;;38622:16;:21;;38642:1;;38622:21;:::i;:::-;;;;-1:-1:-1;;38661:16:0;;;;:7;:16;;;;;;38654:23;;-1:-1:-1;;;;;;38654:23:0;;;38695:36;38669:7;;38661:16;-1:-1:-1;;;;;38695:36:0;;;;;38661:16;;38695:36;32869:155;;:::o;41300:853::-;41454:4;-1:-1:-1;;;;;41475:13:0;;11987:19;:23;41471:675;;41511:71;;-1:-1:-1;;;41511:71:0;;-1:-1:-1;;;;;41511:36:0;;;;;:71;;7625:10;;41562:4;;41568:7;;41577:4;;41511:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41511:71:0;;;;;;;;-1:-1:-1;;41511:71:0;;;;;;;;;;;;:::i;:::-;;;41507:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41752:13:0;;41748:328;;41795:60;;-1:-1:-1;;;41795:60:0;;;;;;;:::i;41748:328::-;42026:6;42020:13;42011:6;42007:2;42003:15;41996:38;41507:584;-1:-1:-1;;;;;;41633:51:0;-1:-1:-1;;;41633:51:0;;-1:-1:-1;41626:58:0;;41471:675;-1:-1:-1;42130:4:0;41300:853;;;;;;:::o;52374:94::-;52426:13;52455:7;52448:14;;;;;:::i;4799:723::-;4855:13;5076:10;5072:53;;-1:-1:-1;;5103:10:0;;;;;;;;;;;;-1:-1:-1;;;5103:10:0;;;;;4799:723::o;5072:53::-;5150:5;5135:12;5191:78;5198:9;;5191:78;;5224:8;;;;:::i;:::-;;-1:-1:-1;5247:10:0;;-1:-1:-1;5255:2:0;5247:10;;:::i;:::-;;;5191:78;;;5279:19;5311:6;5301:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5301:17:0;;5279:39;;5329:154;5336:10;;5329:154;;5363:11;5373:1;5363:11;;:::i;:::-;;-1:-1:-1;5432:10:0;5440:2;5432:5;:10;:::i;:::-;5419:24;;:2;:24;:::i;:::-;5406:39;;5389:6;5396;5389:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;5389:56:0;;;;;;;;-1:-1:-1;5460:11:0;5469:2;5460:11;;:::i;:::-;;;5329:154;;37056:319;37185:18;37191:2;37195:7;37185:5;:18::i;:::-;37236:53;37267:1;37271:2;37275:7;37284:4;37236:22;:53::i;:::-;37214:153;;;;-1:-1:-1;;;37214:153:0;;;;;;;:::i;48158:988::-;48424:22;48474:1;48449:22;48466:4;48449:16;:22::i;:::-;:26;;;;:::i;:::-;48486:18;48507:26;;;:17;:26;;;;;;48424:51;;-1:-1:-1;48640:28:0;;;48636:328;;-1:-1:-1;;;;;48707:18:0;;48685:19;48707:18;;;:12;:18;;;;;;;;:34;;;;;;;;;48758:30;;;;;;:44;;;48875:30;;:17;:30;;;;;:43;;;48636:328;-1:-1:-1;49060:26:0;;;;:17;:26;;;;;;;;49053:33;;;-1:-1:-1;;;;;49104:18:0;;;;;:12;:18;;;;;:34;;;;;;;49097:41;48158:988::o;49441:1079::-;49719:10;:17;49694:22;;49719:21;;49739:1;;49719:21;:::i;:::-;49751:18;49772:24;;;:15;:24;;;;;;50145:10;:26;;49694:46;;-1:-1:-1;49772:24:0;;49694:46;;50145:26;;;;;;:::i;:::-;;;;;;;;;50123:48;;50209:11;50184:10;50195;50184:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;50289:28;;;:15;:28;;;;;;;:41;;;50461:24;;;;;50454:31;50496:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;49512:1008;;;49441:1079;:::o;46945:221::-;47030:14;47047:20;47064:2;47047:16;:20::i;:::-;-1:-1:-1;;;;;47078:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;47123:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;46945:221:0:o;37711:439::-;-1:-1:-1;;;;;37791:16:0;;37783:61;;;;-1:-1:-1;;;37783:61:0;;13998:2:1;37783:61:0;;;13980:21:1;;;14017:18;;;14010:30;14076:34;14056:18;;;14049:62;14128:18;;37783:61:0;13796:356:1;37783:61:0;35884:4;35908:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35908:16:0;:30;37855:58;;;;-1:-1:-1;;;37855:58:0;;11011:2:1;37855:58:0;;;10993:21:1;11050:2;11030:18;;;11023:30;11089;11069:18;;;11062:58;11137:18;;37855:58:0;10809:352:1;37855:58:0;37926:45;37955:1;37959:2;37963:7;37926:20;:45::i;:::-;-1:-1:-1;;;;;37984:13:0;;;;;;:9;:13;;;;;:18;;38001:1;;37984:13;:18;;38001:1;;37984:18;:::i;:::-;;;;-1:-1:-1;;38013:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38013:21:0;-1:-1:-1;;;;;38013:21:0;;;;;;;;38052:33;;38013:16;;;38052:33;;38013:16;;38052:33;32869:155;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:251::-;972:6;1025:2;1013:9;1004:7;1000:23;996:32;993:52;;;1041:1;1038;1031:12;993:52;1073:9;1067:16;1092:31;1117:5;1092:31;:::i;1158:388::-;1226:6;1234;1287:2;1275:9;1266:7;1262:23;1258:32;1255:52;;;1303:1;1300;1293:12;1255:52;1342:9;1329:23;1361:31;1386:5;1361:31;:::i;:::-;1411:5;-1:-1:-1;1468:2:1;1453:18;;1440:32;1481:33;1440:32;1481:33;:::i;:::-;1533:7;1523:17;;;1158:388;;;;;:::o;1551:456::-;1628:6;1636;1644;1697:2;1685:9;1676:7;1672:23;1668:32;1665:52;;;1713:1;1710;1703:12;1665:52;1752:9;1739:23;1771:31;1796:5;1771:31;:::i;:::-;1821:5;-1:-1:-1;1878:2:1;1863:18;;1850:32;1891:33;1850:32;1891:33;:::i;:::-;1551:456;;1943:7;;-1:-1:-1;;;1997:2:1;1982:18;;;;1969:32;;1551:456::o;2012:794::-;2107:6;2115;2123;2131;2184:3;2172:9;2163:7;2159:23;2155:33;2152:53;;;2201:1;2198;2191:12;2152:53;2240:9;2227:23;2259:31;2284:5;2259:31;:::i;:::-;2309:5;-1:-1:-1;2366:2:1;2351:18;;2338:32;2379:33;2338:32;2379:33;:::i;:::-;2431:7;-1:-1:-1;2485:2:1;2470:18;;2457:32;;-1:-1:-1;2540:2:1;2525:18;;2512:32;2567:18;2556:30;;2553:50;;;2599:1;2596;2589:12;2553:50;2622:22;;2675:4;2667:13;;2663:27;-1:-1:-1;2653:55:1;;2704:1;2701;2694:12;2653:55;2727:73;2792:7;2787:2;2774:16;2769:2;2765;2761:11;2727:73;:::i;:::-;2717:83;;;2012:794;;;;;;;:::o;2811:382::-;2876:6;2884;2937:2;2925:9;2916:7;2912:23;2908:32;2905:52;;;2953:1;2950;2943:12;2905:52;2992:9;2979:23;3011:31;3036:5;3011:31;:::i;:::-;3061:5;-1:-1:-1;3118:2:1;3103:18;;3090:32;3131:30;3090:32;3131:30;:::i;3198:315::-;3266:6;3274;3327:2;3315:9;3306:7;3302:23;3298:32;3295:52;;;3343:1;3340;3333:12;3295:52;3382:9;3369:23;3401:31;3426:5;3401:31;:::i;:::-;3451:5;3503:2;3488:18;;;;3475:32;;-1:-1:-1;;;3198:315:1:o;3518:615::-;3604:6;3612;3665:2;3653:9;3644:7;3640:23;3636:32;3633:52;;;3681:1;3678;3671:12;3633:52;3721:9;3708:23;3750:18;3791:2;3783:6;3780:14;3777:34;;;3807:1;3804;3797:12;3777:34;3845:6;3834:9;3830:22;3820:32;;3890:7;3883:4;3879:2;3875:13;3871:27;3861:55;;3912:1;3909;3902:12;3861:55;3952:2;3939:16;3978:2;3970:6;3967:14;3964:34;;;3994:1;3991;3984:12;3964:34;4047:7;4042:2;4032:6;4029:1;4025:14;4021:2;4017:23;4013:32;4010:45;4007:65;;;4068:1;4065;4058:12;4007:65;4099:2;4091:11;;;;;4121:6;;-1:-1:-1;3518:615:1;;-1:-1:-1;;;;3518:615:1:o;4138:245::-;4205:6;4258:2;4246:9;4237:7;4233:23;4229:32;4226:52;;;4274:1;4271;4264:12;4226:52;4306:9;4300:16;4325:28;4347:5;4325:28;:::i;4388:315::-;4456:6;4464;4517:2;4505:9;4496:7;4492:23;4488:32;4485:52;;;4533:1;4530;4523:12;4485:52;4569:9;4556:23;4546:33;;4629:2;4618:9;4614:18;4601:32;4642:31;4667:5;4642:31;:::i;4708:245::-;4766:6;4819:2;4807:9;4798:7;4794:23;4790:32;4787:52;;;4835:1;4832;4825:12;4787:52;4874:9;4861:23;4893:30;4917:5;4893:30;:::i;4958:249::-;5027:6;5080:2;5068:9;5059:7;5055:23;5051:32;5048:52;;;5096:1;5093;5086:12;5048:52;5128:9;5122:16;5147:30;5171:5;5147:30;:::i;5212:450::-;5281:6;5334:2;5322:9;5313:7;5309:23;5305:32;5302:52;;;5350:1;5347;5340:12;5302:52;5390:9;5377:23;5423:18;5415:6;5412:30;5409:50;;;5455:1;5452;5445:12;5409:50;5478:22;;5531:4;5523:13;;5519:27;-1:-1:-1;5509:55:1;;5560:1;5557;5550:12;5509:55;5583:73;5648:7;5643:2;5630:16;5625:2;5621;5617:11;5583:73;:::i;5667:180::-;5726:6;5779:2;5767:9;5758:7;5754:23;5750:32;5747:52;;;5795:1;5792;5785:12;5747:52;-1:-1:-1;5818:23:1;;5667:180;-1:-1:-1;5667:180:1:o;5852:257::-;5893:3;5931:5;5925:12;5958:6;5953:3;5946:19;5974:63;6030:6;6023:4;6018:3;6014:14;6007:4;6000:5;5996:16;5974:63;:::i;:::-;6091:2;6070:15;-1:-1:-1;;6066:29:1;6057:39;;;;6098:4;6053:50;;5852:257;-1:-1:-1;;5852:257:1:o;6114:470::-;6293:3;6331:6;6325:13;6347:53;6393:6;6388:3;6381:4;6373:6;6369:17;6347:53;:::i;:::-;6463:13;;6422:16;;;;6485:57;6463:13;6422:16;6519:4;6507:17;;6485:57;:::i;:::-;6558:20;;6114:470;-1:-1:-1;;;;6114:470:1:o;6589:443::-;6821:3;6859:6;6853:13;6875:53;6921:6;6916:3;6909:4;6901:6;6897:17;6875:53;:::i;:::-;-1:-1:-1;;;6950:16:1;;6975:22;;;-1:-1:-1;7024:1:1;7013:13;;6589:443;-1:-1:-1;6589:443:1:o;7934:488::-;-1:-1:-1;;;;;8203:15:1;;;8185:34;;8255:15;;8250:2;8235:18;;8228:43;8302:2;8287:18;;8280:34;;;8350:3;8345:2;8330:18;;8323:31;;;8128:4;;8371:45;;8396:19;;8388:6;8371:45;:::i;:::-;8363:53;7934:488;-1:-1:-1;;;;;;7934:488:1:o;9348:219::-;9497:2;9486:9;9479:21;9460:4;9517:44;9557:2;9546:9;9542:18;9534:6;9517:44;:::i;9984:414::-;10186:2;10168:21;;;10225:2;10205:18;;;10198:30;10264:34;10259:2;10244:18;;10237:62;-1:-1:-1;;;10330:2:1;10315:18;;10308:48;10388:3;10373:19;;9984:414::o;16001:410::-;16203:2;16185:21;;;16242:2;16222:18;;;16215:30;16281:34;16276:2;16261:18;;16254:62;-1:-1:-1;;;16347:2:1;16332:18;;16325:44;16401:3;16386:19;;16001:410::o;16598:128::-;16638:3;16669:1;16665:6;16662:1;16659:13;16656:39;;;16675:18;;:::i;:::-;-1:-1:-1;16711:9:1;;16598:128::o;16731:120::-;16771:1;16797;16787:35;;16802:18;;:::i;:::-;-1:-1:-1;16836:9:1;;16731:120::o;16856:125::-;16896:4;16924:1;16921;16918:8;16915:34;;;16929:18;;:::i;:::-;-1:-1:-1;16966:9:1;;16856:125::o;16986:258::-;17058:1;17068:113;17082:6;17079:1;17076:13;17068:113;;;17158:11;;;17152:18;17139:11;;;17132:39;17104:2;17097:10;17068:113;;;17199:6;17196:1;17193:13;17190:48;;;-1:-1:-1;;17234:1:1;17216:16;;17209:27;16986:258::o;17249:380::-;17328:1;17324:12;;;;17371;;;17392:61;;17446:4;17438:6;17434:17;17424:27;;17392:61;17499:2;17491:6;17488:14;17468:18;17465:38;17462:161;;;17545:10;17540:3;17536:20;17533:1;17526:31;17580:4;17577:1;17570:15;17608:4;17605:1;17598:15;17462:161;;17249:380;;;:::o;17634:135::-;17673:3;-1:-1:-1;;17694:17:1;;17691:43;;;17714:18;;:::i;:::-;-1:-1:-1;17761:1:1;17750:13;;17634:135::o;17774:112::-;17806:1;17832;17822:35;;17837:18;;:::i;:::-;-1:-1:-1;17871:9:1;;17774:112::o;17891:127::-;17952:10;17947:3;17943:20;17940:1;17933:31;17983:4;17980:1;17973:15;18007:4;18004:1;17997:15;18023:127;18084:10;18079:3;18075:20;18072:1;18065:31;18115:4;18112:1;18105:15;18139:4;18136:1;18129:15;18155:127;18216:10;18211:3;18207:20;18204:1;18197:31;18247:4;18244:1;18237:15;18271:4;18268:1;18261:15;18287:127;18348:10;18343:3;18339:20;18336:1;18329:31;18379:4;18376:1;18369:15;18403:4;18400:1;18393:15;18419:127;18480:10;18475:3;18471:20;18468:1;18461:31;18511:4;18508:1;18501:15;18535:4;18532:1;18525:15;18551:131;-1:-1:-1;;;;;18626:31:1;;18616:42;;18606:70;;18672:1;18669;18662:12;18687:118;18773:5;18766:13;18759:21;18752:5;18749:32;18739:60;;18795:1;18792;18785:12;18810:131;-1:-1:-1;;;;;;18884:32:1;;18874:43;;18864:71;;18931:1;18928;18921:12

Metadata Hash

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