ETH Price: $2,455.11 (-0.99%)

Token

CryptoTeddies (TEDDY)
 

Overview

Max Total Supply

152 TEDDY

Holders

119

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nnnnicholas.eth
Balance
1 TEDDY
0x6877be9E00d0bc5886c28419901E8cC98C1c2739
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoTeddies

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion
File 1 of 28 : CryptoTeddies.sol
// SPDX-License-Identifier: AGPL-3.0-only
// @author creco.xyz 🐊 2022 
                                                                                             
pragma solidity ^0.8.17;
import "../lib/ERC721M.sol";

 /*  
   _____                  _     _______       _     _ _           
  / ____|                | |   |__   __|     | |   | (_)          
 | |     _ __ _   _ _ __ | |_ ___ | | ___  __| | __| |_  ___  ___ 
 | |    | '__| | | | '_ \| __/ _ \| |/ _ \/ _` |/ _` | |/ _ \/ __|
 | |____| |  | |_| | |_) | || (_) | |  __/ (_| | (_| | |  __/\__ \
  \_____|_|   \__, | .__/ \__\___/|_|\___|\__,_|\__,_|_|\___||___/
               __/ | |                                            
              |___/|_|     
                              
           ----  ----####-           
         -#**++********+-#           
         #**-+***********            
          -##******#***#**           
            ####****---*+*           
            #####*----*%*-           
             -####*++++++            
             -########**-            
           -****####*****##-         
          *****###********###-       
         *****###**********####      
        *****####*********--##-      
        **** -######***##-           
         --  -*##----##**---         
            -****-    *******        
            *******   -*++--.        
              ----      
🐻               
*/   

contract CryptoTeddies is ERC721M {

    bool public isFinalizedCollection;
    
    uint public tokenTracker;
    uint public constant LAST_MIGRATION_INDEX = 175;

    constructor(string memory _name, string memory _symbol, string memory _baseUri) 
    ERC721M(_name, _symbol, _baseUri) {
      // @dev startIndex for new mints starts at 176. 1-175 are reserved for mifrated tokens.
      tokenTracker = LAST_MIGRATION_INDEX + 1;
    }

    /** @dev finalizes collection and freezes collection supply
    */
    function finalizeCollection() onlyAdmin external {
      isFinalizedCollection = true;
    }

    /** @dev mints token to a specific tokenId 
     */ 
    function mintTokenId(address _to, uint256 _tokenId) onlyMinter public returns(uint256) {
      // tokenIds <=175 can be minted even if collection finalized
      require((!isFinalizedCollection || _tokenId <= LAST_MIGRATION_INDEX), "Cryptoteddies - Collection is already finalized");
      _mint(_to, _tokenId);
      return _tokenId;
    }

    /** @dev mints token to default incremented id. Id increment startIndex = 175.
     */ 
    function mintTo(address _to) onlyMinter public returns(uint256) {
      uint tokenId = tokenTracker;
      tokenTracker++;
      return mintTokenId(_to, tokenId);
    }

    /** @dev mints token to a specific tokenId and sets the token DNA
     */
    function mintWithDNA(address _to, uint256 _dna) onlyMinter external returns(uint256) {
      uint tokenId = mintTo(_to);
      uint256[] memory ids = new uint256[](1);
      ids[0] = tokenId;
      uint256[] memory dnas = new uint256[](1);
      dnas[0] = _dna;
      setDNA(ids, dnas);
      return tokenId; 
    }  
}

File 2 of 28 : ERC721M.sol
// SPDX-License-Identifier: AGPL-3.0-only
// @author creco.xyz 🐊 2022 
    
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";


interface IMetadata {
  function tokenURI(uint256 tokenId, uint256 dna) external view returns (string memory);
}

interface IERC20 {
  function balanceOf(address) external returns(uint);
  function transferFrom(address, address, uint) external;
}

abstract contract ERC721M is 
    Ownable,
    AccessControlEnumerable,
    ERC721Burnable,
    ERC721Enumerable,
    ERC721Pausable,
    ERC721Royalty,
    DefaultOperatorFilterer
 {
    using Strings for uint256;
    using Address for address payable;

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

    bool public isFrozenDNA;
    bool public isFrozenMetadata;
    bool useOperatorFilter = true;  // toggle OpenSea's filter

    string public baseTokenURI;
    mapping(uint256 => uint8) public dna; // 0 if not exists, 1 if exists
    mapping(uint256 => uint256) private tokenIdToDNA;
  
    IMetadata public metadata;

    struct NFT {
        uint256 tokenId;
        uint256 dna;
    }
    
    // permission modifiers
    modifier onlyAdmin {
         require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "ERC721Access: must have Admin role");
         _;
    } 

    modifier onlyMinter {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721Access: must have Minter role");
        _;
    } 

    modifier onlyPauser {
         require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721Access: must have Pauser role");
        _;
    }

    modifier onlyAllowedOperator(address from) virtual override {
      // Allow spending tokens from addresses with balance
      // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
      // from an EOA.
      if (from != msg.sender && useOperatorFilter) {
        _checkFilterOperator(msg.sender);
      }
      _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual override {
      if(useOperatorFilter) {
        _checkFilterOperator(operator);
      }
      _;
    }

   constructor(
        string memory name,
        string memory symbol,
        string memory _baseTokenURI
    ) ERC721(name, symbol) {
        baseTokenURI = _baseTokenURI;
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); // set admin permissions
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) onlyAdmin public {
      _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) onlyAdmin public {
      _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function setOperatorFilter(bool isActive) onlyAdmin public {
      useOperatorFilter = isActive;
    }

    function setMetadataContract(address _contractAddress) onlyAdmin public {
      metadata = IMetadata(_contractAddress);
    }

    function setBaseTokenURI(string memory _uri) onlyAdmin public {
      baseTokenURI = _uri;
    }
        
    function setDNA(uint256[] memory _tokenIds, uint256[] memory _dnaArr) onlyMinter public {
      require(!isFrozenDNA, "ERC721M - DNA is final for this collection");
      require(_tokenIds.length == _dnaArr.length, "ERC721M - DNA data missing");
      for (uint i = 0; i < _tokenIds.length; i++) {
        uint currentDNA = _dnaArr[i];
        uint currentTokenId = _tokenIds[i];
        require(dna[currentDNA] == 0, "ERC721M - DNA must be unique"); // make sure DNA is unique
        
        // free old DNA in case of DNA update
        uint oldDNA = tokenIdToDNA[currentTokenId];
        if(oldDNA != 0) {
          dna[oldDNA] = 0;
        }
        tokenIdToDNA[currentTokenId] = currentDNA;
        dna[currentDNA] = 1; // flag DNA 
      }
    }

    function getDNA(uint256 tokenId) public view returns(uint256) {
      return tokenIdToDNA[tokenId];
    }

    function tokensOfOwner(address owner) public view returns (NFT[] memory) {  
      uint balance = balanceOf(owner);
      NFT[] memory tokensOwned = new NFT[](balance);
      for (uint256 i=0; i < balance; i++){
          uint tokenId = tokenOfOwnerByIndex(owner, i);
          tokensOwned[i].tokenId = tokenId;
          tokensOwned[i].dna =  getDNA(tokenId);
      }
      return tokensOwned;
    }

    function freezeDNA() onlyAdmin public {
      isFrozenDNA = true;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
      require(_exists(tokenId), "ERC721M - URI query for nonexistent token");
      uint256 tokenDNA = getDNA(tokenId);
      if(address(metadata) != address(0x0)) {
        return metadata.tokenURI(tokenId, tokenDNA);
      }
      return bytes(baseTokenURI).length > 0 ? string(abi.encodePacked(baseTokenURI, tokenId.toString() )) : "";
    }

    function pause() onlyPauser public virtual {
        _pause();
    }

    function unpause() onlyPauser public virtual {
        _unpause();
    }

    function _burn(uint256 tokenId) internal virtual override(
      ERC721,
      ERC721Royalty
    ) {
      super._burn(tokenId);
    }

    function setApprovalForAll(address operator, bool approved) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override(IERC721, ERC721)
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override (
          AccessControlEnumerable, 
          ERC721, 
          ERC721Enumerable,
          ERC721Royalty
        )
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    } 
}

