ETH Price: $3,625.61 (+9.11%)

Token

TushiPals (Tushi)
 

Overview

Max Total Supply

4,444 Tushi

Holders

934

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
4 Tushi
0x193bf3cdad649f8f7d387d610382d3705e53ec0c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to the world of Tushi Pals. A non-binary species of 4444 Tushis were all that survived the dark void that swallowed their planet along with almost all of their population on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TushiPals

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : TushiPals.sol
// SPDX-License-Identifier: MIT

// ████████╗██╗   ██╗███████╗██╗  ██╗██╗██████╗  █████╗ ██╗     ███████╗
// ╚══██╔══╝██║   ██║██╔════╝██║  ██║██║██╔══██╗██╔══██╗██║     ██╔════╝
//    ██║   ██║   ██║███████╗███████║██║██████╔╝███████║██║     ███████╗
//    ██║   ██║   ██║╚════██║██╔══██║██║██╔═══╝ ██╔══██║██║     ╚════██║
//    ██║   ╚██████╔╝███████║██║  ██║██║██║     ██║  ██║███████╗███████║
//    ╚═╝    ╚═════╝ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝

// ERC721A/S Smart Contract developed by NFT Elite Consulting for Tushi Pals

pragma solidity ^0.8.4;
pragma abicoder v2;

import "./ERC721A.sol"; //
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract TushiPals is ERC721A, Ownable  {
  using SafeMath for uint256;
	using Strings for uint256;
    bytes32 public merkleRoot;
    bytes32 public vipMerkleRoot;
    uint256 constant public MAX_SUPPLY= 4444;
	  uint256 constant public MAX_WL_SUPPLY = 4444;
    uint256 constant public MAX_VIPWL_SUPPLY = 4444;
    uint256 public WL_PRICE = 0.025 ether;
    uint256 public VIPWL_PRICE = 0 ether;
    uint256 public PRICE = 0.03 ether;
    uint256 public giveawayLimit = 485;
    string public baseTokenURI;
    bool public whitelistSaleIsActive;
    bool public saleIsActive;
    address private wallet1 = 0x75E2D4b50F1a1333C93B8440b9E7718533Ef4221; // G Wallet
    address private wallet2 = 0xEef400872405307ee3b1D78978158C7E73531069; // H Wallet
    address private wallet3 = 0xe4DB835E921d884101010098101382e5E5E0cA03; // Project Wallet
    address private wallet4 = 0xc8d4d58CC8D16d5E7640F4231d3A0c22EC91E127; // Founder 3 Wallet
    address private Authorized = 0x7a29d9a21A45E269F1bFFFa15a84c16BA0050E27; // Dev Wallet for Testing (no percentage)
    uint256 public maxPurchase = 100;
    uint256 public maxWLPurchase = 100;
    uint256 public maxVIPPurchase = 100;
	  uint256 public maxTxWL = 100;
	  uint256 public maxTxVIP = 100;
    uint256 public maxTx = 100;

    constructor() ERC721A("TushiPals", "Tushi") { }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    modifier onlyAuthorized {
        require(msg.sender == owner() || msg.sender == Authorized , "Not authorized");
        _;
    }

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

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function flipWhitelistSaleState() external onlyOwner {
        whitelistSaleIsActive = !whitelistSaleIsActive;
    }

    function updateMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        merkleRoot = newMerkleRoot;
    }

    function updateVIPMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        vipMerkleRoot = newMerkleRoot;
    }

	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(),".json")) : "";
    }

	function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }


    function whitelistMint(uint256 numberOfTokens, bytes32[] calldata merkleProof ) payable external callerIsUser {
        require(whitelistSaleIsActive, "Whitelist Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_WL_SUPPLY, "Total WL Supply has been minted");
        require(numberOfTokens > 0 && numberOfTokens <= maxTxWL, "Can only mint upto 1 NFTs in a transaction");
        require(msg.value == WL_PRICE.mul(numberOfTokens), "Ether value sent is not correct");
        require(numberMinted(msg.sender).add(numberOfTokens) <= maxWLPurchase,"Exceeds Max mints allowed per whitelisted wallet");

        // Verify the merkle proof
        require(MerkleProof.verify(merkleProof, merkleRoot,  keccak256(abi.encodePacked(msg.sender))  ), "Invalid proof");

		_safeMint(msg.sender, numberOfTokens);
    }

    function vipMint(uint256 numberOfTokens, bytes32[] calldata merkleProof ) payable external callerIsUser {
        require(whitelistSaleIsActive, "Whitelist Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_VIPWL_SUPPLY, "Total VIPWL Supply has been minted");
        require(numberOfTokens > 0 && numberOfTokens <= maxTxVIP, "Can only mint upto 2 NFTs in a transaction");
        require(msg.value == VIPWL_PRICE.mul(numberOfTokens), "Ether value sent is not correct");
        require(numberMinted(msg.sender).add(numberOfTokens) <= maxVIPPurchase,"Exceeds Max mints allowed per whitelisted wallet");

        // Verify the merkle proof
        require(MerkleProof.verify(merkleProof, vipMerkleRoot,  keccak256(abi.encodePacked(msg.sender))  ), "Invalid proof");

		_safeMint(msg.sender, numberOfTokens);
    }

    function mint(uint256 numberOfTokens) external payable callerIsUser {
        require(saleIsActive, "Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Total Supply has been minted");
        require(msg.value == PRICE.mul(numberOfTokens), "Ether value sent is not correct");
		require(numberOfTokens > 0 && numberOfTokens <= maxTx, "1 pTX allowed");
        require(numberMinted(msg.sender).add(numberOfTokens) <= maxPurchase,"Exceeds Max mints allowed per wallet");

        _safeMint(msg.sender, numberOfTokens);
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

	    function withdrawAll() external onlyOwner {
        require(address(this).balance > 0, "No balance");
        uint256 _amount = address(this).balance;
        (bool wallet1Success, ) = wallet1.call{value: _amount.mul(28).div(100)}("");
        (bool wallet2Success, ) = wallet2.call{value: _amount.mul(28).div(100)}("");
        (bool wallet3Success, ) = wallet3.call{value: _amount.mul(34).div(100)}("");
        (bool wallet4Success, ) = wallet4.call{value: _amount.mul(10).div(100)}("");
        require(wallet1Success && wallet2Success && wallet3Success && wallet4Success, "Withdrawal failed.");
    }

    function giveAway(uint256 numberOfTokens, address to) external onlyOwner {
        require(giveawayLimit.sub(numberOfTokens) >= 0,"Giveaways exhausted");
        _safeMint(to, numberOfTokens);
        giveawayLimit = giveawayLimit.sub(numberOfTokens);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function setPriceWL(uint256 _wlPrice) public onlyAuthorized {
        WL_PRICE = _wlPrice;
    }

    function setPriceVIPWL(uint256 _vipwlPrice) public onlyAuthorized {
        VIPWL_PRICE = _vipwlPrice;
    }

    function setPrice(uint256 _price) public onlyAuthorized {
        PRICE = _price;
    }

    function setMaxTxLimit(uint256 _txLimit) public onlyAuthorized {
        maxTx = _txLimit;
    }

	function setMaxTxWL(uint256 _txLimit) public onlyAuthorized {
        maxTxWL = _txLimit;
    }

	function setMaxTxVIP(uint256 _txLimit) public onlyAuthorized {
        maxTxVIP = _txLimit;
    }

    function setMaxPurchaseLimit(uint256 _limit) public onlyAuthorized {
        maxPurchase = _limit;
    }

    function setMaxWLPurchaseLimit(uint256 _limit) public onlyAuthorized {
        maxWLPurchase = _limit;
    }

    function setMaxVIPPurchaseLimit(uint256 _limit) public onlyAuthorized {
        maxVIPPurchase = _limit;
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 6 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Modified by SausageLabs.io

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 7 of 13 : 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 8 of 13 : 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : 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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 13 : 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": false,
    "runs": 200
  },
  "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"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_VIPWL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VIPWL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayLimit","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":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxVIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVIPPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxVIPPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxWLPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vipwlPrice","type":"uint256"}],"name":"setPriceVIPWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlPrice","type":"uint256"}],"name":"setPriceWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateVIPMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"vipMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526658d15e17628000600b556000600c55666a94d74f430000600d556101e5600e557375e2d4b50f1a1333c93b8440b9e7718533ef4221601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073eef400872405307ee3b1d78978158c7e73531069601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e4db835e921d884101010098101382e5e5e0ca03601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c8d4d58cc8d16d5e7640f4231d3a0c22ec91e127601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a29d9a21a45e269f1bfffa15a84c16ba0050e27601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606460155560646016556064601755606460185560646019556064601a55348015620001f957600080fd5b506040518060400160405280600981526020017f547573686950616c7300000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f547573686900000000000000000000000000000000000000000000000000000081525081600290805190602001906200027e929190620003ad565b50806003908051906020019062000297929190620003ad565b50620002a8620002d660201b60201c565b6000819055505050620002d0620002c4620002df60201b60201c565b620002e760201b60201c565b620004c2565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003bb906200048c565b90600052602060002090601f016020900481019282620003df57600085556200042b565b82601f10620003fa57805160ff19168380011785556200042b565b828001600101855582156200042b579182015b828111156200042a5782518255916020019190600101906200040d565b5b5090506200043a91906200043e565b5090565b5b80821115620004595760008160009055506001016200043f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a557607f821691505b60208210811415620004bc57620004bb6200045d565b5b50919050565b6154fe80620004d26000396000f3fe60806040526004361061036b5760003560e01c806381d8488f116101c6578063a64a281a116100f7578063d547cfb711610095578063e985e9c51161006f578063e985e9c514610be5578063ea64f7dd14610c22578063eb8d244414610c4b578063f2fde38b14610c765761036b565b8063d547cfb714610b52578063db37faaf14610b7d578063dc33e68114610ba85761036b565b8063c87b56dd116100d1578063c87b56dd14610ab9578063c9d9b9f514610af6578063d1beca6414610b1f578063d2cab05614610b365761036b565b8063a64a281a14610a3c578063b88d4fde14610a65578063c56acc8f14610a8e5761036b565b806391b7f5ed116101645780639db7863f1161013e5780639db7863f146109a1578063a0712d68146109cc578063a22cb465146109e8578063a29f1f6414610a115761036b565b806391b7f5ed1461092257806395d89b411461094b578063977b055b146109765761036b565b806388ef0018116101a057806388ef0018146108875780638d859f3e146108a35780638da5cb5b146108ce5780638f3a89cf146108f95761036b565b806381d8488f1461081e578063853828b61461084757806387ea9f211461085e5761036b565b806342842e0e116102a057806364f5a5bb1161023e57806370a082311161021857806370a0823114610774578063715018a6146107b157806372a1056c146107c85780637437681e146107f35761036b565b806364f5a5bb146106f75780636895f1ca146107205780636d181fe6146107495761036b565b80634f8f591b1161027a5780634f8f591b1461063b57806355f804b31461066657806358ae3c541461068f5780636352211e146106ba5761036b565b806342842e0e146105c057806345e313aa146105e95780634783f0ef146106125761036b565b8063261d3b211161030d57806332cb6b0c116102e757806332cb6b0c1461053c57806334918dfd146105675780633ccfd60b1461057e5780633f676c50146105955761036b565b8063261d3b21146104bd5780632eb4a7ab146104e657806331c3c7a0146105115761036b565b8063095ea7b311610349578063095ea7b31461041557806310b5454d1461043e57806318160ddd1461046957806323b872dd146104945761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190613f2c565b610c9f565b6040516103a49190613f74565b60405180910390f35b3480156103b957600080fd5b506103c2610d81565b6040516103cf9190614028565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa9190614080565b610e13565b60405161040c91906140ee565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614135565b610e8f565b005b34801561044a57600080fd5b50610453610f9a565b6040516104609190613f74565b60405180910390f35b34801561047557600080fd5b5061047e610fad565b60405161048b9190614184565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061419f565b610fc4565b005b3480156104c957600080fd5b506104e460048036038101906104df91906141f2565b610fd4565b005b3480156104f257600080fd5b506104fb61105d565b604051610508919061424b565b60405180910390f35b34801561051d57600080fd5b50610526611063565b6040516105339190614184565b60405180910390f35b34801561054857600080fd5b50610551611069565b60405161055e9190614184565b60405180910390f35b34801561057357600080fd5b5061057c61106f565b005b34801561058a57600080fd5b506105936110a3565b005b3480156105a157600080fd5b506105aa6110fa565b6040516105b79190614184565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061419f565b611100565b005b3480156105f557600080fd5b50610610600480360381019061060b9190614080565b611120565b005b34801561061e57600080fd5b5061063960048036038101906106349190614292565b6111f7565b005b34801561064757600080fd5b50610650611209565b60405161065d9190614184565b60405180910390f35b34801561067257600080fd5b5061068d600480360381019061068891906143f4565b61120f565b005b34801561069b57600080fd5b506106a4611231565b6040516106b19190614184565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190614080565b611237565b6040516106ee91906140ee565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190614080565b61124d565b005b34801561072c57600080fd5b5061074760048036038101906107429190614080565b611324565b005b34801561075557600080fd5b5061075e6113fb565b60405161076b9190614184565b60405180910390f35b34801561078057600080fd5b5061079b6004803603810190610796919061443d565b611401565b6040516107a89190614184565b60405180910390f35b3480156107bd57600080fd5b506107c66114d1565b005b3480156107d457600080fd5b506107dd6114e5565b6040516107ea919061424b565b60405180910390f35b3480156107ff57600080fd5b506108086114eb565b6040516108159190614184565b60405180910390f35b34801561082a57600080fd5b5061084560048036038101906108409190614080565b6114f1565b005b34801561085357600080fd5b5061085c6115c8565b005b34801561086a57600080fd5b5061088560048036038101906108809190614080565b61194a565b005b6108a1600480360381019061089c91906144ca565b611a21565b005b3480156108af57600080fd5b506108b8611d04565b6040516108c59190614184565b60405180910390f35b3480156108da57600080fd5b506108e3611d0a565b6040516108f091906140ee565b60405180910390f35b34801561090557600080fd5b50610920600480360381019061091b9190614080565b611d34565b005b34801561092e57600080fd5b5061094960048036038101906109449190614080565b611e0b565b005b34801561095757600080fd5b50610960611ee2565b60405161096d9190614028565b60405180910390f35b34801561098257600080fd5b5061098b611f74565b6040516109989190614184565b60405180910390f35b3480156109ad57600080fd5b506109b6611f7a565b6040516109c39190614184565b60405180910390f35b6109e660048036038101906109e19190614080565b611f80565b005b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190614556565b6121ae565b005b348015610a1d57600080fd5b50610a26612326565b604051610a339190614184565b60405180910390f35b348015610a4857600080fd5b50610a636004803603810190610a5e9190614080565b61232c565b005b348015610a7157600080fd5b50610a8c6004803603810190610a879190614637565b612403565b005b348015610a9a57600080fd5b50610aa361247f565b604051610ab09190614184565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb9190614080565b612485565b604051610aed9190614028565b60405180910390f35b348015610b0257600080fd5b50610b1d6004803603810190610b189190614292565b612523565b005b348015610b2b57600080fd5b50610b34612535565b005b610b506004803603810190610b4b91906144ca565b612569565b005b348015610b5e57600080fd5b50610b6761284c565b604051610b749190614028565b60405180910390f35b348015610b8957600080fd5b50610b926128da565b604051610b9f9190614184565b60405180910390f35b348015610bb457600080fd5b50610bcf6004803603810190610bca919061443d565b6128e0565b604051610bdc9190614184565b60405180910390f35b348015610bf157600080fd5b50610c0c6004803603810190610c0791906146ba565b6128f2565b604051610c199190613f74565b60405180910390f35b348015610c2e57600080fd5b50610c496004803603810190610c449190614080565b612986565b005b348015610c5757600080fd5b50610c60612a5d565b604051610c6d9190613f74565b60405180910390f35b348015610c8257600080fd5b50610c9d6004803603810190610c98919061443d565b612a70565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d6a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d7a5750610d7982612af4565b5b9050919050565b606060028054610d9090614729565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbc90614729565b8015610e095780601f10610dde57610100808354040283529160200191610e09565b820191906000526020600020905b815481529060010190602001808311610dec57829003601f168201915b5050505050905090565b6000610e1e82612b5e565b610e54576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e9a82611237565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f02576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f21612bac565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f535750610f5181610f4c612bac565b6128f2565b155b15610f8a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f95838383612bb4565b505050565b601060009054906101000a900460ff1681565b6000610fb7612c66565b6001546000540303905090565b610fcf838383612c6f565b505050565b610fdc613125565b6000610ff383600e546131a390919063ffffffff16565b1015611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b906147a7565b60405180910390fd5b61103e81836131b9565b61105382600e546131a390919063ffffffff16565b600e819055505050565b60095481565b600b5481565b61115c81565b611077613125565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6110ab613125565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110f6573d6000803e3d6000fd5b5050565b61115c81565b61111b83838360405180602001604052806000815250612403565b505050565b611128611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111ae5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490614813565b60405180910390fd5b8060158190555050565b6111ff613125565b8060098190555050565b60195481565b611217613125565b80600f908051906020019061122d929190613dda565b5050565b600e5481565b6000611242826131d7565b600001519050919050565b611255611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112db5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614813565b60405180910390fd5b80601a8190555050565b61132c611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113b25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614813565b60405180910390fd5b8060178190555050565b60175481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611469576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114d9613125565b6114e36000613466565b565b600a5481565b601a5481565b6114f9611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061157f5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614813565b60405180910390fd5b80600b8190555050565b6115d0613125565b60004711611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a9061487f565b60405180910390fd5b60004790506000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661167a606461166c601c8661352c90919063ffffffff16565b61354290919063ffffffff16565b604051611686906148d0565b60006040518083038185875af1925050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661172e6064611720601c8761352c90919063ffffffff16565b61354290919063ffffffff16565b60405161173a906148d0565b60006040518083038185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e61177c565b606091505b505090506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117e260646117d460228861352c90919063ffffffff16565b61354290919063ffffffff16565b6040516117ee906148d0565b60006040518083038185875af1925050503d806000811461182b576040519150601f19603f3d011682016040523d82523d6000602084013e611830565b606091505b505090506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118966064611888600a8961352c90919063ffffffff16565b61354290919063ffffffff16565b6040516118a2906148d0565b60006040518083038185875af1925050503d80600081146118df576040519150601f19603f3d011682016040523d82523d6000602084013e6118e4565b606091505b505090508380156118f25750825b80156118fb5750815b80156119045750805b611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614931565b60405180910390fd5b5050505050565b611952611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119d85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e90614813565b60405180910390fd5b8060188190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a869061499d565b60405180910390fd5b601060009054906101000a900460ff16611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614a2f565b60405180910390fd5b61115c611afb84611aed610fad565b61355890919063ffffffff16565b1115611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614ac1565b60405180910390fd5b600083118015611b4e57506019548311155b611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8490614b53565b60405180910390fd5b611ba283600c5461352c90919063ffffffff16565b3414611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614bbf565b60405180910390fd5b601754611c0184611bf3336128e0565b61355890919063ffffffff16565b1115611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990614c51565b60405180910390fd5b611cb6828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5433604051602001611c9b9190614cb9565b6040516020818303038152906040528051906020012061356e565b611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec90614d20565b60405180910390fd5b611cff33846131b9565b505050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d3c611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611dc25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df890614813565b60405180910390fd5b8060168190555050565b611e13611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e995750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90614813565b60405180910390fd5b80600d8190555050565b606060038054611ef190614729565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1d90614729565b8015611f6a5780601f10611f3f57610100808354040283529160200191611f6a565b820191906000526020600020905b815481529060010190602001808311611f4d57829003601f168201915b5050505050905090565b60155481565b60185481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe59061499d565b60405180910390fd5b601060019054906101000a900460ff1661203d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203490614d8c565b60405180910390fd5b61115c61205a8261204c610fad565b61355890919063ffffffff16565b111561209b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209290614df8565b60405180910390fd5b6120b081600d5461352c90919063ffffffff16565b34146120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e890614bbf565b60405180910390fd5b6000811180156121035750601a548111155b612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614e64565b60405180910390fd5b60155461216082612152336128e0565b61355890919063ffffffff16565b11156121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890614ef6565b60405180910390fd5b6121ab33826131b9565b50565b6121b6612bac565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612228612bac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122d5612bac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161231a9190613f74565b60405180910390a35050565b600c5481565b612334611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123ba5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f090614813565b60405180910390fd5b8060198190555050565b61240e848484612c6f565b61242d8373ffffffffffffffffffffffffffffffffffffffff16613585565b80156124425750612440848484846135a8565b155b15612479576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61115c81565b606061249082612b5e565b6124c6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124d06136f9565b905060008151116124f0576040518060200160405280600081525061251b565b806124fa8461378b565b60405160200161250b929190614f9e565b6040516020818303038152906040525b915050919050565b61252b613125565b80600a8190555050565b61253d613125565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ce9061499d565b60405180910390fd5b601060009054906101000a900460ff16612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614a2f565b60405180910390fd5b61115c61264384612635610fad565b61355890919063ffffffff16565b1115612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90615019565b60405180910390fd5b60008311801561269657506018548311155b6126d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cc906150ab565b60405180910390fd5b6126ea83600b5461352c90919063ffffffff16565b341461272b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272290614bbf565b60405180910390fd5b6016546127498461273b336128e0565b61355890919063ffffffff16565b111561278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278190614c51565b60405180910390fd5b6127fe828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016127e39190614cb9565b6040516020818303038152906040528051906020012061356e565b61283d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283490614d20565b60405180910390fd5b61284733846131b9565b505050565b600f805461285990614729565b80601f016020809104026020016040519081016040528092919081815260200182805461288590614729565b80156128d25780601f106128a7576101008083540402835291602001916128d2565b820191906000526020600020905b8154815290600101906020018083116128b557829003601f168201915b505050505081565b60165481565b60006128eb826138ec565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61298e611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a145750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4a90614813565b60405180910390fd5b80600c8190555050565b601060019054906101000a900460ff1681565b612a78613125565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf9061513d565b60405180910390fd5b612af181613466565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b69612c66565b11158015612b78575060005482105b8015612ba5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612c7a826131d7565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ce5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d06612bac565b73ffffffffffffffffffffffffffffffffffffffff161480612d355750612d3485612d2f612bac565b6128f2565b5b80612d7a5750612d43612bac565b73ffffffffffffffffffffffffffffffffffffffff16612d6284610e13565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612db3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e1a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e278585856001613956565b612e3360008487612bb4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156130b35760005482146130b257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461311e858585600161395c565b5050505050565b61312d612bac565b73ffffffffffffffffffffffffffffffffffffffff1661314b611d0a565b73ffffffffffffffffffffffffffffffffffffffff16146131a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613198906151a9565b60405180910390fd5b565b600081836131b191906151f8565b905092915050565b6131d3828260405180602001604052806000815250613962565b5050565b6131df613e60565b6000829050806131ed612c66565b111580156131fc575060005481105b1561342f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161342d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613311578092505050613461565b5b60011561342c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613427578092505050613461565b613312565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361353a919061522c565b905092915050565b6000818361355091906152b5565b905092915050565b6000818361356691906152e6565b905092915050565b60008261357b8584613974565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ce612bac565b8786866040518563ffffffff1660e01b81526004016135f09493929190615391565b6020604051808303816000875af192505050801561362c57506040513d601f19601f8201168201806040525081019061362991906153f2565b60015b6136a6573d806000811461365c576040519150601f19603f3d011682016040523d82523d6000602084013e613661565b606091505b5060008151141561369e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461370890614729565b80601f016020809104026020016040519081016040528092919081815260200182805461373490614729565b80156137815780601f1061375657610100808354040283529160200191613781565b820191906000526020600020905b81548152906001019060200180831161376457829003601f168201915b5050505050905090565b606060008214156137d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138e7565b600082905060005b600082146138055780806137ee9061541f565b915050600a826137fe91906152b5565b91506137db565b60008167ffffffffffffffff811115613821576138206142c9565b5b6040519080825280601f01601f1916602001820160405280156138535781602001600182028036833780820191505090505b5090505b600085146138e05760018261386c91906151f8565b9150600a8561387b9190615468565b603061388791906152e6565b60f81b81838151811061389d5761389c615499565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138d991906152b5565b9450613857565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b61396f83838360016139ca565b505050565b60008082905060005b84518110156139bf576139aa8286838151811061399d5761399c615499565b5b6020026020010151613d98565b915080806139b79061541f565b91505061397d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613a72576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a7f6000868387613956565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613c495750613c488773ffffffffffffffffffffffffffffffffffffffff16613585565b5b15613d0f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cbe60008884806001019550886135a8565b613cf4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c4f578260005414613d0a57600080fd5b613d7b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d10575b816000819055505050613d91600086838761395c565b5050505050565b6000818310613db057613dab8284613dc3565b613dbb565b613dba8383613dc3565b5b905092915050565b600082600052816020526040600020905092915050565b828054613de690614729565b90600052602060002090601f016020900481019282613e085760008555613e4f565b82601f10613e2157805160ff1916838001178555613e4f565b82800160010185558215613e4f579182015b82811115613e4e578251825591602001919060010190613e33565b5b509050613e5c9190613ea3565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ebc576000816000905550600101613ea4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f0981613ed4565b8114613f1457600080fd5b50565b600081359050613f2681613f00565b92915050565b600060208284031215613f4257613f41613eca565b5b6000613f5084828501613f17565b91505092915050565b60008115159050919050565b613f6e81613f59565b82525050565b6000602082019050613f896000830184613f65565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fc9578082015181840152602081019050613fae565b83811115613fd8576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ffa82613f8f565b6140048185613f9a565b9350614014818560208601613fab565b61401d81613fde565b840191505092915050565b600060208201905081810360008301526140428184613fef565b905092915050565b6000819050919050565b61405d8161404a565b811461406857600080fd5b50565b60008135905061407a81614054565b92915050565b60006020828403121561409657614095613eca565b5b60006140a48482850161406b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140d8826140ad565b9050919050565b6140e8816140cd565b82525050565b600060208201905061410360008301846140df565b92915050565b614112816140cd565b811461411d57600080fd5b50565b60008135905061412f81614109565b92915050565b6000806040838503121561414c5761414b613eca565b5b600061415a85828601614120565b925050602061416b8582860161406b565b9150509250929050565b61417e8161404a565b82525050565b60006020820190506141996000830184614175565b92915050565b6000806000606084860312156141b8576141b7613eca565b5b60006141c686828701614120565b93505060206141d786828701614120565b92505060406141e88682870161406b565b9150509250925092565b6000806040838503121561420957614208613eca565b5b60006142178582860161406b565b925050602061422885828601614120565b9150509250929050565b6000819050919050565b61424581614232565b82525050565b6000602082019050614260600083018461423c565b92915050565b61426f81614232565b811461427a57600080fd5b50565b60008135905061428c81614266565b92915050565b6000602082840312156142a8576142a7613eca565b5b60006142b68482850161427d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61430182613fde565b810181811067ffffffffffffffff821117156143205761431f6142c9565b5b80604052505050565b6000614333613ec0565b905061433f82826142f8565b919050565b600067ffffffffffffffff82111561435f5761435e6142c9565b5b61436882613fde565b9050602081019050919050565b82818337600083830152505050565b600061439761439284614344565b614329565b9050828152602081018484840111156143b3576143b26142c4565b5b6143be848285614375565b509392505050565b600082601f8301126143db576143da6142bf565b5b81356143eb848260208601614384565b91505092915050565b60006020828403121561440a57614409613eca565b5b600082013567ffffffffffffffff81111561442857614427613ecf565b5b614434848285016143c6565b91505092915050565b60006020828403121561445357614452613eca565b5b600061446184828501614120565b91505092915050565b600080fd5b600080fd5b60008083601f84011261448a576144896142bf565b5b8235905067ffffffffffffffff8111156144a7576144a661446a565b5b6020830191508360208202830111156144c3576144c261446f565b5b9250929050565b6000806000604084860312156144e3576144e2613eca565b5b60006144f18682870161406b565b935050602084013567ffffffffffffffff81111561451257614511613ecf565b5b61451e86828701614474565b92509250509250925092565b61453381613f59565b811461453e57600080fd5b50565b6000813590506145508161452a565b92915050565b6000806040838503121561456d5761456c613eca565b5b600061457b85828601614120565b925050602061458c85828601614541565b9150509250929050565b600067ffffffffffffffff8211156145b1576145b06142c9565b5b6145ba82613fde565b9050602081019050919050565b60006145da6145d584614596565b614329565b9050828152602081018484840111156145f6576145f56142c4565b5b614601848285614375565b509392505050565b600082601f83011261461e5761461d6142bf565b5b813561462e8482602086016145c7565b91505092915050565b6000806000806080858703121561465157614650613eca565b5b600061465f87828801614120565b945050602061467087828801614120565b93505060406146818782880161406b565b925050606085013567ffffffffffffffff8111156146a2576146a1613ecf565b5b6146ae87828801614609565b91505092959194509250565b600080604083850312156146d1576146d0613eca565b5b60006146df85828601614120565b92505060206146f085828601614120565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474157607f821691505b60208210811415614755576147546146fa565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000614791601383613f9a565b915061479c8261475b565b602082019050919050565b600060208201905081810360008301526147c081614784565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b60006147fd600e83613f9a565b9150614808826147c7565b602082019050919050565b6000602082019050818103600083015261482c816147f0565b9050919050565b7f4e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b6000614869600a83613f9a565b915061487482614833565b602082019050919050565b600060208201905081810360008301526148988161485c565b9050919050565b600081905092915050565b50565b60006148ba60008361489f565b91506148c5826148aa565b600082019050919050565b60006148db826148ad565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b600061491b601283613f9a565b9150614926826148e5565b602082019050919050565b6000602082019050818103600083015261494a8161490e565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614987601e83613f9a565b915061499282614951565b602082019050919050565b600060208201905081810360008301526149b68161497a565b9050919050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a19602583613f9a565b9150614a24826149bd565b604082019050919050565b60006020820190508181036000830152614a4881614a0c565b9050919050565b7f546f74616c20564950574c20537570706c7920686173206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aab602283613f9a565b9150614ab682614a4f565b604082019050919050565b60006020820190508181036000830152614ada81614a9e565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2032204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000614b3d602a83613f9a565b9150614b4882614ae1565b604082019050919050565b60006020820190508181036000830152614b6c81614b30565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614ba9601f83613f9a565b9150614bb482614b73565b602082019050919050565b60006020820190508181036000830152614bd881614b9c565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776860008201527f6974656c69737465642077616c6c657400000000000000000000000000000000602082015250565b6000614c3b603083613f9a565b9150614c4682614bdf565b604082019050919050565b60006020820190508181036000830152614c6a81614c2e565b9050919050565b60008160601b9050919050565b6000614c8982614c71565b9050919050565b6000614c9b82614c7e565b9050919050565b614cb3614cae826140cd565b614c90565b82525050565b6000614cc58284614ca2565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614d0a600d83613f9a565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614d76601b83613f9a565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000614de2601c83613f9a565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b7f312070545820616c6c6f77656400000000000000000000000000000000000000600082015250565b6000614e4e600d83613f9a565b9150614e5982614e18565b602082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000614ee0602483613f9a565b9150614eeb82614e84565b604082019050919050565b60006020820190508181036000830152614f0f81614ed3565b9050919050565b600081905092915050565b6000614f2c82613f8f565b614f368185614f16565b9350614f46818560208601613fab565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614f88600583614f16565b9150614f9382614f52565b600582019050919050565b6000614faa8285614f21565b9150614fb68284614f21565b9150614fc182614f7b565b91508190509392505050565b7f546f74616c20574c20537570706c7920686173206265656e206d696e74656400600082015250565b6000615003601f83613f9a565b915061500e82614fcd565b602082019050919050565b6000602082019050818103600083015261503281614ff6565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2031204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000615095602a83613f9a565b91506150a082615039565b604082019050919050565b600060208201905081810360008301526150c481615088565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615127602683613f9a565b9150615132826150cb565b604082019050919050565b600060208201905081810360008301526151568161511a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615193602083613f9a565b915061519e8261515d565b602082019050919050565b600060208201905081810360008301526151c281615186565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152038261404a565b915061520e8361404a565b925082821015615221576152206151c9565b5b828203905092915050565b60006152378261404a565b91506152428361404a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527b5761527a6151c9565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152c08261404a565b91506152cb8361404a565b9250826152db576152da615286565b5b828204905092915050565b60006152f18261404a565b91506152fc8361404a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615331576153306151c9565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006153638261533c565b61536d8185615347565b935061537d818560208601613fab565b61538681613fde565b840191505092915050565b60006080820190506153a660008301876140df565b6153b360208301866140df565b6153c06040830185614175565b81810360608301526153d28184615358565b905095945050505050565b6000815190506153ec81613f00565b92915050565b60006020828403121561540857615407613eca565b5b6000615416848285016153dd565b91505092915050565b600061542a8261404a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561545d5761545c6151c9565b5b600182019050919050565b60006154738261404a565b915061547e8361404a565b92508261548e5761548d615286565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220edda46dc6d9acc723110f157dc17bb1465f549d3d4f28dd6949deaff468d1d5d64736f6c634300080a0033

