ETH Price: $3,078.30 (+3.96%)

Token

Going Nuts (NT)
 

Overview

Max Total Supply

531 NT

Holders

256

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 NT
0x02135a6c0c2577b1433c28b317dd41a38495b048
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

“Going Nuts” is a collection of unique digital Nuts NFTs living on the Ethereum blockchain. Hand-drawn traits are randomly combined to form this distinctive collection.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GoingNuts

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : GoingNuts.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import './Allowlist.sol';
import './SalesActivation.sol';

// ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+****+;;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;;;+*******++;;;;;;*?%S##@@@@S;;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;+#@@@@@@@@##S?%#%S#@@@@@@@@@#;;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;+@@@@@@@@@@#@#%SS@@@##@@@@@@@+;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;;%@@@@@@@@@@%*++*?%S#@@@@@@@@+;;;;;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;;;;;+S@@@@@@#%++++++++++**?%S##S+;;;;;**++;;;;;;;;;
// ;;;;;;;;;;;;;;;;*?+%@@#%*+++++++++++++++++++*%*;;;+****+;;;;;;;;
// ;;;;;;;;;;;;;;;*%+++++++++++++++++++++++++++++S%;;++*++;;;;;;;;;
// ;;;;;;;;;;;;;;;S++++++++++++++++++++++++;++++++S%;;;;++;;;;;;;;;
// ;;;;;;;;;;;;;;%%+++++++++;++*?+++++++??++++***?*#*;;;;+;;;;;;;;;
// ;;;;;;;;;;;;;+#++++++++++++%S*+*****??*+*++++;%*?#;;;;;;;;;;;;;;
// ;;;;;;;;;;;;;%%++++++++++?%+:++++;;::,,,:;+;,,;S+#*;;;;;;;;;;;;;
// ;;;;;;;;;;;;;#*+++++++*%%+,,,:;;;;;;;++++;:,,,,*%%%;;;;;;;;;;;;;
// ;;;;;;;;;;;;*#+++***??*S;,,,,,;;::::::,,,:;;::,:S%S;;;;;;;;;;;;;
// ;;;;;;;;;;;;S%++%++%*:,%:,,,,,:*%*,,,,;+++*++++;?S%;;;;;;;;;;;;;
// ;;;;;;;;;;;+#*+*?,:?+:,%:,,,,:+;::,,,:*;;;;;;;;++;*+;;;;;;;;;;;;
// ;;;;;;;;;;;*#++S*,,*?::%:,,,;++;,,:::;*?+:+*+;+*;:;?;;;;;;;;;;;;
// ;;;;;;;;;;;%S++#;,,*;,:%,,,,::::,,:;;;*?+:+*+;;::;:?+;;;;;;;;;;;
// ;;;;;;;;;;;#?+*#:,,:,,:%,,,,,:::,,,,,,;*;;;+++;;;::I+;;;;;;;;;;;
// ;;;;;;;;;;+@*+%S:,,,,,:%,,+*%S#S?+:::;+?**+;+;;:::;%;;;;;;;;;;;;
// ;;;;;;;;;;*@+*%@%+;;::,%*%#@@@@@@#S?++;::::::;;+++%*;;;;;;;;;;;;
// ;;;;;;;;;;?#+*L@@@@##S%#@@@@@#????+;:::;;;:+**++;;C*;;;;;;;;;;;;
// ;;;;;;;;;;%S+*S@@@@@@@@@+::;S?**%?+:;;;;;:;%:,,,,,??;;;;;;;;;;;;
// ;;;;;;;;;;S?+*S@@@@@@@@@+,,,,::+%::;;;;;;;;%+:,,,,*?;;;;;;;;;;;;
// ;;;;;;;++;#?+*U@@@@@@@@@?,,,:;*?;:;;;;;;;;:;****++H?;;;;;;;;;;;;
// ;;;;;**+**S??%#@@@@####@S++**+;::;:;;;;;;;;;::;;;*@?;;;;;;;;;;;;
// ;;;;;%+**++*++K@@@%*;;;+?*;;:::;;;;;;;;;;;;;;;;:;#@%*+;;;;;;;;;;
// ;;;;;?*::::+?%#@@@@#S?****+:;;;;;;;;;;;;;;;;;::*#@@@@#?;;;;;;;;;
// ;;;;;;?*++**++%#######?;;;;;;;;;;;;;;;;;;:::;*I@@@##S%*;;;;;;;;;
// ;;;;;;;+??+:::+?%%S###@S%+;:::::::::::;;;+*?S#@#@###%*;;;;;;;;;;
// ;;;;;;;;;+*?%?E+;:%%%%%%?+***********??%%%%%########@#*;;;;;;;;;

