Contract 0x8fb0605716f60d09dc4cf8a91fc25b811b966d18

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6ad9047ae1f3412e923cbcfcf83033df240b4c3d58f20a592ccc9866750e7661Safe Transfer Fr...88806622021-10-06 15:58:3013 days 4 hrs ago0xfa6a58bbc582568727dc5c543c61c72eb1ea32dc IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.00020148975 2.25
0xfee0cdccf91cfd5436e17e30e0d7eca38a54f82e117a35e08b10959fa6e9f139Approve88806442021-10-06 15:57:3613 days 4 hrs ago0xfa6a58bbc582568727dc5c543c61c72eb1ea32dc IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000109701 2.25
0xe439d5cf4cd8a323ec50aa510be239ae93c54aa820a6116de918e780f0263af9Safe Transfer Fr...86603282021-09-29 0:21:3320 days 20 hrs ago0x33510ba8618f8a34b7119ae19fc37a423bb95291 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.00017831475 2.25
0xa6eb8f8b0a1809e6c26ca75f678564460fd649414158787f0b57cb2d87ba4101Safe Transfer Fr...86603172021-09-29 0:21:0020 days 20 hrs ago0x33510ba8618f8a34b7119ae19fc37a423bb95291 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.00017201475 2.25
0xb7b75a06ecfbbd6a9990553720ba5de921f0e9dc55f3456f77babb80f579ce53Safe Transfer Fr...86603132021-09-29 0:20:4820 days 20 hrs ago0x33510ba8618f8a34b7119ae19fc37a423bb95291 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.00022912425 2.25
0x24ddc48dc8a0ff1c0b21665da800c927af3a61c3f9205e277ac26584a33b99a9Safe Transfer Fr...83150442021-09-17 0:35:5432 days 20 hrs ago0x33510ba8618f8a34b7119ae19fc37a423bb95291 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000185276252.25
0xb5cff88bc59527a1bc7d55c84ac9cc8a017054ed01a68924dc0217bf77d3d51cSafe Transfer Fr...83096802021-09-16 20:07:4233 days 42 mins ago0x50bd2f58d4672302df076fbc54bbc623109cfc85 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000136014752.25
0xdee5f362932047f6b4641830fa74b4346d09849f1d07bf0dc076914c581990eaApprove83096592021-09-16 20:06:3933 days 43 mins ago0x50bd2f58d4672302df076fbc54bbc623109cfc85 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x5760d3235191a02d5bccb48c2c6e50c232ec139a39279739447119742c3319c3Safe Transfer Fr...82492292021-09-14 17:45:0035 days 3 hrs ago0x96ac61b54cdb56fa7f1e30e6065e9fdfab779dff IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000175826252.25
0x26b2d5c5ebc8197ca09d5caf7354451b6077fd1df3241f3ecb50165cf2ba9295Transfer From82485072021-09-14 17:08:5435 days 3 hrs ago0x968b884b543505af698b01ca1aef983ead5b7fd2 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001338122.25
0x140be266633f5197d5b58d696d1eea342c47ebca03258d05012550411959fbdcApprove82484622021-09-14 17:06:3935 days 3 hrs ago0x968b884b543505af698b01ca1aef983ead5b7fd2 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x4ee6f8cef5b03430db6690776553aa96d032d6c725746dd4dd60bfe6b33a1822Safe Transfer Fr...79104782021-09-02 23:27:1246 days 21 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000126564752.25
0x5acdbb4ac4b6a52bef4d74559d599d118dbcaa028097ca712d0b1d4bbf5e5eafApprove79104592021-09-02 23:26:1546 days 21 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x99ceb8e0b3a6e018d83f0b9330968952bc5c4cd8cce53c2aea918720c4ce3b20Safe Transfer Fr...79070342021-09-02 20:34:5647 days 15 mins ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000126564752.25
0x40047d20574b5807bb1050272be7a41adb065f66b83465557d6b030c38fc9211Approve79070302021-09-02 20:34:4447 days 15 mins ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x21306326dfd396a9254e0c4511a3d766b2f1a496fc43c7de67327d5b775981c3Safe Transfer Fr...77262262021-08-27 13:54:2653 days 6 hrs ago0x406cd9b0b56f3d9c9c70ca542f0968ddfbf93c4b IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000135960752.25
0x0ed8303916ee07b5f48ed283bc1ffc0b6355e7d4c122d070bab2bf1888c51bc4Approve77262062021-08-27 13:53:2653 days 6 hrs ago0x406cd9b0b56f3d9c9c70ca542f0968ddfbf93c4b IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001053722.25
0x1e266fb6f7420a419721f6eb552cf683daf2891302b49efa7b6da53471c0488aSafe Transfer Fr...77223762021-08-27 10:41:5553 days 10 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000136014752.25
0x3ffb8dfa8d54ebc7a08f901788b6f658a484a2a0b17031c0486e6e573f5afdfeApprove77223692021-08-27 10:41:3453 days 10 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x2eb5edec0f9d6a6bd6587639898688d29aae213b518fbd3c4615ddd22dde4466Safe Transfer Fr...77223622021-08-27 10:41:1353 days 10 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000151526252.25
0x76d39ea6757e0e926cb4d04671b7466068e9ebb0c24db1601a92cca248e26d2eApprove77223482021-08-27 10:40:3153 days 10 hrs ago0x47a815fdf97dfacd3c538d430f7a2523165edd07 IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0x62b05767ceb4ccb738760103f876d14c37437c5e6be5dc0b7e3e887542fe48e6Safe Transfer Fr...77221282021-08-27 10:29:3153 days 10 hrs ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000126564752.25
0xc9323c55d7c3ed7a76c3507c71797cb0fae37066166f88783b6e309703830888Approve77221232021-08-27 10:29:1653 days 10 hrs ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
0xfdb3866666c925235a920867475a422323ee61f5695b9e3b7810b0a635b9ff33Safe Transfer Fr...77221082021-08-27 10:28:3153 days 10 hrs ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.000151526252.25
0x9a07789ade1a8ca48230248503051ecbd42da6e35c73ea2d8d578a5ac6a65790Approve77221002021-08-27 10:28:0753 days 10 hrs ago0x808c74b8913277542069726e9f594e582bc103fe IN  0x8fb0605716f60d09dc4cf8a91fc25b811b966d180 HT0.0001054262.25
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4b143dc19dea86d99b484b80d4428435d0d3b477cff7e7fea22d951c0200c73572969522021-08-12 16:10:2468 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xb6952233e7f9e7bce719c73d5cad63a789e6c4f3b1b43809170f5515ffd9e58372969422021-08-12 16:09:5468 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xb776c5b1c24158c58adee37b314444b93cfc14b946cf22514f28ced9df98f40e72969352021-08-12 16:09:3368 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x12abfd87bd01b3ae18a4b3a87baf9a6ecf54982ae0c9405243105fe5a4ad148072969262021-08-12 16:09:0668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x13a1305fcfe2f3853351456f6d6582476d6e08dc756e85cfe15cf9783dce01f372969232021-08-12 16:08:5768 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xe42bfd64ed30a6a2f50d5928cfac52aeb304e637c9642e399ae6075eb31211e972969232021-08-12 16:08:5768 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xb91ef8786278a9c125c52b0b1383d1e3719dcd9178888680609331e3db0a537172969042021-08-12 16:08:0068 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xc75de2ccb4e69ce6064cd2610ff0f515fd42bb650e78937480e4e56814c2dda272968922021-08-12 16:07:2468 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xbfbaecb139a678a84376bda17c11ca42832ebfb5b867c01fb2225c15586b789e72968912021-08-12 16:07:2168 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x8ca648c597207f5e721946d966fd15a5c60c78c3e8c5d672c7ee35b2781cd8a572968902021-08-12 16:07:1868 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x605e23fa6522462d70081984db5a3e2a29d386bb698da344df267ad48458040572968862021-08-12 16:07:0668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x28a79f95529377ceebd01f49f2bdea9ea49c77f01a33575708c4cb869bac9be872968822021-08-12 16:06:5468 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xe11ced45948950b012bbfec8d67e1eb0b6f284b07d7eb0c5651c6ab24378039c72968802021-08-12 16:06:4868 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x862ef298c7593858bc862743a8ff08afba8e04002f5bd48a6f4632d15c3833d072968802021-08-12 16:06:4868 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x308400737c1d623b4aecc933dea86ce534984b574acfecd223e841fce6c43bd772968782021-08-12 16:06:4268 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xd70c855285ea79b7664f995404198201e4451d6471ff06cfa5b6bd2a73bff28872968782021-08-12 16:06:4268 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xb9087e9f8478613b4fffa38e834ec1f49ce369d6383b467e8bcab6e08824b85872968762021-08-12 16:06:3668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xb344a6dab99ed3a69aa736c887d9408d8eefb3d78fc1c1328cf1781344d603d372968762021-08-12 16:06:3668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xf0e4bccff8680c2b5faeef979dd3227f06059fa90c82a9c2f4a1511f8571f1d272968762021-08-12 16:06:3668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x642f2a4e65a4153b2c05d2214ce06045d4aa568b25e0213991fd2dc2328d323672968762021-08-12 16:06:3668 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xa50380adbc28bd224304d85bba812ee9970fb5065b38031cb161d9d295b75bd472968752021-08-12 16:06:3368 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x1818c4e8af5e2f9e6d64937acfc97a6c8e8adec181e9543c5bcb4531eaa1625872968752021-08-12 16:06:3368 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0x53d39ac23f3edc20c6971043bf1168ffec0c0bd5720007e0cd228819f8bab53872968732021-08-12 16:06:2768 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xf7f86f2e3a999fae72e202ea6e33558bac7ac01204bbe643374867faaa17f3e672968732021-08-12 16:06:2768 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
0xefac5c58268ec252bcc0f2399904d4fe6aab005bc1c6dfd31999e78abfcff35c72968722021-08-12 16:06:2468 days 4 hrs ago 0x8fb0605716f60d09dc4cf8a91fc25b811b966d180xabb5fedd4cfbff0464500ef34b4827965a7dacd745 HT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MooseNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-08-12
*/

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

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


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/token/ERC721/[email protected]


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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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


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


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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}


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


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/extensions/[email protected]


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 tokenId);

    /**
     * @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/utils/[email protected]


pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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


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


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


pragma solidity ^0.8.0;

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

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

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

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

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

}


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


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/[email protected]


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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * 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 || ERC721.isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-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` 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 { }
}


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


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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;


/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}


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


pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

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

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


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


pragma solidity ^0.8.0;


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

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


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


pragma solidity ^0.8.0;


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

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

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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


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


pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


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


pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}


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


pragma solidity ^0.8.0;

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

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

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

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


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


pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


// File contracts/MooseNFT-HECO.sol


pragma solidity ^0.8.0;








/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract MooseNFT is Context, AccessControlEnumerable, ReentrancyGuard, ERC721Enumerable, ERC721Burnable,ERC721Pausable {
    using Counters for Counters.Counter;

    uint public constant TOKEN_LIMIT = 100; // 4 for testing, 100 for prod;
    uint public constant OWNER_MINTS = 5; // 1 for testing, 5 for prod;

    uint public constant MAX_MINTS_PER_ADDRESS = 2;

    uint public constant PRICE = 45000000000000000000;

    // The beneficiary is the ELK community wallet
    address payable public constant BENEFICIARY = payable(address(0xABb5feDD4CfBFF0464500Ef34B4827965A7dAcD7));

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

    enum TokenType { Legendary, Epic, Rare, Uncommon }

    Counters.Counter private _tokenIdTracker;
    TokenType[] private _tokenTypes = [TokenType.Legendary, TokenType.Epic, TokenType.Epic, TokenType.Epic, TokenType.Epic, TokenType.Epic, TokenType.Epic, TokenType.Uncommon, TokenType.Rare, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Epic, TokenType.Rare, TokenType.Epic, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Epic, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Uncommon, TokenType.Rare, TokenType.Uncommon, TokenType.Rare, TokenType.Rare];

    mapping (address => uint8) private _mintCounts;

    string private _baseTokenURI;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(string memory name, string memory symbol, string memory baseTokenURI) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

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

    /*
     * @dev Indicates whether more tokens can be minted.
    */
    function mintAvailable() public view virtual returns (bool) {
        return _tokenIdTracker.current() < TOKEN_LIMIT;
    }

    /*
     * @dev Indicates whether the given address can mint more tokens.
    */
    function addressMintAvailable(address to) public view virtual returns (bool) {
        return _mintCounts[to] < MAX_MINTS_PER_ADDRESS;
    }

    /*
     * @dev Returns the token type for a given tokenId.
    */
    function tokenType(uint tokenId) public view virtual returns (TokenType) {
        require(tokenId >= 0 && tokenId < TOKEN_LIMIT, 'MooseNFT: token does not exist!');
        return _tokenTypes[tokenId];
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public payable virtual nonReentrant() {
        require(_tokenIdTracker.current() < TOKEN_LIMIT, "MooseNFT: mint limit reached!");
        require(_mintCounts[to] < MAX_MINTS_PER_ADDRESS || hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "MooseNFT: mint limit per address reached!");

        uint price = 0;
        if (_tokenIdTracker.current() >= OWNER_MINTS) {
            price = PRICE;
            require(msg.value >= price);
        }

        if (msg.value > 0) {
            BENEFICIARY.transfer(msg.value);
        }

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
        _mintCounts[to] = _mintCounts[to] + 1;
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "MooseNFT: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "MooseNFT: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BENEFICIARY","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"addressMintAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","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"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":"tokenType","outputs":[{"internalType":"enum MooseNFT.TokenType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610d0060405260006080908152600160a081905260c081905260e0819052610100819052610120819052610140819052600361016081905260026101808190526101a08190526101c08290526101e08190526102008290526102208190526102408290526102608290526102808390526102a08190526102c08390526102e08290526103008290526103208190526103408290526103608190526103808290526103a08190526103c08290526103e0819052610400829052610420829052610440819052610460929092526104808190526104a08190526104c08290526104e08290526105008190526105208190526105408190526105608290526105808190526105a08290526105c08290526105e08190526106008190526106208190526106408190526106608290526106808190526106a08190526106c08290526106e08290526107008190526107208190526107408190526107608190526107808190526107a08290526107c08190526107e08190526108008190526108208290526108408190526108608190526108808190526108a08290526108c08290526108e08190526109008190526109208190526109408190526109608290526109808190526109a08290526109c08190526109e0819052610a00819052610a20819052610a40819052610a60829052610a80819052610aa0819052610ac0819052610ae0819052610b00819052610b20829052610b40819052610b60819052610b80819052610ba0819052610bc0819052610be0819052610c00819052610c20829052610c40819052610c60819052610c80829052610ca052610cc0819052610ce0526200026e90600f9060646200049d565b503480156200027c57600080fd5b5060405162003442380380620034428339810160408190526200029f91620006a6565b6001600255825183908390620002bd9060039060208501906200055b565b508051620002d39060049060208401906200055b565b5050600d805460ff19169055508051620002f59060119060208401906200055b565b506200030360003362000338565b6200032f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000338565b505050620007a0565b6200034f82826200037b60201b620014b31760201c565b600082815260016020908152604090912062000376918390620014c16200038b821b17901c565b505050565b620003878282620003ab565b5050565b6000620003a2836001600160a01b0384166200044b565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000387576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004073390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200049457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620003a5565b506000620003a5565b82805482825590600052602060002090601f01602090048101928215620005495791602002820160005b838211156200051857835183826101000a81548160ff02191690836003811115620004f657620004f662000774565b02179055509260200192600101602081600001049283019260010302620004c7565b8015620005475782816101000a81549060ff021916905560010160208160000104928301926001030262000518565b505b5062000557929150620005d8565b5090565b828054620005699062000737565b90600052602060002090601f0160209004810192826200058d576000855562000549565b82601f10620005a857805160ff191683800117855562000549565b8280016001018555821562000549579182015b8281111562000549578251825591602001919060010190620005bb565b5b80821115620005575760008155600101620005d9565b600082601f8301126200060157600080fd5b81516001600160401b03808211156200061e576200061e6200078a565b604051601f8301601f19908116603f011681019082821181831017156200064957620006496200078a565b816040528381526020925086838588010111156200066657600080fd5b600091505b838210156200068a57858201830151818301840152908201906200066b565b838211156200069c5760008385830101525b9695505050505050565b600080600060608486031215620006bc57600080fd5b83516001600160401b0380821115620006d457600080fd5b620006e287838801620005ef565b94506020860151915080821115620006f957600080fd5b6200070787838801620005ef565b935060408601519150808211156200071e57600080fd5b506200072d86828701620005ef565b9150509250925092565b600181811c908216806200074c57607f821691505b602082108114156200076e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612c9280620007b06000396000f3fe6080604052600436106102855760003560e01c80636a62784211610153578063a22cb465116100cb578063d547741f1161007f578063e63ab1e911610064578063e63ab1e914610708578063e6c3b1f61461073c578063e985e9c51461076957600080fd5b8063d547741f146106aa578063e1fb6f7c146106ca57600080fd5b8063b88d4fde116100b0578063b88d4fde1461064a578063c87b56dd1461066a578063ca15c8731461068a57600080fd5b8063a22cb46514610615578063b874ff431461063557600080fd5b80639010d07c1161012257806395d89b411161010757806395d89b41146105d657806399f19cea146105eb578063a217fddf1461060057600080fd5b80639010d07c1461057257806391d148541461059257600080fd5b80636a6278421461050d57806370a08231146105205780638456cb59146105405780638d859f3e1461055557600080fd5b80632f745c591161020157806342966c68116101b55780635c975abb1161019a5780635c975abb146104c05780636352211e146104d8578063639e576d146104f857600080fd5b806342966c68146104805780634f6ccce7146104a057600080fd5b806336568abe116101e657806336568abe1461042b5780633f4ba83a1461044b57806342842e0e1461046057600080fd5b80632f745c59146103e35780632f99c6cc1461040357600080fd5b8063095ea7b31161025857806323b872dd1161023d57806323b872dd14610373578063248a9ca3146103935780632f2ff15d146103c357600080fd5b8063095ea7b31461033c57806318160ddd1461035e57600080fd5b806301ffc9a71461028a578063031bd4c4146102bf57806306fdde03146102e2578063081812fc14610304575b600080fd5b34801561029657600080fd5b506102aa6102a53660046129ce565b6107b2565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d4606481565b6040519081526020016102b6565b3480156102ee57600080fd5b506102f76107c3565b6040516102b69190612ac7565b34801561031057600080fd5b5061032461031f366004612970565b610855565b6040516001600160a01b0390911681526020016102b6565b34801561034857600080fd5b5061035c610357366004612946565b6108ef565b005b34801561036a57600080fd5b50600b546102d4565b34801561037f57600080fd5b5061035c61038e3660046127f2565b610a21565b34801561039f57600080fd5b506102d46103ae366004612970565b60009081526020819052604090206001015490565b3480156103cf57600080fd5b5061035c6103de366004612989565b610aa9565b3480156103ef57600080fd5b506102d46103fe366004612946565b610acb565b34801561040f57600080fd5b5061032473abb5fedd4cfbff0464500ef34b4827965a7dacd781565b34801561043757600080fd5b5061035c610446366004612989565b610b73565b34801561045757600080fd5b5061035c610b95565b34801561046c57600080fd5b5061035c61047b3660046127f2565b610c3b565b34801561048c57600080fd5b5061035c61049b366004612970565b610c56565b3480156104ac57600080fd5b506102d46104bb366004612970565b610cdd565b3480156104cc57600080fd5b50600d5460ff166102aa565b3480156104e457600080fd5b506103246104f3366004612970565b610d81565b34801561050457600080fd5b506102d4600581565b61035c61051b3660046127a4565b610e0c565b34801561052c57600080fd5b506102d461053b3660046127a4565b61104c565b34801561054c57600080fd5b5061035c6110e6565b34801561056157600080fd5b506102d4680270801d946c94000081565b34801561057e57600080fd5b5061032461058d3660046129ac565b61118a565b34801561059e57600080fd5b506102aa6105ad366004612989565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156105e257600080fd5b506102f76111a9565b3480156105f757600080fd5b506102aa6111b8565b34801561060c57600080fd5b506102d4600081565b34801561062157600080fd5b5061035c61063036600461290a565b6111cb565b34801561064157600080fd5b506102d4600281565b34801561065657600080fd5b5061035c61066536600461282e565b611290565b34801561067657600080fd5b506102f7610685366004612970565b61131e565b34801561069657600080fd5b506102d46106a5366004612970565b611406565b3480156106b657600080fd5b5061035c6106c5366004612989565b61141d565b3480156106d657600080fd5b506102aa6106e53660046127a4565b6001600160a01b0316600090815260106020526040902054600260ff9091161090565b34801561071457600080fd5b506102d47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561074857600080fd5b5061075c610757366004612970565b611427565b6040516102b69190612a9f565b34801561077557600080fd5b506102aa6107843660046127bf565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b60006107bd826114d6565b92915050565b6060600380546107d290612b6e565b80601f01602080910402602001604051908101604052809291908181526020018280546107fe90612b6e565b801561084b5780601f106108205761010080835404028352916020019161084b565b820191906000526020600020905b81548152906001019060200180831161082e57829003601f168201915b5050505050905090565b6000818152600560205260408120546001600160a01b03166108d35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006108fa82610d81565b9050806001600160a01b0316836001600160a01b031614156109845760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108ca565b336001600160a01b03821614806109a057506109a08133610784565b610a125760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108ca565b610a1c8383611514565b505050565b610a2c335b8261158f565b610a9e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108ca565b610a1c838383611686565b610ab3828261186b565b6000828152600160205260409020610a1c90826114c1565b6000610ad68361104c565b8210610b4a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016108ca565b506001600160a01b03919091166000908152600960209081526040808320938352929052205490565b610b7d82826118fa565b6000828152600160205260409020610a1c9082611982565b610bbf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336105ad565b610c315760405162461bcd60e51b815260206004820152602a60248201527f4d6f6f73654e46543a206d75737420686176652070617573657220726f6c652060448201527f746f20756e70617573650000000000000000000000000000000000000000000060648201526084016108ca565b610c39611997565b565b610a1c83838360405180602001604052806000815250611290565b610c5f33610a26565b610cd15760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016108ca565b610cda81611a33565b50565b6000610ce8600b5490565b8210610d5c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108ca565b600b8281548110610d6f57610d6f612c1a565b90600052602060002001549050919050565b6000818152600560205260408120546001600160a01b0316806107bd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108ca565b600280541415610e5e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ca565b600280556064610e6d600e5490565b10610eba5760405162461bcd60e51b815260206004820152601d60248201527f4d6f6f73654e46543a206d696e74206c696d697420726561636865642100000060448201526064016108ca565b6001600160a01b038116600090815260106020526040902054600260ff9091161080610eec5750610eec6000336105ad565b610f5e5760405162461bcd60e51b815260206004820152602960248201527f4d6f6f73654e46543a206d696e74206c696d697420706572206164647265737360448201527f207265616368656421000000000000000000000000000000000000000000000060648201526084016108ca565b60006005610f6b600e5490565b10610f8957680270801d946c940000905080341015610f8957600080fd5b3415610fd15760405173abb5fedd4cfbff0464500ef34b4827965a7dacd7903480156108fc02916000818181858888f19350505050158015610fcf573d6000803e3d6000fd5b505b610fe382610fde600e5490565b611ae7565b610ff1600e80546001019055565b6001600160a01b0382166000908152601060205260409020546110189060ff166001612af2565b6001600160a01b03929092166000908152601060205260409020805460ff191660ff90931692909217909155506001600255565b60006001600160a01b0382166110ca5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108ca565b506001600160a01b031660009081526006602052604090205490565b6111107f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336105ad565b6111825760405162461bcd60e51b815260206004820152602860248201527f4d6f6f73654e46543a206d75737420686176652070617573657220726f6c652060448201527f746f20706175736500000000000000000000000000000000000000000000000060648201526084016108ca565b610c39611c42565b60008281526001602052604081206111a29083611cca565b9392505050565b6060600480546107d290612b6e565b600060646111c5600e5490565b10905090565b6001600160a01b0382163314156112245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108ca565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61129a338361158f565b61130c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108ca565b61131884848484611cd6565b50505050565b6000818152600560205260409020546060906001600160a01b03166113ab5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108ca565b60006113b5611d5f565b905060008151116113d557604051806020016040528060008152506111a2565b806113df84611d6e565b6040516020016113f0929190612a34565b6040516020818303038152906040529392505050565b60008181526001602052604081206107bd90611ea0565b610b7d8282611eaa565b6000606482106114795760405162461bcd60e51b815260206004820152601f60248201527f4d6f6f73654e46543a20746f6b656e20646f6573206e6f74206578697374210060448201526064016108ca565b600f828154811061148c5761148c612c1a565b90600052602060002090602091828204019190069054906101000a900460ff169050919050565b6114bd8282611f37565b5050565b60006111a2836001600160a01b038416611fd5565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107bd57506107bd82612024565b6000818152600760205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061155682610d81565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600560205260408120546001600160a01b03166116085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108ca565b600061161383610d81565b9050806001600160a01b0316846001600160a01b0316148061164e5750836001600160a01b031661164384610855565b6001600160a01b0316145b8061167e57506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661169982610d81565b6001600160a01b0316146117155760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108ca565b6001600160a01b0382166117905760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108ca565b61179b838383612096565b6117a6600082611514565b6001600160a01b03831660009081526006602052604081208054600192906117cf908490612b2b565b90915550506001600160a01b03821660009081526006602052604081208054600192906117fd908490612ada565b9091555050600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082815260208190526040902060010154611888905b336105ad565b6114b35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f206772616e74000000000000000000000000000000000060648201526084016108ca565b6001600160a01b03811633146119785760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016108ca565b6114bd82826120a1565b60006111a2836001600160a01b038416612120565b600d5460ff166119e95760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016108ca565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611a3e82610d81565b9050611a4c81600084612096565b611a57600083611514565b6001600160a01b0381166000908152600660205260408120805460019290611a80908490612b2b565b9091555050600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611b3d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108ca565b6000818152600560205260409020546001600160a01b031615611ba25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108ca565b611bae60008383612096565b6001600160a01b0382166000908152600660205260408120805460019290611bd7908490612ada565b9091555050600081815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600d5460ff1615611c955760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108ca565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a163390565b60006111a28383612213565b611ce1848484611686565b611ced848484846122b4565b6113185760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108ca565b6060601180546107d290612b6e565b606081611dae57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611dd85780611dc281612ba9565b9150611dd19050600a83612b17565b9150611db2565b60008167ffffffffffffffff811115611df357611df3612c30565b6040519080825280601f01601f191660200182016040528015611e1d576020820181803683370190505b5090505b841561167e57611e32600183612b2b565b9150611e3f600a86612bc4565b611e4a906030612ada565b60f81b818381518110611e5f57611e5f612c1a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e99600a86612b17565b9450611e21565b60006107bd825490565b600082815260208190526040902060010154611ec590611882565b6119785760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f207265766f6b650000000000000000000000000000000060648201526084016108ca565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166114bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611f913390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461201c575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107bd565b5060006107bd565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061208757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107bd57506107bd82612417565b610a1c838383612455565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156114bd576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015612209576000612144600183612b2b565b855490915060009061215890600190612b2b565b9050600086600001828154811061217157612171612c1a565b906000526020600020015490508087600001848154811061219457612194612c1a565b6000918252602090912001556121ab836001612ada565b600082815260018901602052604090205586548790806121cd576121cd612c04565b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506107bd565b60009150506107bd565b8154600090821061228c5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016108ca565b8260000182815481106122a1576122a1612c1a565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561240c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122f8903390899088908890600401612a63565b602060405180830381600087803b15801561231257600080fd5b505af1925050508015612342575060408051601f3d908101601f1916820190925261233f918101906129eb565b60015b6123f2573d808015612370576040519150601f19603f3d011682016040523d82523d6000602084013e612375565b606091505b5080516123ea5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108ca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061167e565b506001949350505050565b60006001600160e01b031982167f5a05180f0000000000000000000000000000000000000000000000000000000014806107bd57506107bd826124d9565b612460838383612540565b600d5460ff1615610a1c5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c652070617573656400000000000000000000000000000000000000000060648201526084016108ca565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806107bd57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107bd565b6001600160a01b03831661259b5761259681600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b6125be565b816001600160a01b0316836001600160a01b0316146125be576125be83826125f8565b6001600160a01b0382166125d557610a1c81612695565b826001600160a01b0316826001600160a01b031614610a1c57610a1c8282612744565b600060016126058461104c565b61260f9190612b2b565b6000838152600a6020526040902054909150808214612662576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b546000906126a790600190612b2b565b6000838152600c6020526040812054600b80549394509092849081106126cf576126cf612c1a565b9060005260206000200154905080600b83815481106126f0576126f0612c1a565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061272857612728612c04565b6001900381819060005260206000200160009055905550505050565b600061274f8361104c565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b80356001600160a01b038116811461279f57600080fd5b919050565b6000602082840312156127b657600080fd5b6111a282612788565b600080604083850312156127d257600080fd5b6127db83612788565b91506127e960208401612788565b90509250929050565b60008060006060848603121561280757600080fd5b61281084612788565b925061281e60208501612788565b9150604084013590509250925092565b6000806000806080858703121561284457600080fd5b61284d85612788565b935061285b60208601612788565b925060408501359150606085013567ffffffffffffffff8082111561287f57600080fd5b818701915087601f83011261289357600080fd5b8135818111156128a5576128a5612c30565b604051601f8201601f19908116603f011681019083821181831017156128cd576128cd612c30565b816040528281528a60208487010111156128e657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561291d57600080fd5b61292683612788565b91506020830135801515811461293b57600080fd5b809150509250929050565b6000806040838503121561295957600080fd5b61296283612788565b946020939093013593505050565b60006020828403121561298257600080fd5b5035919050565b6000806040838503121561299c57600080fd5b823591506127e960208401612788565b600080604083850312156129bf57600080fd5b50508035926020909101359150565b6000602082840312156129e057600080fd5b81356111a281612c46565b6000602082840312156129fd57600080fd5b81516111a281612c46565b60008151808452612a20816020860160208601612b42565b601f01601f19169290920160200192915050565b60008351612a46818460208801612b42565b835190830190612a5a818360208801612b42565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a956080830184612a08565b9695505050505050565b6020810160048310612ac157634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006111a26020830184612a08565b60008219821115612aed57612aed612bd8565b500190565b600060ff821660ff84168060ff03821115612b0f57612b0f612bd8565b019392505050565b600082612b2657612b26612bee565b500490565b600082821015612b3d57612b3d612bd8565b500390565b60005b83811015612b5d578181015183820152602001612b45565b838111156113185750506000910152565b600181811c90821680612b8257607f821691505b60208210811415612ba357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612bbd57612bbd612bd8565b5060010190565b600082612bd357612bd3612bee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cda57600080fdfea2646970667358221220debe465a849ca34f0ec7a254d447fad21daa2ce3b1cbc421b7478fd8bf53e25f64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084d6f6f736520563100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f4f5345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f6e66742e656c6b2e66696e616e63652f6865636f2f636f6c6c656374696f6e312f746f6b656e732f00000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084d6f6f736520563100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f4f5345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f6e66742e656c6b2e66696e616e63652f6865636f2f636f6c6c656374696f6e312f746f6b656e732f00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Moose V1
Arg [1] : symbol (string): MOOSE
Arg [2] : baseTokenURI (string): https://nft.elk.finance/heco/collection1/tokens/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4d6f6f7365205631000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4d4f4f5345000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [8] : 68747470733a2f2f6e66742e656c6b2e66696e616e63652f6865636f2f636f6c
Arg [9] : 6c656374696f6e312f746f6b656e732f00000000000000000000000000000000


Deployed ByteCode Sourcemap

69562:6622:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75977:204;;;;;;;;;;-1:-1:-1;75977:204:0;;;;;:::i;:::-;;:::i;:::-;;;6040:14:1;;6033:22;6015:41;;6003:2;5988:18;75977:204:0;;;;;;;;69733:38;;;;;;;;;;;;69768:3;69733:38;;;;;6213:25:1;;;6201:2;6186:18;69733:38:0;6067:177:1;22605:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24072:221::-;;;;;;;;;;-1:-1:-1;24072:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5045:55:1;;;5027:74;;5015:2;5000:18;24072:221:0;4881:226:1;23602:404:0;;;;;;;;;;-1:-1:-1;23602:404:0;;;;;:::i;:::-;;:::i;:::-;;35078:113;;;;;;;;;;-1:-1:-1;35166:10:0;:17;35078:113;;24962:305;;;;;;;;;;-1:-1:-1;24962:305:0;;;;;:::i;:::-;;:::i;48639:123::-;;;;;;;;;;-1:-1:-1;48639:123:0;;;;;:::i;:::-;48705:7;48732:12;;;;;;;;;;:22;;;;48639:123;63870:165;;;;;;;;;;-1:-1:-1;63870:165:0;;;;;:::i;:::-;;:::i;34746:256::-;;;;;;;;;;-1:-1:-1;34746:256:0;;;;;:::i;:::-;;:::i;70050:106::-;;;;;;;;;;;;70112:42;70050:106;;64393:174;;;;;;;;;;-1:-1:-1;64393:174:0;;;;;:::i;:::-;;:::i;75529:163::-;;;;;;;;;;;;;:::i;25338:151::-;;;;;;;;;;-1:-1:-1;25338:151:0;;;;;:::i;:::-;;:::i;41013:245::-;;;;;;;;;;-1:-1:-1;41013:245:0;;;;;:::i;:::-;;:::i;35268:233::-;;;;;;;;;;-1:-1:-1;35268:233:0;;;;;:::i;:::-;;:::i;42344:86::-;;;;;;;;;;-1:-1:-1;42415:7:0;;;;42344:86;;22299:239;;;;;;;;;;-1:-1:-1;22299:239:0;;;;;:::i;:::-;;:::i;69810:36::-;;;;;;;;;;;;69845:1;69810:36;;74084:854;;;;;;:::i;:::-;;:::i;22029:208::-;;;;;;;;;;-1:-1:-1;22029:208:0;;;;;:::i;:::-;;:::i;75153:157::-;;;;;;;;;;;;;:::i;69940:49::-;;;;;;;;;;;;69969:20;69940:49;;63325:145;;;;;;;;;;-1:-1:-1;63325:145:0;;;;;:::i;:::-;;:::i;48311:139::-;;;;;;;;;;-1:-1:-1;48311:139:0;;;;;:::i;:::-;48389:4;48413:12;;;;;;;;;;;-1:-1:-1;;;;;48413:29:0;;;;;;;;;;;;;;;48311:139;22774:104;;;;;;;;;;;;;:::i;73042:125::-;;;;;;;;;;;;;:::i;46767:49::-;;;;;;;;;;-1:-1:-1;46767:49:0;46812:4;46767:49;;24365:295;;;;;;;;;;-1:-1:-1;24365:295:0;;;;;:::i;:::-;;:::i;69885:46::-;;;;;;;;;;;;69930:1;69885:46;;25560:285;;;;;;;;;;-1:-1:-1;25560:285:0;;;;;:::i;:::-;;:::i;22949:360::-;;;;;;;;;;-1:-1:-1;22949:360:0;;;;;:::i;:::-;;:::i;63644:134::-;;;;;;;;;;-1:-1:-1;63644:134:0;;;;;:::i;:::-;;:::i;64128:170::-;;;;;;;;;;-1:-1:-1;64128:170:0;;;;;:::i;:::-;;:::i;73262:142::-;;;;;;;;;;-1:-1:-1;73262:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;73357:15:0;73333:4;73357:15;;;:11;:15;;;;;;69930:1;73357:15;;;;:39;;73262:142;70165:62;;;;;;;;;;;;70203:24;70165:62;;73485:211;;;;;;;;;;-1:-1:-1;73485:211:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24731:164::-;;;;;;;;;;-1:-1:-1;24731:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24852:25:0;;;24828:4;24852:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24731:164;75977:204;76113:4;76137:36;76161:11;76137:23;:36::i;:::-;76130:43;75977:204;-1:-1:-1;;75977:204:0:o;22605:100::-;22659:13;22692:5;22685:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22605:100;:::o;24072:221::-;24148:7;27401:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27401:16:0;24168:73;;;;-1:-1:-1;;;24168:73:0;;14157:2:1;24168:73:0;;;14139:21:1;14196:2;14176:18;;;14169:30;14235:34;14215:18;;;14208:62;-1:-1:-1;;;14286:18:1;;;14279:42;14338:19;;24168:73:0;;;;;;;;;-1:-1:-1;24261:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24261:24:0;;24072:221::o;23602:404::-;23683:13;23699:23;23714:7;23699:14;:23::i;:::-;23683:39;;23747:5;-1:-1:-1;;;;;23741:11:0;:2;-1:-1:-1;;;;;23741:11:0;;;23733:57;;;;-1:-1:-1;;;23733:57:0;;15806:2:1;23733:57:0;;;15788:21:1;15845:2;15825:18;;;15818:30;15884:34;15864:18;;;15857:62;15955:3;15935:18;;;15928:31;15976:19;;23733:57:0;15604:397:1;23733:57:0;17025:10;-1:-1:-1;;;;;23811:21:0;;;;:69;;-1:-1:-1;23836:44:0;23860:5;17025:10;24731:164;:::i;23836:44::-;23803:161;;;;-1:-1:-1;;;23803:161:0;;12550:2:1;23803:161:0;;;12532:21:1;12589:2;12569:18;;;12562:30;12628:34;12608:18;;;12601:62;12699:26;12679:18;;;12672:54;12743:19;;23803:161:0;12348:420:1;23803:161:0;23977:21;23986:2;23990:7;23977:8;:21::i;:::-;23672:334;23602:404;;:::o;24962:305::-;25123:41;17025:10;25142:12;25156:7;25123:18;:41::i;:::-;25115:103;;;;-1:-1:-1;;;25115:103:0;;16208:2:1;25115:103:0;;;16190:21:1;16247:2;16227:18;;;16220:30;16286:34;16266:18;;;16259:62;16357:19;16337:18;;;16330:47;16394:19;;25115:103:0;16006:413:1;25115:103:0;25231:28;25241:4;25247:2;25251:7;25231:9;:28::i;63870:165::-;63955:30;63971:4;63977:7;63955:15;:30::i;:::-;63996:18;;;;:12;:18;;;;;:31;;64019:7;63996:22;:31::i;34746:256::-;34843:7;34879:23;34896:5;34879:16;:23::i;:::-;34871:5;:31;34863:87;;;;-1:-1:-1;;;34863:87:0;;9019:2:1;34863:87:0;;;9001:21:1;9058:2;9038:18;;;9031:30;9097:34;9077:18;;;9070:62;9168:13;9148:18;;;9141:41;9199:19;;34863:87:0;8817:407:1;34863:87:0;-1:-1:-1;;;;;;34968:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34746:256::o;64393:174::-;64481:33;64500:4;64506:7;64481:18;:33::i;:::-;64525:18;;;;:12;:18;;;;;:34;;64551:7;64525:25;:34::i;75529:163::-;75582:34;70203:24;17025:10;48311:139;:::i;75582:34::-;75574:89;;;;-1:-1:-1;;;75574:89:0;;17039:2:1;75574:89:0;;;17021:21:1;17078:2;17058:18;;;17051:30;17117:34;17097:18;;;17090:62;17188:12;17168:18;;;17161:40;17218:19;;75574:89:0;16837:406:1;75574:89:0;75674:10;:8;:10::i;:::-;75529:163::o;25338:151::-;25442:39;25459:4;25465:2;25469:7;25442:39;;;;;;;;;;;;:16;:39::i;41013:245::-;41131:41;17025:10;41150:12;16945:98;41131:41;41123:102;;;;-1:-1:-1;;;41123:102:0;;17810:2:1;41123:102:0;;;17792:21:1;17849:2;17829:18;;;17822:30;17888:34;17868:18;;;17861:62;17959:18;17939;;;17932:46;17995:19;;41123:102:0;17608:412:1;41123:102:0;41236:14;41242:7;41236:5;:14::i;:::-;41013:245;:::o;35268:233::-;35343:7;35379:30;35166:10;:17;;35078:113;35379:30;35371:5;:38;35363:95;;;;-1:-1:-1;;;35363:95:0;;16626:2:1;35363:95:0;;;16608:21:1;16665:2;16645:18;;;16638:30;16704:34;16684:18;;;16677:62;16775:14;16755:18;;;16748:42;16807:19;;35363:95:0;16424:408:1;35363:95:0;35476:10;35487:5;35476:17;;;;;;;;:::i;:::-;;;;;;;;;35469:24;;35268:233;;;:::o;22299:239::-;22371:7;22407:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22407:16:0;22442:19;22434:73;;;;-1:-1:-1;;;22434:73:0;;13386:2:1;22434:73:0;;;13368:21:1;13425:2;13405:18;;;13398:30;13464:34;13444:18;;;13437:62;13535:11;13515:18;;;13508:39;13564:19;;22434:73:0;13184:405:1;74084:854:0;67911:1;68508:7;;:19;;68500:63;;;;-1:-1:-1;;;68500:63:0;;17450:2:1;68500:63:0;;;17432:21:1;17489:2;17469:18;;;17462:30;17528:33;17508:18;;;17501:61;17579:18;;68500:63:0;17248:355:1;68500:63:0;67911:1;68641:18;;69768:3:::1;74167:25;:15;65751:14:::0;;65659:114;74167:25:::1;:39;74159:81;;;::::0;-1:-1:-1;;;74159:81:0;;18643:2:1;74159:81:0::1;::::0;::::1;18625:21:1::0;18682:2;18662:18;;;18655:30;18721:31;18701:18;;;18694:59;18770:18;;74159:81:0::1;18441:353:1::0;74159:81:0::1;-1:-1:-1::0;;;;;74259:15:0;::::1;;::::0;;;:11:::1;:15;::::0;;;;;69930:1:::1;74259:15;::::0;;::::1;:39;::::0;:84:::1;;-1:-1:-1::0;74302:41:0::1;46812:4;17025:10:::0;48311:139;:::i;74302:41::-:1;74251:138;;;::::0;-1:-1:-1;;;74251:138:0;;14570:2:1;74251:138:0::1;::::0;::::1;14552:21:1::0;14609:2;14589:18;;;14582:30;14648:34;14628:18;;;14621:62;14719:11;14699:18;;;14692:39;14748:19;;74251:138:0::1;14368:405:1::0;74251:138:0::1;74402:10;69845:1;74431:25;:15;65751:14:::0;;65659:114;74431:25:::1;:40;74427:128;;69969:20;74488:13;;74537:5;74524:9;:18;;74516:27;;;::::0;::::1;;74571:9;:13:::0;74567:77:::1;;74601:31;::::0;70112:42:::1;::::0;74622:9:::1;74601:31:::0;::::1;;;::::0;::::1;::::0;;;74622:9;70112:42;74601:31;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;74567:77;74808:36;74814:2;74818:25;:15;65751:14:::0;;65659:114;74818:25:::1;74808:5;:36::i;:::-;74855:27;:15;65870:19:::0;;65888:1;65870:19;;;65781:127;74855:27:::1;-1:-1:-1::0;;;;;74911:15:0;::::1;;::::0;;;:11:::1;:15;::::0;;;;;:19:::1;::::0;:15:::1;;::::0;:19:::1;:::i;:::-;-1:-1:-1::0;;;;;74893:15:0;;;::::1;;::::0;;;:11:::1;:15;::::0;;;;:37;;-1:-1:-1;;74893:37:0::1;;::::0;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;68820:7:0;:22;74084:854::o;22029:208::-;22101:7;-1:-1:-1;;;;;22129:19:0;;22121:74;;;;-1:-1:-1;;;22121:74:0;;12975:2:1;22121:74:0;;;12957:21:1;13014:2;12994:18;;;12987:30;13053:34;13033:18;;;13026:62;13124:12;13104:18;;;13097:40;13154:19;;22121:74:0;12773:406:1;22121:74:0;-1:-1:-1;;;;;;22213:16:0;;;;;:9;:16;;;;;;;22029:208::o;75153:157::-;75204:34;70203:24;17025:10;48311:139;:::i;75204:34::-;75196:87;;;;-1:-1:-1;;;75196:87:0;;9850:2:1;75196:87:0;;;9832:21:1;9889:2;9869:18;;;9862:30;9928:34;9908:18;;;9901:62;9999:10;9979:18;;;9972:38;10027:19;;75196:87:0;9648:404:1;75196:87:0;75294:8;:6;:8::i;63325:145::-;63407:7;63434:18;;;:12;:18;;;;;:28;;63456:5;63434:21;:28::i;:::-;63427:35;63325:145;-1:-1:-1;;;63325:145:0:o;22774:104::-;22830:13;22863:7;22856:14;;;;;:::i;73042:125::-;73096:4;69768:3;73120:25;:15;65751:14;;65659:114;73120:25;:39;73113:46;;73042:125;:::o;24365:295::-;-1:-1:-1;;;;;24468:24:0;;17025:10;24468:24;;24460:62;;;;-1:-1:-1;;;24460:62:0;;11021:2:1;24460:62:0;;;11003:21:1;11060:2;11040:18;;;11033:30;11099:27;11079:18;;;11072:55;11144:18;;24460:62:0;10819:349:1;24460:62:0;17025:10;24535:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24535:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;24535:53:0;;;;;;;;;;24604:48;;6015:41:1;;;24535:42:0;;17025:10;24604:48;;5988:18:1;24604:48:0;;;;;;;24365:295;;:::o;25560:285::-;25692:41;17025:10;25725:7;25692:18;:41::i;:::-;25684:103;;;;-1:-1:-1;;;25684:103:0;;16208:2:1;25684:103:0;;;16190:21:1;16247:2;16227:18;;;16220:30;16286:34;16266:18;;;16259:62;16357:19;16337:18;;;16330:47;16394:19;;25684:103:0;16006:413:1;25684:103:0;25798:39;25812:4;25818:2;25822:7;25831:5;25798:13;:39::i;:::-;25560:285;;;;:::o;22949:360::-;27377:4;27401:16;;;:7;:16;;;;;;23022:13;;-1:-1:-1;;;;;27401:16:0;23048:76;;;;-1:-1:-1;;;23048:76:0;;15390:2:1;23048:76:0;;;15372:21:1;15429:2;15409:18;;;15402:30;15468:34;15448:18;;;15441:62;15539:17;15519:18;;;15512:45;15574:19;;23048:76:0;15188:411:1;23048:76:0;23137:21;23161:10;:8;:10::i;:::-;23137:34;;23213:1;23195:7;23189:21;:25;:112;;;;;;;;;;;;;;;;;23254:7;23263:18;:7;:16;:18::i;:::-;23237:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23182:119;22949:360;-1:-1:-1;;;22949:360:0:o;63644:134::-;63716:7;63743:18;;;:12;:18;;;;;:27;;:25;:27::i;64128:170::-;64214:31;64231:4;64237:7;64214:16;:31::i;73485:211::-;73547:9;69768:3;73593:7;:21;73569:81;;;;-1:-1:-1;;;73569:81:0;;8659:2:1;73569:81:0;;;8641:21:1;8698:2;8678:18;;;8671:30;8737:33;8717:18;;;8710:61;8788:18;;73569:81:0;8457:355:1;73569:81:0;73668:11;73680:7;73668:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;73661:27;;73485:211;;;:::o;51044:112::-;51123:25;51134:4;51140:7;51123:10;:25::i;:::-;51044:112;;:::o;58629:152::-;58699:4;58723:50;58728:3;-1:-1:-1;;;;;58748:23:0;;58723:4;:50::i;34425:237::-;34527:4;-1:-1:-1;;;;;;34551:50:0;;34566:35;34551:50;;:103;;;34618:36;34642:11;34618:23;:36::i;31196:174::-;31271:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;31271:29:0;-1:-1:-1;;;;;31271:29:0;;;;;;;;:24;;31325:23;31271:24;31325:14;:23::i;:::-;-1:-1:-1;;;;;31316:46:0;;;;;;;;;;;31196:174;;:::o;27606:355::-;27699:4;27401:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27401:16:0;27716:73;;;;-1:-1:-1;;;27716:73:0;;11375:2:1;27716:73:0;;;11357:21:1;11414:2;11394:18;;;11387:30;11453:34;11433:18;;;11426:62;-1:-1:-1;;;11504:18:1;;;11497:42;11556:19;;27716:73:0;11173:408:1;27716:73:0;27800:13;27816:23;27831:7;27816:14;:23::i;:::-;27800:39;;27869:5;-1:-1:-1;;;;;27858:16:0;:7;-1:-1:-1;;;;;27858:16:0;;:51;;;;27902:7;-1:-1:-1;;;;;27878:31:0;:20;27890:7;27878:11;:20::i;:::-;-1:-1:-1;;;;;27878:31:0;;27858:51;:94;;;-1:-1:-1;;;;;;24852:25:0;;;24828:4;24852:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27913:39;27850:103;27606:355;-1:-1:-1;;;;27606:355:0:o;30534:544::-;30659:4;-1:-1:-1;;;;;30632:31:0;:23;30647:7;30632:14;:23::i;:::-;-1:-1:-1;;;;;30632:31:0;;30624:85;;;;-1:-1:-1;;;30624:85:0;;14980:2:1;30624:85:0;;;14962:21:1;15019:2;14999:18;;;14992:30;15058:34;15038:18;;;15031:62;15129:11;15109:18;;;15102:39;15158:19;;30624:85:0;14778:405:1;30624:85:0;-1:-1:-1;;;;;30728:16:0;;30720:65;;;;-1:-1:-1;;;30720:65:0;;10616:2:1;30720:65:0;;;10598:21:1;10655:2;10635:18;;;10628:30;10694:34;10674:18;;;10667:62;10765:6;10745:18;;;10738:34;10789:19;;30720:65:0;10414:400:1;30720:65:0;30798:39;30819:4;30825:2;30829:7;30798:20;:39::i;:::-;30902:29;30919:1;30923:7;30902:8;:29::i;:::-;-1:-1:-1;;;;;30944:15:0;;;;;;:9;:15;;;;;:20;;30963:1;;30944:15;:20;;30963:1;;30944:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30975:13:0;;;;;;:9;:13;;;;;:18;;30992:1;;30975:13;:18;;30992:1;;30975:18;:::i;:::-;;;;-1:-1:-1;;31004:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;31004:21:0;-1:-1:-1;;;;;31004:21:0;;;;;;;;;31043:27;;31004:16;;31043:27;;;;;;;30534:544;;;:::o;49024:232::-;48705:7;48732:12;;;;;;;;;;:22;;;49117:41;;49125:18;17025:10;48311:139;:::i;49117:41::-;49109:101;;;;-1:-1:-1;;;49109:101:0;;7894:2:1;49109:101:0;;;7876:21:1;7933:2;7913:18;;;7906:30;7972:34;7952:18;;;7945:62;8043:17;8023:18;;;8016:45;8078:19;;49109:101:0;7692:411:1;50243:218:0;-1:-1:-1;;;;;50339:23:0;;17025:10;50339:23;50331:83;;;;-1:-1:-1;;;50331:83:0;;18227:2:1;50331:83:0;;;18209:21:1;18266:2;18246:18;;;18239:30;18305:34;18285:18;;;18278:62;18376:17;18356:18;;;18349:45;18411:19;;50331:83:0;18025:411:1;50331:83:0;50427:26;50439:4;50445:7;50427:11;:26::i;58957:158::-;59030:4;59054:53;59062:3;-1:-1:-1;;;;;59082:23:0;;59054:7;:53::i;43403:120::-;42415:7;;;;42939:41;;;;-1:-1:-1;;;42939:41:0;;8310:2:1;42939:41:0;;;8292:21:1;8349:2;8329:18;;;8322:30;8388:22;8368:18;;;8361:50;8428:18;;42939:41:0;8108:344:1;42939:41:0;43462:7:::1;:15:::0;;-1:-1:-1;;43462:15:0::1;::::0;;43493:22:::1;17025:10:::0;43502:12:::1;43493:22;::::0;-1:-1:-1;;;;;5045:55:1;;;5027:74;;5015:2;5000:18;43493:22:0::1;;;;;;;43403:120::o:0;29837:360::-;29897:13;29913:23;29928:7;29913:14;:23::i;:::-;29897:39;;29949:48;29970:5;29985:1;29989:7;29949:20;:48::i;:::-;30038:29;30055:1;30059:7;30038:8;:29::i;:::-;-1:-1:-1;;;;;30080:16:0;;;;;;:9;:16;;;;;:21;;30100:1;;30080:16;:21;;30100:1;;30080:21;:::i;:::-;;;;-1:-1:-1;;30119:16:0;;;;:7;:16;;;;;;30112:23;;-1:-1:-1;;30112:23:0;;;30153:36;30127:7;;30119:16;-1:-1:-1;;;;;30153:36:0;;;;;30119:16;;30153:36;29886:311;29837:360;:::o;29226:382::-;-1:-1:-1;;;;;29306:16:0;;29298:61;;;;-1:-1:-1;;;29298:61:0;;13796:2:1;29298:61:0;;;13778:21:1;;;13815:18;;;13808:30;13874:34;13854:18;;;13847:62;13926:18;;29298:61:0;13594:356:1;29298:61:0;27377:4;27401:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27401:16:0;:30;29370:58;;;;-1:-1:-1;;;29370:58:0;;10259:2:1;29370:58:0;;;10241:21:1;10298:2;10278:18;;;10271:30;10337;10317:18;;;10310:58;10385:18;;29370:58:0;10057:352:1;29370:58:0;29441:45;29470:1;29474:2;29478:7;29441:20;:45::i;:::-;-1:-1:-1;;;;;29499:13:0;;;;;;:9;:13;;;;;:18;;29516:1;;29499:13;:18;;29516:1;;29499:18;:::i;:::-;;;;-1:-1:-1;;29528:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;29528:21:0;-1:-1:-1;;;;;29528:21:0;;;;;;;;29567:33;;29528:16;;;29567:33;;29528:16;;29567:33;29226:382;;:::o;43144:118::-;42415:7;;;;42669:9;42661:38;;;;-1:-1:-1;;;42661:38:0;;12205:2:1;42661:38:0;;;12187:21:1;12244:2;12224:18;;;12217:30;12283:18;12263;;;12256:46;12319:18;;42661:38:0;12003:340:1;42661:38:0;43204:7:::1;:14:::0;;-1:-1:-1;;43204:14:0::1;43214:4;43204:14;::::0;;43234:20:::1;43241:12;17025:10:::0;;16945:98;59915:158;59989:7;60040:22;60044:3;60056:5;60040:3;:22::i;26727:272::-;26841:28;26851:4;26857:2;26861:7;26841:9;:28::i;:::-;26888:48;26911:4;26917:2;26921:7;26930:5;26888:22;:48::i;:::-;26880:111;;;;-1:-1:-1;;;26880:111:0;;9431:2:1;26880:111:0;;;9413:21:1;9470:2;9450:18;;;9443:30;9509:34;9489:18;;;9482:62;9580:20;9560:18;;;9553:48;9618:19;;26880:111:0;9229:414:1;72846:114:0;72906:13;72939;72932:20;;;;;:::i;17606:723::-;17662:13;17883:10;17879:53;;-1:-1:-1;;17910:10:0;;;;;;;;;;;;;;;;;;17606:723::o;17879:53::-;17957:5;17942:12;17998:78;18005:9;;17998:78;;18031:8;;;;:::i;:::-;;-1:-1:-1;18054:10:0;;-1:-1:-1;18062:2:0;18054:10;;:::i;:::-;;;17998:78;;;18086:19;18118:6;18108:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18108:17:0;;18086:39;;18136:154;18143:10;;18136:154;;18170:11;18180:1;18170:11;;:::i;:::-;;-1:-1:-1;18239:10:0;18247:2;18239:5;:10;:::i;:::-;18226:24;;:2;:24;:::i;:::-;18213:39;;18196:6;18203;18196:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;18267:11:0;18276:2;18267:11;;:::i;:::-;;;18136:154;;59454:117;59517:7;59544:19;59552:3;56211:18;;56128:109;49501:235;48705:7;48732:12;;;;;;;;;;:22;;;49595:41;;49603:18;48639:123;49595:41;49587:102;;;;-1:-1:-1;;;49587:102:0;;11788:2:1;49587:102:0;;;11770:21:1;11827:2;11807:18;;;11800:30;11866:34;11846:18;;;11839:62;11937:18;11917;;;11910:46;11973:19;;49587:102:0;11586:412:1;51491:229:0;48389:4;48413:12;;;;;;;;;;;-1:-1:-1;;;;;48413:29:0;;;;;;;;;;;;51561:152;;51605:6;:12;;;;;;;;;;;-1:-1:-1;;;;;51605:29:0;;;;;;;;;:36;;-1:-1:-1;;51605:36:0;51637:4;51605:36;;;51688:12;17025:10;;16945:98;51688:12;-1:-1:-1;;;;;51661:40:0;51679:7;-1:-1:-1;;;;;51661:40:0;51673:4;51661:40;;;;;;;;;;51491:229;;:::o;53693:414::-;53756:4;56010:19;;;:12;;;:19;;;;;;53773:327;;-1:-1:-1;53816:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;53999:18;;53977:19;;;:12;;;:19;;;;;;:40;;;;54032:11;;53773:327;-1:-1:-1;54083:5:0;54076:12;;21673:292;21775:4;-1:-1:-1;;;;;;21799:40:0;;21814:25;21799:40;;:105;;-1:-1:-1;;;;;;;21856:48:0;;21871:33;21856:48;21799:105;:158;;;;21921:36;21945:11;21921:23;:36::i;75700:205::-;75852:45;75879:4;75885:2;75889:7;75852:26;:45::i;51728:230::-;48389:4;48413:12;;;;;;;;;;;-1:-1:-1;;;;;48413:29:0;;;;;;;;;;;;51799:152;;;51874:5;51842:12;;;;;;;;;;;-1:-1:-1;;;;;51842:29:0;;;;;;;;;;:37;;-1:-1:-1;;51842:37:0;;;51899:40;17025:10;;51842:12;;51899:40;;51874:5;51899:40;51728:230;;:::o;54283:1544::-;54349:4;54488:19;;;:12;;;:19;;;;;;54524:15;;54520:1300;;54886:21;54910:14;54923:1;54910:10;:14;:::i;:::-;54959:18;;54886:38;;-1:-1:-1;54939:17:0;;54959:22;;54980:1;;54959:22;:::i;:::-;54939:42;;55226:17;55246:3;:11;;55258:9;55246:22;;;;;;;;:::i;:::-;;;;;;;;;55226:42;;55392:9;55363:3;:11;;55375:13;55363:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;55495:17;:13;55511:1;55495:17;:::i;:::-;55469:23;;;;:12;;;:23;;;;;:43;55621:17;;55469:3;;55621:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;55716:3;:12;;:19;55729:5;55716:19;;;;;;;;;;;55709:26;;;55759:4;55752:11;;;;;;;;54520:1300;55803:5;55796:12;;;;;56581:204;56676:18;;56648:7;;56676:26;-1:-1:-1;56668:73:0;;;;-1:-1:-1;;;56668:73:0;;7079:2:1;56668:73:0;;;7061:21:1;7118:2;7098:18;;;7091:30;7157:34;7137:18;;;7130:62;7228:4;7208:18;;;7201:32;7250:19;;56668:73:0;6877:398:1;56668:73:0;56759:3;:11;;56771:5;56759:18;;;;;;;;:::i;:::-;;;;;;;;;56752:25;;56581:204;;;;:::o;31935:843::-;32056:4;-1:-1:-1;;;;;32082:13:0;;9423:20;9462:8;32078:693;;32118:72;;-1:-1:-1;;;32118:72:0;;-1:-1:-1;;;;;32118:36:0;;;;;:72;;17025:10;;32169:4;;32175:7;;32184:5;;32118:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32118:72:0;;;;;;;;-1:-1:-1;;32118:72:0;;;;;;;;;;;;:::i;:::-;;;32114:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32364:13:0;;32360:341;;32407:60;;-1:-1:-1;;;32407:60:0;;9431:2:1;32407:60:0;;;9413:21:1;9470:2;9450:18;;;9443:30;9509:34;9489:18;;;9482:62;9580:20;9560:18;;;9553:48;9618:19;;32407:60:0;9229:414:1;32360:341:0;32651:6;32645:13;32636:6;32632:2;32628:15;32621:38;32114:602;-1:-1:-1;;;;;;32241:55:0;-1:-1:-1;;;32241:55:0;;-1:-1:-1;32234:62:0;;32078:693;-1:-1:-1;32755:4:0;31935:843;;;;;;:::o;62499:227::-;62584:4;-1:-1:-1;;;;;;62608:57:0;;62623:42;62608:57;;:110;;;62682:36;62706:11;62682:23;:36::i;44133:241::-;44243:45;44270:4;44276:2;44280:7;44243:26;:45::i;:::-;42415:7;;;;44309:9;44301:65;;;;-1:-1:-1;;;44301:65:0;;7482:2:1;44301:65:0;;;7464:21:1;7521:2;7501:18;;;7494:30;7560:34;7540:18;;;7533:62;7631:13;7611:18;;;7604:41;7662:19;;44301:65:0;7280:407:1;48002:217:0;48087:4;-1:-1:-1;;;;;;48111:47:0;;48126:32;48111:47;;:100;;-1:-1:-1;20289:25:0;-1:-1:-1;;;;;;20274:40:0;;;48175:36;20165:157;36114:555;-1:-1:-1;;;;;36286:18:0;;36282:187;;36321:40;36353:7;37496:10;:17;;37469:24;;;;:15;:24;;;;;:44;;;37524:24;;;;;;;;;;;;37392:164;36321:40;36282:187;;;36391:2;-1:-1:-1;;;;;36383:10:0;:4;-1:-1:-1;;;;;36383:10:0;;36379:90;;36410:47;36443:4;36449:7;36410:32;:47::i;:::-;-1:-1:-1;;;;;36483:16:0;;36479:183;;36516:45;36553:7;36516:36;:45::i;36479:183::-;36589:4;-1:-1:-1;;;;;36583:10:0;:2;-1:-1:-1;;;;;36583:10:0;;36579:83;;36610:40;36638:2;36642:7;36610:27;:40::i;38183:988::-;38449:22;38499:1;38474:22;38491:4;38474:16;:22::i;:::-;:26;;;;:::i;:::-;38511:18;38532:26;;;:17;:26;;;;;;38449:51;;-1:-1:-1;38665:28:0;;;38661:328;;-1:-1:-1;;;;;38732:18:0;;38710:19;38732:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38783:30;;;;;;:44;;;38900:30;;:17;:30;;;;;:43;;;38661:328;-1:-1:-1;39085:26:0;;;;:17;:26;;;;;;;;39078:33;;;-1:-1:-1;;;;;39129:18:0;;;;;:12;:18;;;;;:34;;;;;;;39122:41;38183:988::o;39466:1079::-;39744:10;:17;39719:22;;39744:21;;39764:1;;39744:21;:::i;:::-;39776:18;39797:24;;;:15;:24;;;;;;40170:10;:26;;39719:46;;-1:-1:-1;39797:24:0;;39719:46;;40170:26;;;;;;:::i;:::-;;;;;;;;;40148:48;;40234:11;40209:10;40220;40209:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40314:28;;;:15;:28;;;;;;;:41;;;40486:24;;;;;40479:31;40521:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39537:1008;;;39466:1079;:::o;36970:221::-;37055:14;37072:20;37089:2;37072:16;:20::i;:::-;-1:-1:-1;;;;;37103:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37148:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36970:221:0:o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;406:260::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;574:29;593:9;574:29;:::i;:::-;564:39;;622:38;656:2;645:9;641:18;622:38;:::i;:::-;612:48;;406:260;;;;;:::o;671:328::-;748:6;756;764;817:2;805:9;796:7;792:23;788:32;785:52;;;833:1;830;823:12;785:52;856:29;875:9;856:29;:::i;:::-;846:39;;904:38;938:2;927:9;923:18;904:38;:::i;:::-;894:48;;989:2;978:9;974:18;961:32;951:42;;671:328;;;;;:::o;1004:1138::-;1099:6;1107;1115;1123;1176:3;1164:9;1155:7;1151:23;1147:33;1144:53;;;1193:1;1190;1183:12;1144:53;1216:29;1235:9;1216:29;:::i;:::-;1206:39;;1264:38;1298:2;1287:9;1283:18;1264:38;:::i;:::-;1254:48;;1349:2;1338:9;1334:18;1321:32;1311:42;;1404:2;1393:9;1389:18;1376:32;1427:18;1468:2;1460:6;1457:14;1454:34;;;1484:1;1481;1474:12;1454:34;1522:6;1511:9;1507:22;1497:32;;1567:7;1560:4;1556:2;1552:13;1548:27;1538:55;;1589:1;1586;1579:12;1538:55;1625:2;1612:16;1647:2;1643;1640:10;1637:36;;;1653:18;;:::i;:::-;1728:2;1722:9;1696:2;1782:13;;-1:-1:-1;;1778:22:1;;;1802:2;1774:31;1770:40;1758:53;;;1826:18;;;1846:22;;;1823:46;1820:72;;;1872:18;;:::i;:::-;1912:10;1908:2;1901:22;1947:2;1939:6;1932:18;1987:7;1982:2;1977;1973;1969:11;1965:20;1962:33;1959:53;;;2008:1;2005;1998:12;1959:53;2064:2;2059;2055;2051:11;2046:2;2038:6;2034:15;2021:46;2109:1;2104:2;2099;2091:6;2087:15;2083:24;2076:35;2130:6;2120:16;;;;;;;1004:1138;;;;;;;:::o;2147:347::-;2212:6;2220;2273:2;2261:9;2252:7;2248:23;2244:32;2241:52;;;2289:1;2286;2279:12;2241:52;2312:29;2331:9;2312:29;:::i;:::-;2302:39;;2391:2;2380:9;2376:18;2363:32;2438:5;2431:13;2424:21;2417:5;2414:32;2404:60;;2460:1;2457;2450:12;2404:60;2483:5;2473:15;;;2147:347;;;;;:::o;2499:254::-;2567:6;2575;2628:2;2616:9;2607:7;2603:23;2599:32;2596:52;;;2644:1;2641;2634:12;2596:52;2667:29;2686:9;2667:29;:::i;:::-;2657:39;2743:2;2728:18;;;;2715:32;;-1:-1:-1;;;2499:254:1:o;2758:180::-;2817:6;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;-1:-1:-1;2909:23:1;;2758:180;-1:-1:-1;2758:180:1:o;2943:254::-;3011:6;3019;3072:2;3060:9;3051:7;3047:23;3043:32;3040:52;;;3088:1;3085;3078:12;3040:52;3124:9;3111:23;3101:33;;3153:38;3187:2;3176:9;3172:18;3153:38;:::i;3202:248::-;3270:6;3278;3331:2;3319:9;3310:7;3306:23;3302:32;3299:52;;;3347:1;3344;3337:12;3299:52;-1:-1:-1;;3370:23:1;;;3440:2;3425:18;;;3412:32;;-1:-1:-1;3202:248:1:o;3455:245::-;3513:6;3566:2;3554:9;3545:7;3541:23;3537:32;3534:52;;;3582:1;3579;3572:12;3534:52;3621:9;3608:23;3640:30;3664:5;3640:30;:::i;3705:249::-;3774:6;3827:2;3815:9;3806:7;3802:23;3798:32;3795:52;;;3843:1;3840;3833:12;3795:52;3875:9;3869:16;3894:30;3918:5;3894:30;:::i;4144:257::-;4185:3;4223:5;4217:12;4250:6;4245:3;4238:19;4266:63;4322:6;4315:4;4310:3;4306:14;4299:4;4292:5;4288:16;4266:63;:::i;:::-;4383:2;4362:15;-1:-1:-1;;4358:29:1;4349:39;;;;4390:4;4345:50;;4144:257;-1:-1:-1;;4144:257:1:o;4406:470::-;4585:3;4623:6;4617:13;4639:53;4685:6;4680:3;4673:4;4665:6;4661:17;4639:53;:::i;:::-;4755:13;;4714:16;;;;4777:57;4755:13;4714:16;4811:4;4799:17;;4777:57;:::i;:::-;4850:20;;4406:470;-1:-1:-1;;;;4406:470:1:o;5359:511::-;5553:4;-1:-1:-1;;;;;5663:2:1;5655:6;5651:15;5640:9;5633:34;5715:2;5707:6;5703:15;5698:2;5687:9;5683:18;5676:43;;5755:6;5750:2;5739:9;5735:18;5728:34;5798:3;5793:2;5782:9;5778:18;5771:31;5819:45;5859:3;5848:9;5844:19;5836:6;5819:45;:::i;:::-;5811:53;5359:511;-1:-1:-1;;;;;;5359:511:1:o;6249:399::-;6395:2;6380:18;;6428:1;6417:13;;6407:201;;-1:-1:-1;;;6461:1:1;6454:88;6565:4;6562:1;6555:15;6593:4;6590:1;6583:15;6407:201;6617:25;;;6249:399;:::o;6653:219::-;6802:2;6791:9;6784:21;6765:4;6822:44;6862:2;6851:9;6847:18;6839:6;6822:44;:::i;18981:128::-;19021:3;19052:1;19048:6;19045:1;19042:13;19039:39;;;19058:18;;:::i;:::-;-1:-1:-1;19094:9:1;;18981:128::o;19114:204::-;19152:3;19188:4;19185:1;19181:12;19220:4;19217:1;19213:12;19255:3;19249:4;19245:14;19240:3;19237:23;19234:49;;;19263:18;;:::i;:::-;19299:13;;19114:204;-1:-1:-1;;;19114:204:1:o;19323:120::-;19363:1;19389;19379:35;;19394:18;;:::i;:::-;-1:-1:-1;19428:9:1;;19323:120::o;19448:125::-;19488:4;19516:1;19513;19510:8;19507:34;;;19521:18;;:::i;:::-;-1:-1:-1;19558:9:1;;19448:125::o;19578:258::-;19650:1;19660:113;19674:6;19671:1;19668:13;19660:113;;;19750:11;;;19744:18;19731:11;;;19724:39;19696:2;19689:10;19660:113;;;19791:6;19788:1;19785:13;19782:48;;;-1:-1:-1;;19826:1:1;19808:16;;19801:27;19578:258::o;19841:437::-;19920:1;19916:12;;;;19963;;;19984:61;;20038:4;20030:6;20026:17;20016:27;;19984:61;20091:2;20083:6;20080:14;20060:18;20057:38;20054:218;;;-1:-1:-1;;;20125:1:1;20118:88;20229:4;20226:1;20219:15;20257:4;20254:1;20247:15;20054:218;;19841:437;;;:::o;20283:135::-;20322:3;-1:-1:-1;;20343:17:1;;20340:43;;;20363:18;;:::i;:::-;-1:-1:-1;20410:1:1;20399:13;;20283:135::o;20423:112::-;20455:1;20481;20471:35;;20486:18;;:::i;:::-;-1:-1:-1;20520:9:1;;20423:112::o;20540:184::-;-1:-1:-1;;;20589:1:1;20582:88;20689:4;20686:1;20679:15;20713:4;20710:1;20703:15;20729:184;-1:-1:-1;;;20778:1:1;20771:88;20878:4;20875:1;20868:15;20902:4;20899:1;20892:15;20918:184;-1:-1:-1;;;20967:1:1;20960:88;21067:4;21064:1;21057:15;21091:4;21088:1;21081:15;21107:184;-1:-1:-1;;;21156:1:1;21149:88;21256:4;21253:1;21246:15;21280:4;21277:1;21270:15;21296:184;-1:-1:-1;;;21345:1:1;21338:88;21445:4;21442:1;21435:15;21469:4;21466:1;21459:15;21485:177;-1:-1:-1;;;;;;21563:5:1;21559:78;21552:5;21549:89;21539:117;;21652:1;21649;21642:12

Swarm Source

ipfs://debe465a849ca34f0ec7a254d447fad21daa2ce3b1cbc421b7478fd8bf53e25f
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading