ETH Price: $3,480.41 (+2.12%)
Gas: 6 Gwei

Token

torizero (TORIZERO)
 

Overview

Max Total Supply

6,322 TORIZERO

Holders

2,666

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
kingcree.eth
Balance
1 TORIZERO
0xbf1d2e5337e1674d43e39786a86fdcffbfb213bd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

We present to you 6,322 never-before-seen shots of REDLAB’s Tori Zero, handpicked by the first virtual idol on the blockchain herself. Owning a Tori affirms your OG status, and grants you exclusive access to the ever-expanding REDLAB Metaverse.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Torizero

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 400 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "./MerkleWhitelist.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';


contract Torizero is Ownable, ERC721A, MerkleWhitelist, ReentrancyGuard {

    uint256 public DA_STARTING_PRICE = 0.3 ether;

    uint256 public DA_ENDING_PRICE = 0.1 ether;

    uint256 public DA_DECREMENT = 0.02 ether;

    uint256 public DA_DECREMENT_FREQUENCY = 900;

    uint256 public DA_FINAL_PRICE;

    uint256 public WL_PRICE = 0.08 ether;


    uint256 public WL_AMOUNT = 600;
    uint256 public DA_AMOUNT = 5000;
    uint256 public MAIN_AMOUNT = 2000;
    uint256 public ALL_AMOUNT = 7777;


    uint256 public WL_START_TIME = 1650888600;
    uint256 public WL_END_TIME = 1650931800;

    uint256 public DA_START_TIME = 1650974400;
    uint256 public DA_END_TIME = 1650985200;

    uint256 public MAIN_END_TIME;
    uint256 public MAIN_LAST_TIME = 10800;


    uint256 public EXTRA_START_TIME = 1650996000;

    uint16 public WL_MINTED;
    uint16 public DA_MINTED;
    uint16 public MAIN_MINTED;
    uint16 public EXTRA_MINTED;
    uint16 public TEAM_MINTED;


    uint16 public WL_LIMIT=3;
    uint16 public DA_LIMIT=5;
    uint16 public MAIN_LIMIT=1;
    uint16 public EXTRA_LIMIT=10;
    uint16 public TEAM_LIMIT=1;

    mapping(address => uint256) public WL_WALLET_CAP;
    mapping(address => uint256) public DA_WALLET_CAP;
    mapping(address => uint256) public MAIN_WALLET_CAP;
    mapping(address => uint256) public EXTRA_WALLET_CAP;
    mapping(address => uint256) public TEAM_WALLET_CAP;

    bool _isWLActive = true;
    bool _isDAActive = true;
    bool _isMainActive = true;
    bool _isExtraActive = true;
    bool _isTeamActive = false;

    bool public INITIAL_FUNDS_WITHDRAWN;

    struct DABatchPrice {
        uint128 pricePaid;
        uint8 quantityMinted;
    }

    mapping(address => DABatchPrice[]) public userToDABatchPrice;


    uint256 public STATE = 1;

    bool public REVEALED = false;
    string public UNREVEALED_URI = "https://data.torizero.com/torizero/box.json";
    string public BASE_URI;
    string public CONTRACT_URI ="https://data.torizero.com/api/contracturl.json";


    constructor() ERC721A("torizero", "TORIZERO") {}

    function currentPrice() public view returns (uint256) {
        if(block.timestamp < DA_START_TIME)return DA_STARTING_PRICE;

        if (DA_FINAL_PRICE > 0) return DA_FINAL_PRICE;

        uint256 timeSinceStart = block.timestamp - DA_START_TIME;

        uint256 decrementsSinceStart = timeSinceStart / DA_DECREMENT_FREQUENCY;

        uint256 totalDecrement = decrementsSinceStart * DA_DECREMENT;

        if (totalDecrement >= DA_STARTING_PRICE - DA_ENDING_PRICE) {
            return DA_ENDING_PRICE;
        }

        return DA_STARTING_PRICE - totalDecrement;
    }

    function extraAmount() public view returns (uint256) {
       return  WL_AMOUNT + DA_AMOUNT + MAIN_AMOUNT - WL_MINTED - DA_MINTED - MAIN_MINTED;
    }

    function wlInfo(address user) public view returns (uint256,uint256,uint256,uint256,uint256,uint256) {
       return  (WL_AMOUNT,WL_MINTED,WL_PRICE,WL_START_TIME,WL_END_TIME,WL_WALLET_CAP[user]);
    }

    function daInfo(address user) public view returns (uint256,uint256,uint256,uint256,uint256,uint256) {
       return  (DA_AMOUNT,DA_MINTED,currentPrice(),DA_START_TIME,DA_END_TIME,DA_WALLET_CAP[user]);
    }

    function mainInfo(address user) public view returns (uint256,uint256,uint256,uint256,uint256,uint256) {
       return  (MAIN_AMOUNT,MAIN_MINTED,mainPrice(),extraAmount(),MAIN_END_TIME,MAIN_WALLET_CAP[user]);
    }

    function extraInfo(address user) public view returns (uint256,uint256,uint256,uint256,uint256,uint256) {
       return  (extraAmount(),EXTRA_MINTED,extraPrice(),EXTRA_START_TIME,0,EXTRA_WALLET_CAP[user]);
    }

  

    function mainPrice() public view returns (uint256) {
       return  ((DA_FINAL_PRICE / 100) * 80);
    }

    function extraPrice() public view returns (uint256) {
       return  ((DA_FINAL_PRICE / 100) * 80);
    }


    function mintDA(uint8 quantity) public payable {
        require(quantity > 0, "Must mint at least 1 token.");
        require(_isDAActive, "DA must be active to mint tokens");
        require(block.timestamp >= DA_START_TIME,"DA has not started!");
        require(block.timestamp < DA_END_TIME, "DA is over");
        require(DA_WALLET_CAP[msg.sender] + quantity <= DA_LIMIT, "Purchase would exceed max number of metacards per wallet."); 
        uint256 _currentPrice = currentPrice();
        require(msg.value >= quantity * _currentPrice,"Did not send enough eth.");
        require(DA_MINTED + quantity <= DA_AMOUNT,"Max supply for DA reached!");
        require(totalSupply() + quantity <= ALL_AMOUNT,"reached max supply");

        if (DA_MINTED + quantity == DA_AMOUNT){
            _isDAActive = false;
            DA_FINAL_PRICE = _currentPrice;
            MAIN_END_TIME = block.timestamp + MAIN_LAST_TIME;
            STATE = 3;
        }

        userToDABatchPrice[msg.sender].push(
            DABatchPrice(uint128(msg.value), quantity)
        );

        DA_MINTED = DA_MINTED+quantity;

        DA_WALLET_CAP[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);
    }

    function mintWL(uint8 quantity,bytes32[] memory proof)
        public
        payable
        onlyWlWhitelist(proof)
    {
    
        require(quantity > 0, "Must mint at least 1 token.");
        require(_isWLActive, "WL must be active to mint tokens");
        require(block.timestamp >= WL_START_TIME,"WL has not started yet!");
        require(block.timestamp < WL_END_TIME, "WL is over");
        require(WL_WALLET_CAP[msg.sender] + quantity <= WL_LIMIT, "Purchase would exceed max number of metacards per wallet."); 
        require(msg.value >= quantity * WL_PRICE,"Did not send enough eth.");
        require(WL_MINTED + quantity <= WL_AMOUNT,"Max supply for WL reached!");
        require(totalSupply() + quantity <= ALL_AMOUNT,"reached max supply");

        WL_MINTED = WL_MINTED + quantity;

        WL_WALLET_CAP[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);
    }

    function mintMain(uint8 quantity,bytes32[] memory proof)
        public
        payable
       onlyMainWhitelist(proof)
    {
        require(quantity > 0, "Must mint at least 1 token.");
        require(DA_FINAL_PRICE > 0, "Dutch action must be over!");
        require(_isMainActive, "Main must be active to mint tokens");
        require(block.timestamp < MAIN_END_TIME, "Main is over");
        require(MAIN_WALLET_CAP[msg.sender] + quantity <= MAIN_LIMIT, "Purchase would exceed max number of metacards per wallet."); 
        require(msg.value >= mainPrice() * quantity,"Must send enough eth for MAIN Mint");
        require(MAIN_MINTED + quantity <= MAIN_AMOUNT,"Max supply for MAIN reached!");
        require(totalSupply() + quantity <= ALL_AMOUNT,"reached max supply");

        MAIN_MINTED = MAIN_MINTED + quantity;

        MAIN_WALLET_CAP[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);

    }

     function mintExtra(uint8 quantity,bytes32[] memory proof)
        public
        payable
        onlyExtraWhitelist(proof)
    {
        require(quantity > 0, "Must mint at least 1 token.");
        require(DA_FINAL_PRICE > 0, "Dutch action must be over!");
        require(_isExtraActive, "Extra must be active to mint tokens");
        require(block.timestamp >= EXTRA_START_TIME,"Extra has not started yet!");
        require(EXTRA_WALLET_CAP[msg.sender] + quantity <= EXTRA_LIMIT, "Purchase would exceed max number of metacards per wallet."); 
        require(msg.value >= extraPrice()* quantity,"Must send enough eth for MAIN Mint");
        require(EXTRA_MINTED + quantity <= extraAmount(),"Max supply for EXTRA reached!");
        require(totalSupply() + quantity <= ALL_AMOUNT,"reached max supply");

        EXTRA_MINTED = EXTRA_MINTED + quantity;

        EXTRA_WALLET_CAP[msg.sender] += quantity;

        _safeMint(msg.sender, quantity);

    }

    function teamMint(bytes32[] memory proof) 
        public 
        onlyTeamWhitelist(proof) 
    {
        require(DA_FINAL_PRICE > 0, "Dutch action must be over!");
        require(_isTeamActive, "team must be active to mint tokens");
        require(TEAM_WALLET_CAP[msg.sender] + 1 <= TEAM_LIMIT, "Purchase would exceed max number of metacards per wallet."); 
        require(totalSupply() + 1 <= ALL_AMOUNT, "reached max supply");
       
        TEAM_MINTED = TEAM_MINTED + 1;

        TEAM_WALLET_CAP[msg.sender] += 1;

        _safeMint(msg.sender, 1);
    }


    function userToTokenBatchLength(address user)
        public
        view
        returns (uint256)
    {
        return userToDABatchPrice[user].length;
    }

    function refundExtraETH() public {
        require(DA_FINAL_PRICE > 0, "Dutch action must be over!");

        uint256 totalRefund;

        for (
            uint256 i = userToDABatchPrice[msg.sender].length;
            i > 0;
            i--
        ) {
            //This is what they should have paid if they bought at lowest price tier.
            uint256 expectedPrice = userToDABatchPrice[msg.sender][i - 1]
                .quantityMinted * DA_FINAL_PRICE;

            //What they paid - what they should have paid = refund.
            uint256 refund = userToDABatchPrice[msg.sender][i - 1]
                .pricePaid - expectedPrice;

            //Remove this tokenBatch
            userToDABatchPrice[msg.sender].pop();

            //Send them their extra monies.
            totalRefund += refund;
        }
        payable(msg.sender).transfer(totalRefund);
    }


    function getExtraETH(address user) public view returns (uint256){

        uint256 totalRefund;

        for (
            uint256 i = userToDABatchPrice[user].length;
            i > 0;
            i--
        ) {
            //This is what they should have paid if they bought at lowest price tier.
            uint256 expectedPrice = userToDABatchPrice[user][i - 1]
                .quantityMinted * DA_FINAL_PRICE;

            //What they paid - what they should have paid = refund.
            uint256 refund = userToDABatchPrice[user][i - 1]
                .pricePaid - expectedPrice;

            //Send them their extra monies.
            totalRefund += refund;
        }
        return totalRefund;

    }

    function withdrawInitialFunds() public onlyOwner nonReentrant {
        require(
            !INITIAL_FUNDS_WITHDRAWN,
            "Initial funds have already been withdrawn."
        );
        require(DA_FINAL_PRICE > 0, "DA has not finished!");
        uint256 WLFunds = WL_MINTED * WL_PRICE;
        uint256 DAFunds = DA_MINTED * DA_FINAL_PRICE;
        uint256 MAINFunds = MAIN_MINTED * mainPrice();
        uint256 EXTRAFunds = EXTRA_MINTED * extraPrice();
        uint256 initialFunds = DAFunds + WLFunds + MAINFunds + EXTRAFunds;
        INITIAL_FUNDS_WITHDRAWN = true;
        (bool succ, ) = payable(owner()).call{
            value: initialFunds
        }("");
        require(succ, "transfer failed");
    }

    function desirableInitialFunds() public view returns (uint256) {
        uint256 WLFunds = WL_MINTED * WL_PRICE;
        uint256 DAFunds = DA_MINTED * DA_FINAL_PRICE;
        uint256 MAINFunds = MAIN_MINTED * mainPrice();
        uint256 EXTRAFunds = EXTRA_MINTED * extraPrice();
        uint256 initialFunds = DAFunds + WLFunds + MAINFunds + EXTRAFunds;
        return initialFunds;
    }

   function withdraw() public onlyOwner nonReentrant {
        (bool succ, ) = payable(owner()).call{value: address(this).balance}('');
        require(succ, "transfer failed");
   }

    function setRevealData(bool _revealed,string memory _baseURI) public onlyOwner
    {
        REVEALED = _revealed;
        BASE_URI = _baseURI;
    }

    function setBaseURI(string memory _baseURI) public onlyOwner {
        BASE_URI = _baseURI;
    }

    function setRevealedURI(string memory _unrevealedURI) public onlyOwner {
        UNREVEALED_URI = _unrevealedURI;
    }

    function contractURI() public view returns (string memory) {
        return CONTRACT_URI;
    }

    function setContractURI(string memory _contractURI) public onlyOwner {
        CONTRACT_URI = _contractURI;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        if (REVEALED) {
            return
                string(abi.encodePacked(BASE_URI, Strings.toString(_tokenId), ".json"));
        } else {
            return UNREVEALED_URI;
        }
    }


    function setAllStartTime(uint256 wlTime,uint256 wlEndTime,uint256 daTime,uint256 daEndTime,uint256 extraTime) external onlyOwner {
        WL_START_TIME = wlTime;
        WL_END_TIME = wlEndTime;
        DA_START_TIME = daTime;
        DA_END_TIME = daEndTime;
        EXTRA_START_TIME = extraTime;
    }


    function flipAllState(bool isWLActive,bool isDAActive,bool isMainActive,bool isExtraActive,uint256 _st) external onlyOwner {
        _isWLActive = isWLActive;
        _isDAActive = isDAActive;
        _isMainActive = isMainActive;
        _isExtraActive = isExtraActive;
        STATE = _st;
    }

    function flipDAState() external onlyOwner {
        require(block.timestamp > DA_END_TIME, "DA has not finished!");
        require(DA_FINAL_PRICE == 0, "Price has been set!");
        _isDAActive = false;
        DA_FINAL_PRICE = DA_ENDING_PRICE;
        STATE = 3;
        MAIN_END_TIME = block.timestamp + MAIN_LAST_TIME;
    }


    function setState(uint256 _st) external onlyOwner {
        STATE = _st;
    }

}

File 2 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 14 : MerkleWhitelist.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";



contract MerkleWhitelist is Ownable {
  bytes32 public wlWhitelistMerkleRoot;
  bytes32 public mainWhitelistMerkleRoot;
  bytes32 public extraWhitelistMerkleRoot;
  bytes32 public teamWhitelistMerkleRoot;


  function _verifyWlSender(bytes32[] memory proof) internal view returns (bool) {
    return _verify(proof, _hash(msg.sender), wlWhitelistMerkleRoot);
  }

  function _verifyMainSender(bytes32[] memory proof) internal view returns (bool) {
    return _verify(proof, _hash(msg.sender), mainWhitelistMerkleRoot);
  }

  function _verifyExtraSender(bytes32[] memory proof) internal view returns (bool) {
    return _verify(proof, _hash(msg.sender), extraWhitelistMerkleRoot);
  }

   function _verifyTeamSender(bytes32[] memory proof) internal view returns (bool) {
    return _verify(proof, _hash(msg.sender), teamWhitelistMerkleRoot);
  }

  function _verify(bytes32[] memory proof, bytes32 addressHash, bytes32 whitelistMerkleRoot)
    internal
    pure
    returns (bool)
  {
    return MerkleProof.verify(proof, whitelistMerkleRoot, addressHash);
  }

  function _hash(address _address) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_address));
  }


  function setWlWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    wlWhitelistMerkleRoot = merkleRoot;
  }

  function setMainWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    mainWhitelistMerkleRoot = merkleRoot;
  }

  function setExtraWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    extraWhitelistMerkleRoot = merkleRoot;
  }

  function setTeamWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    teamWhitelistMerkleRoot = merkleRoot;
  }

  /*
  MODIFIER
  */
 modifier onlyWlWhitelist(bytes32[] memory proof) {
    require(_verifyWlSender(proof), "MerkleWhitelist: Caller is not whitelisted");
    _;
  }

  modifier onlyMainWhitelist(bytes32[] memory proof) {
    require(_verifyMainSender(proof), "MerkleWhitelist: Caller is not whitelisted");
    _;
  }
  
  modifier onlyExtraWhitelist(bytes32[] memory proof) {
    require(_verifyExtraSender(proof), "MerkleWhitelist: Caller is not whitelisted");
    _;
  }

  modifier onlyTeamWhitelist(bytes32[] memory proof) {
    require(_verifyTeamSender(proof), "MerkleWhitelist: Caller is not whitelisted");
    _;
  }
}