contract GoingNuts is ERC721A, Allowlist, SalesActivation{

    using Strings for uint256;

    // base URI
    string private baseTokenURI;
    // Price of each nuts
    uint256 public og_price = 0.04 ether;
    uint256 public wl_price = 0.05 ether;
    uint256 public price = 0.08 ether;
    // Maximum amount of nuts in existance 
    uint256 public max_sales_nuts = 10000;
    // For giveaway 
    uint256 public team_mint = 200;
    // Max presale 
    uint256 public og_max = 100;
    uint256 public og_purchased = 0;
    uint256 public presale_period_purchased = 0;
    uint256 public presale_period_phase_max = 1000;
    uint256 public max_per_wallet = 2;
    // OG claimed
    mapping(address => bool) public og_list;
    mapping(address => uint256) public ogListBought;
    // Presale claimed
    address[] public addressesOfPresaleBought;
    mapping(address => uint256) public presaleListBought;
    // team addresses
    address public nuts_wallet = 0xf2EC318ab1b7C1019B1D957B48E4E5b082d340E3;
    //Event presale
    event Presale(uint256 quantity, address buyer);
    
    constructor(string memory tokenURI, address sign_address,
    uint256 _publicSalesStartTime, uint256 _preSalesStartTime, uint256 _preSalesEndTime, 
    uint256 _ogSalesStartTime, uint256 _ogSalesEndTime) 
    ERC721A("Going Nuts", "NT") Allowlist("GoingNuts","1",sign_address) 
    SalesActivation(_ogSalesStartTime,_ogSalesEndTime,_publicSalesStartTime,
    _preSalesStartTime,_preSalesEndTime) {
        setBaseURI(tokenURI);
    }

    /**
    * @dev OG sales nuts
    */
    function ogSale(uint256 nutsNumber) public payable isOGSalesActive {
        uint256 supply = totalSupply();
        require(og_list[msg.sender], 'You are not on the OG list');
        require(og_purchased + nutsNumber <= og_max, 'Purchase exceeds max allowed');
        require( msg.value >= og_price * nutsNumber,             "Ether sent is not correct" );
        require( supply + nutsNumber <= max_sales_nuts - team_mint,      "Exceeds maximum nuts supply" );
        require(ogListBought[msg.sender] + nutsNumber <= max_per_wallet, 'Purchase exceeds max allowed');
        require(tx.origin == msg.sender, "Contracts not allowed to mint");
        // og spot bought
        _safeMint(msg.sender, nutsNumber);
        ogListBought[msg.sender] += nutsNumber;
        // increment purchased og numbers
        og_purchased += nutsNumber;
    }

    /**
    * @dev Presale nuts
    */
    function presale(uint256 nutsNumber, bytes memory _signature) public payable isPreSalesActive isSenderAllowlisted(nutsNumber, _signature){
        uint256 supply = totalSupply();
        require( presale_period_purchased + nutsNumber <= presale_period_phase_max - og_max, 'Exceeds presale nuts supply');
        require( supply+nutsNumber <= max_sales_nuts - team_mint,      "Exceeds maximum nuts supply" );
        require(presaleListBought[msg.sender] + nutsNumber <= max_per_wallet, 'Purchase exceeds max allowed');
        require( msg.value >= wl_price * nutsNumber,             "Ether sent is not correct" );
        require(tx.origin == msg.sender, "Contracts not allowed to mint");

        _safeMint(msg.sender, nutsNumber);
        // increment purchased wl numbers
        presale_period_purchased += nutsNumber;
        presaleListBought[msg.sender] += nutsNumber;
        addressesOfPresaleBought.push(msg.sender);
        emit Presale(nutsNumber, msg.sender);
    }

    /**
    * @dev Mint nuts
    */
    function mint(uint256 nutsNumber) public payable isPublicSalesActive {
        uint256 supply = totalSupply();
        require( msg.value >= price * nutsNumber,             "Ether sent is not correct" );
        require( presale_period_purchased + nutsNumber <= presale_period_phase_max - og_purchased,      "Exceeds maximum period nuts supply" );
        require( supply+nutsNumber <= max_sales_nuts - team_mint,      "Exceeds maximum nuts supply" );
        require(nutsNumber > 0, "You cannot mint 0 nuts.");
        require(nutsNumber <= 5, "You are not allowed to buy this many nuts at once.");
        require(tx.origin == msg.sender, "Contracts not allowed");

        _safeMint( msg.sender, nutsNumber);
        presale_period_purchased += nutsNumber;
    }

    /**
    * @dev Owner Mint nuts
    */
    function ownerMint(address _to,uint256 nutsNumber) external onlyOwner() {
        uint256 supply = totalSupply();
        require( supply+nutsNumber <= max_sales_nuts,      "Exceeds maximum nuts supply" );

        _safeMint(_to, nutsNumber);
        team_mint -= nutsNumber;
    }
    

    /**
    * @dev Change the base URI when we move IPFS (Callable by owner only)
    */
    function setBaseURI(string memory _uri) public onlyOwner {
        baseTokenURI = _uri;
    }
    
    /**
    * @dev Change the max team mint
    */
    function setTeamMint(uint256 _max_number) public onlyOwner {
        team_mint = _max_number;
    }

    /**
    * @dev Set OG Max Number
    */
    function setOGMax(uint256 _max_number) public onlyOwner {
        og_max = _max_number;
    }

    /**
    * @dev Change the og purchased number
    */
    function setOGPurchased(uint256 _number) public onlyOwner {
        og_purchased = _number;
    }

    /**
    * @dev Change the Pre Sales Max
    */
    function setPreSalesMax(uint256 _max_number) public onlyOwner {
        presale_period_phase_max = _max_number;
    }

    /**
    * @dev Change the presale purchased number
    */
    function setPreSalesPurchased(uint256 _max_number) public onlyOwner {
        presale_period_purchased = _max_number;
    }

    /**
    * @dev Change the total Sales nuts
    */
    function setTotalSalesnuts(uint256 _totalnuts) public onlyOwner {
        max_sales_nuts = _totalnuts;
    }

    /**
    * @dev Change the presale list max number
    */
    function setMaxPerWallet(uint256 _max_per_wallet) public onlyOwner {
        max_per_wallet = _max_per_wallet;
    }


    /**
    * @dev Add people to OG List
    */
    function addToOGList(address[] calldata _og_list) public onlyOwner {
        for (uint256 i = 0; i < _og_list.length; i++) {
            og_list[_og_list[i]] = true;
            ogListBought[_og_list[i]] > 0 ? ogListBought[_og_list[i]] : 0;
        }
    }

    /**
    * @dev Remove people from OG List
    */
    function removeFromOGList(address[] calldata removeList) public onlyOwner {
        for (uint256 i = 0; i < removeList.length; i++) {
            og_list[removeList[i]] = false;
        }
    }

    /**
    * @dev Reset the presale list
    */
    function resetPresaleListBought() public onlyOwner {
        for (uint i=0; i< addressesOfPresaleBought.length ; i++){
            presaleListBought[addressesOfPresaleBought[i]] = 0;
        }
        delete addressesOfPresaleBought;
    }

    /**
    * @dev Set Price if need to discount (Callable by owner only)
    */
    function setPrice(uint256 _newPrice) public onlyOwner {
        price = _newPrice;
    }

    /**
    * @dev Set Price if need to discount (Callable by owner only)
    */
    function setWhitelistPrice(uint256 _newPrice) public onlyOwner {
        wl_price = _newPrice;
    }

    /**
    * @dev Set Price if need to discount (Callable by owner only)
    */
    function setOGPrice(uint256 _newPrice) public onlyOwner {
        og_price = _newPrice;
    }

    /**
    * @dev Set Team wallet
    */
    function setTeamWallet(address _newWallet) public onlyOwner {
        nuts_wallet = _newWallet;
    }

    /**
    * @dev Withdraw ether from this contract (Callable by owner only)
    */
    function withdraw() onlyOwner public {
        uint256 _balance = address(this).balance;
        require(payable(nuts_wallet).send(_balance));
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }
}

File 2 of 15 : SalesActivation.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

contract SalesActivation is Ownable {
    // og start time
    uint256 public ogSalesStartTime;
    // og end time
    uint256 public ogSalesEndTime;
    // Public sales start time
    uint256 public publicSalesStartTime;
    // presales start time
    uint256 public preSalesStartTime;
    // presales end time
    uint256 public preSalesEndTime;

    modifier isPublicSalesActive() {
        require(
            isPublicSalesActivated(),
            "Public sales not started"
        );
        _;
    }

    modifier isPreSalesActive() {
        require(
            isPreSalesActivated(),
            "Presales not started"
        );
        _;
    }

    modifier isOGSalesActive() {
        require(
            isOGSalesActivated(),
            "OG sales not started"
        );
        _;
    }

    constructor(uint256 _ogSalesStartTime, uint256 _ogSalesEndTime, uint256 _publicSalesStartTime, uint256 _preSalesStartTime, uint256 _preSalesEndTime) {
        ogSalesStartTime = _ogSalesStartTime;
        ogSalesEndTime = _ogSalesEndTime;
        publicSalesStartTime = _publicSalesStartTime;
        preSalesStartTime = _preSalesStartTime;
        preSalesEndTime = _preSalesEndTime;
    }

    function isPublicSalesActivated() public view returns (bool) {
        return
            publicSalesStartTime > 0 && block.timestamp >= publicSalesStartTime;
    }

    function setPublicSalesTime(uint256 _startTime) external onlyOwner {
        publicSalesStartTime = _startTime;
    }

    function isOGSalesActivated() public view returns (bool) {
        return
            ogSalesStartTime > 0 &&
            ogSalesEndTime > 0 &&
            block.timestamp >= ogSalesStartTime &&
            block.timestamp <= ogSalesEndTime;
    }

    function setOGSalesTime(uint256 _startTime, uint256 _endTime)
        external
        onlyOwner
    {
        require(
            _endTime >= _startTime,
            "OGActivation: End time should be later than start time"
        );
        ogSalesStartTime = _startTime;
        ogSalesEndTime = _endTime;
    }

    function isPreSalesActivated() public view returns (bool) {
        return
            preSalesStartTime > 0 &&
            preSalesEndTime > 0 &&
            block.timestamp >= preSalesStartTime &&
            block.timestamp <= preSalesEndTime;
    }

    function setPreSalesTime(uint256 _startTime, uint256 _endTime)
        external
        onlyOwner
    {
        require(
            _endTime >= _startTime,
            "PreSalesActivation: End time should be later than start time"
        );
        preSalesStartTime = _startTime;
        preSalesEndTime = _endTime;
    }
}

File 3 of 15 : Allowlist.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";


contract Allowlist is Ownable, EIP712 {

    bytes32 public constant GOINGNUTS_TYPEHASH =
        keccak256("Goingnuts(address buyer,uint256 quantity)");
    // signer to compare with
    address public ownerSigner;

    modifier isSenderAllowlisted(
        uint256 _quantity,
        bytes memory _signature
    ) {
        require(
            check(_quantity, msg.sender, _signature) ==
                ownerSigner,
            "Signature not equal to ownerSigner"
        );
        _;
    }

    constructor(string memory name, string memory version, address _ownerSigner)
    EIP712(name, version)
    {
        ownerSigner = _ownerSigner;
    }

    /**
     * Set the owner signer
     */
    function setOwnerSigner(address _ownerSigner) public onlyOwner {
        ownerSigner = _ownerSigner;
    }

    /**
     * Check signature, return the public address of the signer
     */
    function check(uint256 _quantity, address _buyer, bytes memory _signature) public view returns (address){
        return _verify(_quantity,_buyer,_signature);
    }

    function _verify(uint256 _quantity,address _buyer, bytes memory _signature) internal view returns (address){
        bytes32 digest = _hash(_quantity,_buyer);
        return ECDSA.recover(digest,_signature);
    }

    function _hash(uint256 _quantity, address _buyer) internal view returns (bytes32){
        return _hashTypedDataV4(keccak256(abi.encode(GOINGNUTS_TYPEHASH,_buyer,_quantity)));
    }
}