Deployed Bytecode

0x60806040526004361061036b5760003560e01c806381d8488f116101c6578063a64a281a116100f7578063d547cfb711610095578063e985e9c51161006f578063e985e9c514610be5578063ea64f7dd14610c22578063eb8d244414610c4b578063f2fde38b14610c765761036b565b8063d547cfb714610b52578063db37faaf14610b7d578063dc33e68114610ba85761036b565b8063c87b56dd116100d1578063c87b56dd14610ab9578063c9d9b9f514610af6578063d1beca6414610b1f578063d2cab05614610b365761036b565b8063a64a281a14610a3c578063b88d4fde14610a65578063c56acc8f14610a8e5761036b565b806391b7f5ed116101645780639db7863f1161013e5780639db7863f146109a1578063a0712d68146109cc578063a22cb465146109e8578063a29f1f6414610a115761036b565b806391b7f5ed1461092257806395d89b411461094b578063977b055b146109765761036b565b806388ef0018116101a057806388ef0018146108875780638d859f3e146108a35780638da5cb5b146108ce5780638f3a89cf146108f95761036b565b806381d8488f1461081e578063853828b61461084757806387ea9f211461085e5761036b565b806342842e0e116102a057806364f5a5bb1161023e57806370a082311161021857806370a0823114610774578063715018a6146107b157806372a1056c146107c85780637437681e146107f35761036b565b806364f5a5bb146106f75780636895f1ca146107205780636d181fe6146107495761036b565b80634f8f591b1161027a5780634f8f591b1461063b57806355f804b31461066657806358ae3c541461068f5780636352211e146106ba5761036b565b806342842e0e146105c057806345e313aa146105e95780634783f0ef146106125761036b565b8063261d3b211161030d57806332cb6b0c116102e757806332cb6b0c1461053c57806334918dfd146105675780633ccfd60b1461057e5780633f676c50146105955761036b565b8063261d3b21146104bd5780632eb4a7ab146104e657806331c3c7a0146105115761036b565b8063095ea7b311610349578063095ea7b31461041557806310b5454d1461043e57806318160ddd1461046957806323b872dd146104945761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190613f2c565b610c9f565b6040516103a49190613f74565b60405180910390f35b3480156103b957600080fd5b506103c2610d81565b6040516103cf9190614028565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa9190614080565b610e13565b60405161040c91906140ee565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614135565b610e8f565b005b34801561044a57600080fd5b50610453610f9a565b6040516104609190613f74565b60405180910390f35b34801561047557600080fd5b5061047e610fad565b60405161048b9190614184565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061419f565b610fc4565b005b3480156104c957600080fd5b506104e460048036038101906104df91906141f2565b610fd4565b005b3480156104f257600080fd5b506104fb61105d565b604051610508919061424b565b60405180910390f35b34801561051d57600080fd5b50610526611063565b6040516105339190614184565b60405180910390f35b34801561054857600080fd5b50610551611069565b60405161055e9190614184565b60405180910390f35b34801561057357600080fd5b5061057c61106f565b005b34801561058a57600080fd5b506105936110a3565b005b3480156105a157600080fd5b506105aa6110fa565b6040516105b79190614184565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061419f565b611100565b005b3480156105f557600080fd5b50610610600480360381019061060b9190614080565b611120565b005b34801561061e57600080fd5b5061063960048036038101906106349190614292565b6111f7565b005b34801561064757600080fd5b50610650611209565b60405161065d9190614184565b60405180910390f35b34801561067257600080fd5b5061068d600480360381019061068891906143f4565b61120f565b005b34801561069b57600080fd5b506106a4611231565b6040516106b19190614184565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190614080565b611237565b6040516106ee91906140ee565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190614080565b61124d565b005b34801561072c57600080fd5b5061074760048036038101906107429190614080565b611324565b005b34801561075557600080fd5b5061075e6113fb565b60405161076b9190614184565b60405180910390f35b34801561078057600080fd5b5061079b6004803603810190610796919061443d565b611401565b6040516107a89190614184565b60405180910390f35b3480156107bd57600080fd5b506107c66114d1565b005b3480156107d457600080fd5b506107dd6114e5565b6040516107ea919061424b565b60405180910390f35b3480156107ff57600080fd5b506108086114eb565b6040516108159190614184565b60405180910390f35b34801561082a57600080fd5b5061084560048036038101906108409190614080565b6114f1565b005b34801561085357600080fd5b5061085c6115c8565b005b34801561086a57600080fd5b5061088560048036038101906108809190614080565b61194a565b005b6108a1600480360381019061089c91906144ca565b611a21565b005b3480156108af57600080fd5b506108b8611d04565b6040516108c59190614184565b60405180910390f35b3480156108da57600080fd5b506108e3611d0a565b6040516108f091906140ee565b60405180910390f35b34801561090557600080fd5b50610920600480360381019061091b9190614080565b611d34565b005b34801561092e57600080fd5b5061094960048036038101906109449190614080565b611e0b565b005b34801561095757600080fd5b50610960611ee2565b60405161096d9190614028565b60405180910390f35b34801561098257600080fd5b5061098b611f74565b6040516109989190614184565b60405180910390f35b3480156109ad57600080fd5b506109b6611f7a565b6040516109c39190614184565b60405180910390f35b6109e660048036038101906109e19190614080565b611f80565b005b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190614556565b6121ae565b005b348015610a1d57600080fd5b50610a26612326565b604051610a339190614184565b60405180910390f35b348015610a4857600080fd5b50610a636004803603810190610a5e9190614080565b61232c565b005b348015610a7157600080fd5b50610a8c6004803603810190610a879190614637565b612403565b005b348015610a9a57600080fd5b50610aa361247f565b604051610ab09190614184565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb9190614080565b612485565b604051610aed9190614028565b60405180910390f35b348015610b0257600080fd5b50610b1d6004803603810190610b189190614292565b612523565b005b348015610b2b57600080fd5b50610b34612535565b005b610b506004803603810190610b4b91906144ca565b612569565b005b348015610b5e57600080fd5b50610b6761284c565b604051610b749190614028565b60405180910390f35b348015610b8957600080fd5b50610b926128da565b604051610b9f9190614184565b60405180910390f35b348015610bb457600080fd5b50610bcf6004803603810190610bca919061443d565b6128e0565b604051610bdc9190614184565b60405180910390f35b348015610bf157600080fd5b50610c0c6004803603810190610c0791906146ba565b6128f2565b604051610c199190613f74565b60405180910390f35b348015610c2e57600080fd5b50610c496004803603810190610c449190614080565b612986565b005b348015610c5757600080fd5b50610c60612a5d565b604051610c6d9190613f74565b60405180910390f35b348015610c8257600080fd5b50610c9d6004803603810190610c98919061443d565b612a70565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d6a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d7a5750610d7982612af4565b5b9050919050565b606060028054610d9090614729565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbc90614729565b8015610e095780601f10610dde57610100808354040283529160200191610e09565b820191906000526020600020905b815481529060010190602001808311610dec57829003601f168201915b5050505050905090565b6000610e1e82612b5e565b610e54576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e9a82611237565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f02576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f21612bac565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f535750610f5181610f4c612bac565b6128f2565b155b15610f8a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f95838383612bb4565b505050565b601060009054906101000a900460ff1681565b6000610fb7612c66565b6001546000540303905090565b610fcf838383612c6f565b505050565b610fdc613125565b6000610ff383600e546131a390919063ffffffff16565b1015611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b906147a7565b60405180910390fd5b61103e81836131b9565b61105382600e546131a390919063ffffffff16565b600e819055505050565b60095481565b600b5481565b61115c81565b611077613125565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6110ab613125565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110f6573d6000803e3d6000fd5b5050565b61115c81565b61111b83838360405180602001604052806000815250612403565b505050565b611128611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111ae5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490614813565b60405180910390fd5b8060158190555050565b6111ff613125565b8060098190555050565b60195481565b611217613125565b80600f908051906020019061122d929190613dda565b5050565b600e5481565b6000611242826131d7565b600001519050919050565b611255611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112db5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614813565b60405180910390fd5b80601a8190555050565b61132c611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113b25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614813565b60405180910390fd5b8060178190555050565b60175481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611469576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114d9613125565b6114e36000613466565b565b600a5481565b601a5481565b6114f9611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061157f5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614813565b60405180910390fd5b80600b8190555050565b6115d0613125565b60004711611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a9061487f565b60405180910390fd5b60004790506000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661167a606461166c601c8661352c90919063ffffffff16565b61354290919063ffffffff16565b604051611686906148d0565b60006040518083038185875af1925050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661172e6064611720601c8761352c90919063ffffffff16565b61354290919063ffffffff16565b60405161173a906148d0565b60006040518083038185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e61177c565b606091505b505090506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117e260646117d460228861352c90919063ffffffff16565b61354290919063ffffffff16565b6040516117ee906148d0565b60006040518083038185875af1925050503d806000811461182b576040519150601f19603f3d011682016040523d82523d6000602084013e611830565b606091505b505090506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118966064611888600a8961352c90919063ffffffff16565b61354290919063ffffffff16565b6040516118a2906148d0565b60006040518083038185875af1925050503d80600081146118df576040519150601f19603f3d011682016040523d82523d6000602084013e6118e4565b606091505b505090508380156118f25750825b80156118fb5750815b80156119045750805b611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614931565b60405180910390fd5b5050505050565b611952611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119d85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e90614813565b60405180910390fd5b8060188190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a869061499d565b60405180910390fd5b601060009054906101000a900460ff16611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614a2f565b60405180910390fd5b61115c611afb84611aed610fad565b61355890919063ffffffff16565b1115611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614ac1565b60405180910390fd5b600083118015611b4e57506019548311155b611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8490614b53565b60405180910390fd5b611ba283600c5461352c90919063ffffffff16565b3414611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614bbf565b60405180910390fd5b601754611c0184611bf3336128e0565b61355890919063ffffffff16565b1115611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990614c51565b60405180910390fd5b611cb6828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5433604051602001611c9b9190614cb9565b6040516020818303038152906040528051906020012061356e565b611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec90614d20565b60405180910390fd5b611cff33846131b9565b505050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d3c611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611dc25750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df890614813565b60405180910390fd5b8060168190555050565b611e13611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e995750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90614813565b60405180910390fd5b80600d8190555050565b606060038054611ef190614729565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1d90614729565b8015611f6a5780601f10611f3f57610100808354040283529160200191611f6a565b820191906000526020600020905b815481529060010190602001808311611f4d57829003601f168201915b5050505050905090565b60155481565b60185481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe59061499d565b60405180910390fd5b601060019054906101000a900460ff1661203d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203490614d8c565b60405180910390fd5b61115c61205a8261204c610fad565b61355890919063ffffffff16565b111561209b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209290614df8565b60405180910390fd5b6120b081600d5461352c90919063ffffffff16565b34146120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e890614bbf565b60405180910390fd5b6000811180156121035750601a548111155b612142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213990614e64565b60405180910390fd5b60155461216082612152336128e0565b61355890919063ffffffff16565b11156121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890614ef6565b60405180910390fd5b6121ab33826131b9565b50565b6121b6612bac565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612228612bac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122d5612bac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161231a9190613f74565b60405180910390a35050565b600c5481565b612334611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123ba5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f090614813565b60405180910390fd5b8060198190555050565b61240e848484612c6f565b61242d8373ffffffffffffffffffffffffffffffffffffffff16613585565b80156124425750612440848484846135a8565b155b15612479576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61115c81565b606061249082612b5e565b6124c6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124d06136f9565b905060008151116124f0576040518060200160405280600081525061251b565b806124fa8461378b565b60405160200161250b929190614f9e565b6040516020818303038152906040525b915050919050565b61252b613125565b80600a8190555050565b61253d613125565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ce9061499d565b60405180910390fd5b601060009054906101000a900460ff16612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614a2f565b60405180910390fd5b61115c61264384612635610fad565b61355890919063ffffffff16565b1115612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90615019565b60405180910390fd5b60008311801561269657506018548311155b6126d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cc906150ab565b60405180910390fd5b6126ea83600b5461352c90919063ffffffff16565b341461272b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272290614bbf565b60405180910390fd5b6016546127498461273b336128e0565b61355890919063ffffffff16565b111561278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278190614c51565b60405180910390fd5b6127fe828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016127e39190614cb9565b6040516020818303038152906040528051906020012061356e565b61283d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283490614d20565b60405180910390fd5b61284733846131b9565b505050565b600f805461285990614729565b80601f016020809104026020016040519081016040528092919081815260200182805461288590614729565b80156128d25780601f106128a7576101008083540402835291602001916128d2565b820191906000526020600020905b8154815290600101906020018083116128b557829003601f168201915b505050505081565b60165481565b60006128eb826138ec565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61298e611d0a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a145750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4a90614813565b60405180910390fd5b80600c8190555050565b601060019054906101000a900460ff1681565b612a78613125565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf9061513d565b60405180910390fd5b612af181613466565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b69612c66565b11158015612b78575060005482105b8015612ba5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612c7a826131d7565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ce5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d06612bac565b73ffffffffffffffffffffffffffffffffffffffff161480612d355750612d3485612d2f612bac565b6128f2565b5b80612d7a5750612d43612bac565b73ffffffffffffffffffffffffffffffffffffffff16612d6284610e13565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612db3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e1a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e278585856001613956565b612e3360008487612bb4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156130b35760005482146130b257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461311e858585600161395c565b5050505050565b61312d612bac565b73ffffffffffffffffffffffffffffffffffffffff1661314b611d0a565b73ffffffffffffffffffffffffffffffffffffffff16146131a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613198906151a9565b60405180910390fd5b565b600081836131b191906151f8565b905092915050565b6131d3828260405180602001604052806000815250613962565b5050565b6131df613e60565b6000829050806131ed612c66565b111580156131fc575060005481105b1561342f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161342d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613311578092505050613461565b5b60011561342c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613427578092505050613461565b613312565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361353a919061522c565b905092915050565b6000818361355091906152b5565b905092915050565b6000818361356691906152e6565b905092915050565b60008261357b8584613974565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ce612bac565b8786866040518563ffffffff1660e01b81526004016135f09493929190615391565b6020604051808303816000875af192505050801561362c57506040513d601f19601f8201168201806040525081019061362991906153f2565b60015b6136a6573d806000811461365c576040519150601f19603f3d011682016040523d82523d6000602084013e613661565b606091505b5060008151141561369e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461370890614729565b80601f016020809104026020016040519081016040528092919081815260200182805461373490614729565b80156137815780601f1061375657610100808354040283529160200191613781565b820191906000526020600020905b81548152906001019060200180831161376457829003601f168201915b5050505050905090565b606060008214156137d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138e7565b600082905060005b600082146138055780806137ee9061541f565b915050600a826137fe91906152b5565b91506137db565b60008167ffffffffffffffff811115613821576138206142c9565b5b6040519080825280601f01601f1916602001820160405280156138535781602001600182028036833780820191505090505b5090505b600085146138e05760018261386c91906151f8565b9150600a8561387b9190615468565b603061388791906152e6565b60f81b81838151811061389d5761389c615499565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138d991906152b5565b9450613857565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b61396f83838360016139ca565b505050565b60008082905060005b84518110156139bf576139aa8286838151811061399d5761399c615499565b5b6020026020010151613d98565b915080806139b79061541f565b91505061397d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613a72576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a7f6000868387613956565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613c495750613c488773ffffffffffffffffffffffffffffffffffffffff16613585565b5b15613d0f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cbe60008884806001019550886135a8565b613cf4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c4f578260005414613d0a57600080fd5b613d7b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d10575b816000819055505050613d91600086838761395c565b5050505050565b6000818310613db057613dab8284613dc3565b613dbb565b613dba8383613dc3565b5b905092915050565b600082600052816020526040600020905092915050565b828054613de690614729565b90600052602060002090601f016020900481019282613e085760008555613e4f565b82601f10613e2157805160ff1916838001178555613e4f565b82800160010185558215613e4f579182015b82811115613e4e578251825591602001919060010190613e33565b5b509050613e5c9190613ea3565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ebc576000816000905550600101613ea4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f0981613ed4565b8114613f1457600080fd5b50565b600081359050613f2681613f00565b92915050565b600060208284031215613f4257613f41613eca565b5b6000613f5084828501613f17565b91505092915050565b60008115159050919050565b613f6e81613f59565b82525050565b6000602082019050613f896000830184613f65565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fc9578082015181840152602081019050613fae565b83811115613fd8576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ffa82613f8f565b6140048185613f9a565b9350614014818560208601613fab565b61401d81613fde565b840191505092915050565b600060208201905081810360008301526140428184613fef565b905092915050565b6000819050919050565b61405d8161404a565b811461406857600080fd5b50565b60008135905061407a81614054565b92915050565b60006020828403121561409657614095613eca565b5b60006140a48482850161406b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140d8826140ad565b9050919050565b6140e8816140cd565b82525050565b600060208201905061410360008301846140df565b92915050565b614112816140cd565b811461411d57600080fd5b50565b60008135905061412f81614109565b92915050565b6000806040838503121561414c5761414b613eca565b5b600061415a85828601614120565b925050602061416b8582860161406b565b9150509250929050565b61417e8161404a565b82525050565b60006020820190506141996000830184614175565b92915050565b6000806000606084860312156141b8576141b7613eca565b5b60006141c686828701614120565b93505060206141d786828701614120565b92505060406141e88682870161406b565b9150509250925092565b6000806040838503121561420957614208613eca565b5b60006142178582860161406b565b925050602061422885828601614120565b9150509250929050565b6000819050919050565b61424581614232565b82525050565b6000602082019050614260600083018461423c565b92915050565b61426f81614232565b811461427a57600080fd5b50565b60008135905061428c81614266565b92915050565b6000602082840312156142a8576142a7613eca565b5b60006142b68482850161427d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61430182613fde565b810181811067ffffffffffffffff821117156143205761431f6142c9565b5b80604052505050565b6000614333613ec0565b905061433f82826142f8565b919050565b600067ffffffffffffffff82111561435f5761435e6142c9565b5b61436882613fde565b9050602081019050919050565b82818337600083830152505050565b600061439761439284614344565b614329565b9050828152602081018484840111156143b3576143b26142c4565b5b6143be848285614375565b509392505050565b600082601f8301126143db576143da6142bf565b5b81356143eb848260208601614384565b91505092915050565b60006020828403121561440a57614409613eca565b5b600082013567ffffffffffffffff81111561442857614427613ecf565b5b614434848285016143c6565b91505092915050565b60006020828403121561445357614452613eca565b5b600061446184828501614120565b91505092915050565b600080fd5b600080fd5b60008083601f84011261448a576144896142bf565b5b8235905067ffffffffffffffff8111156144a7576144a661446a565b5b6020830191508360208202830111156144c3576144c261446f565b5b9250929050565b6000806000604084860312156144e3576144e2613eca565b5b60006144f18682870161406b565b935050602084013567ffffffffffffffff81111561451257614511613ecf565b5b61451e86828701614474565b92509250509250925092565b61453381613f59565b811461453e57600080fd5b50565b6000813590506145508161452a565b92915050565b6000806040838503121561456d5761456c613eca565b5b600061457b85828601614120565b925050602061458c85828601614541565b9150509250929050565b600067ffffffffffffffff8211156145b1576145b06142c9565b5b6145ba82613fde565b9050602081019050919050565b60006145da6145d584614596565b614329565b9050828152602081018484840111156145f6576145f56142c4565b5b614601848285614375565b509392505050565b600082601f83011261461e5761461d6142bf565b5b813561462e8482602086016145c7565b91505092915050565b6000806000806080858703121561465157614650613eca565b5b600061465f87828801614120565b945050602061467087828801614120565b93505060406146818782880161406b565b925050606085013567ffffffffffffffff8111156146a2576146a1613ecf565b5b6146ae87828801614609565b91505092959194509250565b600080604083850312156146d1576146d0613eca565b5b60006146df85828601614120565b92505060206146f085828601614120565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474157607f821691505b60208210811415614755576147546146fa565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000614791601383613f9a565b915061479c8261475b565b602082019050919050565b600060208201905081810360008301526147c081614784565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b60006147fd600e83613f9a565b9150614808826147c7565b602082019050919050565b6000602082019050818103600083015261482c816147f0565b9050919050565b7f4e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b6000614869600a83613f9a565b915061487482614833565b602082019050919050565b600060208201905081810360008301526148988161485c565b9050919050565b600081905092915050565b50565b60006148ba60008361489f565b91506148c5826148aa565b600082019050919050565b60006148db826148ad565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b600061491b601283613f9a565b9150614926826148e5565b602082019050919050565b6000602082019050818103600083015261494a8161490e565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614987601e83613f9a565b915061499282614951565b602082019050919050565b600060208201905081810360008301526149b68161497a565b9050919050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a19602583613f9a565b9150614a24826149bd565b604082019050919050565b60006020820190508181036000830152614a4881614a0c565b9050919050565b7f546f74616c20564950574c20537570706c7920686173206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aab602283613f9a565b9150614ab682614a4f565b604082019050919050565b60006020820190508181036000830152614ada81614a9e565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2032204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000614b3d602a83613f9a565b9150614b4882614ae1565b604082019050919050565b60006020820190508181036000830152614b6c81614b30565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614ba9601f83613f9a565b9150614bb482614b73565b602082019050919050565b60006020820190508181036000830152614bd881614b9c565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776860008201527f6974656c69737465642077616c6c657400000000000000000000000000000000602082015250565b6000614c3b603083613f9a565b9150614c4682614bdf565b604082019050919050565b60006020820190508181036000830152614c6a81614c2e565b9050919050565b60008160601b9050919050565b6000614c8982614c71565b9050919050565b6000614c9b82614c7e565b9050919050565b614cb3614cae826140cd565b614c90565b82525050565b6000614cc58284614ca2565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614d0a600d83613f9a565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614d76601b83613f9a565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000614de2601c83613f9a565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b7f312070545820616c6c6f77656400000000000000000000000000000000000000600082015250565b6000614e4e600d83613f9a565b9150614e5982614e18565b602082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000614ee0602483613f9a565b9150614eeb82614e84565b604082019050919050565b60006020820190508181036000830152614f0f81614ed3565b9050919050565b600081905092915050565b6000614f2c82613f8f565b614f368185614f16565b9350614f46818560208601613fab565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614f88600583614f16565b9150614f9382614f52565b600582019050919050565b6000614faa8285614f21565b9150614fb68284614f21565b9150614fc182614f7b565b91508190509392505050565b7f546f74616c20574c20537570706c7920686173206265656e206d696e74656400600082015250565b6000615003601f83613f9a565b915061500e82614fcd565b602082019050919050565b6000602082019050818103600083015261503281614ff6565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2031204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000615095602a83613f9a565b91506150a082615039565b604082019050919050565b600060208201905081810360008301526150c481615088565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615127602683613f9a565b9150615132826150cb565b604082019050919050565b600060208201905081810360008301526151568161511a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615193602083613f9a565b915061519e8261515d565b602082019050919050565b600060208201905081810360008301526151c281615186565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006152038261404a565b915061520e8361404a565b925082821015615221576152206151c9565b5b828203905092915050565b60006152378261404a565b91506152428361404a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527b5761527a6151c9565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152c08261404a565b91506152cb8361404a565b9250826152db576152da615286565b5b828204905092915050565b60006152f18261404a565b91506152fc8361404a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615331576153306151c9565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006153638261533c565b61536d8185615347565b935061537d818560208601613fab565b61538681613fde565b840191505092915050565b60006080820190506153a660008301876140df565b6153b360208301866140df565b6153c06040830185614175565b81810360608301526153d28184615358565b905095945050505050565b6000815190506153ec81613f00565b92915050565b60006020828403121561540857615407613eca565b5b6000615416848285016153dd565b91505092915050565b600061542a8261404a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561545d5761545c6151c9565b5b600182019050919050565b60006154738261404a565b915061547e8361404a565b92508261548e5761548d615286565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220edda46dc6d9acc723110f157dc17bb1465f549d3d4f28dd6949deaff468d1d5d64736f6c634300080a0033

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.