File 3 of 28 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 28 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @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 virtual 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 virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

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

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

File 5 of 28 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 6 of 28 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 7 of 28 : ERC721Royalty.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

File 8 of 28 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @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 9 of 28 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../utils/Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be 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), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

File 10 of 28 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @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 11 of 28 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

File 12 of 28 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @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) external view returns (address);

    /**
     * @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) external view returns (uint256);
}

File 13 of 28 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 14 of 28 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

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.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
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;

            if (lastIndex != toDeleteIndex) {
                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] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // 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) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 15 of 28 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 16 of 28 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 17 of 28 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 18 of 28 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 19 of 28 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 20 of 28 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 21 of 28 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

File 22 of 28 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 23 of 28 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 24 of 28 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 25 of 28 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 26 of 28 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 27 of 28 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 28 of 28 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 100
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAST_MIGRATION_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dna","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeDNA","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getDNA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"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":[],"name":"isFinalizedCollection","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFrozenDNA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFrozenMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"contract IMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_dna","type":"uint256"}],"name":"mintWithDNA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_dnaArr","type":"uint256[]"}],"name":"setDNA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"setMetadataContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setOperatorFilter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":[],"name":"tokenTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"dna","type":"uint256"}],"internalType":"struct ERC721M.NFT[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600f805463ff000000191663010000001790553480156200002457600080fd5b5060405162003ee538038062003ee583398101604081905262000047916200047e565b828282733cc6cdda760b79bafa08df41ecfa224f810dceb6600184846200006e336200021c565b60056200007c83826200059d565b5060066200008b82826200059d565b5050600f805460ff19169055506daaeb6d7670e522a718067333cd4e3b15620001dd5780156200012b57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010c57600080fd5b505af115801562000121573d6000803e3d6000fd5b50505050620001dd565b6001600160a01b038216156200017c5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000f1565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001c357600080fd5b505af1158015620001d8573d6000803e3d6000fd5b505050505b5060109050620001ee82826200059d565b50620001fc6000336200026c565b50505060af60016200020f919062000669565b601455506200068b915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200027882826200027c565b5050565b620002938282620002bf60201b620016dd1760201c565b6000828152600260209081526040909120620002ba9183906200174862000347821b17901c565b505050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620002785760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b60006200035e836001600160a01b03841662000367565b90505b92915050565b6000818152600183016020526040812054620003b05750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000361565b50600062000361565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003e157600080fd5b81516001600160401b0380821115620003fe57620003fe620003b9565b604051601f8301601f19908116603f01168101908282118183101715620004295762000429620003b9565b816040528381526020925086838588010111156200044657600080fd5b600091505b838210156200046a57858201830151818301840152908201906200044b565b600093810190920192909252949350505050565b6000806000606084860312156200049457600080fd5b83516001600160401b0380821115620004ac57600080fd5b620004ba87838801620003cf565b94506020860151915080821115620004d157600080fd5b620004df87838801620003cf565b93506040860151915080821115620004f657600080fd5b506200050586828701620003cf565b9150509250925092565b600181811c908216806200052457607f821691505b6020821081036200054557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ba57600081815260208120601f850160051c81016020861015620005745750805b601f850160051c820191505b81811015620005955782815560010162000580565b505050505050565b81516001600160401b03811115620005b957620005b9620003b9565b620005d181620005ca84546200050f565b846200054b565b602080601f831160018114620006095760008415620005f05750858301515b600019600386901b1c1916600185901b17855562000595565b600085815260208120601f198616915b828110156200063a5788860151825594840194600190910190840162000619565b5085821015620006595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200036157634e487b7160e01b600052601160045260246000fd5b61384a806200069b6000396000f3fe608060405234801561001057600080fd5b50600436106102f85760003560e01c8063715018a611610193578063c87b56dd116100e4578063d547cfb711610092578063d547cfb7146106a7578063e2669baa146106af578063e5187f43146106c2578063e63ab1e9146106d5578063e985e9c5146106ea578063f2fde38b146106fd578063f666ec311461071057600080fd5b8063c87b56dd1461062b578063ca15c8731461063e578063cf4e986e14610651578063cf62e9ca14610664578063d25881011461066d578063d53913931461067f578063d547741f1461069457600080fd5b80639010d07c116101415780639010d07c146105bb57806391d14854146105ce57806395d89b41146105e1578063a217fddf146105e9578063a22cb465146105f1578063b4bcf48114610604578063b88d4fde1461061857600080fd5b8063715018a614610557578063755edd171461055f5780637c411c47146105725780638456cb591461057a5780638462151c146105825780638ab58676146105a25780638da5cb5b146105aa57600080fd5b8063373807ae1161024d5780635882581c116101fb5780635882581c146104d85780635944c753146104e05780635bb209a5146104f35780635c975abb146105135780636352211e1461051e57806364a38f561461053157806370a082311461054457600080fd5b8063373807ae1461045c578063392f37e91461046f5780633f4ba83a1461048257806341f434341461048a57806342842e0e1461049f57806342966c68146104b25780634f6ccce7146104c557600080fd5b8063248a9ca3116102aa578063248a9ca3146103a75780632a55205a146103cb5780632f2ff15d146103fd5780632f745c591461041057806330176e131461042357806332761d161461043657806336568abe1461044957600080fd5b806301ffc9a7146102fd57806304634d8d1461032557806306fdde031461033a578063081812fc1461034f578063095ea7b31461036f57806318160ddd1461038257806323b872dd14610394575b600080fd5b61031061030b366004612c84565b610745565b60405190151581526020015b60405180910390f35b610338610333366004612ccf565b610756565b005b610342610794565b60405161031c9190612d52565b61036261035d366004612d65565b610826565b60405161031c9190612d7e565b61033861037d366004612d92565b61084d565b600d545b60405190815260200161031c565b6103386103a2366004612dbc565b610879565b6103866103b5366004612d65565b6000908152600160208190526040909120015490565b6103de6103d9366004612df8565b6108bb565b604080516001600160a01b03909316835260208301919091520161031c565b61033861040b366004612e1a565b610967565b61038661041e366004612d92565b61098d565b610338610431366004612ee8565b610a23565b610386610444366004612d92565b610a56565b610338610457366004612e1a565b610b1a565b61033861046a366004612faf565b610b94565b601354610362906001600160a01b031681565b610338610d97565b6103626daaeb6d7670e522a718067333cd4e81565b6103386104ad366004612dbc565b610dd5565b6103386104c0366004612d65565b610e11565b6103866104d3366004612d65565b610e44565b610338610ed7565b6103386104ee366004613012565b610f0f565b610386610501366004612d65565b60009081526012602052604090205490565b600f5460ff16610310565b61036261052c366004612d65565b610f41565b61038661053f366004612d92565b610f76565b61038661055236600461304e565b611054565b6103386110da565b61038661056d36600461304e565b6110ec565b61038660af81565b61033861114c565b61059561059036600461304e565b611188565b60405161031c9190613069565b610338611282565b6000546001600160a01b0316610362565b6103626105c9366004612df8565b6112be565b6103106105dc366004612e1a565b6112dd565b610342611308565b610386600081565b6103386105ff3660046130c6565b611317565b60135461031090600160a01b900460ff1681565b6103386106263660046130fd565b61133e565b610342610639366004612d65565b611382565b61038661064c366004612d65565b6114e0565b61033861065f366004613178565b6114f7565b61038660145481565b600f5461031090610100900460ff1681565b6103866000805160206137d583398151915281565b6103386106a2366004612e1a565b61153c565b610342611562565b600f546103109062010000900460ff1681565b6103386106d036600461304e565b6115f0565b6103866000805160206137b583398151915281565b6103106106f8366004613195565b611639565b61033861070b36600461304e565b611667565b61073361071e366004612d65565b60116020526000908152604090205460ff1681565b60405160ff909116815260200161031c565b60006107508261175d565b92915050565b6107616000336112dd565b6107865760405162461bcd60e51b815260040161077d906131bf565b60405180910390fd5b6107908282611768565b5050565b6060600580546107a390613201565b80601f01602080910402602001604051908101604052809291908181526020018280546107cf90613201565b801561081c5780601f106107f15761010080835404028352916020019161081c565b820191906000526020600020905b8154815290600101906020018083116107ff57829003601f168201915b5050505050905090565b60006108318261181e565b506000908152600960205260409020546001600160a01b031690565b600f5482906301000000900460ff161561086a5761086a81611843565b61087483836118f3565b505050565b826001600160a01b038116331480159061089c5750600f546301000000900460ff165b156108aa576108aa33611843565b6108b5848484611a03565b50505050565b60008281526004602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109305750604080518082019091526003546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061094f906001600160601b03168761324b565b6109599190613278565b915196919550909350505050565b6000828152600160208190526040909120015461098381611a33565b6108748383611a3d565b600061099883611054565b82106109fa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161077d565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b610a2e6000336112dd565b610a4a5760405162461bcd60e51b815260040161077d906131bf565b601061079082826132da565b6000610a706000805160206137d5833981519152336112dd565b610a8c5760405162461bcd60e51b815260040161077d90613399565b601354600160a01b900460ff161580610aa6575060af8211155b610b0a5760405162461bcd60e51b815260206004820152602f60248201527f43727970746f74656464696573202d20436f6c6c656374696f6e20697320616c60448201526e1c9958591e48199a5b985b1a5e9959608a1b606482015260840161077d565b610b148383611a5f565b50919050565b6001600160a01b0381163314610b8a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161077d565b6107908282611b8c565b610bac6000805160206137d5833981519152336112dd565b610bc85760405162461bcd60e51b815260040161077d90613399565b600f54610100900460ff1615610c335760405162461bcd60e51b815260206004820152602a60248201527f4552433732314d202d20444e412069732066696e616c20666f7220746869732060448201526931b7b63632b1ba34b7b760b11b606482015260840161077d565b8051825114610c845760405162461bcd60e51b815260206004820152601a60248201527f4552433732314d202d20444e412064617461206d697373696e67000000000000604482015260640161077d565b60005b8251811015610874576000828281518110610ca457610ca46133dc565b602002602001015190506000848381518110610cc257610cc26133dc565b6020908102919091018101516000848152601190925260409091205490915060ff1615610d315760405162461bcd60e51b815260206004820152601c60248201527f4552433732314d202d20444e41206d75737420626520756e6971756500000000604482015260640161077d565b6000818152601260205260409020548015610d5d576000818152601160205260409020805460ff191690555b5060009081526012602090815260408083208490559282526011905220805460ff1916600117905580610d8f816133f2565b915050610c87565b610daf6000805160206137b5833981519152336112dd565b610dcb5760405162461bcd60e51b815260040161077d9061340b565b610dd3611bae565b565b826001600160a01b0381163314801590610df85750600f546301000000900460ff165b15610e0657610e0633611843565b6108b5848484611bfa565b610e1c335b82611c15565b610e385760405162461bcd60e51b815260040161077d9061344e565b610e4181611c74565b50565b6000610e4f600d5490565b8210610eb25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161077d565b600d8281548110610ec557610ec56133dc565b90600052602060002001549050919050565b610ee26000336112dd565b610efe5760405162461bcd60e51b815260040161077d906131bf565b600f805461ff001916610100179055565b610f1a6000336112dd565b610f365760405162461bcd60e51b815260040161077d906131bf565b610874838383611c7d565b6000818152600760205260408120546001600160a01b0316806107505760405162461bcd60e51b815260040161077d9061349c565b6000610f906000805160206137d5833981519152336112dd565b610fac5760405162461bcd60e51b815260040161077d90613399565b6000610fb7846110ec565b60408051600180825281830190925291925060009190602080830190803683370190505090508181600081518110610ff157610ff16133dc565b60209081029190910101526040805160018082528183019092526000918160200160208202803683370190505090508481600081518110611034576110346133dc565b60200260200101818152505061104a8282610b94565b5090949350505050565b60006001600160a01b0382166110be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161077d565b506001600160a01b031660009081526008602052604090205490565b6110e2611d48565b610dd36000611da2565b60006111066000805160206137d5833981519152336112dd565b6111225760405162461bcd60e51b815260040161077d90613399565b601480549081906000611134836133f2565b91905055506111438382610a56565b9150505b919050565b6111646000805160206137b5833981519152336112dd565b6111805760405162461bcd60e51b815260040161077d9061340b565b610dd3611df2565b6060600061119583611054565b90506000816001600160401b038111156111b1576111b1612e3d565b6040519080825280602002602001820160405280156111f657816020015b60408051808201909152600080825260208201528152602001906001900390816111cf5790505b50905060005b8281101561127a576000611210868361098d565b905080838381518110611225576112256133dc565b6020908102919091010151526112478160009081526012602052604090205490565b838381518110611259576112596133dc565b60209081029190910181015101525080611272816133f2565b9150506111fc565b509392505050565b61128d6000336112dd565b6112a95760405162461bcd60e51b815260040161077d906131bf565b6013805460ff60a01b1916600160a01b179055565b60008281526002602052604081206112d69083611e2f565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546107a390613201565b600f5482906301000000900460ff16156113345761133481611843565b6108748383611e3b565b836001600160a01b03811633148015906113615750600f546301000000900460ff165b1561136f5761136f33611843565b61137b85858585611e46565b5050505050565b606061138d82611e78565b6113eb5760405162461bcd60e51b815260206004820152602960248201527f4552433732314d202d2055524920717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161077d565b6000828152601260205260409020546013546001600160a01b031615611483576013546040516392cb829d60e01b815260048101859052602481018390526001600160a01b03909116906392cb829d90604401600060405180830381865afa15801561145b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114391908101906134ce565b60006010805461149290613201565b9050116114ae5760405180602001604052806000815250611143565b60106114b984611e95565b6040516020016114ca929190613544565b6040516020818303038152906040529392505050565b600081815260026020526040812061075090611f95565b6115026000336112dd565b61151e5760405162461bcd60e51b815260040161077d906131bf565b600f805491151563010000000263ff00000019909216919091179055565b6000828152600160208190526040909120015461155881611a33565b6108748383611b8c565b6010805461156f90613201565b80601f016020809104026020016040519081016040528092919081815260200182805461159b90613201565b80156115e85780601f106115bd576101008083540402835291602001916115e8565b820191906000526020600020905b8154815290600101906020018083116115cb57829003601f168201915b505050505081565b6115fb6000336112dd565b6116175760405162461bcd60e51b815260040161077d906131bf565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b61166f611d48565b6001600160a01b0381166116d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161077d565b610e4181611da2565b6116e782826112dd565b6107905760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b60006112d6836001600160a01b038416611f9f565b600061075082611fee565b6127106001600160601b03821611156117935760405162461bcd60e51b815260040161077d906135cb565b6001600160a01b0382166117e55760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b604482015260640161077d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600355565b61182781611e78565b610e415760405162461bcd60e51b815260040161077d9061349c565b6daaeb6d7670e522a718067333cd4e3b15610e4157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d49190613615565b610e415780604051633b79c77360e21b815260040161077d9190612d7e565b60006118fe82610f41565b9050806001600160a01b0316836001600160a01b03160361196b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161077d565b336001600160a01b038216148061198757506119878133611639565b6119f95760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161077d565b6108748383612013565b611a0c33610e16565b611a285760405162461bcd60e51b815260040161077d9061344e565b610874838383612081565b610e418133612216565b611a4782826116dd565b60008281526002602052604090206108749082611748565b6001600160a01b038216611ab55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077d565b611abe81611e78565b15611b0b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077d565b611b176000838361227a565b6001600160a01b0382166000908152600860205260408120805460019290611b40908490613632565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206137f5833981519152908290a45050565b611b968282612285565b600082815260026020526040902061087490826122ec565b611bb6612301565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611bf09190612d7e565b60405180910390a1565b6108748383836040518060200160405280600081525061133e565b600080611c2183610f41565b9050806001600160a01b0316846001600160a01b03161480611c485750611c488185611639565b80611c6c5750836001600160a01b0316611c6184610826565b6001600160a01b0316145b949350505050565b610e418161234a565b6127106001600160601b0382161115611ca85760405162461bcd60e51b815260040161077d906135cb565b6001600160a01b038216611cfe5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161077d565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600490529190942093519051909116600160a01b029116179055565b6000546001600160a01b03163314610dd35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611dfa612364565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be33390565b60006112d683836123aa565b6107903383836123d4565b611e503383611c15565b611e6c5760405162461bcd60e51b815260040161077d9061344e565b6108b58484848461249e565b6000908152600760205260409020546001600160a01b0316151590565b606081600003611ebc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ee65780611ed0816133f2565b9150611edf9050600a83613278565b9150611ec0565b6000816001600160401b03811115611f0057611f00612e3d565b6040519080825280601f01601f191660200182016040528015611f2a576020820181803683370190505b5090505b8415611c6c57611f3f600183613645565b9150611f4c600a86613658565b611f57906030613632565b60f81b818381518110611f6c57611f6c6133dc565b60200101906001600160f81b031916908160001a905350611f8e600a86613278565b9450611f2e565b6000610750825490565b6000818152600183016020526040812054611fe657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610750565b506000610750565b60006001600160e01b0319821663780e9d6360e01b14806107505750610750826124d1565b600081815260096020526040902080546001600160a01b0319166001600160a01b038416908117909155819061204882610f41565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b031661209482610f41565b6001600160a01b0316146120f85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161077d565b6001600160a01b03821661215a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161077d565b61216583838361227a565b612170600082612013565b6001600160a01b0383166000908152600860205260408120805460019290612199908490613645565b90915550506001600160a01b03821660009081526008602052604081208054600192906121c7908490613632565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206137f583398151915291a4505050565b61222082826112dd565b61079057612238816001600160a01b03166014612511565b612243836020612511565b60405160200161225492919061366c565b60408051601f198184030181529082905262461bcd60e51b825261077d91600401612d52565b6108748383836126ac565b61228f82826112dd565b156107905760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006112d6836001600160a01b03841661271e565b600f5460ff16610dd35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161077d565b61235381612811565b600090815260046020526040812055565b600f5460ff1615610dd35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161077d565b60008260000182815481106123c1576123c16133dc565b9060005260206000200154905092915050565b816001600160a01b0316836001600160a01b0316036124315760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161077d565b6001600160a01b038381166000818152600a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6124a9848484612081565b6124b5848484846128a6565b6108b55760405162461bcd60e51b815260040161077d906136db565b60006001600160e01b031982166380ac58cd60e01b148061250257506001600160e01b03198216635b5e139f60e01b145b806107505750610750826129a7565b6060600061252083600261324b565b61252b906002613632565b6001600160401b0381111561254257612542612e3d565b6040519080825280601f01601f19166020018201604052801561256c576020820181803683370190505b509050600360fc1b81600081518110612587576125876133dc565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125b6576125b66133dc565b60200101906001600160f81b031916908160001a90535060006125da84600261324b565b6125e5906001613632565b90505b600181111561265d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612619576126196133dc565b1a60f81b82828151811061262f5761262f6133dc565b60200101906001600160f81b031916908160001a90535060049490941c936126568161372d565b90506125e8565b5083156112d65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161077d565b6126b78383836129cc565b600f5460ff16156108745760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b606482015260840161077d565b60008181526001830160205260408120548015612807576000612742600183613645565b855490915060009061275690600190613645565b90508181146127bb576000866000018281548110612776576127766133dc565b9060005260206000200154905080876000018481548110612799576127996133dc565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806127cc576127cc613744565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610750565b6000915050610750565b600061281c82610f41565b905061282a8160008461227a565b612835600083612013565b6001600160a01b038116600090815260086020526040812080546001929061285e908490613645565b909155505060008281526007602052604080822080546001600160a01b0319169055518391906001600160a01b038416906000805160206137f5833981519152908390a45050565b60006001600160a01b0384163b1561299c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128ea90339089908890889060040161375a565b6020604051808303816000875af1925050508015612925575060408051601f3d908101601f1916820190925261292291810190613797565b60015b612982573d808015612953576040519150601f19603f3d011682016040523d82523d6000602084013e612958565b606091505b50805160000361297a5760405162461bcd60e51b815260040161077d906136db565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c6c565b506001949350505050565b60006001600160e01b0319821663152a902d60e11b1480610750575061075082612a84565b6001600160a01b038316612a2757612a2281600d80546000838152600e60205260408120829055600182018355919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50155565b612a4a565b816001600160a01b0316836001600160a01b031614612a4a57612a4a8382612aa9565b6001600160a01b038216612a615761087481612b46565b826001600160a01b0316826001600160a01b031614610874576108748282612bf5565b60006001600160e01b03198216635a05180f60e01b1480610750575061075082612c39565b60006001612ab684611054565b612ac09190613645565b6000838152600c6020526040902054909150808214612b13576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600c90915290208190555b506000918252600c602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600d54600090612b5890600190613645565b6000838152600e6020526040812054600d8054939450909284908110612b8057612b806133dc565b9060005260206000200154905080600d8381548110612ba157612ba16133dc565b6000918252602080832090910192909255828152600e9091526040808220849055858252812055600d805480612bd957612bd9613744565b6001900381819060005260206000200160009055905550505050565b6000612c0083611054565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600c9052919091209190915550565b60006001600160e01b03198216637965db0b60e01b148061075057506301ffc9a760e01b6001600160e01b0319831614610750565b6001600160e01b031981168114610e4157600080fd5b600060208284031215612c9657600080fd5b81356112d681612c6e565b80356001600160a01b038116811461114757600080fd5b80356001600160601b038116811461114757600080fd5b60008060408385031215612ce257600080fd5b612ceb83612ca1565b9150612cf960208401612cb8565b90509250929050565b60005b83811015612d1d578181015183820152602001612d05565b50506000910152565b60008151808452612d3e816020860160208601612d02565b601f01601f19169290920160200192915050565b6020815260006112d66020830184612d26565b600060208284031215612d7757600080fd5b5035919050565b6001600160a01b0391909116815260200190565b60008060408385031215612da557600080fd5b612dae83612ca1565b946020939093013593505050565b600080600060608486031215612dd157600080fd5b612dda84612ca1565b9250612de860208501612ca1565b9150604084013590509250925092565b60008060408385031215612e0b57600080fd5b50508035926020909101359150565b60008060408385031215612e2d57600080fd5b82359150612cf960208401612ca1565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e7b57612e7b612e3d565b604052919050565b60006001600160401b03821115612e9c57612e9c612e3d565b50601f01601f191660200190565b6000612ebd612eb884612e83565b612e53565b9050828152838383011115612ed157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612efa57600080fd5b81356001600160401b03811115612f1057600080fd5b8201601f81018413612f2157600080fd5b611c6c84823560208401612eaa565b600082601f830112612f4157600080fd5b813560206001600160401b03821115612f5c57612f5c612e3d565b8160051b612f6b828201612e53565b9283528481018201928281019087851115612f8557600080fd5b83870192505b84831015612fa457823582529183019190830190612f8b565b979650505050505050565b60008060408385031215612fc257600080fd5b82356001600160401b0380821115612fd957600080fd5b612fe586838701612f30565b93506020850135915080821115612ffb57600080fd5b5061300885828601612f30565b9150509250929050565b60008060006060848603121561302757600080fd5b8335925061303760208501612ca1565b915061304560408501612cb8565b90509250925092565b60006020828403121561306057600080fd5b6112d682612ca1565b602080825282518282018190526000919060409081850190868401855b828110156130ab57815180518552860151868501529284019290850190600101613086565b5091979650505050505050565b8015158114610e4157600080fd5b600080604083850312156130d957600080fd5b6130e283612ca1565b915060208301356130f2816130b8565b809150509250929050565b6000806000806080858703121561311357600080fd5b61311c85612ca1565b935061312a60208601612ca1565b92506040850135915060608501356001600160401b0381111561314c57600080fd5b8501601f8101871361315d57600080fd5b61316c87823560208401612eaa565b91505092959194509250565b60006020828403121561318a57600080fd5b81356112d6816130b8565b600080604083850312156131a857600080fd5b6131b183612ca1565b9150612cf960208401612ca1565b60208082526022908201527f4552433732314163636573733a206d75737420686176652041646d696e20726f6040820152616c6560f01b606082015260800190565b600181811c9082168061321557607f821691505b602082108103610b1457634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761075057610750613235565b634e487b7160e01b600052601260045260246000fd5b60008261328757613287613262565b500490565b601f82111561087457600081815260208120601f850160051c810160208610156132b35750805b601f850160051c820191505b818110156132d2578281556001016132bf565b505050505050565b81516001600160401b038111156132f3576132f3612e3d565b613307816133018454613201565b8461328c565b602080601f83116001811461333c57600084156133245750858301515b600019600386901b1c1916600185901b1785556132d2565b600085815260208120601f198616915b8281101561336b5788860151825594840194600190910190840161334c565b50858210156133895787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526023908201527f4552433732314163636573733a206d7573742068617665204d696e74657220726040820152626f6c6560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161340457613404613235565b5060010190565b60208082526023908201527f4552433732314163636573733a206d75737420686176652050617573657220726040820152626f6c6560e81b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b6000602082840312156134e057600080fd5b81516001600160401b038111156134f657600080fd5b8201601f8101841361350757600080fd5b8051613515612eb882612e83565b81815285602083850101111561352a57600080fd5b61353b826020830160208601612d02565b95945050505050565b600080845461355281613201565b6001828116801561356a576001811461357f576135ae565b60ff19841687528215158302870194506135ae565b8860005260208060002060005b858110156135a55781548a82015290840190820161358c565b50505082870194505b5050505083516135c2818360208801612d02565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60006020828403121561362757600080fd5b81516112d6816130b8565b8082018082111561075057610750613235565b8181038181111561075057610750613235565b60008261366757613667613262565b500690565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161369e816017850160208801612d02565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516136cf816028840160208801612d02565b01602801949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008161373c5761373c613235565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378d90830184612d26565b9695505050505050565b6000602082840312156137a957600080fd5b81516112d681612c6e56fe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e315ae511ad2793211f5996d601fbd7dfedb2a28c808dda8d190c870dbddfdd764736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d43727970746f546564646965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055445444459000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f637265636f2e78797a2f6170692f6d6574612f63727970746f746564646965732f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102f85760003560e01c8063715018a611610193578063c87b56dd116100e4578063d547cfb711610092578063d547cfb7146106a7578063e2669baa146106af578063e5187f43146106c2578063e63ab1e9146106d5578063e985e9c5146106ea578063f2fde38b146106fd578063f666ec311461071057600080fd5b8063c87b56dd1461062b578063ca15c8731461063e578063cf4e986e14610651578063cf62e9ca14610664578063d25881011461066d578063d53913931461067f578063d547741f1461069457600080fd5b80639010d07c116101415780639010d07c146105bb57806391d14854146105ce57806395d89b41146105e1578063a217fddf146105e9578063a22cb465146105f1578063b4bcf48114610604578063b88d4fde1461061857600080fd5b8063715018a614610557578063755edd171461055f5780637c411c47146105725780638456cb591461057a5780638462151c146105825780638ab58676146105a25780638da5cb5b146105aa57600080fd5b8063373807ae1161024d5780635882581c116101fb5780635882581c146104d85780635944c753146104e05780635bb209a5146104f35780635c975abb146105135780636352211e1461051e57806364a38f561461053157806370a082311461054457600080fd5b8063373807ae1461045c578063392f37e91461046f5780633f4ba83a1461048257806341f434341461048a57806342842e0e1461049f57806342966c68146104b25780634f6ccce7146104c557600080fd5b8063248a9ca3116102aa578063248a9ca3146103a75780632a55205a146103cb5780632f2ff15d146103fd5780632f745c591461041057806330176e131461042357806332761d161461043657806336568abe1461044957600080fd5b806301ffc9a7146102fd57806304634d8d1461032557806306fdde031461033a578063081812fc1461034f578063095ea7b31461036f57806318160ddd1461038257806323b872dd14610394575b600080fd5b61031061030b366004612c84565b610745565b60405190151581526020015b60405180910390f35b610338610333366004612ccf565b610756565b005b610342610794565b60405161031c9190612d52565b61036261035d366004612d65565b610826565b60405161031c9190612d7e565b61033861037d366004612d92565b61084d565b600d545b60405190815260200161031c565b6103386103a2366004612dbc565b610879565b6103866103b5366004612d65565b6000908152600160208190526040909120015490565b6103de6103d9366004612df8565b6108bb565b604080516001600160a01b03909316835260208301919091520161031c565b61033861040b366004612e1a565b610967565b61038661041e366004612d92565b61098d565b610338610431366004612ee8565b610a23565b610386610444366004612d92565b610a56565b610338610457366004612e1a565b610b1a565b61033861046a366004612faf565b610b94565b601354610362906001600160a01b031681565b610338610d97565b6103626daaeb6d7670e522a718067333cd4e81565b6103386104ad366004612dbc565b610dd5565b6103386104c0366004612d65565b610e11565b6103866104d3366004612d65565b610e44565b610338610ed7565b6103386104ee366004613012565b610f0f565b610386610501366004612d65565b60009081526012602052604090205490565b600f5460ff16610310565b61036261052c366004612d65565b610f41565b61038661053f366004612d92565b610f76565b61038661055236600461304e565b611054565b6103386110da565b61038661056d36600461304e565b6110ec565b61038660af81565b61033861114c565b61059561059036600461304e565b611188565b60405161031c9190613069565b610338611282565b6000546001600160a01b0316610362565b6103626105c9366004612df8565b6112be565b6103106105dc366004612e1a565b6112dd565b610342611308565b610386600081565b6103386105ff3660046130c6565b611317565b60135461031090600160a01b900460ff1681565b6103386106263660046130fd565b61133e565b610342610639366004612d65565b611382565b61038661064c366004612d65565b6114e0565b61033861065f366004613178565b6114f7565b61038660145481565b600f5461031090610100900460ff1681565b6103866000805160206137d583398151915281565b6103386106a2366004612e1a565b61153c565b610342611562565b600f546103109062010000900460ff1681565b6103386106d036600461304e565b6115f0565b6103866000805160206137b583398151915281565b6103106106f8366004613195565b611639565b61033861070b36600461304e565b611667565b61073361071e366004612d65565b60116020526000908152604090205460ff1681565b60405160ff909116815260200161031c565b60006107508261175d565b92915050565b6107616000336112dd565b6107865760405162461bcd60e51b815260040161077d906131bf565b60405180910390fd5b6107908282611768565b5050565b6060600580546107a390613201565b80601f01602080910402602001604051908101604052809291908181526020018280546107cf90613201565b801561081c5780601f106107f15761010080835404028352916020019161081c565b820191906000526020600020905b8154815290600101906020018083116107ff57829003601f168201915b5050505050905090565b60006108318261181e565b506000908152600960205260409020546001600160a01b031690565b600f5482906301000000900460ff161561086a5761086a81611843565b61087483836118f3565b505050565b826001600160a01b038116331480159061089c5750600f546301000000900460ff165b156108aa576108aa33611843565b6108b5848484611a03565b50505050565b60008281526004602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109305750604080518082019091526003546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061094f906001600160601b03168761324b565b6109599190613278565b915196919550909350505050565b6000828152600160208190526040909120015461098381611a33565b6108748383611a3d565b600061099883611054565b82106109fa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161077d565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b610a2e6000336112dd565b610a4a5760405162461bcd60e51b815260040161077d906131bf565b601061079082826132da565b6000610a706000805160206137d5833981519152336112dd565b610a8c5760405162461bcd60e51b815260040161077d90613399565b601354600160a01b900460ff161580610aa6575060af8211155b610b0a5760405162461bcd60e51b815260206004820152602f60248201527f43727970746f74656464696573202d20436f6c6c656374696f6e20697320616c60448201526e1c9958591e48199a5b985b1a5e9959608a1b606482015260840161077d565b610b148383611a5f565b50919050565b6001600160a01b0381163314610b8a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161077d565b6107908282611b8c565b610bac6000805160206137d5833981519152336112dd565b610bc85760405162461bcd60e51b815260040161077d90613399565b600f54610100900460ff1615610c335760405162461bcd60e51b815260206004820152602a60248201527f4552433732314d202d20444e412069732066696e616c20666f7220746869732060448201526931b7b63632b1ba34b7b760b11b606482015260840161077d565b8051825114610c845760405162461bcd60e51b815260206004820152601a60248201527f4552433732314d202d20444e412064617461206d697373696e67000000000000604482015260640161077d565b60005b8251811015610874576000828281518110610ca457610ca46133dc565b602002602001015190506000848381518110610cc257610cc26133dc565b6020908102919091018101516000848152601190925260409091205490915060ff1615610d315760405162461bcd60e51b815260206004820152601c60248201527f4552433732314d202d20444e41206d75737420626520756e6971756500000000604482015260640161077d565b6000818152601260205260409020548015610d5d576000818152601160205260409020805460ff191690555b5060009081526012602090815260408083208490559282526011905220805460ff1916600117905580610d8f816133f2565b915050610c87565b610daf6000805160206137b5833981519152336112dd565b610dcb5760405162461bcd60e51b815260040161077d9061340b565b610dd3611bae565b565b826001600160a01b0381163314801590610df85750600f546301000000900460ff165b15610e0657610e0633611843565b6108b5848484611bfa565b610e1c335b82611c15565b610e385760405162461bcd60e51b815260040161077d9061344e565b610e4181611c74565b50565b6000610e4f600d5490565b8210610eb25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161077d565b600d8281548110610ec557610ec56133dc565b90600052602060002001549050919050565b610ee26000336112dd565b610efe5760405162461bcd60e51b815260040161077d906131bf565b600f805461ff001916610100179055565b610f1a6000336112dd565b610f365760405162461bcd60e51b815260040161077d906131bf565b610874838383611c7d565b6000818152600760205260408120546001600160a01b0316806107505760405162461bcd60e51b815260040161077d9061349c565b6000610f906000805160206137d5833981519152336112dd565b610fac5760405162461bcd60e51b815260040161077d90613399565b6000610fb7846110ec565b60408051600180825281830190925291925060009190602080830190803683370190505090508181600081518110610ff157610ff16133dc565b60209081029190910101526040805160018082528183019092526000918160200160208202803683370190505090508481600081518110611034576110346133dc565b60200260200101818152505061104a8282610b94565b5090949350505050565b60006001600160a01b0382166110be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161077d565b506001600160a01b031660009081526008602052604090205490565b6110e2611d48565b610dd36000611da2565b60006111066000805160206137d5833981519152336112dd565b6111225760405162461bcd60e51b815260040161077d90613399565b601480549081906000611134836133f2565b91905055506111438382610a56565b9150505b919050565b6111646000805160206137b5833981519152336112dd565b6111805760405162461bcd60e51b815260040161077d9061340b565b610dd3611df2565b6060600061119583611054565b90506000816001600160401b038111156111b1576111b1612e3d565b6040519080825280602002602001820160405280156111f657816020015b60408051808201909152600080825260208201528152602001906001900390816111cf5790505b50905060005b8281101561127a576000611210868361098d565b905080838381518110611225576112256133dc565b6020908102919091010151526112478160009081526012602052604090205490565b838381518110611259576112596133dc565b60209081029190910181015101525080611272816133f2565b9150506111fc565b509392505050565b61128d6000336112dd565b6112a95760405162461bcd60e51b815260040161077d906131bf565b6013805460ff60a01b1916600160a01b179055565b60008281526002602052604081206112d69083611e2f565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546107a390613201565b600f5482906301000000900460ff16156113345761133481611843565b6108748383611e3b565b836001600160a01b03811633148015906113615750600f546301000000900460ff165b1561136f5761136f33611843565b61137b85858585611e46565b5050505050565b606061138d82611e78565b6113eb5760405162461bcd60e51b815260206004820152602960248201527f4552433732314d202d2055524920717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161077d565b6000828152601260205260409020546013546001600160a01b031615611483576013546040516392cb829d60e01b815260048101859052602481018390526001600160a01b03909116906392cb829d90604401600060405180830381865afa15801561145b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114391908101906134ce565b60006010805461149290613201565b9050116114ae5760405180602001604052806000815250611143565b60106114b984611e95565b6040516020016114ca929190613544565b6040516020818303038152906040529392505050565b600081815260026020526040812061075090611f95565b6115026000336112dd565b61151e5760405162461bcd60e51b815260040161077d906131bf565b600f805491151563010000000263ff00000019909216919091179055565b6000828152600160208190526040909120015461155881611a33565b6108748383611b8c565b6010805461156f90613201565b80601f016020809104026020016040519081016040528092919081815260200182805461159b90613201565b80156115e85780601f106115bd576101008083540402835291602001916115e8565b820191906000526020600020905b8154815290600101906020018083116115cb57829003601f168201915b505050505081565b6115fb6000336112dd565b6116175760405162461bcd60e51b815260040161077d906131bf565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b61166f611d48565b6001600160a01b0381166116d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161077d565b610e4181611da2565b6116e782826112dd565b6107905760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b60006112d6836001600160a01b038416611f9f565b600061075082611fee565b6127106001600160601b03821611156117935760405162461bcd60e51b815260040161077d906135cb565b6001600160a01b0382166117e55760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b604482015260640161077d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600355565b61182781611e78565b610e415760405162461bcd60e51b815260040161077d9061349c565b6daaeb6d7670e522a718067333cd4e3b15610e4157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d49190613615565b610e415780604051633b79c77360e21b815260040161077d9190612d7e565b60006118fe82610f41565b9050806001600160a01b0316836001600160a01b03160361196b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161077d565b336001600160a01b038216148061198757506119878133611639565b6119f95760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161077d565b6108748383612013565b611a0c33610e16565b611a285760405162461bcd60e51b815260040161077d9061344e565b610874838383612081565b610e418133612216565b611a4782826116dd565b60008281526002602052604090206108749082611748565b6001600160a01b038216611ab55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077d565b611abe81611e78565b15611b0b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077d565b611b176000838361227a565b6001600160a01b0382166000908152600860205260408120805460019290611b40908490613632565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206137f5833981519152908290a45050565b611b968282612285565b600082815260026020526040902061087490826122ec565b611bb6612301565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611bf09190612d7e565b60405180910390a1565b6108748383836040518060200160405280600081525061133e565b600080611c2183610f41565b9050806001600160a01b0316846001600160a01b03161480611c485750611c488185611639565b80611c6c5750836001600160a01b0316611c6184610826565b6001600160a01b0316145b949350505050565b610e418161234a565b6127106001600160601b0382161115611ca85760405162461bcd60e51b815260040161077d906135cb565b6001600160a01b038216611cfe5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161077d565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600490529190942093519051909116600160a01b029116179055565b6000546001600160a01b03163314610dd35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611dfa612364565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be33390565b60006112d683836123aa565b6107903383836123d4565b611e503383611c15565b611e6c5760405162461bcd60e51b815260040161077d9061344e565b6108b58484848461249e565b6000908152600760205260409020546001600160a01b0316151590565b606081600003611ebc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ee65780611ed0816133f2565b9150611edf9050600a83613278565b9150611ec0565b6000816001600160401b03811115611f0057611f00612e3d565b6040519080825280601f01601f191660200182016040528015611f2a576020820181803683370190505b5090505b8415611c6c57611f3f600183613645565b9150611f4c600a86613658565b611f57906030613632565b60f81b818381518110611f6c57611f6c6133dc565b60200101906001600160f81b031916908160001a905350611f8e600a86613278565b9450611f2e565b6000610750825490565b6000818152600183016020526040812054611fe657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610750565b506000610750565b60006001600160e01b0319821663780e9d6360e01b14806107505750610750826124d1565b600081815260096020526040902080546001600160a01b0319166001600160a01b038416908117909155819061204882610f41565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b031661209482610f41565b6001600160a01b0316146120f85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161077d565b6001600160a01b03821661215a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161077d565b61216583838361227a565b612170600082612013565b6001600160a01b0383166000908152600860205260408120805460019290612199908490613645565b90915550506001600160a01b03821660009081526008602052604081208054600192906121c7908490613632565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206137f583398151915291a4505050565b61222082826112dd565b61079057612238816001600160a01b03166014612511565b612243836020612511565b60405160200161225492919061366c565b60408051601f198184030181529082905262461bcd60e51b825261077d91600401612d52565b6108748383836126ac565b61228f82826112dd565b156107905760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006112d6836001600160a01b03841661271e565b600f5460ff16610dd35760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161077d565b61235381612811565b600090815260046020526040812055565b600f5460ff1615610dd35760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161077d565b60008260000182815481106123c1576123c16133dc565b9060005260206000200154905092915050565b816001600160a01b0316836001600160a01b0316036124315760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161077d565b6001600160a01b038381166000818152600a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6124a9848484612081565b6124b5848484846128a6565b6108b55760405162461bcd60e51b815260040161077d906136db565b60006001600160e01b031982166380ac58cd60e01b148061250257506001600160e01b03198216635b5e139f60e01b145b806107505750610750826129a7565b6060600061252083600261324b565b61252b906002613632565b6001600160401b0381111561254257612542612e3d565b6040519080825280601f01601f19166020018201604052801561256c576020820181803683370190505b509050600360fc1b81600081518110612587576125876133dc565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125b6576125b66133dc565b60200101906001600160f81b031916908160001a90535060006125da84600261324b565b6125e5906001613632565b90505b600181111561265d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612619576126196133dc565b1a60f81b82828151811061262f5761262f6133dc565b60200101906001600160f81b031916908160001a90535060049490941c936126568161372d565b90506125e8565b5083156112d65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161077d565b6126b78383836129cc565b600f5460ff16156108745760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b606482015260840161077d565b60008181526001830160205260408120548015612807576000612742600183613645565b855490915060009061275690600190613645565b90508181146127bb576000866000018281548110612776576127766133dc565b9060005260206000200154905080876000018481548110612799576127996133dc565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806127cc576127cc613744565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610750565b6000915050610750565b600061281c82610f41565b905061282a8160008461227a565b612835600083612013565b6001600160a01b038116600090815260086020526040812080546001929061285e908490613645565b909155505060008281526007602052604080822080546001600160a01b0319169055518391906001600160a01b038416906000805160206137f5833981519152908390a45050565b60006001600160a01b0384163b1561299c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128ea90339089908890889060040161375a565b6020604051808303816000875af1925050508015612925575060408051601f3d908101601f1916820190925261292291810190613797565b60015b612982573d808015612953576040519150601f19603f3d011682016040523d82523d6000602084013e612958565b606091505b50805160000361297a5760405162461bcd60e51b815260040161077d906136db565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c6c565b506001949350505050565b60006001600160e01b0319821663152a902d60e11b1480610750575061075082612a84565b6001600160a01b038316612a2757612a2281600d80546000838152600e60205260408120829055600182018355919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50155565b612a4a565b816001600160a01b0316836001600160a01b031614612a4a57612a4a8382612aa9565b6001600160a01b038216612a615761087481612b46565b826001600160a01b0316826001600160a01b031614610874576108748282612bf5565b60006001600160e01b03198216635a05180f60e01b1480610750575061075082612c39565b60006001612ab684611054565b612ac09190613645565b6000838152600c6020526040902054909150808214612b13576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600c90915290208190555b506000918252600c602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600d54600090612b5890600190613645565b6000838152600e6020526040812054600d8054939450909284908110612b8057612b806133dc565b9060005260206000200154905080600d8381548110612ba157612ba16133dc565b6000918252602080832090910192909255828152600e9091526040808220849055858252812055600d805480612bd957612bd9613744565b6001900381819060005260206000200160009055905550505050565b6000612c0083611054565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600c9052919091209190915550565b60006001600160e01b03198216637965db0b60e01b148061075057506301ffc9a760e01b6001600160e01b0319831614610750565b6001600160e01b031981168114610e4157600080fd5b600060208284031215612c9657600080fd5b81356112d681612c6e565b80356001600160a01b038116811461114757600080fd5b80356001600160601b038116811461114757600080fd5b60008060408385031215612ce257600080fd5b612ceb83612ca1565b9150612cf960208401612cb8565b90509250929050565b60005b83811015612d1d578181015183820152602001612d05565b50506000910152565b60008151808452612d3e816020860160208601612d02565b601f01601f19169290920160200192915050565b6020815260006112d66020830184612d26565b600060208284031215612d7757600080fd5b5035919050565b6001600160a01b0391909116815260200190565b60008060408385031215612da557600080fd5b612dae83612ca1565b946020939093013593505050565b600080600060608486031215612dd157600080fd5b612dda84612ca1565b9250612de860208501612ca1565b9150604084013590509250925092565b60008060408385031215612e0b57600080fd5b50508035926020909101359150565b60008060408385031215612e2d57600080fd5b82359150612cf960208401612ca1565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e7b57612e7b612e3d565b604052919050565b60006001600160401b03821115612e9c57612e9c612e3d565b50601f01601f191660200190565b6000612ebd612eb884612e83565b612e53565b9050828152838383011115612ed157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612efa57600080fd5b81356001600160401b03811115612f1057600080fd5b8201601f81018413612f2157600080fd5b611c6c84823560208401612eaa565b600082601f830112612f4157600080fd5b813560206001600160401b03821115612f5c57612f5c612e3d565b8160051b612f6b828201612e53565b9283528481018201928281019087851115612f8557600080fd5b83870192505b84831015612fa457823582529183019190830190612f8b565b979650505050505050565b60008060408385031215612fc257600080fd5b82356001600160401b0380821115612fd957600080fd5b612fe586838701612f30565b93506020850135915080821115612ffb57600080fd5b5061300885828601612f30565b9150509250929050565b60008060006060848603121561302757600080fd5b8335925061303760208501612ca1565b915061304560408501612cb8565b90509250925092565b60006020828403121561306057600080fd5b6112d682612ca1565b602080825282518282018190526000919060409081850190868401855b828110156130ab57815180518552860151868501529284019290850190600101613086565b5091979650505050505050565b8015158114610e4157600080fd5b600080604083850312156130d957600080fd5b6130e283612ca1565b915060208301356130f2816130b8565b809150509250929050565b6000806000806080858703121561311357600080fd5b61311c85612ca1565b935061312a60208601612ca1565b92506040850135915060608501356001600160401b0381111561314c57600080fd5b8501601f8101871361315d57600080fd5b61316c87823560208401612eaa565b91505092959194509250565b60006020828403121561318a57600080fd5b81356112d6816130b8565b600080604083850312156131a857600080fd5b6131b183612ca1565b9150612cf960208401612ca1565b60208082526022908201527f4552433732314163636573733a206d75737420686176652041646d696e20726f6040820152616c6560f01b606082015260800190565b600181811c9082168061321557607f821691505b602082108103610b1457634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761075057610750613235565b634e487b7160e01b600052601260045260246000fd5b60008261328757613287613262565b500490565b601f82111561087457600081815260208120601f850160051c810160208610156132b35750805b601f850160051c820191505b818110156132d2578281556001016132bf565b505050505050565b81516001600160401b038111156132f3576132f3612e3d565b613307816133018454613201565b8461328c565b602080601f83116001811461333c57600084156133245750858301515b600019600386901b1c1916600185901b1785556132d2565b600085815260208120601f198616915b8281101561336b5788860151825594840194600190910190840161334c565b50858210156133895787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526023908201527f4552433732314163636573733a206d7573742068617665204d696e74657220726040820152626f6c6560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161340457613404613235565b5060010190565b60208082526023908201527f4552433732314163636573733a206d75737420686176652050617573657220726040820152626f6c6560e81b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b6000602082840312156134e057600080fd5b81516001600160401b038111156134f657600080fd5b8201601f8101841361350757600080fd5b8051613515612eb882612e83565b81815285602083850101111561352a57600080fd5b61353b826020830160208601612d02565b95945050505050565b600080845461355281613201565b6001828116801561356a576001811461357f576135ae565b60ff19841687528215158302870194506135ae565b8860005260208060002060005b858110156135a55781548a82015290840190820161358c565b50505082870194505b5050505083516135c2818360208801612d02565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60006020828403121561362757600080fd5b81516112d6816130b8565b8082018082111561075057610750613235565b8181038181111561075057610750613235565b60008261366757613667613262565b500690565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161369e816017850160208801612d02565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516136cf816028840160208801612d02565b01602801949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008161373c5761373c613235565b506000190190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378d90830184612d26565b9695505050505050565b6000602082840312156137a957600080fd5b81516112d681612c6e56fe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e315ae511ad2793211f5996d601fbd7dfedb2a28c808dda8d190c870dbddfdd764736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d43727970746f546564646965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055445444459000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f637265636f2e78797a2f6170692f6d6574612f63727970746f746564646965732f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CryptoTeddies
Arg [1] : _symbol (string): TEDDY
Arg [2] : _baseUri (string): https://creco.xyz/api/meta/cryptoteddies/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 43727970746f5465646469657300000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 5445444459000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [8] : 68747470733a2f2f637265636f2e78797a2f6170692f6d6574612f6372797074
Arg [9] : 6f746564646965732f0000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.