File 4 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 5 of 15 : 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 6 of 15 : 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 7 of 15 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

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

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

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

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 8 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

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

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

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

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 9 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 15 : 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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : 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 13 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"address","name":"sign_address","type":"address"},{"internalType":"uint256","name":"_publicSalesStartTime","type":"uint256"},{"internalType":"uint256","name":"_preSalesStartTime","type":"uint256"},{"internalType":"uint256","name":"_preSalesEndTime","type":"uint256"},{"internalType":"uint256","name":"_ogSalesStartTime","type":"uint256"},{"internalType":"uint256","name":"_ogSalesEndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"}],"name":"Presale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GOINGNUTS_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_og_list","type":"address[]"}],"name":"addToOGList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressesOfPresaleBought","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"check","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"isOGSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_per_wallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_sales_nuts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nutsNumber","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nuts_wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogListBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nutsNumber","type":"uint256"}],"name":"ogSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogSalesEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSalesStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"og_list","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"og_max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"og_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"og_purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"nutsNumber","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalesEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalesStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nutsNumber","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleListBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale_period_phase_max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale_period_purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalesStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"removeList","type":"address[]"}],"name":"removeFromOGList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetPresaleListBought","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_per_wallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_number","type":"uint256"}],"name":"setOGMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setOGPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"setOGPurchased","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setOGSalesTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ownerSigner","type":"address"}],"name":"setOwnerSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_number","type":"uint256"}],"name":"setPreSalesMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_number","type":"uint256"}],"name":"setPreSalesPurchased","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setPreSalesTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setPublicSalesTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_number","type":"uint256"}],"name":"setTeamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalnuts","type":"uint256"}],"name":"setTotalSalesnuts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team_mint","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":[],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wl_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

