ETH Price: $1,890.76 (-11.81%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...153157172022-08-10 17:37:081275 days ago1660153028IN
0x4B2144e5...42e2b791f
0 ETH0.0014891151.35230523
White List Mint137718772021-12-09 15:44:331519 days ago1639064673IN
0x4B2144e5...42e2b791f
0 ETH0.6183286796.62285324
White List Mint137718552021-12-09 15:39:121519 days ago1639064352IN
0x4B2144e5...42e2b791f
0 ETH0.6217897695.4405682
Purchase137533212021-12-06 16:22:501522 days ago1638807770IN
0x4B2144e5...42e2b791f
0.4 ETH0.00279387106.66502833
White List By Si...137348962021-12-03 17:37:071525 days ago1638553027IN
0x4B2144e5...42e2b791f
0.1 ETH0.00356348122.4146188
Purchase137317272021-12-03 5:21:331525 days ago1638508893IN
0x4B2144e5...42e2b791f
0.3 ETH0.00272375103.98791522
Purchase137317272021-12-03 5:21:331525 days ago1638508893IN
0x4B2144e5...42e2b791f
0.3 ETH0.00272375103.98791522
Purchase137316392021-12-03 5:01:001525 days ago1638507660IN
0x4B2144e5...42e2b791f
0.3 ETH0.00358867137.00886539
Purchase137316392021-12-03 5:01:001525 days ago1638507660IN
0x4B2144e5...42e2b791f
0.3 ETH0.00358867137.00886539
Purchase137316392021-12-03 5:01:001525 days ago1638507660IN
0x4B2144e5...42e2b791f
0.3 ETH0.00358867137.00886539
Purchase137316372021-12-03 4:59:541525 days ago1638507594IN
0x4B2144e5...42e2b791f
0.3 ETH0.03070962132.72722481
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.3 ETH0.03176962137.30852167
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.9 ETH0.06349832137.30852167
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.3 ETH0.03176962137.30852167
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.3 ETH0.03176962137.30852167
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.3 ETH0.03176962137.30852167
Purchase137316362021-12-03 4:59:401525 days ago1638507580IN
0x4B2144e5...42e2b791f
0.3 ETH0.03176962137.30852167
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02828795122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02828795122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02828795122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02794562122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02828795122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02828795122.26071407
Purchase137316352021-12-03 4:58:591525 days ago1638507539IN
0x4B2144e5...42e2b791f
0.3 ETH0.02794562122.26071407
Purchase137316332021-12-03 4:58:191525 days ago1638507499IN
0x4B2144e5...42e2b791f
0.3 ETH0.02645222114.32670079
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-137316372021-12-03 4:59:541525 days ago1638507594
0x4B2144e5...42e2b791f
0.225 ETH
-137316372021-12-03 4:59:541525 days ago1638507594
0x4B2144e5...42e2b791f
0.054 ETH
-137316372021-12-03 4:59:541525 days ago1638507594
0x4B2144e5...42e2b791f
0.021 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.225 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.054 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.021 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.675 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.162 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.063 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.225 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.054 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.021 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.225 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.054 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.021 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.225 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.054 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.021 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.225 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.054 ETH
-137316362021-12-03 4:59:401525 days ago1638507580
0x4B2144e5...42e2b791f
0.021 ETH
-137316352021-12-03 4:58:591525 days ago1638507539
0x4B2144e5...42e2b791f
0.225 ETH
-137316352021-12-03 4:58:591525 days ago1638507539
0x4B2144e5...42e2b791f
0.054 ETH
-137316352021-12-03 4:58:591525 days ago1638507539
0x4B2144e5...42e2b791f
0.021 ETH
-137316352021-12-03 4:58:591525 days ago1638507539
0x4B2144e5...42e2b791f
0.225 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
metaZooSale

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
//import "hardhat/console.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./interface/SkeletonCrew.sol";

/* 

WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMM

WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMM
Nk,'cooooooooooolcOWMMMMMMWKl,cooooooooooo:oXMMMMMMMMMMMMMMMMMN0xd0MMMMMMMMMMMMMMMMMMMMMMMMXkddddddddddddddddxxxxxxdclxkkxxxxkkkkkkxxxxxxkk0NN0ddkOxOO
O' .:dx0KKKKKKKKKolKMMMMMM0;.:0KKKKKKKKOxo;lXMMMMMMMMMMMMMMNKOkkkx0MMMMMMMMMMMMMMMMMMMMMMWk,.o0KKKKKKKKKKKKKKK000OxllxOdc:lkKOdok0KKkl;;ooOdokOOOdlOOO
O'    .;kKKKKKKKK0ldNMMMMXc.'kKKKKKKKKx;..:OWMWNXKKKXXNWWKdlxOKK0dxKK00XWNKKKXNNKK00KNWMM0,.c0KKKKKK00OOOOO0KKKKKd;l0Kkc;. 'lod0KKKx' .:cxKKd;oddXOooo
NOxo;  .lKK00KKKKKklkWMMWx..dKK0KKKKKKo:d0NWX00000O0000K0c.'kKKKKOkkkdlxdldkkkkkkkkkkxkXKc.cOK0kdl:,'.....,d0KKKk,,kKKOdOO; .cOKKKx. ,O0dkKK0:'xWMMMMM
MMMMK, .oK0dd0KKKKKdl0MM0'.c0Kdd0KKKKKdlKMXkxOKKkl:oOKKKO: 'kKKK0dcclldl;dKKKOOO0KKKKKxl,  'cc,...,;::'  .o0KKKKl.,OKKKkxX0, :0KKO, 'OXxxKKK0:.cNMMMMM
MMMMK, .dK0:,xKKKKK0ooXX:.;OKx,:0KKKKKdl00ld0KKOdc.'xKKKKl.'kKKK0l'',l:.cxoc:'.':x0KKK0l'.  .:okKXNWNk,.;kKKKKKKl..dKKKKxxXk.'xKKd..dXxx0KKKx. lNMMMMM
MMMMO' .xKO; ;OKKKKKOlol..xKO: ,OKKKKKxld::OKKKkO0xk00kol;.'kKKK0xOXXk,.;clllodxkOKKKK0dO0xkXWMMMMMXo..l0KKKKKKk:. .o0KK0kxx;.cx0k;,dxx0KK0d' 'OMMMMMM
MMMMk. 'kKk' .c0KKKKKk;..lKKl. 'kKKKKKkc,.c0KKKOO0Oxoolld:.'kKKK0x0MMNkldk0KK0dc,:kKKK0dOMMMMMMMMW0;.,xKKKKKK0dlkk; .,ok00Okxdl;:odxkO0Oxl,. ;OWMMMMMM
MMMWx. ,OKx'  .dKKKKKKo.:OKx'  .xKKKKKO:. :0KKKKKkdk0NNX0l.'kKKK0xkWNx,l0KKKKdl;..dKKK0dOMMMMMMMNd..cOKKKKKKkloKWMXx:...',;;:clxkdc:;,'....:xXMMMMMMMM
MMMWo. :0Kd;.  ,kKKKKK0xOKOl:. .xKKKKK0c. .xKKKKK00000000d..oKKKK0kko..xKKKKKkxo,:kKKKKxkNMMMMW0:.,xKKKKKK0dcxNMMMMMWKOxoodxOXWMMMWXOkxxk0XWMMMMMMMMMM
MMMNl  c0Kolx,  :OKKKKKKK0ook, .dKKKKK0l:' 'xKKKKKKKKKKK0d' .lOKKKK0l..c0KKKKK0OxxkKKKKklkNMMNx'.cOKKKKKKOll0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMNc .lKKloXx. .l0KKKKKKdl0K; .oKKKKKKook; .:dOKKKKKOkk0Xk;  .:oxOOo'  ,okOOkoc,..ldl:;:kNMKc.'d0KKKKK0xlxXMMMMMMWXkOXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMX: .oK0ldNNl  .lOKKKKkckWX:  lKKKKKKooXXd;...,;::cokXWMMNkc,....,lOd'. .';lxOx,.,ldk0NMWk,.:kKKKKKKOolOWMMMMMWKxooolxXMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMK, .xK0ldWMXc   .,:clcdNMNc  cKKKKKKdl0MMNKkdodxOKWMMMMMMMWNKOxoxXMMNOxxk0NMMWK0NWMMMMXl..o0KKKKKKk:;okkkkkkxddx0KxcdXMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MWXd..l0KKdlkKXXkc;'.  .lXWN0c.'xKKKKKKOooOKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWO;.;kKKKKKKKKOxxxxxxxxkk0KKKxckNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
k:;ldkKKKKKkdockWWWNKOk0NKo;codOKKKKKKKK0kdloXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXo. ;OKKKKKKKKKKKKKKKKKKKKKKKxcOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
. .ldddddddddo;xWMMMMMMMNc  ;oddddddddddddd:cKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk.  .ckkkkkkkkkkkkkkkkkkkkkkdcxWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
             .c0MMMMMMMMX:                .'xNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNx.   ......................,xNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
:;;;;;;;;;;;:dXMMMMMMMMMNx:;;;;;;;;;;;;;;;cOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk'.......................,kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMM

WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMM

*/

//// @author:  Blockchain platform powered by Ether Cards - https://ether.cards

contract metaZooSale is Ownable {
    using SafeMath for uint256;

    event WhiteListSale(uint256 tokenCount, address receiver, uint256 role);
    event PurchaseSale(uint256 tokenCount, address buyer);

    /* 
    using tokenIndex to retrieve tokenID to send.
    Sale with start at 5 eth and decrease by 0.1 eth every 15 minutes for 12 hours.
    */

    uint256 public startingPrice = 5 ether;
    // Whitelist time
    uint256 public whitelist_sales;
    uint256 public whitelist_sales_end;
    // DSP
    uint256 public sales_start;
    uint256 public sales_end;

    address public nft_sales;
    uint256 public sales_duration = 12 hours;
    bool public setupStatus = true;
    uint256 public maxDecreaseSold = 0;
    uint256 public maxDecreaseNFTs = 500;

    uint256 public whiteListSold = 0;
    uint256 public maxWhiteListNFTs = 4300;

    address public presigner;
    uint256 public whiteListPrice = 0.1 ether;
    mapping(address => uint256) public whitelist_claimed;

    address payable[] _wallets = [
        payable(0xA3cB071C94b825471E230ff42ca10094dEd8f7bB), 
        payable(0xA807a452e20a766Ea36019bF5bE5c5f4cbDE7563), 
        payable(0x77b94A55684C95D59A8F56a234B6e555fC79997c) 
    ];

    uint256[] _shares = [70, 180, 750];

    function _split(uint256 amount) internal {
        // duplicated to save an extra call
        bool sent;
        uint256 _total;
        for (uint256 j = 0; j < _wallets.length; j++) {
            uint256 _amount = (amount * _shares[j]) / 1000;
            if (j == _wallets.length - 1) {
                _amount = amount - _total;
            } else {
                _total += _amount;
            }
            (sent, ) = _wallets[j].call{value: _amount}(""); // don't use send or xfer (gas)
            require(sent, "Failed to send Ether");
        }
    }
    function whiteListBySignature(
        address _recipient,
        uint256 _tokenCount,
        bytes memory signature,
        uint64 _role
    ) public payable {
        require(
            whiteListSalesActive(),
            "Sales has not started or ended , please chill sir."
        );
        require(_role == 1 || _role == 2, "One or Two none else will do");
        require(verify(_role, msg.sender, signature), "Unauthorised");
        require(msg.value >= _tokenCount * (whiteListPrice), "Price not met");
        uint256 this_taken = whitelist_claimed[msg.sender] + _tokenCount;

        whitelist_claimed[msg.sender] = this_taken;
        require(
            _role >= whitelist_claimed[msg.sender],
            "Too many tokens requested"
        );
        whiteListSold += _tokenCount;
        require(whiteListSold <= maxWhiteListNFTs, "sold out");
        SkeletonCrew(nft_sales).mintCards(_tokenCount, _recipient);
        _split(msg.value);
        emit WhiteListSale(_tokenCount, _recipient, _role);
    }

    function verify(
        uint64 _amount,
        address _user,
        bytes memory _signature
    ) public view returns (bool) {
        require(_user != address(0), "NativeMetaTransaction: INVALID__user");
        bytes32 _hash =
            ECDSA.toEthSignedMessageHash(
                keccak256(abi.encodePacked(_user, _amount))
            );
        require(_signature.length == 65, "Invalid signature length");
        address recovered = ECDSA.recover(_hash, _signature);
        return (presigner == recovered);
    }

    function currentPrice() public view returns (uint256) {
        uint256 gap = block.timestamp - sales_start;
        uint256 counts = gap / (15 minutes);
        if (gap >= sales_duration) {
            return 0.2 ether;
        }
        return startingPrice - (counts * 0.1 ether);
    }

    function whiteListRemainingTokens() public view returns (uint256) {
        return maxWhiteListNFTs - whiteListSold;
    }

    function decreaseRemainingTokens() public view returns (uint256) {
        return (maxDecreaseNFTs + whiteListRemainingTokens()) - maxDecreaseSold;
    }

    constructor(
        uint256 _whitelist_sales,
        uint256 _sales_start,
        address _nft_sales,
        address _presigner
    ) {
        whitelist_sales = _whitelist_sales;
        whitelist_sales_end = _whitelist_sales + 3 days;
        sales_start = _sales_start;
        sales_end = sales_start + 12 hours;
        nft_sales = _nft_sales;
        presigner = _presigner;
    }

    function purchase(uint256 _amount) public payable {
        require(
            salesActive(),
            "Sales has not started or ended , please chill sir."
        );
        require(msg.value >= _amount.mul(currentPrice()), "Price not met");
        require(decreaseRemainingTokens() >= _amount, "sold out");
        maxDecreaseSold += _amount;
        SkeletonCrew(nft_sales).mintCards(_amount, msg.sender);
        _split(msg.value);

        emit PurchaseSale(_amount, msg.sender);
    }

    function whiteListMint(uint64 _amount, address _receiver) public onlyOwner {
        SkeletonCrew(nft_sales).mintCards(_amount, _receiver);
    }

    function salesActive() public view returns (bool) {
        return (block.timestamp > sales_start && block.timestamp < sales_end);
    }

    function whiteListSalesActive() public view returns (bool) {
        return (block.timestamp > whitelist_sales &&
            block.timestamp < whitelist_sales_end);
    }

    function sales_how_long_more()
        public
        view
        returns (
            uint256 Days,
            uint256 Hours,
            uint256 Minutes,
            uint256 Seconds
        )
    {
        require(block.timestamp < sales_start, "Started");
        uint256 gap = sales_start - block.timestamp;
        Days = gap / (24 * 60 * 60);
        gap = gap % (24 * 60 * 60);
        Hours = gap / (60 * 60);
        gap = gap % (60 * 60);
        Minutes = gap / 60;
        Seconds = gap % 60;
        return (Days, Hours, Minutes, Seconds);
    }

    function whitelist_how_long_more()
        public
        view
        returns (
            uint256 Days,
            uint256 Hours,
            uint256 Minutes,
            uint256 Seconds
        )
    {
        require(block.timestamp < whitelist_sales, "Started");
        uint256 gap = whitelist_sales - block.timestamp;
        Days = gap / (24 * 60 * 60);
        gap = gap % (24 * 60 * 60);
        Hours = gap / (60 * 60);
        gap = gap % (60 * 60);
        Minutes = gap / 60;
        Seconds = gap % 60;
        return (Days, Hours, Minutes, Seconds);
    }

    function changePresigner(address _presigner) external onlyOwner {
        presigner = _presigner;
    }

    function resetSalesStatus(
        uint256 _whitelist_sales,
        uint256 _sales_start,
        address _nft_sales,
        bool _setupStatus
    ) external onlyOwner {
        whitelist_sales = _whitelist_sales;
        whitelist_sales_end = _whitelist_sales + 2 days;
        sales_start = _sales_start;
        sales_end = _sales_start + 12 hours;
        nft_sales = _nft_sales;
        setupStatus = _setupStatus;
    }

    function retrieveETH() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function retrieveERC20(address _tracker, uint256 amount)
        external
        onlyOwner
    {
        IERC20(_tracker).transfer(msg.sender, amount);
    }

    function retrieve721(address _tracker, uint256 id) external onlyOwner {
        IERC721(_tracker).transferFrom(address(this), msg.sender, id);
    }

    struct theKitchenSink {
        uint256 startingPrice;
        // Whitelist time
        uint256 whitelist_sales;
        uint256 whitelist_sales_end;
        // DSP
        uint256 sales_start;
        uint256 sales_end;
        address nft_sales;
        uint256 sales_duration;
        bool setupStatus;
        uint256 maxDecreaseSold;
        uint256 maxDecreaseNFTs;
        uint256 whiteListSold;
        uint256 maxWhiteListNFTs;
        address presigner;
        uint256 whiteListPrice;
        uint256 whiteListRemaining;
        uint256 decreaseRemaining;
    }

    function tellEverything() external view returns (theKitchenSink memory) {
        return
            theKitchenSink(
                startingPrice,
                whitelist_sales,
                whitelist_sales_end,
                sales_start,
                sales_end,
                nft_sales,
                sales_duration,
                setupStatus,
                maxDecreaseSold,
                maxDecreaseNFTs,
                whiteListSold,
                maxWhiteListNFTs,
                presigner,
                whiteListPrice,
                whiteListRemainingTokens(),
                decreaseRemainingTokens()
            );
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 {
    /**
     * @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) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // 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) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @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) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

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

pragma solidity ^0.8.0;

interface SkeletonCrew {
    function mintCards(uint256 numberOfCards, address recipient) external;
}

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_whitelist_sales","type":"uint256"},{"internalType":"uint256","name":"_sales_start","type":"uint256"},{"internalType":"address","name":"_nft_sales","type":"address"},{"internalType":"address","name":"_presigner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"tokenCount","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"}],"name":"PurchaseSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"role","type":"uint256"}],"name":"WhiteListSale","type":"event"},{"inputs":[{"internalType":"address","name":"_presigner","type":"address"}],"name":"changePresigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decreaseRemainingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDecreaseNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDecreaseSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhiteListNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft_sales","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelist_sales","type":"uint256"},{"internalType":"uint256","name":"_sales_start","type":"uint256"},{"internalType":"address","name":"_nft_sales","type":"address"},{"internalType":"bool","name":"_setupStatus","type":"bool"}],"name":"resetSalesStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tracker","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"retrieve721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tracker","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"retrieveERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sales_duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sales_end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sales_how_long_more","outputs":[{"internalType":"uint256","name":"Days","type":"uint256"},{"internalType":"uint256","name":"Hours","type":"uint256"},{"internalType":"uint256","name":"Minutes","type":"uint256"},{"internalType":"uint256","name":"Seconds","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sales_start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setupStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tellEverything","outputs":[{"components":[{"internalType":"uint256","name":"startingPrice","type":"uint256"},{"internalType":"uint256","name":"whitelist_sales","type":"uint256"},{"internalType":"uint256","name":"whitelist_sales_end","type":"uint256"},{"internalType":"uint256","name":"sales_start","type":"uint256"},{"internalType":"uint256","name":"sales_end","type":"uint256"},{"internalType":"address","name":"nft_sales","type":"address"},{"internalType":"uint256","name":"sales_duration","type":"uint256"},{"internalType":"bool","name":"setupStatus","type":"bool"},{"internalType":"uint256","name":"maxDecreaseSold","type":"uint256"},{"internalType":"uint256","name":"maxDecreaseNFTs","type":"uint256"},{"internalType":"uint256","name":"whiteListSold","type":"uint256"},{"internalType":"uint256","name":"maxWhiteListNFTs","type":"uint256"},{"internalType":"address","name":"presigner","type":"address"},{"internalType":"uint256","name":"whiteListPrice","type":"uint256"},{"internalType":"uint256","name":"whiteListRemaining","type":"uint256"},{"internalType":"uint256","name":"decreaseRemaining","type":"uint256"}],"internalType":"struct metaZooSale.theKitchenSink","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_amount","type":"uint64"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_tokenCount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint64","name":"_role","type":"uint64"}],"name":"whiteListBySignature","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_amount","type":"uint64"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"whiteListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whiteListPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListRemainingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSalesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist_claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_how_long_more","outputs":[{"internalType":"uint256","name":"Days","type":"uint256"},{"internalType":"uint256","name":"Hours","type":"uint256"},{"internalType":"uint256","name":"Minutes","type":"uint256"},{"internalType":"uint256","name":"Seconds","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_sales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist_sales_end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052674563918244f4000060015561a8c06007556001600860006101000a81548160ff02191690831515021790555060006009556101f4600a556000600b556110cc600c5567016345785d8a0000600e55604051806060016040528073a3cb071c94b825471e230ff42ca10094ded8f7bb73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173a807a452e20a766ea36019bf5be5c5f4cbde756373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017377b94a55684c95d59a8f56a234b6e555fc79997c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060109060036200014092919062000333565b506040518060600160405280604661ffff16815260200160b461ffff1681526020016102ee61ffff1681525060119060036200017e929190620003c2565b503480156200018c57600080fd5b506040516200391d3803806200391d8339818101604052810190620001b2919062000467565b6000620001c46200032b60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350836002819055506203f480846200027a9190620004d3565b6003819055508260048190555061a8c0600454620002999190620004d3565b60058190555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620005d1565b600033905090565b828054828255906000526020600020908101928215620003af579160200282015b82811115620003ae5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000354565b5b509050620003be91906200041a565b5090565b82805482825590600052602060002090810192821562000407579160200282015b8281111562000406578251829061ffff16905591602001919060010190620003e3565b5b5090506200041691906200041a565b5090565b5b80821115620004355760008160009055506001016200041b565b5090565b6000815190506200044a816200059d565b92915050565b6000815190506200046181620005b7565b92915050565b600080600080608085870312156200047e57600080fd5b60006200048e8782880162000450565b9450506020620004a18782880162000450565b9350506040620004b48782880162000439565b9250506060620004c78782880162000439565b91505092959194509250565b6000620004e08262000564565b9150620004ed8362000564565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200052557620005246200056e565b5b828201905092915050565b60006200053d8262000544565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b620005a88162000530565b8114620005b457600080fd5b50565b620005c28162000564565b8114620005ce57600080fd5b50565b61333c80620005e16000396000f3fe6080604052600436106102045760003560e01c80638e9f2dfb11610118578063d6fbf202116100a0578063efef39a11161006f578063efef39a1146106f9578063f26f2eb214610715578063f2fde38b14610743578063f51a59731461076c578063f8f82c341461079757610204565b8063d6fbf2021461065c578063d89fc76014610687578063d9efc7d9146106a3578063ded2c89e146106ce57610204565b8063aaf4fdee116100e7578063aaf4fdee14610596578063b478c1e0146105c1578063c37891d8146105ec578063c5d9c39614610617578063d5b014c31461064557610204565b80638e9f2dfb146104ec5780639d1b464a146105175780639ed0224d14610542578063a5b3abfb1461056d57610204565b806348dc247e1161019b578063685756851161016a5780636857568514610417578063715018a6146104425780638428197a1461045957806387838fb8146104965780638da5cb5b146104c157610204565b806348dc247e1461036f5780634a6bfa2d1461039a57806356e541bd146103c55780635c060010146103ee57610204565b80632eb0b99b116101d75780632eb0b99b146102b15780632f151b76146102dc57806335ce53951461030757806337b846921461034457610204565b806311c6003c1461020957806317fd1e2f146102345780631c4f52f91461025d57806328655ea214610286575b600080fd5b34801561021557600080fd5b5061021e6107c2565b60405161022b9190612e2f565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190612194565b6107c8565b005b34801561026957600080fd5b50610284600480360381019061027f9190612300565b6108d6565b005b34801561029257600080fd5b5061029b6109e5565b6040516102a89190612e2f565b60405180910390f35b3480156102bd57600080fd5b506102c66109eb565b6040516102d39190612e2f565b60405180910390f35b3480156102e857600080fd5b506102f16109f1565b6040516102fe9190612e13565b60405180910390f35b34801561031357600080fd5b5061032e6004803603810190610329919061216b565b610b0d565b60405161033b9190612e2f565b60405180910390f35b34801561035057600080fd5b50610359610b25565b6040516103669190612e2f565b60405180910390f35b34801561037b57600080fd5b50610384610b4e565b6040516103919190612b38565b60405180910390f35b3480156103a657600080fd5b506103af610b74565b6040516103bc9190612bb3565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061216b565b610b8d565b005b3480156103fa57600080fd5b506104156004803603810190610410919061229d565b610c4d565b005b34801561042357600080fd5b5061042c610d61565b6040516104399190612e2f565b60405180910390f35b34801561044e57600080fd5b50610457610d67565b005b34801561046557600080fd5b50610480600480360381019061047b919061233c565b610ea1565b60405161048d9190612bb3565b60405180910390f35b3480156104a257600080fd5b506104ab610ff5565b6040516104b89190612e2f565b60405180910390f35b3480156104cd57600080fd5b506104d6610ffb565b6040516104e39190612b38565b60405180910390f35b3480156104f857600080fd5b50610501611024565b60405161050e9190612e2f565b60405180910390f35b34801561052357600080fd5b5061052c61102a565b6040516105399190612e2f565b60405180910390f35b34801561054e57600080fd5b50610557611093565b6040516105649190612bb3565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190612194565b6110ac565b005b3480156105a257600080fd5b506105ab61119b565b6040516105b89190612bb3565b60405180910390f35b3480156105cd57600080fd5b506105d66111ae565b6040516105e39190612e2f565b60405180910390f35b3480156105f857600080fd5b506106016111b4565b60405161060e9190612e2f565b60405180910390f35b34801561062357600080fd5b5061062c6111ba565b60405161063c9493929190612eaa565b60405180910390f35b34801561065157600080fd5b5061065a61127d565b005b34801561066857600080fd5b50610671611342565b60405161067e9190612e2f565b60405180910390f35b6106a1600480360381019061069c91906121d0565b611348565b005b3480156106af57600080fd5b506106b86116e4565b6040516106c59190612e2f565b60405180910390f35b3480156106da57600080fd5b506106e36116fb565b6040516106f09190612e2f565b60405180910390f35b610713600480360381019061070e9190612274565b611701565b005b34801561072157600080fd5b5061072a6118db565b60405161073a9493929190612eaa565b60405180910390f35b34801561074f57600080fd5b5061076a6004803603810190610765919061216b565b61199e565b005b34801561077857600080fd5b50610781611b47565b60405161078e9190612e2f565b60405180910390f35b3480156107a357600080fd5b506107ac611b4d565b6040516107b99190612b38565b60405180910390f35b600c5481565b6107d0611b73565b73ffffffffffffffffffffffffffffffffffffffff166107ee610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b90612d53565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161087f929190612b8a565b602060405180830381600087803b15801561089957600080fd5b505af11580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d1919061224b565b505050565b6108de611b73565b73ffffffffffffffffffffffffffffffffffffffff166108fc610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094990612d53565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333783836040518363ffffffff1660e01b81526004016109af929190612eef565b600060405180830381600087803b1580156109c957600080fd5b505af11580156109dd573d6000803e3d6000fd5b505050505050565b60035481565b600b5481565b6109f9611fef565b60405180610200016040528060015481526020016002548152602001600354815260200160045481526020016005548152602001600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007548152602001600860009054906101000a900460ff16151581526020016009548152602001600a548152602001600b548152602001600c548152602001600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600e548152602001610af86116e4565b8152602001610b05610b25565b815250905090565b600f6020528060005260406000206000915090505481565b6000600954610b326116e4565b600a54610b3f9190612fa0565b610b499190613081565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060045442118015610b88575060055442105b905090565b610b95611b73565b73ffffffffffffffffffffffffffffffffffffffff16610bb3610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0090612d53565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c55611b73565b73ffffffffffffffffffffffffffffffffffffffff16610c73610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090612d53565b60405180910390fd5b836002819055506202a30084610cdf9190612fa0565b6003819055508260048190555061a8c083610cfa9190612fa0565b60058190555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548160ff02191690831515021790555050505050565b600e5481565b610d6f611b73565b73ffffffffffffffffffffffffffffffffffffffff16610d8d610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dda90612d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0990612c73565b60405180910390fd5b6000610f458486604051602001610f2a929190612ad1565b60405160208183030381529060405280519060200120611b7b565b90506041835114610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290612d93565b60405180910390fd5b6000610f978285611bab565b90508073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b60045481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6000806004544261103b9190613081565b905060006103848261104d9190612ff6565b9050600754821061106a576702c68af0bb14000092505050611090565b67016345785d8a00008161107e9190613027565b60015461108b9190613081565b925050505b90565b6000600254421180156110a7575060035442105b905090565b6110b4611b73565b73ffffffffffffffffffffffffffffffffffffffff166110d2610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90612d53565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161116593929190612b53565b600060405180830381600087803b15801561117f57600080fd5b505af1158015611193573d6000803e3d6000fd5b505050505050565b600860009054906101000a900460ff1681565b60055481565b60095481565b6000806000806002544210611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90612dd3565b60405180910390fd5b6000426002546112149190613081565b905062015180816112259190612ff6565b9450620151808161123691906131d2565b9050610e10816112469190612ff6565b9350610e108161125691906131d2565b9050603c816112659190612ff6565b9250603c8161127491906131d2565b91505090919293565b611285611b73565b73ffffffffffffffffffffffffffffffffffffffff166112a3610ffb565b73ffffffffffffffffffffffffffffffffffffffff16146112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090612d53565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561133f573d6000803e3d6000fd5b50565b60015481565b611350611093565b61138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138690612db3565b60405180910390fd5b60018167ffffffffffffffff1614806113b2575060028167ffffffffffffffff16145b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890612c93565b60405180910390fd5b6113fc813384610ea1565b61143b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143290612d13565b60405180910390fd5b600e54836114499190613027565b34101561148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290612d73565b60405180910390fd5b600083600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114d89190612fa0565b905080600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548267ffffffffffffffff1610156115aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a190612df3565b60405180910390fd5b83600b60008282546115bc9190612fa0565b92505081905550600c54600b54111561160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190612cf3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333785876040518363ffffffff1660e01b8152600401611667929190612e4a565b600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b505050506116a234611c75565b7fb8d9a35b28a53328e59adbdcfea726da59ca5e0beaa8f10fbefc53457a7908cc8486846040516116d593929190612e73565b60405180910390a15050505050565b6000600b54600c546116f69190613081565b905090565b60075481565b611709610b74565b611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90612db3565b60405180910390fd5b61176261175361102a565b82611e4e90919063ffffffff16565b3410156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90612d73565b60405180910390fd5b806117ad610b25565b10156117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e590612cf3565b60405180910390fd5b80600960008282546118009190612fa0565b92505081905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333782336040518363ffffffff1660e01b8152600401611864929190612e4a565b600060405180830381600087803b15801561187e57600080fd5b505af1158015611892573d6000803e3d6000fd5b5050505061189f34611c75565b7fd7bcae5ad69506c8bfd57d586a79f113ff4ed33fd108c441dbb0a3fe54a4e45481336040516118d0929190612e4a565b60405180910390a150565b6000806000806004544210611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90612dd3565b60405180910390fd5b6000426004546119359190613081565b905062015180816119469190612ff6565b9450620151808161195791906131d2565b9050610e10816119679190612ff6565b9350610e108161197791906131d2565b9050603c816119869190612ff6565b9250603c8161199591906131d2565b91505090919293565b6119a6611b73565b73ffffffffffffffffffffffffffffffffffffffff166119c4610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190612d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190612c53565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600081604051602001611b8e9190612afd565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611bd8576020850151925060408501519150606085015160001a9050611c5e565b604085511415611c22576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611c5d565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490612c33565b60405180910390fd5b5b611c6a86828585611e64565b935050505092915050565b60008060005b601080549050811015611e485760006103e860118381548110611cc7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015486611cdd9190613027565b611ce79190612ff6565b90506001601080549050611cfb9190613081565b821415611d15578285611d0e9190613081565b9050611d24565b8083611d219190612fa0565b92505b60108281548110611d5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681604051611dac90612b23565b60006040518083038185875af1925050503d8060008114611de9576040519150601f19603f3d011682016040523d82523d6000602084013e611dee565b606091505b50508094505083611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b90612cb3565b60405180910390fd5b508080611e4090613149565b915050611c7b565b50505050565b60008183611e5c9190613027565b905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390612cd3565b60405180910390fd5b601b8460ff161480611ee15750601c8460ff16145b611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1790612d33565b60405180910390fd5b600060018686868660405160008152602001604052604051611f459493929190612bce565b6020604051602081039080840390855afa158015611f67573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90612c13565b60405180910390fd5b80915050949350505050565b6040518061020001604052806000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160001515815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b60006120ad6120a884612f49565b612f18565b9050828152602081018484840111156120c557600080fd5b6120d084828561313a565b509392505050565b6000813590506120e7816132aa565b92915050565b6000813590506120fc816132c1565b92915050565b600081519050612111816132c1565b92915050565b600082601f83011261212857600080fd5b813561213884826020860161209a565b91505092915050565b600081359050612150816132d8565b92915050565b600081359050612165816132ef565b92915050565b60006020828403121561217d57600080fd5b600061218b848285016120d8565b91505092915050565b600080604083850312156121a757600080fd5b60006121b5858286016120d8565b92505060206121c685828601612141565b9150509250929050565b600080600080608085870312156121e657600080fd5b60006121f4878288016120d8565b945050602061220587828801612141565b935050604085013567ffffffffffffffff81111561222257600080fd5b61222e87828801612117565b925050606061223f87828801612156565b91505092959194509250565b60006020828403121561225d57600080fd5b600061226b84828501612102565b91505092915050565b60006020828403121561228657600080fd5b600061229484828501612141565b91505092915050565b600080600080608085870312156122b357600080fd5b60006122c187828801612141565b94505060206122d287828801612141565b93505060406122e3878288016120d8565b92505060606122f4878288016120ed565b91505092959194509250565b6000806040838503121561231357600080fd5b600061232185828601612156565b9250506020612332858286016120d8565b9150509250929050565b60008060006060848603121561235157600080fd5b600061235f86828701612156565b9350506020612370868287016120d8565b925050604084013567ffffffffffffffff81111561238d57600080fd5b61239986828701612117565b9150509250925092565b6123ac816130b5565b82525050565b6123bb816130b5565b82525050565b6123d26123cd826130b5565b613192565b82525050565b6123e1816130c7565b82525050565b6123f0816130c7565b82525050565b6123ff816130d3565b82525050565b612416612411826130d3565b6131a4565b82525050565b6000612429601883612f84565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612469601f83612f84565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006124a9601c83612f95565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006124e9602683612f84565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061254f602483612f84565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5f60008301527f75736572000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006125b5601c83612f84565b91507f4f6e65206f722054776f206e6f6e6520656c73652077696c6c20646f000000006000830152602082019050919050565b60006125f5601483612f84565b91507f4661696c656420746f2073656e642045746865720000000000000000000000006000830152602082019050919050565b6000612635602283612f84565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061269b600883612f84565b91507f736f6c64206f75740000000000000000000000000000000000000000000000006000830152602082019050919050565b60006126db600c83612f84565b91507f556e617574686f726973656400000000000000000000000000000000000000006000830152602082019050919050565b600061271b602283612f84565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612781602083612f84565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006127c1600d83612f84565b91507f5072696365206e6f74206d6574000000000000000000000000000000000000006000830152602082019050919050565b6000612801600083612f79565b9150600082019050919050565b600061281b601883612f84565b91507f496e76616c6964207369676e6174757265206c656e67746800000000000000006000830152602082019050919050565b600061285b603283612f84565b91507f53616c657320686173206e6f742073746172746564206f7220656e646564202c60008301527f20706c65617365206368696c6c207369722e00000000000000000000000000006020830152604082019050919050565b60006128c1600783612f84565b91507f53746172746564000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000612901601983612f84565b91507f546f6f206d616e7920746f6b656e7320726571756573746564000000000000006000830152602082019050919050565b6102008201600082015161294b6000850182612a7e565b50602082015161295e6020850182612a7e565b5060408201516129716040850182612a7e565b5060608201516129846060850182612a7e565b5060808201516129976080850182612a7e565b5060a08201516129aa60a08501826123a3565b5060c08201516129bd60c0850182612a7e565b5060e08201516129d060e08501826123d8565b506101008201516129e5610100850182612a7e565b506101208201516129fa610120850182612a7e565b50610140820151612a0f610140850182612a7e565b50610160820151612a24610160850182612a7e565b50610180820151612a396101808501826123a3565b506101a0820151612a4e6101a0850182612a7e565b506101c0820151612a636101c0850182612a7e565b506101e0820151612a786101e0850182612a7e565b50505050565b612a87816130fd565b82525050565b612a96816130fd565b82525050565b612aa581613128565b82525050565b612abc612ab782613107565b6131c0565b82525050565b612acb8161311b565b82525050565b6000612add82856123c1565b601482019150612aed8284612aab565b6008820191508190509392505050565b6000612b088261249c565b9150612b148284612405565b60208201915081905092915050565b6000612b2e826127f4565b9150819050919050565b6000602082019050612b4d60008301846123b2565b92915050565b6000606082019050612b6860008301866123b2565b612b7560208301856123b2565b612b826040830184612a8d565b949350505050565b6000604082019050612b9f60008301856123b2565b612bac6020830184612a8d565b9392505050565b6000602082019050612bc860008301846123e7565b92915050565b6000608082019050612be360008301876123f6565b612bf06020830186612ac2565b612bfd60408301856123f6565b612c0a60608301846123f6565b95945050505050565b60006020820190508181036000830152612c2c8161241c565b9050919050565b60006020820190508181036000830152612c4c8161245c565b9050919050565b60006020820190508181036000830152612c6c816124dc565b9050919050565b60006020820190508181036000830152612c8c81612542565b9050919050565b60006020820190508181036000830152612cac816125a8565b9050919050565b60006020820190508181036000830152612ccc816125e8565b9050919050565b60006020820190508181036000830152612cec81612628565b9050919050565b60006020820190508181036000830152612d0c8161268e565b9050919050565b60006020820190508181036000830152612d2c816126ce565b9050919050565b60006020820190508181036000830152612d4c8161270e565b9050919050565b60006020820190508181036000830152612d6c81612774565b9050919050565b60006020820190508181036000830152612d8c816127b4565b9050919050565b60006020820190508181036000830152612dac8161280e565b9050919050565b60006020820190508181036000830152612dcc8161284e565b9050919050565b60006020820190508181036000830152612dec816128b4565b9050919050565b60006020820190508181036000830152612e0c816128f4565b9050919050565b600061020082019050612e296000830184612934565b92915050565b6000602082019050612e446000830184612a8d565b92915050565b6000604082019050612e5f6000830185612a8d565b612e6c60208301846123b2565b9392505050565b6000606082019050612e886000830186612a8d565b612e9560208301856123b2565b612ea26040830184612a9c565b949350505050565b6000608082019050612ebf6000830187612a8d565b612ecc6020830186612a8d565b612ed96040830185612a8d565b612ee66060830184612a8d565b95945050505050565b6000604082019050612f046000830185612a9c565b612f1160208301846123b2565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715612f3f57612f3e613261565b5b8060405250919050565b600067ffffffffffffffff821115612f6457612f63613261565b5b601f19601f8301169050602081019050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612fab826130fd565b9150612fb6836130fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612feb57612fea613203565b5b828201905092915050565b6000613001826130fd565b915061300c836130fd565b92508261301c5761301b613232565b5b828204905092915050565b6000613032826130fd565b915061303d836130fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561307657613075613203565b5b828202905092915050565b600061308c826130fd565b9150613097836130fd565b9250828210156130aa576130a9613203565b5b828203905092915050565b60006130c0826130dd565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b600061313382613107565b9050919050565b82818337600083830152505050565b6000613154826130fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561318757613186613203565b5b600182019050919050565b600061319d826131ae565b9050919050565b6000819050919050565b60006131b98261329d565b9050919050565b60006131cb82613290565b9050919050565b60006131dd826130fd565b91506131e8836130fd565b9250826131f8576131f7613232565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160c01b9050919050565b60008160601b9050919050565b6132b3816130b5565b81146132be57600080fd5b50565b6132ca816130c7565b81146132d557600080fd5b50565b6132e1816130fd565b81146132ec57600080fd5b50565b6132f881613107565b811461330357600080fd5b5056fea2646970667358221220718ba58d91319263c974a84a9a93e299085635fafcbd70e704d4e2bae77c9deb64736f6c634300080000330000000000000000000000000000000000000000000000000000000061a4f9000000000000000000000000000000000000000000000000000000000061a8ed800000000000000000000000002d366be8fa4d15c289964dd4adf7be6cc5e896e8000000000000000000000000510c2b0b54829e600e12fe9d364dfd7044d2e52e

Deployed Bytecode

0x6080604052600436106102045760003560e01c80638e9f2dfb11610118578063d6fbf202116100a0578063efef39a11161006f578063efef39a1146106f9578063f26f2eb214610715578063f2fde38b14610743578063f51a59731461076c578063f8f82c341461079757610204565b8063d6fbf2021461065c578063d89fc76014610687578063d9efc7d9146106a3578063ded2c89e146106ce57610204565b8063aaf4fdee116100e7578063aaf4fdee14610596578063b478c1e0146105c1578063c37891d8146105ec578063c5d9c39614610617578063d5b014c31461064557610204565b80638e9f2dfb146104ec5780639d1b464a146105175780639ed0224d14610542578063a5b3abfb1461056d57610204565b806348dc247e1161019b578063685756851161016a5780636857568514610417578063715018a6146104425780638428197a1461045957806387838fb8146104965780638da5cb5b146104c157610204565b806348dc247e1461036f5780634a6bfa2d1461039a57806356e541bd146103c55780635c060010146103ee57610204565b80632eb0b99b116101d75780632eb0b99b146102b15780632f151b76146102dc57806335ce53951461030757806337b846921461034457610204565b806311c6003c1461020957806317fd1e2f146102345780631c4f52f91461025d57806328655ea214610286575b600080fd5b34801561021557600080fd5b5061021e6107c2565b60405161022b9190612e2f565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190612194565b6107c8565b005b34801561026957600080fd5b50610284600480360381019061027f9190612300565b6108d6565b005b34801561029257600080fd5b5061029b6109e5565b6040516102a89190612e2f565b60405180910390f35b3480156102bd57600080fd5b506102c66109eb565b6040516102d39190612e2f565b60405180910390f35b3480156102e857600080fd5b506102f16109f1565b6040516102fe9190612e13565b60405180910390f35b34801561031357600080fd5b5061032e6004803603810190610329919061216b565b610b0d565b60405161033b9190612e2f565b60405180910390f35b34801561035057600080fd5b50610359610b25565b6040516103669190612e2f565b60405180910390f35b34801561037b57600080fd5b50610384610b4e565b6040516103919190612b38565b60405180910390f35b3480156103a657600080fd5b506103af610b74565b6040516103bc9190612bb3565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061216b565b610b8d565b005b3480156103fa57600080fd5b506104156004803603810190610410919061229d565b610c4d565b005b34801561042357600080fd5b5061042c610d61565b6040516104399190612e2f565b60405180910390f35b34801561044e57600080fd5b50610457610d67565b005b34801561046557600080fd5b50610480600480360381019061047b919061233c565b610ea1565b60405161048d9190612bb3565b60405180910390f35b3480156104a257600080fd5b506104ab610ff5565b6040516104b89190612e2f565b60405180910390f35b3480156104cd57600080fd5b506104d6610ffb565b6040516104e39190612b38565b60405180910390f35b3480156104f857600080fd5b50610501611024565b60405161050e9190612e2f565b60405180910390f35b34801561052357600080fd5b5061052c61102a565b6040516105399190612e2f565b60405180910390f35b34801561054e57600080fd5b50610557611093565b6040516105649190612bb3565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190612194565b6110ac565b005b3480156105a257600080fd5b506105ab61119b565b6040516105b89190612bb3565b60405180910390f35b3480156105cd57600080fd5b506105d66111ae565b6040516105e39190612e2f565b60405180910390f35b3480156105f857600080fd5b506106016111b4565b60405161060e9190612e2f565b60405180910390f35b34801561062357600080fd5b5061062c6111ba565b60405161063c9493929190612eaa565b60405180910390f35b34801561065157600080fd5b5061065a61127d565b005b34801561066857600080fd5b50610671611342565b60405161067e9190612e2f565b60405180910390f35b6106a1600480360381019061069c91906121d0565b611348565b005b3480156106af57600080fd5b506106b86116e4565b6040516106c59190612e2f565b60405180910390f35b3480156106da57600080fd5b506106e36116fb565b6040516106f09190612e2f565b60405180910390f35b610713600480360381019061070e9190612274565b611701565b005b34801561072157600080fd5b5061072a6118db565b60405161073a9493929190612eaa565b60405180910390f35b34801561074f57600080fd5b5061076a6004803603810190610765919061216b565b61199e565b005b34801561077857600080fd5b50610781611b47565b60405161078e9190612e2f565b60405180910390f35b3480156107a357600080fd5b506107ac611b4d565b6040516107b99190612b38565b60405180910390f35b600c5481565b6107d0611b73565b73ffffffffffffffffffffffffffffffffffffffff166107ee610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b90612d53565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161087f929190612b8a565b602060405180830381600087803b15801561089957600080fd5b505af11580156108ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d1919061224b565b505050565b6108de611b73565b73ffffffffffffffffffffffffffffffffffffffff166108fc610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094990612d53565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333783836040518363ffffffff1660e01b81526004016109af929190612eef565b600060405180830381600087803b1580156109c957600080fd5b505af11580156109dd573d6000803e3d6000fd5b505050505050565b60035481565b600b5481565b6109f9611fef565b60405180610200016040528060015481526020016002548152602001600354815260200160045481526020016005548152602001600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007548152602001600860009054906101000a900460ff16151581526020016009548152602001600a548152602001600b548152602001600c548152602001600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600e548152602001610af86116e4565b8152602001610b05610b25565b815250905090565b600f6020528060005260406000206000915090505481565b6000600954610b326116e4565b600a54610b3f9190612fa0565b610b499190613081565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060045442118015610b88575060055442105b905090565b610b95611b73565b73ffffffffffffffffffffffffffffffffffffffff16610bb3610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0090612d53565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c55611b73565b73ffffffffffffffffffffffffffffffffffffffff16610c73610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090612d53565b60405180910390fd5b836002819055506202a30084610cdf9190612fa0565b6003819055508260048190555061a8c083610cfa9190612fa0565b60058190555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548160ff02191690831515021790555050505050565b600e5481565b610d6f611b73565b73ffffffffffffffffffffffffffffffffffffffff16610d8d610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614610de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dda90612d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0990612c73565b60405180910390fd5b6000610f458486604051602001610f2a929190612ad1565b60405160208183030381529060405280519060200120611b7b565b90506041835114610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290612d93565b60405180910390fd5b6000610f978285611bab565b90508073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b60045481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6000806004544261103b9190613081565b905060006103848261104d9190612ff6565b9050600754821061106a576702c68af0bb14000092505050611090565b67016345785d8a00008161107e9190613027565b60015461108b9190613081565b925050505b90565b6000600254421180156110a7575060035442105b905090565b6110b4611b73565b73ffffffffffffffffffffffffffffffffffffffff166110d2610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90612d53565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161116593929190612b53565b600060405180830381600087803b15801561117f57600080fd5b505af1158015611193573d6000803e3d6000fd5b505050505050565b600860009054906101000a900460ff1681565b60055481565b60095481565b6000806000806002544210611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90612dd3565b60405180910390fd5b6000426002546112149190613081565b905062015180816112259190612ff6565b9450620151808161123691906131d2565b9050610e10816112469190612ff6565b9350610e108161125691906131d2565b9050603c816112659190612ff6565b9250603c8161127491906131d2565b91505090919293565b611285611b73565b73ffffffffffffffffffffffffffffffffffffffff166112a3610ffb565b73ffffffffffffffffffffffffffffffffffffffff16146112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090612d53565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561133f573d6000803e3d6000fd5b50565b60015481565b611350611093565b61138f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138690612db3565b60405180910390fd5b60018167ffffffffffffffff1614806113b2575060028167ffffffffffffffff16145b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890612c93565b60405180910390fd5b6113fc813384610ea1565b61143b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143290612d13565b60405180910390fd5b600e54836114499190613027565b34101561148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290612d73565b60405180910390fd5b600083600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114d89190612fa0565b905080600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548267ffffffffffffffff1610156115aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a190612df3565b60405180910390fd5b83600b60008282546115bc9190612fa0565b92505081905550600c54600b54111561160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190612cf3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333785876040518363ffffffff1660e01b8152600401611667929190612e4a565b600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b505050506116a234611c75565b7fb8d9a35b28a53328e59adbdcfea726da59ca5e0beaa8f10fbefc53457a7908cc8486846040516116d593929190612e73565b60405180910390a15050505050565b6000600b54600c546116f69190613081565b905090565b60075481565b611709610b74565b611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90612db3565b60405180910390fd5b61176261175361102a565b82611e4e90919063ffffffff16565b3410156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90612d73565b60405180910390fd5b806117ad610b25565b10156117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e590612cf3565b60405180910390fd5b80600960008282546118009190612fa0565b92505081905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663134f333782336040518363ffffffff1660e01b8152600401611864929190612e4a565b600060405180830381600087803b15801561187e57600080fd5b505af1158015611892573d6000803e3d6000fd5b5050505061189f34611c75565b7fd7bcae5ad69506c8bfd57d586a79f113ff4ed33fd108c441dbb0a3fe54a4e45481336040516118d0929190612e4a565b60405180910390a150565b6000806000806004544210611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90612dd3565b60405180910390fd5b6000426004546119359190613081565b905062015180816119469190612ff6565b9450620151808161195791906131d2565b9050610e10816119679190612ff6565b9350610e108161197791906131d2565b9050603c816119869190612ff6565b9250603c8161199591906131d2565b91505090919293565b6119a6611b73565b73ffffffffffffffffffffffffffffffffffffffff166119c4610ffb565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190612d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190612c53565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600081604051602001611b8e9190612afd565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611bd8576020850151925060408501519150606085015160001a9050611c5e565b604085511415611c22576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611c5d565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490612c33565b60405180910390fd5b5b611c6a86828585611e64565b935050505092915050565b60008060005b601080549050811015611e485760006103e860118381548110611cc7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015486611cdd9190613027565b611ce79190612ff6565b90506001601080549050611cfb9190613081565b821415611d15578285611d0e9190613081565b9050611d24565b8083611d219190612fa0565b92505b60108281548110611d5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681604051611dac90612b23565b60006040518083038185875af1925050503d8060008114611de9576040519150601f19603f3d011682016040523d82523d6000602084013e611dee565b606091505b50508094505083611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b90612cb3565b60405180910390fd5b508080611e4090613149565b915050611c7b565b50505050565b60008183611e5c9190613027565b905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec390612cd3565b60405180910390fd5b601b8460ff161480611ee15750601c8460ff16145b611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1790612d33565b60405180910390fd5b600060018686868660405160008152602001604052604051611f459493929190612bce565b6020604051602081039080840390855afa158015611f67573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90612c13565b60405180910390fd5b80915050949350505050565b6040518061020001604052806000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160001515815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b60006120ad6120a884612f49565b612f18565b9050828152602081018484840111156120c557600080fd5b6120d084828561313a565b509392505050565b6000813590506120e7816132aa565b92915050565b6000813590506120fc816132c1565b92915050565b600081519050612111816132c1565b92915050565b600082601f83011261212857600080fd5b813561213884826020860161209a565b91505092915050565b600081359050612150816132d8565b92915050565b600081359050612165816132ef565b92915050565b60006020828403121561217d57600080fd5b600061218b848285016120d8565b91505092915050565b600080604083850312156121a757600080fd5b60006121b5858286016120d8565b92505060206121c685828601612141565b9150509250929050565b600080600080608085870312156121e657600080fd5b60006121f4878288016120d8565b945050602061220587828801612141565b935050604085013567ffffffffffffffff81111561222257600080fd5b61222e87828801612117565b925050606061223f87828801612156565b91505092959194509250565b60006020828403121561225d57600080fd5b600061226b84828501612102565b91505092915050565b60006020828403121561228657600080fd5b600061229484828501612141565b91505092915050565b600080600080608085870312156122b357600080fd5b60006122c187828801612141565b94505060206122d287828801612141565b93505060406122e3878288016120d8565b92505060606122f4878288016120ed565b91505092959194509250565b6000806040838503121561231357600080fd5b600061232185828601612156565b9250506020612332858286016120d8565b9150509250929050565b60008060006060848603121561235157600080fd5b600061235f86828701612156565b9350506020612370868287016120d8565b925050604084013567ffffffffffffffff81111561238d57600080fd5b61239986828701612117565b9150509250925092565b6123ac816130b5565b82525050565b6123bb816130b5565b82525050565b6123d26123cd826130b5565b613192565b82525050565b6123e1816130c7565b82525050565b6123f0816130c7565b82525050565b6123ff816130d3565b82525050565b612416612411826130d3565b6131a4565b82525050565b6000612429601883612f84565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612469601f83612f84565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006124a9601c83612f95565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006124e9602683612f84565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061254f602483612f84565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5f60008301527f75736572000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006125b5601c83612f84565b91507f4f6e65206f722054776f206e6f6e6520656c73652077696c6c20646f000000006000830152602082019050919050565b60006125f5601483612f84565b91507f4661696c656420746f2073656e642045746865720000000000000000000000006000830152602082019050919050565b6000612635602283612f84565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061269b600883612f84565b91507f736f6c64206f75740000000000000000000000000000000000000000000000006000830152602082019050919050565b60006126db600c83612f84565b91507f556e617574686f726973656400000000000000000000000000000000000000006000830152602082019050919050565b600061271b602283612f84565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612781602083612f84565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006127c1600d83612f84565b91507f5072696365206e6f74206d6574000000000000000000000000000000000000006000830152602082019050919050565b6000612801600083612f79565b9150600082019050919050565b600061281b601883612f84565b91507f496e76616c6964207369676e6174757265206c656e67746800000000000000006000830152602082019050919050565b600061285b603283612f84565b91507f53616c657320686173206e6f742073746172746564206f7220656e646564202c60008301527f20706c65617365206368696c6c207369722e00000000000000000000000000006020830152604082019050919050565b60006128c1600783612f84565b91507f53746172746564000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000612901601983612f84565b91507f546f6f206d616e7920746f6b656e7320726571756573746564000000000000006000830152602082019050919050565b6102008201600082015161294b6000850182612a7e565b50602082015161295e6020850182612a7e565b5060408201516129716040850182612a7e565b5060608201516129846060850182612a7e565b5060808201516129976080850182612a7e565b5060a08201516129aa60a08501826123a3565b5060c08201516129bd60c0850182612a7e565b5060e08201516129d060e08501826123d8565b506101008201516129e5610100850182612a7e565b506101208201516129fa610120850182612a7e565b50610140820151612a0f610140850182612a7e565b50610160820151612a24610160850182612a7e565b50610180820151612a396101808501826123a3565b506101a0820151612a4e6101a0850182612a7e565b506101c0820151612a636101c0850182612a7e565b506101e0820151612a786101e0850182612a7e565b50505050565b612a87816130fd565b82525050565b612a96816130fd565b82525050565b612aa581613128565b82525050565b612abc612ab782613107565b6131c0565b82525050565b612acb8161311b565b82525050565b6000612add82856123c1565b601482019150612aed8284612aab565b6008820191508190509392505050565b6000612b088261249c565b9150612b148284612405565b60208201915081905092915050565b6000612b2e826127f4565b9150819050919050565b6000602082019050612b4d60008301846123b2565b92915050565b6000606082019050612b6860008301866123b2565b612b7560208301856123b2565b612b826040830184612a8d565b949350505050565b6000604082019050612b9f60008301856123b2565b612bac6020830184612a8d565b9392505050565b6000602082019050612bc860008301846123e7565b92915050565b6000608082019050612be360008301876123f6565b612bf06020830186612ac2565b612bfd60408301856123f6565b612c0a60608301846123f6565b95945050505050565b60006020820190508181036000830152612c2c8161241c565b9050919050565b60006020820190508181036000830152612c4c8161245c565b9050919050565b60006020820190508181036000830152612c6c816124dc565b9050919050565b60006020820190508181036000830152612c8c81612542565b9050919050565b60006020820190508181036000830152612cac816125a8565b9050919050565b60006020820190508181036000830152612ccc816125e8565b9050919050565b60006020820190508181036000830152612cec81612628565b9050919050565b60006020820190508181036000830152612d0c8161268e565b9050919050565b60006020820190508181036000830152612d2c816126ce565b9050919050565b60006020820190508181036000830152612d4c8161270e565b9050919050565b60006020820190508181036000830152612d6c81612774565b9050919050565b60006020820190508181036000830152612d8c816127b4565b9050919050565b60006020820190508181036000830152612dac8161280e565b9050919050565b60006020820190508181036000830152612dcc8161284e565b9050919050565b60006020820190508181036000830152612dec816128b4565b9050919050565b60006020820190508181036000830152612e0c816128f4565b9050919050565b600061020082019050612e296000830184612934565b92915050565b6000602082019050612e446000830184612a8d565b92915050565b6000604082019050612e5f6000830185612a8d565b612e6c60208301846123b2565b9392505050565b6000606082019050612e886000830186612a8d565b612e9560208301856123b2565b612ea26040830184612a9c565b949350505050565b6000608082019050612ebf6000830187612a8d565b612ecc6020830186612a8d565b612ed96040830185612a8d565b612ee66060830184612a8d565b95945050505050565b6000604082019050612f046000830185612a9c565b612f1160208301846123b2565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715612f3f57612f3e613261565b5b8060405250919050565b600067ffffffffffffffff821115612f6457612f63613261565b5b601f19601f8301169050602081019050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612fab826130fd565b9150612fb6836130fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612feb57612fea613203565b5b828201905092915050565b6000613001826130fd565b915061300c836130fd565b92508261301c5761301b613232565b5b828204905092915050565b6000613032826130fd565b915061303d836130fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561307657613075613203565b5b828202905092915050565b600061308c826130fd565b9150613097836130fd565b9250828210156130aa576130a9613203565b5b828203905092915050565b60006130c0826130dd565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b600061313382613107565b9050919050565b82818337600083830152505050565b6000613154826130fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561318757613186613203565b5b600182019050919050565b600061319d826131ae565b9050919050565b6000819050919050565b60006131b98261329d565b9050919050565b60006131cb82613290565b9050919050565b60006131dd826130fd565b91506131e8836130fd565b9250826131f8576131f7613232565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160c01b9050919050565b60008160601b9050919050565b6132b3816130b5565b81146132be57600080fd5b50565b6132ca816130c7565b81146132d557600080fd5b50565b6132e1816130fd565b81146132ec57600080fd5b50565b6132f881613107565b811461330357600080fd5b5056fea2646970667358221220718ba58d91319263c974a84a9a93e299085635fafcbd70e704d4e2bae77c9deb64736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000061a4f9000000000000000000000000000000000000000000000000000000000061a8ed800000000000000000000000002d366be8fa4d15c289964dd4adf7be6cc5e896e8000000000000000000000000510c2b0b54829e600e12fe9d364dfd7044d2e52e

-----Decoded View---------------
Arg [0] : _whitelist_sales (uint256): 1638201600
Arg [1] : _sales_start (uint256): 1638460800
Arg [2] : _nft_sales (address): 0x2D366Be8fA4D15c289964dD4Adf7Be6Cc5e896E8
Arg [3] : _presigner (address): 0x510C2B0b54829E600E12FE9d364Dfd7044d2e52e

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000061a4f900
Arg [1] : 0000000000000000000000000000000000000000000000000000000061a8ed80
Arg [2] : 0000000000000000000000002d366be8fa4d15c289964dd4adf7be6cc5e896e8
Arg [3] : 000000000000000000000000510c2b0b54829e600e12fe9d364dfd7044d2e52e


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.