File 7 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ALL_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_DECREMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_DECREMENT_FREQUENCY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_ENDING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_FINAL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_STARTING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DA_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"DA_WALLET_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXTRA_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXTRA_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXTRA_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"EXTRA_WALLET_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_FUNDS_WITHDRAWN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAIN_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAIN_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAIN_LAST_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAIN_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAIN_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"MAIN_WALLET_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"TEAM_WALLET_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNREVEALED_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WL_WALLET_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"daInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"desirableInitialFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extraAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"extraInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extraPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extraWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isWLActive","type":"bool"},{"internalType":"bool","name":"isDAActive","type":"bool"},{"internalType":"bool","name":"isMainActive","type":"bool"},{"internalType":"bool","name":"isExtraActive","type":"bool"},{"internalType":"uint256","name":"_st","type":"uint256"}],"name":"flipAllState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipDAState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getExtraETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"mainInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mintDA","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintExtra","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintMain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundExtraETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wlTime","type":"uint256"},{"internalType":"uint256","name":"wlEndTime","type":"uint256"},{"internalType":"uint256","name":"daTime","type":"uint256"},{"internalType":"uint256","name":"daEndTime","type":"uint256"},{"internalType":"uint256","name":"extraTime","type":"uint256"}],"name":"setAllStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setExtraWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMainWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setRevealData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_st","type":"uint256"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setTeamWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWlWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userToDABatchPrice","outputs":[{"internalType":"uint128","name":"pricePaid","type":"uint128"},{"internalType":"uint8","name":"quantityMinted","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userToTokenBatchLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawInitialFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"wlInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

670429d069189e0000600e5567016345785d8a0000600f5566470de4df82000060105561038460115567011c37937e0800006013556102586014556113886015556107d0601655611e616017556362668f986018556362673858601955636267dec0601a5563626808f0601b55612a30601d556362683320601e55601f80547201000a00010005000300000000000000000000600160501b600160a01b03199091161790556025805464ffffffffff1916630101010117905560016027556028805460ff1916905560e0604052602b60808181529062004b2360a0398051620000f1916029916020909101906200021f565b506040518060600160405280602e815260200162004af5602e913980516200012291602b916020909101906200021f565b503480156200013057600080fd5b5060405180604001604052806008815260200167746f72697a65726f60c01b81525060405180604001604052806008815260200167544f52495a45524f60c01b8152506200018d62000187620001cb60201b60201c565b620001cf565b8151620001a29060039060208501906200021f565b508051620001b89060049060208401906200021f565b505060006001908155600d555062000302565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200022d90620002c5565b90600052602060002090601f0160209004810192826200025157600085556200029c565b82601f106200026c57805160ff19168380011785556200029c565b828001600101855582156200029c579182015b828111156200029c5782518255916020019190600101906200027f565b50620002aa929150620002ae565b5090565b5b80821115620002aa5760008155600101620002af565b600181811c90821680620002da57607f821691505b60208210811415620002fc57634e487b7160e01b600052602260045260246000fd5b50919050565b6147e380620003126000396000f3fe6080604052600436106105b75760003560e01c80638351764a116102ec578063c062aa891161018a578063d7b23268116100ec578063ec5904ef11610095578063f89d2e4d1161006f578063f89d2e4d14611083578063f9af76ab14611099578063ff7f4545146110ae57600080fd5b8063ec5904ef1461102d578063f2fde38b1461104d578063f5998ed81461106d57600080fd5b8063e8a3d485116100c6578063e8a3d48514610faf578063e985e9c514610fc4578063ec2d005b1461100d57600080fd5b8063d7b2326814610f64578063d81bd63514610f84578063dbddb26a14610f9a57600080fd5b8063cb30bc2e1161014e578063d287f14111610128578063d287f14114610f17578063d627349f14610f39578063d6c0b1b614610f4e57600080fd5b8063cb30bc2e14610ed1578063cda2f27514610ef1578063cfe560e014610f0457600080fd5b8063c062aa8914610e2f578063c0666e8d14610e44578063c2e1179914610e7a578063c486456c14610e9b578063c87b56dd14610eb157600080fd5b8063a92bc58a1161024e578063b8129371116101f7578063b9765a1f116101d1578063b9765a1f14610def578063bb79188314610e04578063bd882e9714610e1957600080fd5b8063b812937114610d8c578063b88d4fde14610da2578063b8b91cf914610dc257600080fd5b8063acad341811610228578063acad341814610d13578063afd10ab014610d35578063b70b1cd714610d4b57600080fd5b8063a92bc58a14610cbd578063a9e966b714610cdd578063aa22649814610cfd57600080fd5b806397f65c08116102b0578063a1fbe8b61161028a578063a1fbe8b614610c61578063a22cb46514610c83578063a76a958714610ca357600080fd5b806397f65c0814610c20578063996e52b514610c365780639d1b464a14610c4c57600080fd5b80638351764a14610b805780638da5cb5b14610bad578063938e3d7b14610bcb5780639557ac0214610beb57806395d89b4114610c0b57600080fd5b806339d94adc116104595780636352211e116103bb57806370c93f1a116103645780637529910a1161033e5780637529910a14610b1c57806378b004a214610b3c5780638175ca5614610b5e57600080fd5b806370c93f1a14610862578063715018a614610ada5780637295f79814610aef57600080fd5b806366431fcd1161039557806366431fcd14610a775780636f470b6c14610aa457806370a0823114610aba57600080fd5b80636352211e14610a1e5780636361659b14610a3e578063651464c014610a6157600080fd5b8063467d0bfa1161041d57806355f804b3116103f757806355f804b31461099757806356b4f673146109b757806358394ebb146109cc57600080fd5b8063467d0bfa1461094c57806349c2841714610962578063507862d11461098257600080fd5b806339d94adc146108995780633ccfd60b146108af5780633f296d49146108c4578063418633c1146108df57806342842e0e1461092c57600080fd5b8063204e656b1161051d578063301b4300116104c657806333e5bf2b116104a057806333e5bf2b1461084257806335cb510114610862578063368bf74e1461087757600080fd5b8063301b4300146107ec57806331c3c7a01461080c578063326d43881461082257600080fd5b806326bb2feb116104f757806326bb2feb146107b057806326d7c34d146107c35780632eae4741146107d657600080fd5b8063204e656b1461075757806323b872dd1461077a5780632432abe51461079a57600080fd5b80630dea28071161057f57806318160ddd1161055957806318160ddd146106f35780631de40d701461070c5780631e5d23fd1461074157600080fd5b80630dea28071461068d578063102d3e9b146106c757806314fa59da146106dd57600080fd5b806301ffc9a7146105bc57806306fdde03146105f1578063081812fc146106135780630906ad251461064b578063095ea7b31461066d575b600080fd5b3480156105c857600080fd5b506105dc6105d73660046142e0565b6110c4565b60405190151581526020015b60405180910390f35b3480156105fd57600080fd5b50610606611116565b6040516105e89190614515565b34801561061f57600080fd5b5061063361062e3660046142c8565b6111a8565b6040516001600160a01b0390911681526020016105e8565b34801561065757600080fd5b5061066b610666366004614221565b6111ec565b005b34801561067957600080fd5b5061066b6106883660046141c5565b61128d565b34801561069957600080fd5b506106b96106a836600461409c565b602080526000908152604090205481565b6040519081526020016105e8565b3480156106d357600080fd5b506106b9601a5481565b3480156106e957600080fd5b506106b960175481565b3480156106ff57600080fd5b50600254600154036106b9565b34801561071857600080fd5b50601f5461072e90600160301b900461ffff1681565b60405161ffff90911681526020016105e8565b34801561074d57600080fd5b506106b960155481565b34801561076357600080fd5b506025546105dc9065010000000000900460ff1681565b34801561078657600080fd5b5061066b6107953660046140e8565b61131b565b3480156107a657600080fd5b506106b9600b5481565b61066b6107be36600461439f565b611326565b61066b6107d1366004614385565b611698565b3480156107e257600080fd5b506106b9601b5481565b3480156107f857600080fd5b5061066b6108073660046142c8565b611a8b565b34801561081857600080fd5b506106b960135481565b34801561082e57600080fd5b5061066b61083d366004614318565b611ad8565b34801561084e57600080fd5b5061066b61085d3660046142c8565b611b33565b34801561086e57600080fd5b506106b9611b80565b34801561088357600080fd5b50601f5461072e90600160901b900461ffff1681565b3480156108a557600080fd5b506106b960145481565b3480156108bb57600080fd5b5061066b611ba1565b3480156108d057600080fd5b50601f5461072e9061ffff1681565b3480156108eb57600080fd5b506108ff6108fa36600461409c565b611cde565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0016105e8565b34801561093857600080fd5b5061066b6109473660046140e8565b611d3d565b34801561095857600080fd5b506106b960165481565b34801561096e57600080fd5b5061066b61097d36600461434b565b611d58565b34801561098e57600080fd5b50610606611db7565b3480156109a357600080fd5b5061066b6109b2366004614318565b611e45565b3480156109c357600080fd5b50610606611ea0565b3480156109d857600080fd5b506108ff6109e736600461409c565b601454601f546013546018546019546001600160a01b038616600090815260208052604090205461ffff9094169391939550919395565b348015610a2a57600080fd5b50610633610a393660046142c8565b611ead565b348015610a4a57600080fd5b50601f5461072e90640100000000900461ffff1681565b348015610a6d57600080fd5b506106b960185481565b348015610a8357600080fd5b506106b9610a9236600461409c565b60246020526000908152604090205481565b348015610ab057600080fd5b506106b9601e5481565b348015610ac657600080fd5b506106b9610ad536600461409c565b611ebf565b348015610ae657600080fd5b5061066b611f0e565b348015610afb57600080fd5b506106b9610b0a36600461409c565b60236020526000908152604090205481565b348015610b2857600080fd5b5061066b610b373660046142c8565b611f62565b348015610b4857600080fd5b50601f5461072e90600160501b900461ffff1681565b348015610b6a57600080fd5b50601f5461072e90600160601b900461ffff1681565b348015610b8c57600080fd5b506106b9610b9b36600461409c565b60226020526000908152604090205481565b348015610bb957600080fd5b506000546001600160a01b0316610633565b348015610bd757600080fd5b5061066b610be6366004614318565b611faf565b348015610bf757600080fd5b506108ff610c0636600461409c565b61200a565b348015610c1757600080fd5b5061060661206e565b348015610c2c57600080fd5b506106b9600f5481565b348015610c4257600080fd5b506106b960115481565b348015610c5857600080fd5b506106b961207d565b348015610c6d57600080fd5b50601f5461072e90600160401b900461ffff1681565b348015610c8f57600080fd5b5061066b610c9e36600461419c565b61210c565b348015610caf57600080fd5b506028546105dc9060ff1681565b348015610cc957600080fd5b506106b9610cd836600461409c565b6121a2565b348015610ce957600080fd5b5061066b610cf83660046142c8565b6122bb565b348015610d0957600080fd5b506106b960095481565b348015610d1f57600080fd5b50601f5461072e90600160801b900461ffff1681565b348015610d4157600080fd5b506106b9601c5481565b348015610d5757600080fd5b50610d6b610d663660046141c5565b612308565b604080516001600160801b03909316835260ff9091166020830152016105e8565b348015610d9857600080fd5b506106b960105481565b348015610dae57600080fd5b5061066b610dbd366004614123565b61234b565b348015610dce57600080fd5b506106b9610ddd36600461409c565b60216020526000908152604090205481565b348015610dfb57600080fd5b5061066b61239c565b348015610e1057600080fd5b506106b961256b565b348015610e2557600080fd5b506106b960195481565b348015610e3b57600080fd5b5061066b61261b565b348015610e5057600080fd5b506106b9610e5f36600461409c565b6001600160a01b031660009081526026602052604090205490565b348015610e8657600080fd5b50601f5461072e9062010000900461ffff1681565b348015610ea757600080fd5b506106b960275481565b348015610ebd57600080fd5b50610606610ecc3660046142c8565b612723565b348015610edd57600080fd5b5061066b610eec3660046141ee565b6127fa565b61066b610eff36600461439f565b6129e8565b61066b610f1236600461439f565b612d5f565b348015610f2357600080fd5b50601f5461072e90600160701b900461ffff1681565b348015610f4557600080fd5b5061066b61307b565b348015610f5a57600080fd5b506106b9600c5481565b348015610f7057600080fd5b5061066b610f7f36600461427c565b613342565b348015610f9057600080fd5b506106b9600a5481565b348015610fa657600080fd5b506106066133ab565b348015610fbb57600080fd5b506106066133b8565b348015610fd057600080fd5b506105dc610fdf3660046140b6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561101957600080fd5b506108ff61102836600461409c565b6133c7565b34801561103957600080fd5b5061066b6110483660046142c8565b613426565b34801561105957600080fd5b5061066b61106836600461409c565b613473565b34801561107957600080fd5b506106b960125481565b34801561108f57600080fd5b506106b9600e5481565b3480156110a557600080fd5b506106b961352c565b3480156110ba57600080fd5b506106b9601d5481565b60006001600160e01b031982166380ac58cd60e01b14806110f557506001600160e01b03198216635b5e139f60e01b145b8061111057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054611125906146cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611151906146cb565b801561119e5780601f106111735761010080835404028352916020019161119e565b820191906000526020600020905b81548152906001019060200180831161118157829003601f168201915b5050505050905090565b60006111b382613589565b6111d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000546001600160a01b031633146112395760405162461bcd60e51b8152602060048201819052602482015260008051602061478e83398151915260448201526064015b60405180910390fd5b6025805492151563010000000263ff0000001994151562010000029490941663ffff0000199515156101000261ff00199715159790971661ffff199094169390931795909517939093161717909155602755565b600061129882611ead565b9050806001600160a01b0316836001600160a01b031614156112cd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906112ed57506112eb8133610fdf565b155b1561130b576040516367d9dca160e11b815260040160405180910390fd5b6113168383836135b5565b505050565b611316838383613611565b8061133081613801565b61134c5760405162461bcd60e51b815260040161123090614585565b60008360ff161161139f5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b6000601254116113f15760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b60255462010000900460ff166114545760405162461bcd60e51b815260206004820152602260248201527f4d61696e206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b6064820152608401611230565b601c5442106114945760405162461bcd60e51b815260206004820152600c60248201526b26b0b4b71034b99037bb32b960a11b6044820152606401611230565b601f5433600090815260226020526040902054600160701b90910461ffff16906114c29060ff861690614626565b11156114e05760405162461bcd60e51b815260040161123090614528565b8260ff166114ec611b80565b6114f69190614652565b3410156115505760405162461bcd60e51b815260206004820152602260248201527f4d7573742073656e6420656e6f7567682065746820666f72204d41494e204d696044820152611b9d60f21b6064820152608401611230565b601654601f546115709060ff861690640100000000900461ffff16614600565b61ffff1611156115c25760405162461bcd60e51b815260206004820152601c60248201527f4d617820737570706c7920666f72204d41494e207265616368656421000000006044820152606401611230565b6017548360ff166115d66002546001540390565b6115e09190614626565b11156116235760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f546116409060ff851690640100000000900461ffff16614600565b601f805461ffff929092166401000000000265ffff0000000019909216919091179055336000908152602260205260408120805460ff86169290611685908490614626565b9091555061131690503360ff8516613818565b60008160ff16116116eb5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b602554610100900460ff166117425760405162461bcd60e51b815260206004820181905260248201527f4441206d7573742062652061637469766520746f206d696e7420746f6b656e736044820152606401611230565b601a544210156117945760405162461bcd60e51b815260206004820152601360248201527f444120686173206e6f74207374617274656421000000000000000000000000006044820152606401611230565b601b5442106117d25760405162461bcd60e51b815260206004820152600a60248201526922209034b99037bb32b960b11b6044820152606401611230565b601f5433600090815260216020526040902054600160601b90910461ffff16906118009060ff841690614626565b111561181e5760405162461bcd60e51b815260040161123090614528565b600061182861207d565b90506118378160ff8416614652565b3410156118865760405162461bcd60e51b815260206004820152601860248201527f446964206e6f742073656e6420656e6f756768206574682e00000000000000006044820152606401611230565b601554601f546118a49060ff85169062010000900461ffff16614600565b61ffff1611156118f65760405162461bcd60e51b815260206004820152601a60248201527f4d617820737570706c7920666f722044412072656163686564210000000000006044820152606401611230565b6017548260ff1661190a6002546001540390565b6119149190614626565b11156119575760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601554601f546119759060ff85169062010000900461ffff16614600565b61ffff1614156119a5576025805461ff00191690556012819055601d5461199c9042614626565b601c5560036027555b33600090815260266020908152604080832081518083019092526001600160801b03348116835260ff80881684860181815284546001810186559488529590962093519390920180549451909216600160801b0270ffffffffffffffffffffffffffffffffff19909416921691909117919091179055601f54611a33919061ffff6201000090910416614600565b601f805461ffff92909216620100000263ffff000019909216919091179055336000908152602160205260408120805460ff85169290611a74908490614626565b90915550611a8790503360ff8416613818565b5050565b6000546001600160a01b03163314611ad35760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600a55565b6000546001600160a01b03163314611b205760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a87906029906020840190613eca565b6000546001600160a01b03163314611b7b5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600c55565b60006064601254611b91919061463e565b611b9c906050614652565b905090565b6000546001600160a01b03163314611be95760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6002600d541415611c3c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611230565b6002600d55600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114611c8e576040519150601f19603f3d011682016040523d82523d6000602084013e611c93565b606091505b5050905080611cd65760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401611230565b506001600d55565b600080600080600080611cef61352c565b601f54600160301b900461ffff16611d05611b80565b601e546001600160a01b039a909a16600090815260236020526040812054939b61ffff939093169a9199509097509550909350915050565b6113168383836040518060200160405280600081525061234b565b6000546001600160a01b03163314611da05760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b601894909455601992909255601a55601b55601e55565b60298054611dc4906146cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611df0906146cb565b8015611e3d5780601f10611e1257610100808354040283529160200191611e3d565b820191906000526020600020905b815481529060010190602001808311611e2057829003601f168201915b505050505081565b6000546001600160a01b03163314611e8d5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a8790602a906020840190613eca565b602b8054611dc4906146cb565b6000611eb882613832565b5192915050565b60006001600160a01b038216611ee8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314611f565760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b611f60600061394e565b565b6000546001600160a01b03163314611faa5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600b55565b6000546001600160a01b03163314611ff75760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a8790602b906020840190613eca565b600080600080600080601654601f60049054906101000a900461ffff1661202f611b80565b61203761352c565b601c546001600160a01b039b909b16600090815260226020526040902054939b61ffff939093169a91995097509550909350915050565b606060048054611125906146cb565b6000601a544210156120905750600e5490565b6012541561209f575060125490565b6000601a54426120af9190614671565b90506000601154826120c1919061463e565b90506000601054826120d39190614652565b9050600f54600e546120e59190614671565b81106120f657600f54935050505090565b80600e546121049190614671565b935050505090565b6001600160a01b0382163314156121365760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526026602052604081205481905b80156122b4576012546001600160a01b03851660009081526026602052604081209091906121ed600185614671565b8154811061220b57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461222b9190600160801b900460ff16614652565b6001600160a01b0386166000908152602660205260408120919250908290612254600186614671565b8154811061227257634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461229191906001600160801b0316614671565b905061229d8185614626565b9350505080806122ac906146b4565b9150506121be565b5092915050565b6000546001600160a01b031633146123035760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b602755565b6026602052816000526040600020818154811061232457600080fd5b6000918252602090912001546001600160801b0381169250600160801b900460ff16905082565b612356848484613611565b6001600160a01b0383163b1515801561237857506123768484848461399e565b155b15612396576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000601254116123ee5760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b336000908152602660205260408120545b801561253d57601254336000908152602660205260408120909190612425600185614671565b8154811061244357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546124639190600160801b900460ff16614652565b336000908152602660205260408120919250908290612483600186614671565b815481106124a157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546124c091906001600160801b0316614671565b336000908152602660205260409020805491925090806124f057634e487b7160e01b600052603160045260246000fd5b6000828152602090208101600019908101805470ffffffffffffffffffffffffffffffffff191690550190556125268185614626565b935050508080612535906146b4565b9150506123ff565b50604051339082156108fc029083906000818181858888f19350505050158015611a87573d6000803e3d6000fd5b601354601f546000918291612584919061ffff16614652565b601254601f549192506000916125a4919062010000900461ffff16614652565b905060006125b0611b80565b601f546125c99190640100000000900461ffff16614652565b905060006125d5611b80565b601f546125ed9190600160301b900461ffff16614652565b9050600081836125fd8787614626565b6126079190614626565b6126119190614626565b9695505050505050565b6000546001600160a01b031633146126635760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b601b5442116126ab5760405162461bcd60e51b8152602060048201526014602482015273444120686173206e6f742066696e69736865642160601b6044820152606401611230565b601254156126fb5760405162461bcd60e51b815260206004820152601360248201527f507269636520686173206265656e2073657421000000000000000000000000006044820152606401611230565b6025805461ff0019169055600f546012556003602755601d5461271e9042614626565b601c55565b60285460609060ff161561276357602a61273c83613a96565b60405160200161274d929190614429565b6040516020818303038152906040529050919050565b60298054612770906146cb565b80601f016020809104026020016040519081016040528092919081815260200182805461279c906146cb565b80156127e95780601f106127be576101008083540402835291602001916127e9565b820191906000526020600020905b8154815290600101906020018083116127cc57829003601f168201915b50505050509050919050565b919050565b8061280481613bc8565b6128205760405162461bcd60e51b815260040161123090614585565b6000601254116128725760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b602554640100000000900460ff166128d75760405162461bcd60e51b815260206004820152602260248201527f7465616d206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b6064820152608401611230565b601f5433600090815260246020526040902054600160901b90910461ffff1690612902906001614626565b11156129205760405162461bcd60e51b815260040161123090614528565b60175460025460015403612935906001614626565b11156129785760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f5461299190600160401b900461ffff166001614600565b601f805461ffff92909216600160401b0269ffff0000000000000000199092169190911790553360009081526024602052604081208054600192906129d7908490614626565b90915550611a879050336001613818565b806129f281613bdf565b612a0e5760405162461bcd60e51b815260040161123090614585565b60008360ff1611612a615760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b600060125411612ab35760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b6025546301000000900460ff16612b185760405162461bcd60e51b815260206004820152602360248201527f4578747261206d7573742062652061637469766520746f206d696e7420746f6b604482015262656e7360e81b6064820152608401611230565b601e54421015612b6a5760405162461bcd60e51b815260206004820152601a60248201527f457874726120686173206e6f74207374617274656420796574210000000000006044820152606401611230565b601f5433600090815260236020526040902054600160801b90910461ffff1690612b989060ff861690614626565b1115612bb65760405162461bcd60e51b815260040161123090614528565b8260ff16612bc2611b80565b612bcc9190614652565b341015612c265760405162461bcd60e51b815260206004820152602260248201527f4d7573742073656e6420656e6f7567682065746820666f72204d41494e204d696044820152611b9d60f21b6064820152608401611230565b612c2e61352c565b601f54612c4a9060ff861690600160301b900461ffff16614600565b61ffff161115612c9c5760405162461bcd60e51b815260206004820152601d60248201527f4d617820737570706c7920666f722045585452412072656163686564210000006044820152606401611230565b6017548360ff16612cb06002546001540390565b612cba9190614626565b1115612cfd5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f54612d199060ff851690600160301b900461ffff16614600565b601f805461ffff92909216600160301b0267ffff00000000000019909216919091179055336000908152602360205260408120805460ff86169290611685908490614626565b80612d6981613bf6565b612d855760405162461bcd60e51b815260040161123090614585565b60008360ff1611612dd85760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b60255460ff16612e2a5760405162461bcd60e51b815260206004820181905260248201527f574c206d7573742062652061637469766520746f206d696e7420746f6b656e736044820152606401611230565b601854421015612e7c5760405162461bcd60e51b815260206004820152601760248201527f574c20686173206e6f74207374617274656420796574210000000000000000006044820152606401611230565b6019544210612eba5760405162461bcd60e51b815260206004820152600a6024820152692ba61034b99037bb32b960b11b6044820152606401611230565b601f54336000908152602080526040902054600160501b90910461ffff1690612ee79060ff861690614626565b1115612f055760405162461bcd60e51b815260040161123090614528565b601354612f159060ff8516614652565b341015612f645760405162461bcd60e51b815260206004820152601860248201527f446964206e6f742073656e6420656e6f756768206574682e00000000000000006044820152606401611230565b601454601f54612f7c9060ff86169061ffff16614600565b61ffff161115612fce5760405162461bcd60e51b815260206004820152601a60248201527f4d617820737570706c7920666f7220574c2072656163686564210000000000006044820152606401611230565b6017548360ff16612fe26002546001540390565b612fec9190614626565b111561302f5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f546130449060ff85169061ffff16614600565b601f805461ffff191661ffff929092169190911790553360009081526020805260408120805460ff86169290611685908490614626565b6000546001600160a01b031633146130c35760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6002600d5414156131165760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611230565b6002600d5560255465010000000000900460ff161561318a5760405162461bcd60e51b815260206004820152602a60248201527f496e697469616c2066756e6473206861766520616c7265616479206265656e206044820152693bb4ba34323930bbb71760b11b6064820152608401611230565b6000601254116131d35760405162461bcd60e51b8152602060048201526014602482015273444120686173206e6f742066696e69736865642160601b6044820152606401611230565b601354601f546000916131e99161ffff16614652565b601254601f54919250600091613209919062010000900461ffff16614652565b90506000613215611b80565b601f5461322e9190640100000000900461ffff16614652565b9050600061323a611b80565b601f546132529190600160301b900461ffff16614652565b9050600081836132628787614626565b61326c9190614626565b6132769190614626565b6025805465ff0000000000191665010000000000179055905060006132a36000546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146132ed576040519150601f19603f3d011682016040523d82523d6000602084013e6132f2565b606091505b50509050806133355760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401611230565b50506001600d5550505050565b6000546001600160a01b0316331461338a5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6028805460ff1916831515179055805161131690602a906020840190613eca565b602a8054611dc4906146cb565b6060602b8054611125906146cb565b600080600080600080601554601f60029054906101000a900461ffff166133ec61207d565b601a54601b546001600160a01b039b909b16600090815260216020526040902054939b61ffff939093169a91995097509550909350915050565b6000546001600160a01b0316331461346e5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600955565b6000546001600160a01b031633146134bb5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6001600160a01b0381166135205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611230565b6135298161394e565b50565b601f5460165460155460145460009361ffff640100000000820481169462010000830482169491909216926135619190614626565b61356b9190614626565b6135759190614671565b61357f9190614671565b611b9c9190614671565b600060015482108015611110575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061361c82613832565b9050836001600160a01b031681600001516001600160a01b0316146136535760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061367157506136718533610fdf565b8061368c575033613681846111a8565b6001600160a01b0316145b9050806136ac57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166136d357604051633a954ecd60e21b815260040160405180910390fd5b6136df600084876135b5565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166137b55760015482146137b5578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006111108261381033613c0d565b600a54613c4c565b611a87828260405180602001604052806000815250613c59565b60408051606081018252600080825260208201819052918101919091528160015481101561393557600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906139335780516001600160a01b0316156138c9579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561392e579392505050565b6138c9565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906139d39033908990889088906004016144e3565b602060405180830381600087803b1580156139ed57600080fd5b505af1925050508015613a1d575060408051601f3d908101601f19168201909252613a1a918101906142fc565b60015b613a78573d808015613a4b576040519150601f19603f3d011682016040523d82523d6000602084013e613a50565b606091505b508051613a70576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081613aba5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613ae45780613ace81614706565b9150613add9050600a8361463e565b9150613abe565b60008167ffffffffffffffff811115613b0d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b37576020820181803683370190505b5090505b8415613a8e57613b4c600183614671565b9150613b59600a86614721565b613b64906030614626565b60f81b818381518110613b8757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613bc1600a8661463e565b9450613b3b565b600061111082613bd733613c0d565b600c54613c4c565b600061111082613bee33613c0d565b600b54613c4c565b600061111082613c0533613c0d565b600954613c4c565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b6000613a8e848385613c66565b6113168383836001613c7c565b600082613c738584613e48565b14949350505050565b6001546001600160a01b038516613ca557604051622e076360e81b815260040160405180910390fd5b83613cc35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015613d7057506001600160a01b0387163b15155b15613df9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613dc1600088848060010195508861399e565b613dde576040516368d2bf6b60e11b815260040160405180910390fd5b80821415613d76578260015414613df457600080fd5b613e3f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415613dfa575b506001556137fa565b600081815b8451811015613ec2576000858281518110613e7857634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613e9e5760008381526020829052604090209250613eaf565b600081815260208490526040902092505b5080613eba81614706565b915050613e4d565b509392505050565b828054613ed6906146cb565b90600052602060002090601f016020900481019282613ef85760008555613f3e565b82601f10613f1157805160ff1916838001178555613f3e565b82800160010185558215613f3e579182015b82811115613f3e578251825591602001919060010190613f23565b50613f4a929150613f4e565b5090565b5b80821115613f4a5760008155600101613f4f565b600067ffffffffffffffff831115613f7d57613f7d614761565b613f90601f8401601f19166020016145cf565b9050828152838383011115613fa457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127f557600080fd5b600082601f830112613fe2578081fd5b8135602067ffffffffffffffff821115613ffe57613ffe614761565b8160051b61400d8282016145cf565b838152828101908684018388018501891015614027578687fd5b8693505b8584101561404957803583526001939093019291840191840161402b565b50979650505050505050565b803580151581146127f557600080fd5b600082601f830112614075578081fd5b61408483833560208501613f63565b9392505050565b803560ff811681146127f557600080fd5b6000602082840312156140ad578081fd5b61408482613fbb565b600080604083850312156140c8578081fd5b6140d183613fbb565b91506140df60208401613fbb565b90509250929050565b6000806000606084860312156140fc578081fd5b61410584613fbb565b925061411360208501613fbb565b9150604084013590509250925092565b60008060008060808587031215614138578081fd5b61414185613fbb565b935061414f60208601613fbb565b925060408501359150606085013567ffffffffffffffff811115614171578182fd5b8501601f81018713614181578182fd5b61419087823560208401613f63565b91505092959194509250565b600080604083850312156141ae578182fd5b6141b783613fbb565b91506140df60208401614055565b600080604083850312156141d7578182fd5b6141e083613fbb565b946020939093013593505050565b6000602082840312156141ff578081fd5b813567ffffffffffffffff811115614215578182fd5b613a8e84828501613fd2565b600080600080600060a08688031215614238578081fd5b61424186614055565b945061424f60208701614055565b935061425d60408701614055565b925061426b60608701614055565b949793965091946080013592915050565b6000806040838503121561428e578182fd5b61429783614055565b9150602083013567ffffffffffffffff8111156142b2578182fd5b6142be85828601614065565b9150509250929050565b6000602082840312156142d9578081fd5b5035919050565b6000602082840312156142f1578081fd5b813561408481614777565b60006020828403121561430d578081fd5b815161408481614777565b600060208284031215614329578081fd5b813567ffffffffffffffff81111561433f578182fd5b613a8e84828501614065565b600080600080600060a08688031215614362578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208284031215614396578081fd5b6140848261408b565b600080604083850312156143b1578182fd5b6143ba8361408b565b9150602083013567ffffffffffffffff8111156143d5578182fd5b6142be85828601613fd2565b600081518084526143f9816020860160208601614688565b601f01601f19169290920160200192915050565b6000815161441f818560208601614688565b9290920192915050565b600080845482600182811c91508083168061444557607f831692505b602080841082141561446557634e487b7160e01b87526022600452602487fd5b818015614479576001811461448a576144b6565b60ff198616895284890196506144b6565b60008b815260209020885b868110156144ae5781548b820152908501908301614495565b505084890196505b5050505050506144da6144c9828661440d565b64173539b7b760d91b815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261261160808301846143e1565b60208152600061408460208301846143e1565b60208082526039908201527f507572636861736520776f756c6420657863656564206d6178206e756d62657260408201527f206f66206d6574616361726473207065722077616c6c65742e00000000000000606082015260800190565b6020808252602a908201527f4d65726b6c6557686974656c6973743a2043616c6c6572206973206e6f7420776040820152691a1a5d195b1a5cdd195960b21b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156145f8576145f8614761565b604052919050565b600061ffff80831681851680830382111561461d5761461d614735565b01949350505050565b6000821982111561463957614639614735565b500190565b60008261464d5761464d61474b565b500490565b600081600019048311821515161561466c5761466c614735565b500290565b60008282101561468357614683614735565b500390565b60005b838110156146a357818101518382015260200161468b565b838111156123965750506000910152565b6000816146c3576146c3614735565b506000190190565b600181811c908216806146df57607f821691505b6020821081141561470057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561471a5761471a614735565b5060010190565b6000826147305761473061474b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461352957600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b2f926ae7bb75838e3d9e2ae901edf031953d9dfc0d58f6f7492d94ea138731364736f6c6343000804003368747470733a2f2f646174612e746f72697a65726f2e636f6d2f6170692f636f6e747261637475726c2e6a736f6e68747470733a2f2f646174612e746f72697a65726f2e636f6d2f746f72697a65726f2f626f782e6a736f6e

Deployed Bytecode

0x6080604052600436106105b75760003560e01c80638351764a116102ec578063c062aa891161018a578063d7b23268116100ec578063ec5904ef11610095578063f89d2e4d1161006f578063f89d2e4d14611083578063f9af76ab14611099578063ff7f4545146110ae57600080fd5b8063ec5904ef1461102d578063f2fde38b1461104d578063f5998ed81461106d57600080fd5b8063e8a3d485116100c6578063e8a3d48514610faf578063e985e9c514610fc4578063ec2d005b1461100d57600080fd5b8063d7b2326814610f64578063d81bd63514610f84578063dbddb26a14610f9a57600080fd5b8063cb30bc2e1161014e578063d287f14111610128578063d287f14114610f17578063d627349f14610f39578063d6c0b1b614610f4e57600080fd5b8063cb30bc2e14610ed1578063cda2f27514610ef1578063cfe560e014610f0457600080fd5b8063c062aa8914610e2f578063c0666e8d14610e44578063c2e1179914610e7a578063c486456c14610e9b578063c87b56dd14610eb157600080fd5b8063a92bc58a1161024e578063b8129371116101f7578063b9765a1f116101d1578063b9765a1f14610def578063bb79188314610e04578063bd882e9714610e1957600080fd5b8063b812937114610d8c578063b88d4fde14610da2578063b8b91cf914610dc257600080fd5b8063acad341811610228578063acad341814610d13578063afd10ab014610d35578063b70b1cd714610d4b57600080fd5b8063a92bc58a14610cbd578063a9e966b714610cdd578063aa22649814610cfd57600080fd5b806397f65c08116102b0578063a1fbe8b61161028a578063a1fbe8b614610c61578063a22cb46514610c83578063a76a958714610ca357600080fd5b806397f65c0814610c20578063996e52b514610c365780639d1b464a14610c4c57600080fd5b80638351764a14610b805780638da5cb5b14610bad578063938e3d7b14610bcb5780639557ac0214610beb57806395d89b4114610c0b57600080fd5b806339d94adc116104595780636352211e116103bb57806370c93f1a116103645780637529910a1161033e5780637529910a14610b1c57806378b004a214610b3c5780638175ca5614610b5e57600080fd5b806370c93f1a14610862578063715018a614610ada5780637295f79814610aef57600080fd5b806366431fcd1161039557806366431fcd14610a775780636f470b6c14610aa457806370a0823114610aba57600080fd5b80636352211e14610a1e5780636361659b14610a3e578063651464c014610a6157600080fd5b8063467d0bfa1161041d57806355f804b3116103f757806355f804b31461099757806356b4f673146109b757806358394ebb146109cc57600080fd5b8063467d0bfa1461094c57806349c2841714610962578063507862d11461098257600080fd5b806339d94adc146108995780633ccfd60b146108af5780633f296d49146108c4578063418633c1146108df57806342842e0e1461092c57600080fd5b8063204e656b1161051d578063301b4300116104c657806333e5bf2b116104a057806333e5bf2b1461084257806335cb510114610862578063368bf74e1461087757600080fd5b8063301b4300146107ec57806331c3c7a01461080c578063326d43881461082257600080fd5b806326bb2feb116104f757806326bb2feb146107b057806326d7c34d146107c35780632eae4741146107d657600080fd5b8063204e656b1461075757806323b872dd1461077a5780632432abe51461079a57600080fd5b80630dea28071161057f57806318160ddd1161055957806318160ddd146106f35780631de40d701461070c5780631e5d23fd1461074157600080fd5b80630dea28071461068d578063102d3e9b146106c757806314fa59da146106dd57600080fd5b806301ffc9a7146105bc57806306fdde03146105f1578063081812fc146106135780630906ad251461064b578063095ea7b31461066d575b600080fd5b3480156105c857600080fd5b506105dc6105d73660046142e0565b6110c4565b60405190151581526020015b60405180910390f35b3480156105fd57600080fd5b50610606611116565b6040516105e89190614515565b34801561061f57600080fd5b5061063361062e3660046142c8565b6111a8565b6040516001600160a01b0390911681526020016105e8565b34801561065757600080fd5b5061066b610666366004614221565b6111ec565b005b34801561067957600080fd5b5061066b6106883660046141c5565b61128d565b34801561069957600080fd5b506106b96106a836600461409c565b602080526000908152604090205481565b6040519081526020016105e8565b3480156106d357600080fd5b506106b9601a5481565b3480156106e957600080fd5b506106b960175481565b3480156106ff57600080fd5b50600254600154036106b9565b34801561071857600080fd5b50601f5461072e90600160301b900461ffff1681565b60405161ffff90911681526020016105e8565b34801561074d57600080fd5b506106b960155481565b34801561076357600080fd5b506025546105dc9065010000000000900460ff1681565b34801561078657600080fd5b5061066b6107953660046140e8565b61131b565b3480156107a657600080fd5b506106b9600b5481565b61066b6107be36600461439f565b611326565b61066b6107d1366004614385565b611698565b3480156107e257600080fd5b506106b9601b5481565b3480156107f857600080fd5b5061066b6108073660046142c8565b611a8b565b34801561081857600080fd5b506106b960135481565b34801561082e57600080fd5b5061066b61083d366004614318565b611ad8565b34801561084e57600080fd5b5061066b61085d3660046142c8565b611b33565b34801561086e57600080fd5b506106b9611b80565b34801561088357600080fd5b50601f5461072e90600160901b900461ffff1681565b3480156108a557600080fd5b506106b960145481565b3480156108bb57600080fd5b5061066b611ba1565b3480156108d057600080fd5b50601f5461072e9061ffff1681565b3480156108eb57600080fd5b506108ff6108fa36600461409c565b611cde565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0016105e8565b34801561093857600080fd5b5061066b6109473660046140e8565b611d3d565b34801561095857600080fd5b506106b960165481565b34801561096e57600080fd5b5061066b61097d36600461434b565b611d58565b34801561098e57600080fd5b50610606611db7565b3480156109a357600080fd5b5061066b6109b2366004614318565b611e45565b3480156109c357600080fd5b50610606611ea0565b3480156109d857600080fd5b506108ff6109e736600461409c565b601454601f546013546018546019546001600160a01b038616600090815260208052604090205461ffff9094169391939550919395565b348015610a2a57600080fd5b50610633610a393660046142c8565b611ead565b348015610a4a57600080fd5b50601f5461072e90640100000000900461ffff1681565b348015610a6d57600080fd5b506106b960185481565b348015610a8357600080fd5b506106b9610a9236600461409c565b60246020526000908152604090205481565b348015610ab057600080fd5b506106b9601e5481565b348015610ac657600080fd5b506106b9610ad536600461409c565b611ebf565b348015610ae657600080fd5b5061066b611f0e565b348015610afb57600080fd5b506106b9610b0a36600461409c565b60236020526000908152604090205481565b348015610b2857600080fd5b5061066b610b373660046142c8565b611f62565b348015610b4857600080fd5b50601f5461072e90600160501b900461ffff1681565b348015610b6a57600080fd5b50601f5461072e90600160601b900461ffff1681565b348015610b8c57600080fd5b506106b9610b9b36600461409c565b60226020526000908152604090205481565b348015610bb957600080fd5b506000546001600160a01b0316610633565b348015610bd757600080fd5b5061066b610be6366004614318565b611faf565b348015610bf757600080fd5b506108ff610c0636600461409c565b61200a565b348015610c1757600080fd5b5061060661206e565b348015610c2c57600080fd5b506106b9600f5481565b348015610c4257600080fd5b506106b960115481565b348015610c5857600080fd5b506106b961207d565b348015610c6d57600080fd5b50601f5461072e90600160401b900461ffff1681565b348015610c8f57600080fd5b5061066b610c9e36600461419c565b61210c565b348015610caf57600080fd5b506028546105dc9060ff1681565b348015610cc957600080fd5b506106b9610cd836600461409c565b6121a2565b348015610ce957600080fd5b5061066b610cf83660046142c8565b6122bb565b348015610d0957600080fd5b506106b960095481565b348015610d1f57600080fd5b50601f5461072e90600160801b900461ffff1681565b348015610d4157600080fd5b506106b9601c5481565b348015610d5757600080fd5b50610d6b610d663660046141c5565b612308565b604080516001600160801b03909316835260ff9091166020830152016105e8565b348015610d9857600080fd5b506106b960105481565b348015610dae57600080fd5b5061066b610dbd366004614123565b61234b565b348015610dce57600080fd5b506106b9610ddd36600461409c565b60216020526000908152604090205481565b348015610dfb57600080fd5b5061066b61239c565b348015610e1057600080fd5b506106b961256b565b348015610e2557600080fd5b506106b960195481565b348015610e3b57600080fd5b5061066b61261b565b348015610e5057600080fd5b506106b9610e5f36600461409c565b6001600160a01b031660009081526026602052604090205490565b348015610e8657600080fd5b50601f5461072e9062010000900461ffff1681565b348015610ea757600080fd5b506106b960275481565b348015610ebd57600080fd5b50610606610ecc3660046142c8565b612723565b348015610edd57600080fd5b5061066b610eec3660046141ee565b6127fa565b61066b610eff36600461439f565b6129e8565b61066b610f1236600461439f565b612d5f565b348015610f2357600080fd5b50601f5461072e90600160701b900461ffff1681565b348015610f4557600080fd5b5061066b61307b565b348015610f5a57600080fd5b506106b9600c5481565b348015610f7057600080fd5b5061066b610f7f36600461427c565b613342565b348015610f9057600080fd5b506106b9600a5481565b348015610fa657600080fd5b506106066133ab565b348015610fbb57600080fd5b506106066133b8565b348015610fd057600080fd5b506105dc610fdf3660046140b6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561101957600080fd5b506108ff61102836600461409c565b6133c7565b34801561103957600080fd5b5061066b6110483660046142c8565b613426565b34801561105957600080fd5b5061066b61106836600461409c565b613473565b34801561107957600080fd5b506106b960125481565b34801561108f57600080fd5b506106b9600e5481565b3480156110a557600080fd5b506106b961352c565b3480156110ba57600080fd5b506106b9601d5481565b60006001600160e01b031982166380ac58cd60e01b14806110f557506001600160e01b03198216635b5e139f60e01b145b8061111057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054611125906146cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611151906146cb565b801561119e5780601f106111735761010080835404028352916020019161119e565b820191906000526020600020905b81548152906001019060200180831161118157829003601f168201915b5050505050905090565b60006111b382613589565b6111d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000546001600160a01b031633146112395760405162461bcd60e51b8152602060048201819052602482015260008051602061478e83398151915260448201526064015b60405180910390fd5b6025805492151563010000000263ff0000001994151562010000029490941663ffff0000199515156101000261ff00199715159790971661ffff199094169390931795909517939093161717909155602755565b600061129882611ead565b9050806001600160a01b0316836001600160a01b031614156112cd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906112ed57506112eb8133610fdf565b155b1561130b576040516367d9dca160e11b815260040160405180910390fd5b6113168383836135b5565b505050565b611316838383613611565b8061133081613801565b61134c5760405162461bcd60e51b815260040161123090614585565b60008360ff161161139f5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b6000601254116113f15760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b60255462010000900460ff166114545760405162461bcd60e51b815260206004820152602260248201527f4d61696e206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b6064820152608401611230565b601c5442106114945760405162461bcd60e51b815260206004820152600c60248201526b26b0b4b71034b99037bb32b960a11b6044820152606401611230565b601f5433600090815260226020526040902054600160701b90910461ffff16906114c29060ff861690614626565b11156114e05760405162461bcd60e51b815260040161123090614528565b8260ff166114ec611b80565b6114f69190614652565b3410156115505760405162461bcd60e51b815260206004820152602260248201527f4d7573742073656e6420656e6f7567682065746820666f72204d41494e204d696044820152611b9d60f21b6064820152608401611230565b601654601f546115709060ff861690640100000000900461ffff16614600565b61ffff1611156115c25760405162461bcd60e51b815260206004820152601c60248201527f4d617820737570706c7920666f72204d41494e207265616368656421000000006044820152606401611230565b6017548360ff166115d66002546001540390565b6115e09190614626565b11156116235760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f546116409060ff851690640100000000900461ffff16614600565b601f805461ffff929092166401000000000265ffff0000000019909216919091179055336000908152602260205260408120805460ff86169290611685908490614626565b9091555061131690503360ff8516613818565b60008160ff16116116eb5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b602554610100900460ff166117425760405162461bcd60e51b815260206004820181905260248201527f4441206d7573742062652061637469766520746f206d696e7420746f6b656e736044820152606401611230565b601a544210156117945760405162461bcd60e51b815260206004820152601360248201527f444120686173206e6f74207374617274656421000000000000000000000000006044820152606401611230565b601b5442106117d25760405162461bcd60e51b815260206004820152600a60248201526922209034b99037bb32b960b11b6044820152606401611230565b601f5433600090815260216020526040902054600160601b90910461ffff16906118009060ff841690614626565b111561181e5760405162461bcd60e51b815260040161123090614528565b600061182861207d565b90506118378160ff8416614652565b3410156118865760405162461bcd60e51b815260206004820152601860248201527f446964206e6f742073656e6420656e6f756768206574682e00000000000000006044820152606401611230565b601554601f546118a49060ff85169062010000900461ffff16614600565b61ffff1611156118f65760405162461bcd60e51b815260206004820152601a60248201527f4d617820737570706c7920666f722044412072656163686564210000000000006044820152606401611230565b6017548260ff1661190a6002546001540390565b6119149190614626565b11156119575760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601554601f546119759060ff85169062010000900461ffff16614600565b61ffff1614156119a5576025805461ff00191690556012819055601d5461199c9042614626565b601c5560036027555b33600090815260266020908152604080832081518083019092526001600160801b03348116835260ff80881684860181815284546001810186559488529590962093519390920180549451909216600160801b0270ffffffffffffffffffffffffffffffffff19909416921691909117919091179055601f54611a33919061ffff6201000090910416614600565b601f805461ffff92909216620100000263ffff000019909216919091179055336000908152602160205260408120805460ff85169290611a74908490614626565b90915550611a8790503360ff8416613818565b5050565b6000546001600160a01b03163314611ad35760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600a55565b6000546001600160a01b03163314611b205760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a87906029906020840190613eca565b6000546001600160a01b03163314611b7b5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600c55565b60006064601254611b91919061463e565b611b9c906050614652565b905090565b6000546001600160a01b03163314611be95760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6002600d541415611c3c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611230565b6002600d55600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114611c8e576040519150601f19603f3d011682016040523d82523d6000602084013e611c93565b606091505b5050905080611cd65760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401611230565b506001600d55565b600080600080600080611cef61352c565b601f54600160301b900461ffff16611d05611b80565b601e546001600160a01b039a909a16600090815260236020526040812054939b61ffff939093169a9199509097509550909350915050565b6113168383836040518060200160405280600081525061234b565b6000546001600160a01b03163314611da05760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b601894909455601992909255601a55601b55601e55565b60298054611dc4906146cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611df0906146cb565b8015611e3d5780601f10611e1257610100808354040283529160200191611e3d565b820191906000526020600020905b815481529060010190602001808311611e2057829003601f168201915b505050505081565b6000546001600160a01b03163314611e8d5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a8790602a906020840190613eca565b602b8054611dc4906146cb565b6000611eb882613832565b5192915050565b60006001600160a01b038216611ee8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314611f565760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b611f60600061394e565b565b6000546001600160a01b03163314611faa5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600b55565b6000546001600160a01b03163314611ff75760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b8051611a8790602b906020840190613eca565b600080600080600080601654601f60049054906101000a900461ffff1661202f611b80565b61203761352c565b601c546001600160a01b039b909b16600090815260226020526040902054939b61ffff939093169a91995097509550909350915050565b606060048054611125906146cb565b6000601a544210156120905750600e5490565b6012541561209f575060125490565b6000601a54426120af9190614671565b90506000601154826120c1919061463e565b90506000601054826120d39190614652565b9050600f54600e546120e59190614671565b81106120f657600f54935050505090565b80600e546121049190614671565b935050505090565b6001600160a01b0382163314156121365760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526026602052604081205481905b80156122b4576012546001600160a01b03851660009081526026602052604081209091906121ed600185614671565b8154811061220b57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461222b9190600160801b900460ff16614652565b6001600160a01b0386166000908152602660205260408120919250908290612254600186614671565b8154811061227257634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461229191906001600160801b0316614671565b905061229d8185614626565b9350505080806122ac906146b4565b9150506121be565b5092915050565b6000546001600160a01b031633146123035760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b602755565b6026602052816000526040600020818154811061232457600080fd5b6000918252602090912001546001600160801b0381169250600160801b900460ff16905082565b612356848484613611565b6001600160a01b0383163b1515801561237857506123768484848461399e565b155b15612396576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000601254116123ee5760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b336000908152602660205260408120545b801561253d57601254336000908152602660205260408120909190612425600185614671565b8154811061244357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546124639190600160801b900460ff16614652565b336000908152602660205260408120919250908290612483600186614671565b815481106124a157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546124c091906001600160801b0316614671565b336000908152602660205260409020805491925090806124f057634e487b7160e01b600052603160045260246000fd5b6000828152602090208101600019908101805470ffffffffffffffffffffffffffffffffff191690550190556125268185614626565b935050508080612535906146b4565b9150506123ff565b50604051339082156108fc029083906000818181858888f19350505050158015611a87573d6000803e3d6000fd5b601354601f546000918291612584919061ffff16614652565b601254601f549192506000916125a4919062010000900461ffff16614652565b905060006125b0611b80565b601f546125c99190640100000000900461ffff16614652565b905060006125d5611b80565b601f546125ed9190600160301b900461ffff16614652565b9050600081836125fd8787614626565b6126079190614626565b6126119190614626565b9695505050505050565b6000546001600160a01b031633146126635760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b601b5442116126ab5760405162461bcd60e51b8152602060048201526014602482015273444120686173206e6f742066696e69736865642160601b6044820152606401611230565b601254156126fb5760405162461bcd60e51b815260206004820152601360248201527f507269636520686173206265656e2073657421000000000000000000000000006044820152606401611230565b6025805461ff0019169055600f546012556003602755601d5461271e9042614626565b601c55565b60285460609060ff161561276357602a61273c83613a96565b60405160200161274d929190614429565b6040516020818303038152906040529050919050565b60298054612770906146cb565b80601f016020809104026020016040519081016040528092919081815260200182805461279c906146cb565b80156127e95780601f106127be576101008083540402835291602001916127e9565b820191906000526020600020905b8154815290600101906020018083116127cc57829003601f168201915b50505050509050919050565b919050565b8061280481613bc8565b6128205760405162461bcd60e51b815260040161123090614585565b6000601254116128725760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b602554640100000000900460ff166128d75760405162461bcd60e51b815260206004820152602260248201527f7465616d206d7573742062652061637469766520746f206d696e7420746f6b656044820152616e7360f01b6064820152608401611230565b601f5433600090815260246020526040902054600160901b90910461ffff1690612902906001614626565b11156129205760405162461bcd60e51b815260040161123090614528565b60175460025460015403612935906001614626565b11156129785760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f5461299190600160401b900461ffff166001614600565b601f805461ffff92909216600160401b0269ffff0000000000000000199092169190911790553360009081526024602052604081208054600192906129d7908490614626565b90915550611a879050336001613818565b806129f281613bdf565b612a0e5760405162461bcd60e51b815260040161123090614585565b60008360ff1611612a615760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b600060125411612ab35760405162461bcd60e51b815260206004820152601a60248201527f447574636820616374696f6e206d757374206265206f766572210000000000006044820152606401611230565b6025546301000000900460ff16612b185760405162461bcd60e51b815260206004820152602360248201527f4578747261206d7573742062652061637469766520746f206d696e7420746f6b604482015262656e7360e81b6064820152608401611230565b601e54421015612b6a5760405162461bcd60e51b815260206004820152601a60248201527f457874726120686173206e6f74207374617274656420796574210000000000006044820152606401611230565b601f5433600090815260236020526040902054600160801b90910461ffff1690612b989060ff861690614626565b1115612bb65760405162461bcd60e51b815260040161123090614528565b8260ff16612bc2611b80565b612bcc9190614652565b341015612c265760405162461bcd60e51b815260206004820152602260248201527f4d7573742073656e6420656e6f7567682065746820666f72204d41494e204d696044820152611b9d60f21b6064820152608401611230565b612c2e61352c565b601f54612c4a9060ff861690600160301b900461ffff16614600565b61ffff161115612c9c5760405162461bcd60e51b815260206004820152601d60248201527f4d617820737570706c7920666f722045585452412072656163686564210000006044820152606401611230565b6017548360ff16612cb06002546001540390565b612cba9190614626565b1115612cfd5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f54612d199060ff851690600160301b900461ffff16614600565b601f805461ffff92909216600160301b0267ffff00000000000019909216919091179055336000908152602360205260408120805460ff86169290611685908490614626565b80612d6981613bf6565b612d855760405162461bcd60e51b815260040161123090614585565b60008360ff1611612dd85760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374203120746f6b656e2e00000000006044820152606401611230565b60255460ff16612e2a5760405162461bcd60e51b815260206004820181905260248201527f574c206d7573742062652061637469766520746f206d696e7420746f6b656e736044820152606401611230565b601854421015612e7c5760405162461bcd60e51b815260206004820152601760248201527f574c20686173206e6f74207374617274656420796574210000000000000000006044820152606401611230565b6019544210612eba5760405162461bcd60e51b815260206004820152600a6024820152692ba61034b99037bb32b960b11b6044820152606401611230565b601f54336000908152602080526040902054600160501b90910461ffff1690612ee79060ff861690614626565b1115612f055760405162461bcd60e51b815260040161123090614528565b601354612f159060ff8516614652565b341015612f645760405162461bcd60e51b815260206004820152601860248201527f446964206e6f742073656e6420656e6f756768206574682e00000000000000006044820152606401611230565b601454601f54612f7c9060ff86169061ffff16614600565b61ffff161115612fce5760405162461bcd60e51b815260206004820152601a60248201527f4d617820737570706c7920666f7220574c2072656163686564210000000000006044820152606401611230565b6017548360ff16612fe26002546001540390565b612fec9190614626565b111561302f5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401611230565b601f546130449060ff85169061ffff16614600565b601f805461ffff191661ffff929092169190911790553360009081526020805260408120805460ff86169290611685908490614626565b6000546001600160a01b031633146130c35760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6002600d5414156131165760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401611230565b6002600d5560255465010000000000900460ff161561318a5760405162461bcd60e51b815260206004820152602a60248201527f496e697469616c2066756e6473206861766520616c7265616479206265656e206044820152693bb4ba34323930bbb71760b11b6064820152608401611230565b6000601254116131d35760405162461bcd60e51b8152602060048201526014602482015273444120686173206e6f742066696e69736865642160601b6044820152606401611230565b601354601f546000916131e99161ffff16614652565b601254601f54919250600091613209919062010000900461ffff16614652565b90506000613215611b80565b601f5461322e9190640100000000900461ffff16614652565b9050600061323a611b80565b601f546132529190600160301b900461ffff16614652565b9050600081836132628787614626565b61326c9190614626565b6132769190614626565b6025805465ff0000000000191665010000000000179055905060006132a36000546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146132ed576040519150601f19603f3d011682016040523d82523d6000602084013e6132f2565b606091505b50509050806133355760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401611230565b50506001600d5550505050565b6000546001600160a01b0316331461338a5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6028805460ff1916831515179055805161131690602a906020840190613eca565b602a8054611dc4906146cb565b6060602b8054611125906146cb565b600080600080600080601554601f60029054906101000a900461ffff166133ec61207d565b601a54601b546001600160a01b039b909b16600090815260216020526040902054939b61ffff939093169a91995097509550909350915050565b6000546001600160a01b0316331461346e5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b600955565b6000546001600160a01b031633146134bb5760405162461bcd60e51b8152602060048201819052602482015260008051602061478e8339815191526044820152606401611230565b6001600160a01b0381166135205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611230565b6135298161394e565b50565b601f5460165460155460145460009361ffff640100000000820481169462010000830482169491909216926135619190614626565b61356b9190614626565b6135759190614671565b61357f9190614671565b611b9c9190614671565b600060015482108015611110575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061361c82613832565b9050836001600160a01b031681600001516001600160a01b0316146136535760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061367157506136718533610fdf565b8061368c575033613681846111a8565b6001600160a01b0316145b9050806136ac57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166136d357604051633a954ecd60e21b815260040160405180910390fd5b6136df600084876135b5565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166137b55760015482146137b5578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006111108261381033613c0d565b600a54613c4c565b611a87828260405180602001604052806000815250613c59565b60408051606081018252600080825260208201819052918101919091528160015481101561393557600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906139335780516001600160a01b0316156138c9579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561392e579392505050565b6138c9565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906139d39033908990889088906004016144e3565b602060405180830381600087803b1580156139ed57600080fd5b505af1925050508015613a1d575060408051601f3d908101601f19168201909252613a1a918101906142fc565b60015b613a78573d808015613a4b576040519150601f19603f3d011682016040523d82523d6000602084013e613a50565b606091505b508051613a70576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081613aba5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613ae45780613ace81614706565b9150613add9050600a8361463e565b9150613abe565b60008167ffffffffffffffff811115613b0d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b37576020820181803683370190505b5090505b8415613a8e57613b4c600183614671565b9150613b59600a86614721565b613b64906030614626565b60f81b818381518110613b8757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613bc1600a8661463e565b9450613b3b565b600061111082613bd733613c0d565b600c54613c4c565b600061111082613bee33613c0d565b600b54613c4c565b600061111082613c0533613c0d565b600954613c4c565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b6000613a8e848385613c66565b6113168383836001613c7c565b600082613c738584613e48565b14949350505050565b6001546001600160a01b038516613ca557604051622e076360e81b815260040160405180910390fd5b83613cc35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015613d7057506001600160a01b0387163b15155b15613df9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613dc1600088848060010195508861399e565b613dde576040516368d2bf6b60e11b815260040160405180910390fd5b80821415613d76578260015414613df457600080fd5b613e3f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415613dfa575b506001556137fa565b600081815b8451811015613ec2576000858281518110613e7857634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613e9e5760008381526020829052604090209250613eaf565b600081815260208490526040902092505b5080613eba81614706565b915050613e4d565b509392505050565b828054613ed6906146cb565b90600052602060002090601f016020900481019282613ef85760008555613f3e565b82601f10613f1157805160ff1916838001178555613f3e565b82800160010185558215613f3e579182015b82811115613f3e578251825591602001919060010190613f23565b50613f4a929150613f4e565b5090565b5b80821115613f4a5760008155600101613f4f565b600067ffffffffffffffff831115613f7d57613f7d614761565b613f90601f8401601f19166020016145cf565b9050828152838383011115613fa457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127f557600080fd5b600082601f830112613fe2578081fd5b8135602067ffffffffffffffff821115613ffe57613ffe614761565b8160051b61400d8282016145cf565b838152828101908684018388018501891015614027578687fd5b8693505b8584101561404957803583526001939093019291840191840161402b565b50979650505050505050565b803580151581146127f557600080fd5b600082601f830112614075578081fd5b61408483833560208501613f63565b9392505050565b803560ff811681146127f557600080fd5b6000602082840312156140ad578081fd5b61408482613fbb565b600080604083850312156140c8578081fd5b6140d183613fbb565b91506140df60208401613fbb565b90509250929050565b6000806000606084860312156140fc578081fd5b61410584613fbb565b925061411360208501613fbb565b9150604084013590509250925092565b60008060008060808587031215614138578081fd5b61414185613fbb565b935061414f60208601613fbb565b925060408501359150606085013567ffffffffffffffff811115614171578182fd5b8501601f81018713614181578182fd5b61419087823560208401613f63565b91505092959194509250565b600080604083850312156141ae578182fd5b6141b783613fbb565b91506140df60208401614055565b600080604083850312156141d7578182fd5b6141e083613fbb565b946020939093013593505050565b6000602082840312156141ff578081fd5b813567ffffffffffffffff811115614215578182fd5b613a8e84828501613fd2565b600080600080600060a08688031215614238578081fd5b61424186614055565b945061424f60208701614055565b935061425d60408701614055565b925061426b60608701614055565b949793965091946080013592915050565b6000806040838503121561428e578182fd5b61429783614055565b9150602083013567ffffffffffffffff8111156142b2578182fd5b6142be85828601614065565b9150509250929050565b6000602082840312156142d9578081fd5b5035919050565b6000602082840312156142f1578081fd5b813561408481614777565b60006020828403121561430d578081fd5b815161408481614777565b600060208284031215614329578081fd5b813567ffffffffffffffff81111561433f578182fd5b613a8e84828501614065565b600080600080600060a08688031215614362578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208284031215614396578081fd5b6140848261408b565b600080604083850312156143b1578182fd5b6143ba8361408b565b9150602083013567ffffffffffffffff8111156143d5578182fd5b6142be85828601613fd2565b600081518084526143f9816020860160208601614688565b601f01601f19169290920160200192915050565b6000815161441f818560208601614688565b9290920192915050565b600080845482600182811c91508083168061444557607f831692505b602080841082141561446557634e487b7160e01b87526022600452602487fd5b818015614479576001811461448a576144b6565b60ff198616895284890196506144b6565b60008b815260209020885b868110156144ae5781548b820152908501908301614495565b505084890196505b5050505050506144da6144c9828661440d565b64173539b7b760d91b815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261261160808301846143e1565b60208152600061408460208301846143e1565b60208082526039908201527f507572636861736520776f756c6420657863656564206d6178206e756d62657260408201527f206f66206d6574616361726473207065722077616c6c65742e00000000000000606082015260800190565b6020808252602a908201527f4d65726b6c6557686974656c6973743a2043616c6c6572206973206e6f7420776040820152691a1a5d195b1a5cdd195960b21b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156145f8576145f8614761565b604052919050565b600061ffff80831681851680830382111561461d5761461d614735565b01949350505050565b6000821982111561463957614639614735565b500190565b60008261464d5761464d61474b565b500490565b600081600019048311821515161561466c5761466c614735565b500290565b60008282101561468357614683614735565b500390565b60005b838110156146a357818101518382015260200161468b565b838111156123965750506000910152565b6000816146c3576146c3614735565b506000190190565b600181811c908216806146df57607f821691505b6020821081141561470057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561471a5761471a614735565b5060010190565b6000826147305761473061474b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461352957600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b2f926ae7bb75838e3d9e2ae901edf031953d9dfc0d58f6f7492d94ea138731364736f6c63430008040033

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

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