610140604052668e1bc9bf04000060105566b1a2bc2ec5000060115567011c37937e08000060125561271060135560c86014556064601555600060168190556017556103e86018556002601955601e80546001600160a01b03191673f2ec318ab1b7c1019b1d957b48e4e5b082d340e31790553480156200007f57600080fd5b506040516200414a3803806200414a833981016040819052620000a291620003e5565b818186868660405180604001604052806009815260200168476f696e674e75747360b81b815250604051806040016040528060018152602001603160f81b8152508c82826040518060400160405280600a815260200169476f696e67204e75747360b01b81525060405180604001604052806002815260200161139560f21b81525081600290805190602001906200013c9291906200030c565b508051620001529060039060208401906200030c565b50506000805550620001643362000242565b815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c09485019091528151919095012090529190915261012052600980546001600160a01b0319166001600160a01b03929092169190911790555050600a94909455600b92909255600c55600d55600e55620002358762000294565b5050505050505062000542565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200030890600f9060208401906200030c565b5050565b8280546200031a9062000505565b90600052602060002090601f0160209004810192826200033e576000855562000389565b82601f106200035957805160ff191683800117855562000389565b8280016001018555821562000389579182015b82811115620003895782518255916020019190600101906200036c565b50620003979291506200039b565b5090565b5b808211156200039757600081556001016200039c565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620003e057600080fd5b919050565b600080600080600080600060e0888a0312156200040157600080fd5b87516001600160401b03808211156200041957600080fd5b818a0191508a601f8301126200042e57600080fd5b815181811115620004435762000443620003b2565b604051601f8201601f19908116603f011681019083821181831017156200046e576200046e620003b2565b81604052828152602093508d848487010111156200048b57600080fd5b600091505b82821015620004af578482018401518183018501529083019062000490565b82821115620004c15760008484830101525b9a50620004d39150508a8201620003c8565b60408b015160608c015160808d015160a08e015160c0909e01519c9f939e50919c909b919a5098509650945050505050565b600181811c908216806200051a57607f821691505b602082108114156200053c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051613bb86200059260003960006132ce0152600061331d015260006132f8015260006132510152600061327b015260006132a50152613bb86000f3fe6080604052600436106104145760003560e01c80637e271c6911610228578063b88d4fde11610128578063d07a3e1f116100bb578063e985e9c51161008a578063f20a13161161006f578063f20a131614610b9c578063f2fde38b14610bbc578063f4f901d514610bdc57600080fd5b8063e985e9c514610b33578063ed39039b14610b7c57600080fd5b8063d07a3e1f14610abd578063e268e4d314610add578063e3288b4914610afd578063e6c3819c14610b1d57600080fd5b8063c67aa45f116100f7578063c67aa45f14610a47578063c7adbc5f14610a5d578063c87b56dd14610a7d578063cb2bbdd614610a9d57600080fd5b8063b88d4fde146109d1578063bd488fba146109f1578063bfe2a08a14610a11578063c2603ba714610a2757600080fd5b8063a0712d68116101bb578063a9e46b0f1161018a578063ad48c5e11161016f578063ad48c5e114610987578063ae4384f1146109a7578063b7329d2b146109bc57600080fd5b8063a9e46b0f14610951578063ab53fcaa1461097157600080fd5b8063a0712d68146108f2578063a22cb46514610905578063a2d3f0c714610925578063a78a673f1461093b57600080fd5b806391b7f5ed116101f757806391b7f5ed14610887578063936d6e50146108a757806395d89b41146108c7578063a035b1fe146108dc57600080fd5b80637e271c6914610810578063805e9ed81461083d5780638a198335146108535780638da5cb5b1461086957600080fd5b80633ccfd60b116103335780635f56028a116102c65780636c3c6bd21161029557806370a082311161027a57806370a08231146107bb578063715018a6146107db578063717d57d3146107f057600080fd5b80636c3c6bd2146107865780636f62009b1461079b57600080fd5b80635f56028a1461072057806360869d9b146107335780636352211e1461075357806367418fc21461077357600080fd5b80634f423a9d116103025780634f423a9d146106a75780635028aede146106bd5780635343d080146106d357806355f804b31461070057600080fd5b80633ccfd60b1461063c57806342842e0e14610651578063431c88fa14610671578063484b973c1461068757600080fd5b80630d617ee7116103ab57806322be5d611161037a57806322be5d61146105bd57806323b872dd146105f157806337fa742814610611578063397d0c0c1461062657600080fd5b80630d617ee71461054e5780631525ff7d1461056457806315932fdb1461058457806318160ddd146105a457600080fd5b806306fdde03116103e757806306fdde03146104b4578063081812fc146104d657806308b123331461050e578063095ea7b31461052e57600080fd5b806301ffc9a71461041957806303b5ccaf1461044e5780630669cefb1461047057806306c2e3e514610494575b600080fd5b34801561042557600080fd5b50610439610434366004613577565b610c0c565b60405190151581526020015b60405180910390f35b34801561045a57600080fd5b5061046e610469366004613594565b610ca9565b005b34801561047c57600080fd5b50610486600b5481565b604051908152602001610445565b3480156104a057600080fd5b5061046e6104af366004613594565b610d6d565b3480156104c057600080fd5b506104c9610ecf565b6040516104459190613661565b3480156104e257600080fd5b506104f66104f1366004613674565b610f61565b6040516001600160a01b039091168152602001610445565b34801561051a57600080fd5b506009546104f6906001600160a01b031681565b34801561053a57600080fd5b5061046e6105493660046136a9565b610fbe565b34801561055a57600080fd5b5061048660105481565b34801561057057600080fd5b5061046e61057f3660046136d3565b611079565b34801561059057600080fd5b5061046e61059f366004613674565b6110e3565b3480156105b057600080fd5b5060015460005403610486565b3480156105c957600080fd5b506104867f7160dcc84f40cfb29205b4c75c82e6df5942cdf495fdad3f75aafff12a6bf2fd81565b3480156105fd57600080fd5b5061046e61060c3660046136ee565b611130565b34801561061d57600080fd5b5061046e61113b565b34801561063257600080fd5b50610486600d5481565b34801561064857600080fd5b5061046e6111ef565b34801561065d57600080fd5b5061046e61066c3660046136ee565b61126c565b34801561067d57600080fd5b5061048660155481565b34801561069357600080fd5b5061046e6106a23660046136a9565b611287565b3480156106b357600080fd5b5061048660145481565b3480156106c957600080fd5b5061048660185481565b3480156106df57600080fd5b506104866106ee3660046136d3565b601b6020526000908152604090205481565b34801561070c57600080fd5b5061046e61071b3660046137b6565b611362565b61046e61072e36600461381f565b6113c1565b34801561073f57600080fd5b5061046e61074e366004613674565b611774565b34801561075f57600080fd5b506104f661076e366004613674565b6117c1565b61046e610781366004613674565b6117d3565b34801561079257600080fd5b50610439611ac2565b3480156107a757600080fd5b5061046e6107b6366004613674565b611af8565b3480156107c757600080fd5b506104866107d63660046136d3565b611b45565b3480156107e757600080fd5b5061046e611bad565b3480156107fc57600080fd5b5061046e61080b366004613674565b611bff565b34801561081c57600080fd5b5061048661082b3660046136d3565b601d6020526000908152604090205481565b34801561084957600080fd5b50610486600a5481565b34801561085f57600080fd5b5061048660165481565b34801561087557600080fd5b506008546001600160a01b03166104f6565b34801561089357600080fd5b5061046e6108a2366004613674565b611c4c565b3480156108b357600080fd5b5061046e6108c2366004613674565b611c99565b3480156108d357600080fd5b506104c9611ce6565b3480156108e857600080fd5b5061048660125481565b61046e610900366004613674565b611cf5565b34801561091157600080fd5b5061046e610920366004613866565b611fe3565b34801561093157600080fd5b5061048660135481565b34801561094757600080fd5b50610486600e5481565b34801561095d57600080fd5b5061046e61096c366004613674565b612092565b34801561097d57600080fd5b5061048660195481565b34801561099357600080fd5b50601e546104f6906001600160a01b031681565b3480156109b357600080fd5b506104396120df565b3480156109c857600080fd5b506104396120f7565b3480156109dd57600080fd5b5061046e6109ec3660046138a2565b61212b565b3480156109fd57600080fd5b5061046e610a0c366004613674565b61217c565b348015610a1d57600080fd5b5061048660115481565b348015610a3357600080fd5b506104f6610a42366004613674565b6121c9565b348015610a5357600080fd5b5061048660175481565b348015610a6957600080fd5b5061046e610a783660046136d3565b6121f3565b348015610a8957600080fd5b506104c9610a98366004613674565b61225d565b348015610aa957600080fd5b5061046e610ab8366004613674565b6122fb565b348015610ac957600080fd5b506104f6610ad836600461390a565b612348565b348015610ae957600080fd5b5061046e610af8366004613674565b61235d565b348015610b0957600080fd5b5061046e610b18366004613961565b6123aa565b348015610b2957600080fd5b50610486600c5481565b348015610b3f57600080fd5b50610439610b4e366004613983565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b8857600080fd5b5061046e610b97366004613961565b612473565b348015610ba857600080fd5b5061046e610bb7366004613674565b61253c565b348015610bc857600080fd5b5061046e610bd73660046136d3565b612589565b348015610be857600080fd5b50610439610bf73660046136d3565b601a6020526000908152604090205460ff1681565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c6f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ca357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6008546001600160a01b03163314610cf65760405162461bcd60e51b81526020600482018190526024820152600080516020613b6383398151915260448201526064015b60405180910390fd5b60005b81811015610d68576000601a6000858585818110610d1957610d196139b6565b9050602002016020810190610d2e91906136d3565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d60816139e2565b915050610cf9565b505050565b6008546001600160a01b03163314610db55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60005b81811015610d68576001601a6000858585818110610dd857610dd86139b6565b9050602002016020810190610ded91906136d3565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601b81858585818110610e2d57610e2d6139b6565b9050602002016020810190610e4291906136d3565b6001600160a01b03166001600160a01b031681526020019081526020016000205411610e6f576000610ebc565b601b6000848484818110610e8557610e856139b6565b9050602002016020810190610e9a91906136d3565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b5080610ec7816139e2565b915050610db8565b606060028054610ede906139fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0a906139fd565b8015610f575780601f10610f2c57610100808354040283529160200191610f57565b820191906000526020600020905b815481529060010190602001808311610f3a57829003601f168201915b5050505050905090565b6000610f6c82612656565b610fa2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610fc9826117c1565b9050806001600160a01b0316836001600160a01b03161415611017576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b0382161480159061103757506110358133610b4e565b155b1561106e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d68838383612681565b6008546001600160a01b031633146110c15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461112b5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601455565b610d688383836126dd565b6008546001600160a01b031633146111835760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60005b601c548110156111e0576000601d6000601c84815481106111a9576111a96139b6565b60009182526020808320909101546001600160a01b03168352820192909252604001902055806111d8816139e2565b915050611186565b506111ed601c60006134aa565b565b6008546001600160a01b031633146112375760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601e5460405147916001600160a01b03169082156108fc029083906000818181858888f1935050505061126957600080fd5b50565b610d688383836040518060200160405280600081525061212b565b6008546001600160a01b031633146112cf5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60006112de6001546000540390565b6013549091506112ee8383613a38565b111561133c5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b6113468383612919565b81601460008282546113589190613a50565b9091555050505050565b6008546001600160a01b031633146113aa5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b80516113bd90600f9060208401906134c8565b5050565b6113c96120f7565b6114155760405162461bcd60e51b815260206004820152601460248201527f50726573616c6573206e6f7420737461727465640000000000000000000000006044820152606401610ced565b600954829082906001600160a01b0316611430833384612348565b6001600160a01b0316146114ac5760405162461bcd60e51b815260206004820152602260248201527f5369676e6174757265206e6f7420657175616c20746f206f776e65725369676e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610ced565b60006114bb6001546000540390565b90506015546018546114cd9190613a50565b856017546114db9190613a38565b11156115295760405162461bcd60e51b815260206004820152601b60248201527f457863656564732070726573616c65206e75747320737570706c7900000000006044820152606401610ced565b6014546013546115399190613a50565b6115438683613a38565b11156115915760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b601954336000908152601d60205260409020546115af908790613a38565b11156115fd5760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b8460115461160b9190613a67565b34101561165a5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b3233146116a95760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610ced565b6116b33386612919565b84601760008282546116c59190613a38565b9091555050336000908152601d6020526040812080548792906116e9908490613a38565b9091555050601c80546001810182556000919091527f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a2110180546001600160a01b031916339081179091556040805187815260208101929092527f3d30276bb50ba21e5d31bf4e749c28a8c45404b27b231249c3f6860f84c33729910160405180910390a15050505050565b6008546001600160a01b031633146117bc5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b600c55565b60006117cc82612933565b5192915050565b6117db611ac2565b6118275760405162461bcd60e51b815260206004820152601460248201527f4f472073616c6573206e6f7420737461727465640000000000000000000000006044820152606401610ced565b60006118366001546000540390565b336000908152601a602052604090205490915060ff166118985760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f74206f6e20746865204f47206c6973740000000000006044820152606401610ced565b601554826016546118a99190613a38565b11156118f75760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b816010546119059190613a67565b3410156119545760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b6014546013546119649190613a50565b61196e8383613a38565b11156119bc5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b601954336000908152601b60205260409020546119da908490613a38565b1115611a285760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b323314611a775760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610ced565b611a813383612919565b336000908152601b602052604081208054849290611aa0908490613a38565b925050819055508160166000828254611ab99190613a38565b90915550505050565b600080600a54118015611ad757506000600b54115b8015611ae55750600a544210155b8015611af35750600b544211155b905090565b6008546001600160a01b03163314611b405760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601655565b60006001600160a01b038216611b87576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314611bf55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b6111ed6000612a68565b6008546001600160a01b03163314611c475760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601155565b6008546001600160a01b03163314611c945760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601255565b6008546001600160a01b03163314611ce15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601555565b606060038054610ede906139fd565b611cfd6120df565b611d495760405162461bcd60e51b815260206004820152601860248201527f5075626c69632073616c6573206e6f74207374617274656400000000000000006044820152606401610ced565b6000611d586001546000540390565b905081601254611d689190613a67565b341015611db75760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b601654601854611dc79190613a50565b82601754611dd59190613a38565b1115611e495760405162461bcd60e51b815260206004820152602260248201527f45786365656473206d6178696d756d20706572696f64206e757473207375707060448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610ced565b601454601354611e599190613a50565b611e638383613a38565b1115611eb15760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b60008211611f015760405162461bcd60e51b815260206004820152601760248201527f596f752063616e6e6f74206d696e742030206e7574732e0000000000000000006044820152606401610ced565b6005821115611f785760405162461bcd60e51b815260206004820152603260248201527f596f7520617265206e6f7420616c6c6f77656420746f2062757920746869732060448201527f6d616e79206e757473206174206f6e63652e00000000000000000000000000006064820152608401610ced565b323314611fc75760405162461bcd60e51b815260206004820152601560248201527f436f6e747261637473206e6f7420616c6c6f77656400000000000000000000006044820152606401610ced565b611fd13383612919565b8160176000828254611ab99190613a38565b6001600160a01b038216331415612026576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146120da5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601755565b600080600c54118015611af3575050600c5442101590565b600080600d5411801561210c57506000600e54115b801561211a5750600d544210155b8015611af3575050600e5442111590565b6121368484846126dd565b6001600160a01b0383163b15158015612158575061215684848484612aba565b155b15612176576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146121c45760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601855565b601c81815481106121d957600080fd5b6000918252602090912001546001600160a01b0316905081565b6008546001600160a01b0316331461223b5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b606061226882612656565b61229e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122a8612ba2565b90508051600014156122c957604051806020016040528060008152506122f4565b806122d384612bb1565b6040516020016122e4929190613a86565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146123435760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601055565b6000612355848484612ce3565b949350505050565b6008546001600160a01b031633146123a55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601955565b6008546001600160a01b031633146123f25760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b818110156124685760405162461bcd60e51b815260206004820152603660248201527f4f4741637469766174696f6e3a20456e642074696d652073686f756c6420626560448201527f206c61746572207468616e2073746172742074696d65000000000000000000006064820152608401610ced565b600a91909155600b55565b6008546001600160a01b031633146124bb5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b818110156125315760405162461bcd60e51b815260206004820152603c60248201527f50726553616c657341637469766174696f6e3a20456e642074696d652073686f60448201527f756c64206265206c61746572207468616e2073746172742074696d65000000006064820152608401610ced565b600d91909155600e55565b6008546001600160a01b031633146125845760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601355565b6008546001600160a01b031633146125d15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b6001600160a01b03811661264d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ced565b61126981612a68565b6000805482108015610ca3575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006126e882612933565b9050836001600160a01b031681600001516001600160a01b031614612739576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b038616148061275757506127578533610b4e565b8061277257503361276784610f61565b6001600160a01b0316145b9050806127ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166127eb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f760008487612681565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166128cd5760005482146128cd578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6113bd828260405180602001604052806000815250612d05565b604080516060810182526000808252602082018190529181019190915281600054811015612a3657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612a345780516001600160a01b0316156129ca579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612a2f579392505050565b6129ca565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612aef903390899088908890600401613ab5565b6020604051808303816000875af1925050508015612b2a575060408051601f3d908101601f19168201909252612b2791810190613af1565b60015b612b85573d808015612b58576040519150601f19603f3d011682016040523d82523d6000602084013e612b5d565b606091505b508051612b7d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f8054610ede906139fd565b606081612bf157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c1b5780612c05816139e2565b9150612c149050600a83613b24565b9150612bf5565b60008167ffffffffffffffff811115612c3657612c3661372a565b6040519080825280601f01601f191660200182016040528015612c60576020820181803683370190505b5090505b841561235557612c75600183613a50565b9150612c82600a86613b38565b612c8d906030613a38565b60f81b818381518110612ca257612ca26139b6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612cdc600a86613b24565b9450612c64565b600080612cf08585612d12565b9050612cfc8184612d79565b95945050505050565b610d688383836001612d9d565b604080517f7160dcc84f40cfb29205b4c75c82e6df5942cdf495fdad3f75aafff12a6bf2fd60208201526001600160a01b03831691810191909152606081018390526000906122f49060800160405160208183030381529060405280519060200120612fb0565b6000806000612d888585613019565b91509150612d9581613089565b509392505050565b6000546001600160a01b038516612de0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83612e17576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015612ed857506001600160a01b0387163b15155b15612f61575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f296000888480600101955088612aba565b612f46576040516368d2bf6b60e11b815260040160405180910390fd5b80821415612ede578260005414612f5c57600080fd5b612fa7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612f62575b50600055612912565b6000610ca3612fbd613244565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000808251604114156130505760208301516040840151606085015160001a6130448782858561336b565b94509450505050613082565b82516040141561307a576020830151604084015161306f868383613458565b935093505050613082565b506000905060025b9250929050565b600081600481111561309d5761309d613b4c565b14156130a65750565b60018160048111156130ba576130ba613b4c565b14156131085760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610ced565b600281600481111561311c5761311c613b4c565b141561316a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610ced565b600381600481111561317e5761317e613b4c565b14156131d75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610ced565b60048160048111156131eb576131eb613b4c565b14156112695760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610ced565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561329d57507f000000000000000000000000000000000000000000000000000000000000000046145b156132c757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133a2575060009050600361344f565b8460ff16601b141580156133ba57508460ff16601c14155b156133cb575060009050600461344f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561341f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134485760006001925092505061344f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161348e60ff86901c601b613a38565b905061349c8782888561336b565b935093505050935093915050565b5080546000825590600052602060002090810190611269919061354c565b8280546134d4906139fd565b90600052602060002090601f0160209004810192826134f6576000855561353c565b82601f1061350f57805160ff191683800117855561353c565b8280016001018555821561353c579182015b8281111561353c578251825591602001919060010190613521565b5061354892915061354c565b5090565b5b80821115613548576000815560010161354d565b6001600160e01b03198116811461126957600080fd5b60006020828403121561358957600080fd5b81356122f481613561565b600080602083850312156135a757600080fd5b823567ffffffffffffffff808211156135bf57600080fd5b818501915085601f8301126135d357600080fd5b8135818111156135e257600080fd5b8660208260051b85010111156135f757600080fd5b60209290920196919550909350505050565b60005b8381101561362457818101518382015260200161360c565b838111156121765750506000910152565b6000815180845261364d816020860160208601613609565b601f01601f19169290920160200192915050565b6020815260006122f46020830184613635565b60006020828403121561368657600080fd5b5035919050565b80356001600160a01b03811681146136a457600080fd5b919050565b600080604083850312156136bc57600080fd5b6136c58361368d565b946020939093013593505050565b6000602082840312156136e557600080fd5b6122f48261368d565b60008060006060848603121561370357600080fd5b61370c8461368d565b925061371a6020850161368d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561375b5761375b61372a565b604051601f8501601f19908116603f011681019082821181831017156137835761378361372a565b8160405280935085815286868601111561379c57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156137c857600080fd5b813567ffffffffffffffff8111156137df57600080fd5b8201601f810184136137f057600080fd5b61235584823560208401613740565b600082601f83011261381057600080fd5b6122f483833560208501613740565b6000806040838503121561383257600080fd5b82359150602083013567ffffffffffffffff81111561385057600080fd5b61385c858286016137ff565b9150509250929050565b6000806040838503121561387957600080fd5b6138828361368d565b91506020830135801515811461389757600080fd5b809150509250929050565b600080600080608085870312156138b857600080fd5b6138c18561368d565b93506138cf6020860161368d565b925060408501359150606085013567ffffffffffffffff8111156138f257600080fd5b6138fe878288016137ff565b91505092959194509250565b60008060006060848603121561391f57600080fd5b8335925061392f6020850161368d565b9150604084013567ffffffffffffffff81111561394b57600080fd5b613957868287016137ff565b9150509250925092565b6000806040838503121561397457600080fd5b50508035926020909101359150565b6000806040838503121561399657600080fd5b61399f8361368d565b91506139ad6020840161368d565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156139f6576139f66139cc565b5060010190565b600181811c90821680613a1157607f821691505b60208210811415613a3257634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115613a4b57613a4b6139cc565b500190565b600082821015613a6257613a626139cc565b500390565b6000816000190483118215151615613a8157613a816139cc565b500290565b60008351613a98818460208801613609565b835190830190613aac818360208801613609565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ae76080830184613635565b9695505050505050565b600060208284031215613b0357600080fd5b81516122f481613561565b634e487b7160e01b600052601260045260246000fd5b600082613b3357613b33613b0e565b500490565b600082613b4757613b47613b0e565b500690565b634e487b7160e01b600052602160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212205e2853c00d1d9c5472936a7a6cdea50fe584744a6f5230f8d9339406520ec41564736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000d61ef5e84a9e9dba626bf0369caba4c5d8067c05000000000000000000000000000000000000000000000000000000006251835000000000000000000000000000000000000000000000000000000000625023c0000000000000000000000000000000000000000000000000000000006251754000000000000000000000000000000000000000000000000000000000625023c00000000000000000000000000000000000000000000000000000000062517540000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f676f696e676e7574732e696f2f6d657461646174612f0000

Deployed Bytecode

0x6080604052600436106104145760003560e01c80637e271c6911610228578063b88d4fde11610128578063d07a3e1f116100bb578063e985e9c51161008a578063f20a13161161006f578063f20a131614610b9c578063f2fde38b14610bbc578063f4f901d514610bdc57600080fd5b8063e985e9c514610b33578063ed39039b14610b7c57600080fd5b8063d07a3e1f14610abd578063e268e4d314610add578063e3288b4914610afd578063e6c3819c14610b1d57600080fd5b8063c67aa45f116100f7578063c67aa45f14610a47578063c7adbc5f14610a5d578063c87b56dd14610a7d578063cb2bbdd614610a9d57600080fd5b8063b88d4fde146109d1578063bd488fba146109f1578063bfe2a08a14610a11578063c2603ba714610a2757600080fd5b8063a0712d68116101bb578063a9e46b0f1161018a578063ad48c5e11161016f578063ad48c5e114610987578063ae4384f1146109a7578063b7329d2b146109bc57600080fd5b8063a9e46b0f14610951578063ab53fcaa1461097157600080fd5b8063a0712d68146108f2578063a22cb46514610905578063a2d3f0c714610925578063a78a673f1461093b57600080fd5b806391b7f5ed116101f757806391b7f5ed14610887578063936d6e50146108a757806395d89b41146108c7578063a035b1fe146108dc57600080fd5b80637e271c6914610810578063805e9ed81461083d5780638a198335146108535780638da5cb5b1461086957600080fd5b80633ccfd60b116103335780635f56028a116102c65780636c3c6bd21161029557806370a082311161027a57806370a08231146107bb578063715018a6146107db578063717d57d3146107f057600080fd5b80636c3c6bd2146107865780636f62009b1461079b57600080fd5b80635f56028a1461072057806360869d9b146107335780636352211e1461075357806367418fc21461077357600080fd5b80634f423a9d116103025780634f423a9d146106a75780635028aede146106bd5780635343d080146106d357806355f804b31461070057600080fd5b80633ccfd60b1461063c57806342842e0e14610651578063431c88fa14610671578063484b973c1461068757600080fd5b80630d617ee7116103ab57806322be5d611161037a57806322be5d61146105bd57806323b872dd146105f157806337fa742814610611578063397d0c0c1461062657600080fd5b80630d617ee71461054e5780631525ff7d1461056457806315932fdb1461058457806318160ddd146105a457600080fd5b806306fdde03116103e757806306fdde03146104b4578063081812fc146104d657806308b123331461050e578063095ea7b31461052e57600080fd5b806301ffc9a71461041957806303b5ccaf1461044e5780630669cefb1461047057806306c2e3e514610494575b600080fd5b34801561042557600080fd5b50610439610434366004613577565b610c0c565b60405190151581526020015b60405180910390f35b34801561045a57600080fd5b5061046e610469366004613594565b610ca9565b005b34801561047c57600080fd5b50610486600b5481565b604051908152602001610445565b3480156104a057600080fd5b5061046e6104af366004613594565b610d6d565b3480156104c057600080fd5b506104c9610ecf565b6040516104459190613661565b3480156104e257600080fd5b506104f66104f1366004613674565b610f61565b6040516001600160a01b039091168152602001610445565b34801561051a57600080fd5b506009546104f6906001600160a01b031681565b34801561053a57600080fd5b5061046e6105493660046136a9565b610fbe565b34801561055a57600080fd5b5061048660105481565b34801561057057600080fd5b5061046e61057f3660046136d3565b611079565b34801561059057600080fd5b5061046e61059f366004613674565b6110e3565b3480156105b057600080fd5b5060015460005403610486565b3480156105c957600080fd5b506104867f7160dcc84f40cfb29205b4c75c82e6df5942cdf495fdad3f75aafff12a6bf2fd81565b3480156105fd57600080fd5b5061046e61060c3660046136ee565b611130565b34801561061d57600080fd5b5061046e61113b565b34801561063257600080fd5b50610486600d5481565b34801561064857600080fd5b5061046e6111ef565b34801561065d57600080fd5b5061046e61066c3660046136ee565b61126c565b34801561067d57600080fd5b5061048660155481565b34801561069357600080fd5b5061046e6106a23660046136a9565b611287565b3480156106b357600080fd5b5061048660145481565b3480156106c957600080fd5b5061048660185481565b3480156106df57600080fd5b506104866106ee3660046136d3565b601b6020526000908152604090205481565b34801561070c57600080fd5b5061046e61071b3660046137b6565b611362565b61046e61072e36600461381f565b6113c1565b34801561073f57600080fd5b5061046e61074e366004613674565b611774565b34801561075f57600080fd5b506104f661076e366004613674565b6117c1565b61046e610781366004613674565b6117d3565b34801561079257600080fd5b50610439611ac2565b3480156107a757600080fd5b5061046e6107b6366004613674565b611af8565b3480156107c757600080fd5b506104866107d63660046136d3565b611b45565b3480156107e757600080fd5b5061046e611bad565b3480156107fc57600080fd5b5061046e61080b366004613674565b611bff565b34801561081c57600080fd5b5061048661082b3660046136d3565b601d6020526000908152604090205481565b34801561084957600080fd5b50610486600a5481565b34801561085f57600080fd5b5061048660165481565b34801561087557600080fd5b506008546001600160a01b03166104f6565b34801561089357600080fd5b5061046e6108a2366004613674565b611c4c565b3480156108b357600080fd5b5061046e6108c2366004613674565b611c99565b3480156108d357600080fd5b506104c9611ce6565b3480156108e857600080fd5b5061048660125481565b61046e610900366004613674565b611cf5565b34801561091157600080fd5b5061046e610920366004613866565b611fe3565b34801561093157600080fd5b5061048660135481565b34801561094757600080fd5b50610486600e5481565b34801561095d57600080fd5b5061046e61096c366004613674565b612092565b34801561097d57600080fd5b5061048660195481565b34801561099357600080fd5b50601e546104f6906001600160a01b031681565b3480156109b357600080fd5b506104396120df565b3480156109c857600080fd5b506104396120f7565b3480156109dd57600080fd5b5061046e6109ec3660046138a2565b61212b565b3480156109fd57600080fd5b5061046e610a0c366004613674565b61217c565b348015610a1d57600080fd5b5061048660115481565b348015610a3357600080fd5b506104f6610a42366004613674565b6121c9565b348015610a5357600080fd5b5061048660175481565b348015610a6957600080fd5b5061046e610a783660046136d3565b6121f3565b348015610a8957600080fd5b506104c9610a98366004613674565b61225d565b348015610aa957600080fd5b5061046e610ab8366004613674565b6122fb565b348015610ac957600080fd5b506104f6610ad836600461390a565b612348565b348015610ae957600080fd5b5061046e610af8366004613674565b61235d565b348015610b0957600080fd5b5061046e610b18366004613961565b6123aa565b348015610b2957600080fd5b50610486600c5481565b348015610b3f57600080fd5b50610439610b4e366004613983565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b8857600080fd5b5061046e610b97366004613961565b612473565b348015610ba857600080fd5b5061046e610bb7366004613674565b61253c565b348015610bc857600080fd5b5061046e610bd73660046136d3565b612589565b348015610be857600080fd5b50610439610bf73660046136d3565b601a6020526000908152604090205460ff1681565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610c6f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ca357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6008546001600160a01b03163314610cf65760405162461bcd60e51b81526020600482018190526024820152600080516020613b6383398151915260448201526064015b60405180910390fd5b60005b81811015610d68576000601a6000858585818110610d1957610d196139b6565b9050602002016020810190610d2e91906136d3565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d60816139e2565b915050610cf9565b505050565b6008546001600160a01b03163314610db55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60005b81811015610d68576001601a6000858585818110610dd857610dd86139b6565b9050602002016020810190610ded91906136d3565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601b81858585818110610e2d57610e2d6139b6565b9050602002016020810190610e4291906136d3565b6001600160a01b03166001600160a01b031681526020019081526020016000205411610e6f576000610ebc565b601b6000848484818110610e8557610e856139b6565b9050602002016020810190610e9a91906136d3565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b5080610ec7816139e2565b915050610db8565b606060028054610ede906139fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0a906139fd565b8015610f575780601f10610f2c57610100808354040283529160200191610f57565b820191906000526020600020905b815481529060010190602001808311610f3a57829003601f168201915b5050505050905090565b6000610f6c82612656565b610fa2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610fc9826117c1565b9050806001600160a01b0316836001600160a01b03161415611017576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b0382161480159061103757506110358133610b4e565b155b1561106e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d68838383612681565b6008546001600160a01b031633146110c15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461112b5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601455565b610d688383836126dd565b6008546001600160a01b031633146111835760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60005b601c548110156111e0576000601d6000601c84815481106111a9576111a96139b6565b60009182526020808320909101546001600160a01b03168352820192909252604001902055806111d8816139e2565b915050611186565b506111ed601c60006134aa565b565b6008546001600160a01b031633146112375760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601e5460405147916001600160a01b03169082156108fc029083906000818181858888f1935050505061126957600080fd5b50565b610d688383836040518060200160405280600081525061212b565b6008546001600160a01b031633146112cf5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b60006112de6001546000540390565b6013549091506112ee8383613a38565b111561133c5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b6113468383612919565b81601460008282546113589190613a50565b9091555050505050565b6008546001600160a01b031633146113aa5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b80516113bd90600f9060208401906134c8565b5050565b6113c96120f7565b6114155760405162461bcd60e51b815260206004820152601460248201527f50726573616c6573206e6f7420737461727465640000000000000000000000006044820152606401610ced565b600954829082906001600160a01b0316611430833384612348565b6001600160a01b0316146114ac5760405162461bcd60e51b815260206004820152602260248201527f5369676e6174757265206e6f7420657175616c20746f206f776e65725369676e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610ced565b60006114bb6001546000540390565b90506015546018546114cd9190613a50565b856017546114db9190613a38565b11156115295760405162461bcd60e51b815260206004820152601b60248201527f457863656564732070726573616c65206e75747320737570706c7900000000006044820152606401610ced565b6014546013546115399190613a50565b6115438683613a38565b11156115915760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b601954336000908152601d60205260409020546115af908790613a38565b11156115fd5760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b8460115461160b9190613a67565b34101561165a5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b3233146116a95760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610ced565b6116b33386612919565b84601760008282546116c59190613a38565b9091555050336000908152601d6020526040812080548792906116e9908490613a38565b9091555050601c80546001810182556000919091527f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a2110180546001600160a01b031916339081179091556040805187815260208101929092527f3d30276bb50ba21e5d31bf4e749c28a8c45404b27b231249c3f6860f84c33729910160405180910390a15050505050565b6008546001600160a01b031633146117bc5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b600c55565b60006117cc82612933565b5192915050565b6117db611ac2565b6118275760405162461bcd60e51b815260206004820152601460248201527f4f472073616c6573206e6f7420737461727465640000000000000000000000006044820152606401610ced565b60006118366001546000540390565b336000908152601a602052604090205490915060ff166118985760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f74206f6e20746865204f47206c6973740000000000006044820152606401610ced565b601554826016546118a99190613a38565b11156118f75760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b816010546119059190613a67565b3410156119545760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b6014546013546119649190613a50565b61196e8383613a38565b11156119bc5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b601954336000908152601b60205260409020546119da908490613a38565b1115611a285760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610ced565b323314611a775760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610ced565b611a813383612919565b336000908152601b602052604081208054849290611aa0908490613a38565b925050819055508160166000828254611ab99190613a38565b90915550505050565b600080600a54118015611ad757506000600b54115b8015611ae55750600a544210155b8015611af35750600b544211155b905090565b6008546001600160a01b03163314611b405760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601655565b60006001600160a01b038216611b87576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314611bf55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b6111ed6000612a68565b6008546001600160a01b03163314611c475760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601155565b6008546001600160a01b03163314611c945760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601255565b6008546001600160a01b03163314611ce15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601555565b606060038054610ede906139fd565b611cfd6120df565b611d495760405162461bcd60e51b815260206004820152601860248201527f5075626c69632073616c6573206e6f74207374617274656400000000000000006044820152606401610ced565b6000611d586001546000540390565b905081601254611d689190613a67565b341015611db75760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610ced565b601654601854611dc79190613a50565b82601754611dd59190613a38565b1115611e495760405162461bcd60e51b815260206004820152602260248201527f45786365656473206d6178696d756d20706572696f64206e757473207375707060448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610ced565b601454601354611e599190613a50565b611e638383613a38565b1115611eb15760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d206e75747320737570706c7900000000006044820152606401610ced565b60008211611f015760405162461bcd60e51b815260206004820152601760248201527f596f752063616e6e6f74206d696e742030206e7574732e0000000000000000006044820152606401610ced565b6005821115611f785760405162461bcd60e51b815260206004820152603260248201527f596f7520617265206e6f7420616c6c6f77656420746f2062757920746869732060448201527f6d616e79206e757473206174206f6e63652e00000000000000000000000000006064820152608401610ced565b323314611fc75760405162461bcd60e51b815260206004820152601560248201527f436f6e747261637473206e6f7420616c6c6f77656400000000000000000000006044820152606401610ced565b611fd13383612919565b8160176000828254611ab99190613a38565b6001600160a01b038216331415612026576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146120da5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601755565b600080600c54118015611af3575050600c5442101590565b600080600d5411801561210c57506000600e54115b801561211a5750600d544210155b8015611af3575050600e5442111590565b6121368484846126dd565b6001600160a01b0383163b15158015612158575061215684848484612aba565b155b15612176576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146121c45760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601855565b601c81815481106121d957600080fd5b6000918252602090912001546001600160a01b0316905081565b6008546001600160a01b0316331461223b5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b606061226882612656565b61229e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122a8612ba2565b90508051600014156122c957604051806020016040528060008152506122f4565b806122d384612bb1565b6040516020016122e4929190613a86565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146123435760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601055565b6000612355848484612ce3565b949350505050565b6008546001600160a01b031633146123a55760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601955565b6008546001600160a01b031633146123f25760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b818110156124685760405162461bcd60e51b815260206004820152603660248201527f4f4741637469766174696f6e3a20456e642074696d652073686f756c6420626560448201527f206c61746572207468616e2073746172742074696d65000000000000000000006064820152608401610ced565b600a91909155600b55565b6008546001600160a01b031633146124bb5760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b818110156125315760405162461bcd60e51b815260206004820152603c60248201527f50726553616c657341637469766174696f6e3a20456e642074696d652073686f60448201527f756c64206265206c61746572207468616e2073746172742074696d65000000006064820152608401610ced565b600d91909155600e55565b6008546001600160a01b031633146125845760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b601355565b6008546001600160a01b031633146125d15760405162461bcd60e51b81526020600482018190526024820152600080516020613b638339815191526044820152606401610ced565b6001600160a01b03811661264d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ced565b61126981612a68565b6000805482108015610ca3575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006126e882612933565b9050836001600160a01b031681600001516001600160a01b031614612739576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b038616148061275757506127578533610b4e565b8061277257503361276784610f61565b6001600160a01b0316145b9050806127ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166127eb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f760008487612681565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166128cd5760005482146128cd578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6113bd828260405180602001604052806000815250612d05565b604080516060810182526000808252602082018190529181019190915281600054811015612a3657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612a345780516001600160a01b0316156129ca579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612a2f579392505050565b6129ca565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612aef903390899088908890600401613ab5565b6020604051808303816000875af1925050508015612b2a575060408051601f3d908101601f19168201909252612b2791810190613af1565b60015b612b85573d808015612b58576040519150601f19603f3d011682016040523d82523d6000602084013e612b5d565b606091505b508051612b7d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f8054610ede906139fd565b606081612bf157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c1b5780612c05816139e2565b9150612c149050600a83613b24565b9150612bf5565b60008167ffffffffffffffff811115612c3657612c3661372a565b6040519080825280601f01601f191660200182016040528015612c60576020820181803683370190505b5090505b841561235557612c75600183613a50565b9150612c82600a86613b38565b612c8d906030613a38565b60f81b818381518110612ca257612ca26139b6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612cdc600a86613b24565b9450612c64565b600080612cf08585612d12565b9050612cfc8184612d79565b95945050505050565b610d688383836001612d9d565b604080517f7160dcc84f40cfb29205b4c75c82e6df5942cdf495fdad3f75aafff12a6bf2fd60208201526001600160a01b03831691810191909152606081018390526000906122f49060800160405160208183030381529060405280519060200120612fb0565b6000806000612d888585613019565b91509150612d9581613089565b509392505050565b6000546001600160a01b038516612de0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83612e17576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015612ed857506001600160a01b0387163b15155b15612f61575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f296000888480600101955088612aba565b612f46576040516368d2bf6b60e11b815260040160405180910390fd5b80821415612ede578260005414612f5c57600080fd5b612fa7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612f62575b50600055612912565b6000610ca3612fbd613244565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000808251604114156130505760208301516040840151606085015160001a6130448782858561336b565b94509450505050613082565b82516040141561307a576020830151604084015161306f868383613458565b935093505050613082565b506000905060025b9250929050565b600081600481111561309d5761309d613b4c565b14156130a65750565b60018160048111156130ba576130ba613b4c565b14156131085760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610ced565b600281600481111561311c5761311c613b4c565b141561316a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610ced565b600381600481111561317e5761317e613b4c565b14156131d75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610ced565b60048160048111156131eb576131eb613b4c565b14156112695760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610ced565b6000306001600160a01b037f0000000000000000000000000e5674c9b0cd111fcdbb9a04caa30fb457da61451614801561329d57507f000000000000000000000000000000000000000000000000000000000000000146145b156132c757507fbb0749808388829fe5e5a5d4e660f673b46ecdef0ae3c3ff6d9f790ac043b21990565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fcb67747768d4e6bbeef591599404669caf9b97eddcc3d5937cda280799bf4f94828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133a2575060009050600361344f565b8460ff16601b141580156133ba57508460ff16601c14155b156133cb575060009050600461344f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561341f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134485760006001925092505061344f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161348e60ff86901c601b613a38565b905061349c8782888561336b565b935093505050935093915050565b5080546000825590600052602060002090810190611269919061354c565b8280546134d4906139fd565b90600052602060002090601f0160209004810192826134f6576000855561353c565b82601f1061350f57805160ff191683800117855561353c565b8280016001018555821561353c579182015b8281111561353c578251825591602001919060010190613521565b5061354892915061354c565b5090565b5b80821115613548576000815560010161354d565b6001600160e01b03198116811461126957600080fd5b60006020828403121561358957600080fd5b81356122f481613561565b600080602083850312156135a757600080fd5b823567ffffffffffffffff808211156135bf57600080fd5b818501915085601f8301126135d357600080fd5b8135818111156135e257600080fd5b8660208260051b85010111156135f757600080fd5b60209290920196919550909350505050565b60005b8381101561362457818101518382015260200161360c565b838111156121765750506000910152565b6000815180845261364d816020860160208601613609565b601f01601f19169290920160200192915050565b6020815260006122f46020830184613635565b60006020828403121561368657600080fd5b5035919050565b80356001600160a01b03811681146136a457600080fd5b919050565b600080604083850312156136bc57600080fd5b6136c58361368d565b946020939093013593505050565b6000602082840312156136e557600080fd5b6122f48261368d565b60008060006060848603121561370357600080fd5b61370c8461368d565b925061371a6020850161368d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561375b5761375b61372a565b604051601f8501601f19908116603f011681019082821181831017156137835761378361372a565b8160405280935085815286868601111561379c57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156137c857600080fd5b813567ffffffffffffffff8111156137df57600080fd5b8201601f810184136137f057600080fd5b61235584823560208401613740565b600082601f83011261381057600080fd5b6122f483833560208501613740565b6000806040838503121561383257600080fd5b82359150602083013567ffffffffffffffff81111561385057600080fd5b61385c858286016137ff565b9150509250929050565b6000806040838503121561387957600080fd5b6138828361368d565b91506020830135801515811461389757600080fd5b809150509250929050565b600080600080608085870312156138b857600080fd5b6138c18561368d565b93506138cf6020860161368d565b925060408501359150606085013567ffffffffffffffff8111156138f257600080fd5b6138fe878288016137ff565b91505092959194509250565b60008060006060848603121561391f57600080fd5b8335925061392f6020850161368d565b9150604084013567ffffffffffffffff81111561394b57600080fd5b613957868287016137ff565b9150509250925092565b6000806040838503121561397457600080fd5b50508035926020909101359150565b6000806040838503121561399657600080fd5b61399f8361368d565b91506139ad6020840161368d565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156139f6576139f66139cc565b5060010190565b600181811c90821680613a1157607f821691505b60208210811415613a3257634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115613a4b57613a4b6139cc565b500190565b600082821015613a6257613a626139cc565b500390565b6000816000190483118215151615613a8157613a816139cc565b500290565b60008351613a98818460208801613609565b835190830190613aac818360208801613609565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ae76080830184613635565b9695505050505050565b600060208284031215613b0357600080fd5b81516122f481613561565b634e487b7160e01b600052601260045260246000fd5b600082613b3357613b33613b0e565b500490565b600082613b4757613b47613b0e565b500690565b634e487b7160e01b600052602160045260246000fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212205e2853c00d1d9c5472936a7a6cdea50fe584744a6f5230f8d9339406520ec41564736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000d61ef5e84a9e9dba626bf0369caba4c5d8067c05000000000000000000000000000000000000000000000000000000006251835000000000000000000000000000000000000000000000000000000000625023c0000000000000000000000000000000000000000000000000000000006251754000000000000000000000000000000000000000000000000000000000625023c00000000000000000000000000000000000000000000000000000000062517540000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f676f696e676e7574732e696f2f6d657461646174612f0000

-----Decoded View---------------
Arg [0] : tokenURI (string): https://goingnuts.io/metadata/
Arg [1] : sign_address (address): 0xD61Ef5E84a9e9dba626BF0369cabA4C5D8067c05
Arg [2] : _publicSalesStartTime (uint256): 1649509200
Arg [3] : _preSalesStartTime (uint256): 1649419200
Arg [4] : _preSalesEndTime (uint256): 1649505600
Arg [5] : _ogSalesStartTime (uint256): 1649419200
Arg [6] : _ogSalesEndTime (uint256): 1649505600

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 000000000000000000000000d61ef5e84a9e9dba626bf0369caba4c5d8067c05
Arg [2] : 0000000000000000000000000000000000000000000000000000000062518350
Arg [3] : 00000000000000000000000000000000000000000000000000000000625023c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000062517540
Arg [5] : 00000000000000000000000000000000000000000000000000000000625023c0
Arg [6] : 0000000000000000000000000000000000000000000000000000000062517540
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [8] : 68747470733a2f2f676f696e676e7574732e696f2f6d657461646174612f0000


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.