ETH Price: $3,090.30 (+1.88%)
Gas: 2 Gwei

Token

VAST QUESTIONS 2 (VQ2)
 

Overview

Max Total Supply

162 VQ2

Holders

73

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 VQ2
0x57797c4814608a46494f9bed5541b94d0a037fcf
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
VQ2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract VQ2 is ERC721, Ownable {
    // Token mint values
    uint256 public constant MAX_QUESTIONS = 8893;
    uint256 _totalSupply = 0;

    bytes32 public _merkleRootPresale;
    bytes32 public _merkleRootVQ1;
    uint256 public _price = 0.088 ether;

    uint256 public _presaleStartTime = 1650083760;
    string public _baseTokenURI;

    // For bit manipulation
    uint256[] _allowListTicketSlots;
    mapping(address => uint256) public vq1TicketList;

    constructor(
        string memory baseURI,
        bytes32 merkleRootVQ1,
        bytes32 merkleRootPresale
    ) ERC721("VAST QUESTIONS 2", "VQ2") {
        _baseTokenURI = baseURI;
        _merkleRootVQ1 = merkleRootVQ1;
        _merkleRootPresale = merkleRootPresale;
    }

    /// @notice Adopt via public minting
    /// @dev Id tracking starts at 9999 to prevent id contamination
    /// @dev Signature to help avoid bot minting
    /// @param amount Number to mint
    function publicMint(uint256 amount) external payable {
        uint256 currentId = _totalSupply;
        require(msg.sender == tx.origin, "VQ2: Only EOAs");
        require(
            block.timestamp > _presaleStartTime + 2 days &&
                block.timestamp < _presaleStartTime + 7 days,
            "VQ2: Public minting closed"
        );
        require(currentId + amount < MAX_QUESTIONS, "VQ2: Exceeds Supply");
        require(msg.value == _price * amount, "VQ2: Invalid Eth sent");

        for (uint256 i = currentId; i < currentId + amount; i++) {
            _mint(msg.sender, i);
        }

        unchecked {
            currentId += amount; // check gas of this vs. doing unchecked incrementation of _totalSupply
        }
        _totalSupply = currentId;
    }

    /// @notice Mint via presale list with reference to a ticket number + merkle tree
    /// @dev Id tracking starts at 9999 to prevent id contamination
    /// @dev We could allow contracts to mint but saving gas for users is more important
    /// @dev Dont start ticketNumber at 0
    /// @param merkleProof Merkle proof for verifcation
    /// @param ticketNumbers ticket number assigned to user's address
    function presaleListMintMultiple(
        bytes32[] calldata merkleProof,
        uint256[] calldata ticketNumbers,
        uint256 numClaim
    ) external payable {
        uint256 currentId = _totalSupply;

        require(
            block.timestamp > _presaleStartTime &&
                block.timestamp < _presaleStartTime + 2 days,
            "VQ2: Presale closed"
        );
        require(currentId + numClaim < MAX_QUESTIONS, "VQ2: Exceeds Supply");
        require(msg.value == _price * numClaim, "VQ2: Invalid Eth sent");
        // no require needed for presale status as they can only mint through our website

        // Merkle magic
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, ticketNumbers));
        require(
            MerkleProof.verify(merkleProof, _merkleRootPresale, leaf),
            "VQ2: Invalid merkle proof"
        );

        // claim ticket
        _claimTickets(ticketNumbers, numClaim);

        // Pets bought by non-cat holders will have token ID increasing from 9,999 onwards
        for (uint256 i = 0; i < numClaim; i++) {
            _mint(msg.sender, currentId);
            unchecked {
                currentId++;
            }
        }

        _totalSupply = currentId;
    }

    function vq1ListMint(bytes32[] calldata merkleProof, uint256 numClaim)
        external
    {
        uint256 currentId = _totalSupply;
        require(currentId + numClaim < MAX_QUESTIONS, "VQ2: Exceeds Supply");
        require(
            vq1TicketList[msg.sender] == 0,
            "VQ2: Already redeemed free mint"
        );
        require(
            block.timestamp > _presaleStartTime &&
                block.timestamp < _presaleStartTime + 7 days,
            "VQ2: Outside claim time"
        );

        // Merkle magic
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, numClaim));
        require(
            MerkleProof.verify(merkleProof, _merkleRootVQ1, leaf),
            "VQ2: Invalid merkle proof"
        );

        // claim ticket
        vq1TicketList[msg.sender] = numClaim;

        for (uint256 i = 0; i < numClaim; i++) {
            _mint(msg.sender, currentId);
            unchecked {
                currentId++;
            }
        }

        _totalSupply = currentId;
    }

    /// @notice To check and track ticket numbers being claimed against
    /// @dev Returns error if ticket is larger than range or has been claimed against
    /// @dev Uses bit manipulation in place of mapping
    /// @dev https://medium.com/donkeverse/hardcore-gas-savings-in-nft-minting-part-3-save-30-000-in-presale-gas-c945406e89f0
    /// @param ticketNumbers ticket numbers assigned to user's address
    /// @param numClaim number of tokens being minted, requires number of tickets
    function _claimTickets(uint256[] calldata ticketNumbers, uint256 numClaim)
        internal
    {
        uint256 ticketNumber;
        uint256 storageOffset; // [][][]
        uint256 localGroup; // [][x][]
        uint256 offsetWithin256; // 0xF[x]FFF
        require(
            numClaim < ticketNumbers.length + 1,
            "VQ2: Invalid number of tickets"
        );
        require(
            ticketNumbers[ticketNumbers.length - 1] <
                _allowListTicketSlots.length * 256,
            "VQ2: Invalid tickets"
        );
        // We can trust the admin arent adding silly numbers
        unchecked {
            storageOffset = ticketNumbers[0] / 256;
        }
        localGroup = _allowListTicketSlots[storageOffset];

        for (uint256 i = 0; i < numClaim; i++) {
            ticketNumber = ticketNumbers[i];
            offsetWithin256 = ticketNumber % 256;

            if (ticketNumber / 256 != storageOffset) {
                // accounting if ticketNumbers span multiple groups
                _allowListTicketSlots[storageOffset] = localGroup; // highest gas because updating storage, happens max 2 times per claim
                unchecked {
                    storageOffset = ticketNumbers[0] / 256;
                }
                localGroup = _allowListTicketSlots[storageOffset];
            }
            // [][x][] > 0x1111[x]1111 > 1
            require(
                (localGroup >> offsetWithin256) & uint256(1) == 1,
                "VQ2: Ticket Claimed"
            );

            // [][x][] > 0x1111[x]1111 > (1) flip to (0)
            localGroup = localGroup & ~(uint256(1) << offsetWithin256);
        }
        _allowListTicketSlots[storageOffset] = localGroup; // final set of stored variable
    }

    /// @notice Sets the mint data slot length that tracks the state of tickets
    /// @param num number of tickets available for allow list
    function setMintSlotLength(uint256 num) external onlyOwner {
        // account for solidity rounding down
        uint256 slotCount = (num / 256) + 1;

        // set each element in the slot to binaries of 1
        uint256 MAX_INT = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;

        // create a temporary array based on number of slots required
        uint256[] memory arr = new uint256[](slotCount);

        // fill each element with MAX_INT
        for (uint256 i; i < slotCount; i++) {
            arr[i] = MAX_INT;
        }

        _allowListTicketSlots = arr;
    }

    /// @notice Set baseURI
    /// @param baseURI URI of the pet image server
    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    /// @notice Get uri of tokens
    /// @return string Uri
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /// @notice Set the purchase price of pets
    /// @param newPrice In wei - 10 ** 18
    function setPrice(uint256 newPrice) external onlyOwner {
        _price = newPrice;
    }

    /// @notice Set new Merkle Root
    /// @param merkleRoot Root of merkle tree
    function setMerkleRootPresale(bytes32 merkleRoot) external onlyOwner {
        _merkleRootPresale = merkleRoot;
    }

    /// @notice Set new Merkle Root
    /// @param merkleRoot Root of merkle tree
    function setMerkleRootVQ1(bytes32 merkleRoot) external onlyOwner {
        _merkleRootVQ1 = merkleRoot;
    }

    /// @notice Set the presale start time
    /// @param presaleStartTime presale start time
    function setPresaleStartTime(uint256 presaleStartTime) external onlyOwner {
        _presaleStartTime = presaleStartTime;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);
        if (tokenCount == 0) {
            return tokensId;
        }

        // fetch by brute force :( to avoid gas from storing the mapping :)
        // (sorry node providers, I love you :)
        uint256 curToken = 0;
        for (uint256 i; i < totalSupply(); i++) {
            if (ownerOf(i) == _owner) {
                tokensId[curToken] = i;
                curToken++;
                if (curToken == tokenCount) {
                    return tokensId;
                }
            }
        }

        return tokensId;
    }

    /// @notice Withdraw funds from contract
    function withdraw() external payable {
        uint256 balMul = address(this).balance / 10000;
        payable(address(0x84dBc933095071BeAf9271286b40585ef1824011)).transfer(
            25_00 * balMul
        );
        payable(address(0xc9AccF51a01a0A39Be3feE897bdAe9a870B69C2B)).transfer(
            1_00 * balMul
        );
        payable(address(0x44981eb429f1cCF0a2DDFE87c017dB0b4e73EB5F)).transfer(
            2_60 * balMul
        );
        payable(address(0xD4fda2396E7f88085bFeea94F057cAC08F617c88)).transfer(
            5_40 * balMul
        );
        payable(address(0x537038D516E7e71BFf78A555799Ce0daa01e79a1)).transfer(
            3_60 * balMul
        );
        payable(address(0x7cf298e9cc01B5460570c8678cE19D734D604e05)).transfer(
            4_40 * balMul
        );
        payable(address(0x34Cc0455Fa50fD3EA398934b66BD178a7d497c9C)).transfer(
            6_80 * balMul
        );
        payable(address(0x027fdD192980DBb700DF7592033c57F6EC4F53f9)).transfer(
            1_20 * balMul
        );
        payable(address(0x740975Bdc13e4253c0b8aF32f5271EF0aD6Dd52e)).transfer(
            11_00 * balMul
        );
        payable(address(0x93eC3c0D92788A788370FB7Dbdbd5629502A6e01)).transfer(
            7_00 * balMul
        );
        payable(address(owner())).transfer(7_00 * balMul);
        payable(address(0xEF19bba0CA1A32eE95a599a25E510beF4011aB34)).transfer(
            7_00 * balMul
        );
        payable(address(0xE7F97Cdd853d30A1BeFB42B88f8fe314AC67e8eb)).transfer(
            1_00 * balMul
        );
        payable(address(0x4729f800b85D10be1b15785Fb0553F835E5B036e)).transfer(
            3_00 * balMul
        );
        payable(address(0xC0B81951c7AcC287976d0556F7e666081D7119bC)).transfer(
            3_50 * balMul
        );
        payable(address(0xD0ED3818D1aC8fdfEC6158E7c02a268c8050B75e)).transfer(
            1_00 * balMul
        );
        payable(address(0xa8d67e13AC97cba918DeCdCD78f71fca8aB2d1a8)).transfer(
            25 * balMul
        );
        payable(address(0xf239447Dafa45D4FF2136f3006d445908f43E9c3)).transfer(
            25 * balMul
        );
        payable(address(0xC8df9AF1E99Cbadd4C3DD71C01044D87C88180c1)).transfer(
            25 * balMul
        );
        payable(address(0xE7F97Cdd853d30A1BeFB42B88f8fe314AC67e8eb)).transfer(
            1_00 * balMul
        );
        payable(address(0x80bDdFc2bD0B7C7FBc9691859948060C5BF86D59)).transfer(
            2_50 * balMul
        );
        payable(address(0x0218170f7F780Bbd46b633a17F15eD137490f74a)).transfer(
            2_50 * balMul
        );
        payable(address(0x84dBc933095071BeAf9271286b40585ef1824011)).transfer(
            50 * balMul
        );
        payable(address(0x5Ae95143b570AF028FF85c9D7390b134408408cC)).transfer(
            75 * balMul
        );
        payable(address(0xB7843C748D5aedEb84420364e75adfe8C2C91beA)).transfer(
            50 * balMul
        );
        payable(address(0x9Dc17c8C44300f17774Dd8Ce3828768ac1418759)).transfer(
            50 * balMul
        );
        payable(address(0x47A9DCf163132c8c1C271Fc5D8a90a801c8c85ac)).transfer(
            50 * balMul
        );
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bytes32","name":"merkleRootVQ1","type":"bytes32"},{"internalType":"bytes32","name":"merkleRootPresale","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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_QUESTIONS","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":"_merkleRootPresale","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRootVQ1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256[]","name":"ticketNumbers","type":"uint256[]"},{"internalType":"uint256","name":"numClaim","type":"uint256"}],"name":"presaleListMintMultiple","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootVQ1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"setMintSlotLength","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleStartTime","type":"uint256"}],"name":"setPresaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","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":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numClaim","type":"uint256"}],"name":"vq1ListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vq1TicketList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600755670138a388a43c0000600a5563625a47b0600b553480156200002a57600080fd5b5060405162003334380380620033348339810160408190526200004d91620001f5565b604080518082018252601081526f2b20a9aa1028aaa2a9aa24a7a729901960811b6020808301918252835180850190945260038452622b289960e91b908401528151919291620000a0916000916200014f565b508051620000b69060019060208401906200014f565b505050620000d3620000cd620000f960201b60201c565b620000fd565b8251620000e890600c9060208601906200014f565b506009919091556008555062000338565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015d90620002e5565b90600052602060002090601f016020900481019282620001815760008555620001cc565b82601f106200019c57805160ff1916838001178555620001cc565b82800160010185558215620001cc579182015b82811115620001cc578251825591602001919060010190620001af565b50620001da929150620001de565b5090565b5b80821115620001da5760008155600101620001df565b6000806000606084860312156200020b57600080fd5b83516001600160401b03808211156200022357600080fd5b818601915086601f8301126200023857600080fd5b8151818111156200024d576200024d62000322565b604051601f8201601f19908116603f0116810190838211818310171562000278576200027862000322565b816040528281526020935089848487010111156200029557600080fd5b600091505b82821015620002b957848201840151818301850152908301906200029a565b82821115620002cb5760008484830101525b928801516040909801519299979850919695505050505050565b600181811c90821680620002fa57607f821691505b602082108114156200031c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612fec80620003486000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063d22498321161006f578063d224983214610596578063e48cee22146105b6578063e985e9c5146105cc578063f2fde38b14610615578063fe0716ec1461063557600080fd5b8063b88d4fde14610514578063c4c901ce14610534578063c87b56dd14610561578063cfc86f7b1461058157600080fd5b806395d89b41116100e757806395d89b41146104895780639e8d365f1461049e578063a22cb465146104be578063a2b3b17e146104de578063a91b9b2a146104fe57600080fd5b8063715018a6146104205780637416f166146104355780638da5cb5b1461044b57806391b7f5ed1461046957600080fd5b80632db115441161019b578063438b63001161016a578063438b630014610380578063446a1b84146103ad57806355f804b3146103c05780636352211e146103e057806370a082311461040057600080fd5b80632db115441461032f57806336d42159146103425780633ccfd60b1461035857806342842e0e1461036057600080fd5b806318160ddd116101d757806318160ddd146102ba578063235b6ea1146102d957806323b872dd146102ef578063296cab551461030f57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004612b90565b610655565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106a7565b6040516102359190612d38565b34801561026c57600080fd5b5061028061027b366004612b77565b610739565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004612a8d565b6107d3565b005b3480156102c657600080fd5b506007545b604051908152602001610235565b3480156102e557600080fd5b506102cb600a5481565b3480156102fb57600080fd5b506102b861030a366004612999565b6108e9565b34801561031b57600080fd5b506102b861032a366004612b77565b61091a565b6102b861033d366004612b77565b610949565b34801561034e57600080fd5b506102cb60095481565b6102b8610ab8565b34801561036c57600080fd5b506102b861037b366004612999565b6112d2565b34801561038c57600080fd5b506103a061039b36600461294b565b6112ed565b6040516102359190612cf4565b6102b86103bb366004612ab7565b6113d8565b3480156103cc57600080fd5b506102b86103db366004612bca565b6115b6565b3480156103ec57600080fd5b506102806103fb366004612b77565b6115f3565b34801561040c57600080fd5b506102cb61041b36600461294b565b61166a565b34801561042c57600080fd5b506102b86116f1565b34801561044157600080fd5b506102cb6122bd81565b34801561045757600080fd5b506006546001600160a01b0316610280565b34801561047557600080fd5b506102b8610484366004612b77565b611727565b34801561049557600080fd5b50610253611756565b3480156104aa57600080fd5b506102b86104b9366004612b77565b611765565b3480156104ca57600080fd5b506102b86104d9366004612a51565b611794565b3480156104ea57600080fd5b506102b86104f9366004612b77565b61179f565b34801561050a57600080fd5b506102cb600b5481565b34801561052057600080fd5b506102b861052f3660046129d5565b611884565b34801561054057600080fd5b506102cb61054f36600461294b565b600e6020526000908152604090205481565b34801561056d57600080fd5b5061025361057c366004612b77565b6118bc565b34801561058d57600080fd5b50610253611997565b3480156105a257600080fd5b506102b86105b1366004612b2b565b611a25565b3480156105c257600080fd5b506102cb60085481565b3480156105d857600080fd5b506102296105e7366004612966565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062157600080fd5b506102b861063036600461294b565b611c2a565b34801561064157600080fd5b506102b8610650366004612b77565b611cc5565b60006001600160e01b031982166380ac58cd60e01b148061068657506001600160e01b03198216635b5e139f60e01b145b806106a157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106b690612ede565b80601f01602080910402602001604051908101604052809291908181526020018280546106e290612ede565b801561072f5780601f106107045761010080835404028352916020019161072f565b820191906000526020600020905b81548152906001019060200180831161071257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107b75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107de826115f3565b9050806001600160a01b0316836001600160a01b0316141561084c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ae565b336001600160a01b0382161480610868575061086881336105e7565b6108da5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ae565b6108e48383611cf4565b505050565b6108f33382611d62565b61090f5760405162461bcd60e51b81526004016107ae90612dff565b6108e4838383611e59565b6006546001600160a01b031633146109445760405162461bcd60e51b81526004016107ae90612dca565b600b55565b60075433321461098c5760405162461bcd60e51b815260206004820152600e60248201526d5651323a204f6e6c7920454f417360901b60448201526064016107ae565b600b5461099c906202a300612e50565b421180156109b85750600b546109b59062093a80612e50565b42105b610a045760405162461bcd60e51b815260206004820152601a60248201527f5651323a205075626c6963206d696e74696e6720636c6f73656400000000000060448201526064016107ae565b6122bd610a118383612e50565b10610a2e5760405162461bcd60e51b81526004016107ae90612d9d565b81600a54610a3c9190612e7c565b3414610a825760405162461bcd60e51b815260206004820152601560248201527415944c8e88125b9d985b1a5908115d1a081cd95b9d605a1b60448201526064016107ae565b805b610a8e8383612e50565b811015610ab157610a9f3382611ff5565b80610aa981612f19565b915050610a84565b5001600755565b6000610ac661271047612e68565b90507384dbc933095071beaf9271286b40585ef18240116108fc610aec836109c4612e7c565b6040518115909202916000818181858888f19350505050158015610b14573d6000803e3d6000fd5b5073c9accf51a01a0a39be3fee897bdae9a870b69c2b6108fc610b38836064612e7c565b6040518115909202916000818181858888f19350505050158015610b60573d6000803e3d6000fd5b507344981eb429f1ccf0a2ddfe87c017db0b4e73eb5f6108fc610b8583610104612e7c565b6040518115909202916000818181858888f19350505050158015610bad573d6000803e3d6000fd5b5073d4fda2396e7f88085bfeea94f057cac08f617c886108fc610bd28361021c612e7c565b6040518115909202916000818181858888f19350505050158015610bfa573d6000803e3d6000fd5b5073537038d516e7e71bff78a555799ce0daa01e79a16108fc610c1f83610168612e7c565b6040518115909202916000818181858888f19350505050158015610c47573d6000803e3d6000fd5b50737cf298e9cc01b5460570c8678ce19d734d604e056108fc610c6c836101b8612e7c565b6040518115909202916000818181858888f19350505050158015610c94573d6000803e3d6000fd5b507334cc0455fa50fd3ea398934b66bd178a7d497c9c6108fc610cb9836102a8612e7c565b6040518115909202916000818181858888f19350505050158015610ce1573d6000803e3d6000fd5b5073027fdd192980dbb700df7592033c57f6ec4f53f96108fc610d05836078612e7c565b6040518115909202916000818181858888f19350505050158015610d2d573d6000803e3d6000fd5b5073740975bdc13e4253c0b8af32f5271ef0ad6dd52e6108fc610d528361044c612e7c565b6040518115909202916000818181858888f19350505050158015610d7a573d6000803e3d6000fd5b507393ec3c0d92788a788370fb7dbdbd5629502a6e016108fc610d9f836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610dc7573d6000803e3d6000fd5b506006546001600160a01b03166108fc610de3836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610e0b573d6000803e3d6000fd5b5073ef19bba0ca1a32ee95a599a25e510bef4011ab346108fc610e30836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610e58573d6000803e3d6000fd5b5073e7f97cdd853d30a1befb42b88f8fe314ac67e8eb6108fc610e7c836064612e7c565b6040518115909202916000818181858888f19350505050158015610ea4573d6000803e3d6000fd5b50734729f800b85d10be1b15785fb0553f835e5b036e6108fc610ec98361012c612e7c565b6040518115909202916000818181858888f19350505050158015610ef1573d6000803e3d6000fd5b5073c0b81951c7acc287976d0556f7e666081d7119bc6108fc610f168361015e612e7c565b6040518115909202916000818181858888f19350505050158015610f3e573d6000803e3d6000fd5b5073d0ed3818d1ac8fdfec6158e7c02a268c8050b75e6108fc610f62836064612e7c565b6040518115909202916000818181858888f19350505050158015610f8a573d6000803e3d6000fd5b5073a8d67e13ac97cba918decdcd78f71fca8ab2d1a86108fc610fae836019612e7c565b6040518115909202916000818181858888f19350505050158015610fd6573d6000803e3d6000fd5b5073f239447dafa45d4ff2136f3006d445908f43e9c36108fc610ffa836019612e7c565b6040518115909202916000818181858888f19350505050158015611022573d6000803e3d6000fd5b5073c8df9af1e99cbadd4c3dd71c01044d87c88180c16108fc611046836019612e7c565b6040518115909202916000818181858888f1935050505015801561106e573d6000803e3d6000fd5b5073e7f97cdd853d30a1befb42b88f8fe314ac67e8eb6108fc611092836064612e7c565b6040518115909202916000818181858888f193505050501580156110ba573d6000803e3d6000fd5b507380bddfc2bd0b7c7fbc9691859948060c5bf86d596108fc6110de8360fa612e7c565b6040518115909202916000818181858888f19350505050158015611106573d6000803e3d6000fd5b50730218170f7f780bbd46b633a17f15ed137490f74a6108fc61112a8360fa612e7c565b6040518115909202916000818181858888f19350505050158015611152573d6000803e3d6000fd5b507384dbc933095071beaf9271286b40585ef18240116108fc611176836032612e7c565b6040518115909202916000818181858888f1935050505015801561119e573d6000803e3d6000fd5b50735ae95143b570af028ff85c9d7390b134408408cc6108fc6111c283604b612e7c565b6040518115909202916000818181858888f193505050501580156111ea573d6000803e3d6000fd5b5073b7843c748d5aedeb84420364e75adfe8c2c91bea6108fc61120e836032612e7c565b6040518115909202916000818181858888f19350505050158015611236573d6000803e3d6000fd5b50739dc17c8c44300f17774dd8ce3828768ac14187596108fc61125a836032612e7c565b6040518115909202916000818181858888f19350505050158015611282573d6000803e3d6000fd5b507347a9dcf163132c8c1c271fc5d8a90a801c8c85ac6108fc6112a6836032612e7c565b6040518115909202916000818181858888f193505050501580156112ce573d6000803e3d6000fd5b5050565b6108e483838360405180602001604052806000815250611884565b606060006112fa8361166a565b905060008167ffffffffffffffff81111561131757611317612f8a565b604051908082528060200260200182016040528015611340578160200160208202803683370190505b5090508161134f579392505050565b6000805b6007548110156113ce57856001600160a01b0316611370826115f3565b6001600160a01b031614156113bc578083838151811061139257611392612f74565b6020908102919091010152816113a781612f19565b925050838214156113bc575090949350505050565b806113c681612f19565b915050611353565b5090949350505050565b600754600b54421180156113fa5750600b546113f7906202a300612e50565b42105b61143c5760405162461bcd60e51b815260206004820152601360248201527215944c8e88141c995cd85b194818db1bdcd959606a1b60448201526064016107ae565b6122bd6114498383612e50565b106114665760405162461bcd60e51b81526004016107ae90612d9d565b81600a546114749190612e7c565b34146114ba5760405162461bcd60e51b815260206004820152601560248201527415944c8e88125b9d985b1a5908115d1a081cd95b9d605a1b60448201526064016107ae565b60003385856040516020016114d193929190612c3f565b60405160208183030381529060405280519060200120905061152a878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506008549150849050612137565b6115725760405162461bcd60e51b81526020600482015260196024820152782b28991d1024b73b30b634b21036b2b935b63290383937b7b360391b60448201526064016107ae565b61157d85858561214d565b60005b838110156115aa576115923384611ff5565b600190920191806115a281612f19565b915050611580565b50506007555050505050565b6006546001600160a01b031633146115e05760405162461bcd60e51b81526004016107ae90612dca565b80516112ce90600c90602084019061279a565b6000818152600260205260408120546001600160a01b0316806106a15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ae565b60006001600160a01b0382166116d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ae565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461171b5760405162461bcd60e51b81526004016107ae90612dca565b61172560006123b8565b565b6006546001600160a01b031633146117515760405162461bcd60e51b81526004016107ae90612dca565b600a55565b6060600180546106b690612ede565b6006546001600160a01b0316331461178f5760405162461bcd60e51b81526004016107ae90612dca565b600955565b6112ce33838361240a565b6006546001600160a01b031633146117c95760405162461bcd60e51b81526004016107ae90612dca565b60006117d761010083612e68565b6117e2906001612e50565b905060001960008267ffffffffffffffff81111561180257611802612f8a565b60405190808252806020026020018201604052801561182b578160200160208202803683370190505b50905060005b83811015611869578282828151811061184c5761184c612f74565b60209081029190910101528061186181612f19565b915050611831565b50805161187d90600d90602084019061281e565b5050505050565b61188e3383611d62565b6118aa5760405162461bcd60e51b81526004016107ae90612dff565b6118b6848484846124d9565b50505050565b6000818152600260205260409020546060906001600160a01b031661193b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ae565b600061194561250c565b905060008151116119655760405180602001604052806000815250611990565b8061196f8461251b565b604051602001611980929190612c88565b6040516020818303038152906040525b9392505050565b600c80546119a490612ede565b80601f01602080910402602001604051908101604052809291908181526020018280546119d090612ede565b8015611a1d5780601f106119f257610100808354040283529160200191611a1d565b820191906000526020600020905b815481529060010190602001808311611a0057829003601f168201915b505050505081565b6007546122bd611a358383612e50565b10611a525760405162461bcd60e51b81526004016107ae90612d9d565b336000908152600e602052604090205415611aaf5760405162461bcd60e51b815260206004820152601f60248201527f5651323a20416c72656164792072656465656d65642066726565206d696e740060448201526064016107ae565b600b5442118015611ace5750600b54611acb9062093a80612e50565b42105b611b1a5760405162461bcd60e51b815260206004820152601760248201527f5651323a204f75747369646520636c61696d2074696d6500000000000000000060448201526064016107ae565b6040516bffffffffffffffffffffffff193360601b16602082015260348101839052600090605401604051602081830303815290604052805190602001209050611b9b858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050612137565b611be35760405162461bcd60e51b81526020600482015260196024820152782b28991d1024b73b30b634b21036b2b935b63290383937b7b360391b60448201526064016107ae565b336000908152600e602052604081208490555b83811015611c2057611c083384611ff5565b60019092019180611c1881612f19565b915050611bf6565b5050600755505050565b6006546001600160a01b03163314611c545760405162461bcd60e51b81526004016107ae90612dca565b6001600160a01b038116611cb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b611cc2816123b8565b50565b6006546001600160a01b03163314611cef5760405162461bcd60e51b81526004016107ae90612dca565b600855565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d29826115f3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ddb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ae565b6000611de6836115f3565b9050806001600160a01b0316846001600160a01b03161480611e215750836001600160a01b0316611e1684610739565b6001600160a01b0316145b80611e5157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e6c826115f3565b6001600160a01b031614611ed05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107ae565b6001600160a01b038216611f325760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ae565b611f3d600082611cf4565b6001600160a01b0383166000908152600360205260408120805460019290611f66908490612e9b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f94908490612e50565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661204b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ae565b6000818152600260205260409020546001600160a01b0316156120b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ae565b6001600160a01b03821660009081526003602052604081208054600192906120d9908490612e50565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000826121448584612619565b14949350505050565b600080808061215d866001612e50565b85106121ab5760405162461bcd60e51b815260206004820152601e60248201527f5651323a20496e76616c6964206e756d626572206f66207469636b657473000060448201526064016107ae565b600d546121ba90610100612e7c565b87876121c7600182612e9b565b8181106121d6576121d6612f74565b90506020020135106122215760405162461bcd60e51b81526020600482015260146024820152735651323a20496e76616c6964207469636b65747360601b60448201526064016107ae565b6101008787600081811061223757612237612f74565b905060200201358161224b5761224b612f5e565b049250600d838154811061226157612261612f74565b9060005260206000200154915060005b8581101561238e5787878281811061228b5761228b612f74565b905060200201359450610100856122a29190612f34565b9150836122b161010087612e68565b146123265782600d85815481106122ca576122ca612f74565b9060005260206000200181905550610100888860008181106122ee576122ee612f74565b905060200201358161230257612302612f5e565b049350600d848154811061231857612318612f74565b906000526020600020015492505b60018284901c166001146123725760405162461bcd60e51b815260206004820152601360248201527215944c8e88151a58dad95d0810db185a5b5959606a1b60448201526064016107ae565b6001821b1992909216918061238681612f19565b915050612271565b5081600d84815481106123a3576123a3612f74565b60009182526020909120015550505050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561246c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ae565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6124e4848484611e59565b6124f08484848461268d565b6118b65760405162461bcd60e51b81526004016107ae90612d4b565b6060600c80546106b690612ede565b60608161253f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612569578061255381612f19565b91506125629050600a83612e68565b9150612543565b60008167ffffffffffffffff81111561258457612584612f8a565b6040519080825280601f01601f1916602001820160405280156125ae576020820181803683370190505b5090505b8415611e51576125c3600183612e9b565b91506125d0600a86612f34565b6125db906030612e50565b60f81b8183815181106125f0576125f0612f74565b60200101906001600160f81b031916908160001a905350612612600a86612e68565b94506125b2565b600081815b845181101561268557600085828151811061263b5761263b612f74565b602002602001015190508083116126615760008381526020829052604090209250612672565b600081815260208490526040902092505b508061267d81612f19565b91505061261e565b509392505050565b60006001600160a01b0384163b1561278f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126d1903390899088908890600401612cb7565b602060405180830381600087803b1580156126eb57600080fd5b505af192505050801561271b575060408051601f3d908101601f1916820190925261271891810190612bad565b60015b612775573d808015612749576040519150601f19603f3d011682016040523d82523d6000602084013e61274e565b606091505b50805161276d5760405162461bcd60e51b81526004016107ae90612d4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e51565b506001949350505050565b8280546127a690612ede565b90600052602060002090601f0160209004810192826127c8576000855561280e565b82601f106127e157805160ff191683800117855561280e565b8280016001018555821561280e579182015b8281111561280e5782518255916020019190600101906127f3565b5061281a929150612858565b5090565b82805482825590600052602060002090810192821561280e579160200282018281111561280e5782518255916020019190600101906127f3565b5b8082111561281a5760008155600101612859565b600067ffffffffffffffff8084111561288857612888612f8a565b604051601f8501601f19908116603f011681019082821181831017156128b0576128b0612f8a565b816040528093508581528686860111156128c957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146128fa57600080fd5b919050565b60008083601f84011261291157600080fd5b50813567ffffffffffffffff81111561292957600080fd5b6020830191508360208260051b850101111561294457600080fd5b9250929050565b60006020828403121561295d57600080fd5b611990826128e3565b6000806040838503121561297957600080fd5b612982836128e3565b9150612990602084016128e3565b90509250929050565b6000806000606084860312156129ae57600080fd5b6129b7846128e3565b92506129c5602085016128e3565b9150604084013590509250925092565b600080600080608085870312156129eb57600080fd5b6129f4856128e3565b9350612a02602086016128e3565b925060408501359150606085013567ffffffffffffffff811115612a2557600080fd5b8501601f81018713612a3657600080fd5b612a458782356020840161286d565b91505092959194509250565b60008060408385031215612a6457600080fd5b612a6d836128e3565b915060208301358015158114612a8257600080fd5b809150509250929050565b60008060408385031215612aa057600080fd5b612aa9836128e3565b946020939093013593505050565b600080600080600060608688031215612acf57600080fd5b853567ffffffffffffffff80821115612ae757600080fd5b612af389838a016128ff565b90975095506020880135915080821115612b0c57600080fd5b50612b19888289016128ff565b96999598509660400135949350505050565b600080600060408486031215612b4057600080fd5b833567ffffffffffffffff811115612b5757600080fd5b612b63868287016128ff565b909790965060209590950135949350505050565b600060208284031215612b8957600080fd5b5035919050565b600060208284031215612ba257600080fd5b813561199081612fa0565b600060208284031215612bbf57600080fd5b815161199081612fa0565b600060208284031215612bdc57600080fd5b813567ffffffffffffffff811115612bf357600080fd5b8201601f81018413612c0457600080fd5b611e518482356020840161286d565b60008151808452612c2b816020860160208601612eb2565b601f01601f19169290920160200192915050565b606084901b6bffffffffffffffffffffffff1916815260006001600160fb1b03831115612c6b57600080fd5b8260051b8085601485013760009201601401918252509392505050565b60008351612c9a818460208801612eb2565b835190830190612cae818360208801612eb2565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cea90830184612c13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d2c57835183529284019291840191600101612d10565b50909695505050505050565b6020815260006119906020830184612c13565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152725651323a204578636565647320537570706c7960681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612e6357612e63612f48565b500190565b600082612e7757612e77612f5e565b500490565b6000816000190483118215151615612e9657612e96612f48565b500290565b600082821015612ead57612ead612f48565b500390565b60005b83811015612ecd578181015183820152602001612eb5565b838111156118b65750506000910152565b600181811c90821680612ef257607f821691505b60208210811415612f1357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2d57612f2d612f48565b5060010190565b600082612f4357612f43612f5e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611cc257600080fdfea26469706673582212201a0f55fea81533b5b657802152dac03c13e1a916c5f7da0a7d1708d7ed52af3864736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060cbeb38656c685dc031129fcfcb6b15d3cf5460628ed13fb29756423e2bdae2d02fffef79b0c76d54c95d765b72c15d83b513aa7fb71da4db7a04b9b315ed5ad4000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f766173747175657374696f6e732e636f6d2f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063d22498321161006f578063d224983214610596578063e48cee22146105b6578063e985e9c5146105cc578063f2fde38b14610615578063fe0716ec1461063557600080fd5b8063b88d4fde14610514578063c4c901ce14610534578063c87b56dd14610561578063cfc86f7b1461058157600080fd5b806395d89b41116100e757806395d89b41146104895780639e8d365f1461049e578063a22cb465146104be578063a2b3b17e146104de578063a91b9b2a146104fe57600080fd5b8063715018a6146104205780637416f166146104355780638da5cb5b1461044b57806391b7f5ed1461046957600080fd5b80632db115441161019b578063438b63001161016a578063438b630014610380578063446a1b84146103ad57806355f804b3146103c05780636352211e146103e057806370a082311461040057600080fd5b80632db115441461032f57806336d42159146103425780633ccfd60b1461035857806342842e0e1461036057600080fd5b806318160ddd116101d757806318160ddd146102ba578063235b6ea1146102d957806323b872dd146102ef578063296cab551461030f57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004612b90565b610655565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106a7565b6040516102359190612d38565b34801561026c57600080fd5b5061028061027b366004612b77565b610739565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004612a8d565b6107d3565b005b3480156102c657600080fd5b506007545b604051908152602001610235565b3480156102e557600080fd5b506102cb600a5481565b3480156102fb57600080fd5b506102b861030a366004612999565b6108e9565b34801561031b57600080fd5b506102b861032a366004612b77565b61091a565b6102b861033d366004612b77565b610949565b34801561034e57600080fd5b506102cb60095481565b6102b8610ab8565b34801561036c57600080fd5b506102b861037b366004612999565b6112d2565b34801561038c57600080fd5b506103a061039b36600461294b565b6112ed565b6040516102359190612cf4565b6102b86103bb366004612ab7565b6113d8565b3480156103cc57600080fd5b506102b86103db366004612bca565b6115b6565b3480156103ec57600080fd5b506102806103fb366004612b77565b6115f3565b34801561040c57600080fd5b506102cb61041b36600461294b565b61166a565b34801561042c57600080fd5b506102b86116f1565b34801561044157600080fd5b506102cb6122bd81565b34801561045757600080fd5b506006546001600160a01b0316610280565b34801561047557600080fd5b506102b8610484366004612b77565b611727565b34801561049557600080fd5b50610253611756565b3480156104aa57600080fd5b506102b86104b9366004612b77565b611765565b3480156104ca57600080fd5b506102b86104d9366004612a51565b611794565b3480156104ea57600080fd5b506102b86104f9366004612b77565b61179f565b34801561050a57600080fd5b506102cb600b5481565b34801561052057600080fd5b506102b861052f3660046129d5565b611884565b34801561054057600080fd5b506102cb61054f36600461294b565b600e6020526000908152604090205481565b34801561056d57600080fd5b5061025361057c366004612b77565b6118bc565b34801561058d57600080fd5b50610253611997565b3480156105a257600080fd5b506102b86105b1366004612b2b565b611a25565b3480156105c257600080fd5b506102cb60085481565b3480156105d857600080fd5b506102296105e7366004612966565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062157600080fd5b506102b861063036600461294b565b611c2a565b34801561064157600080fd5b506102b8610650366004612b77565b611cc5565b60006001600160e01b031982166380ac58cd60e01b148061068657506001600160e01b03198216635b5e139f60e01b145b806106a157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106b690612ede565b80601f01602080910402602001604051908101604052809291908181526020018280546106e290612ede565b801561072f5780601f106107045761010080835404028352916020019161072f565b820191906000526020600020905b81548152906001019060200180831161071257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107b75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107de826115f3565b9050806001600160a01b0316836001600160a01b0316141561084c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ae565b336001600160a01b0382161480610868575061086881336105e7565b6108da5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ae565b6108e48383611cf4565b505050565b6108f33382611d62565b61090f5760405162461bcd60e51b81526004016107ae90612dff565b6108e4838383611e59565b6006546001600160a01b031633146109445760405162461bcd60e51b81526004016107ae90612dca565b600b55565b60075433321461098c5760405162461bcd60e51b815260206004820152600e60248201526d5651323a204f6e6c7920454f417360901b60448201526064016107ae565b600b5461099c906202a300612e50565b421180156109b85750600b546109b59062093a80612e50565b42105b610a045760405162461bcd60e51b815260206004820152601a60248201527f5651323a205075626c6963206d696e74696e6720636c6f73656400000000000060448201526064016107ae565b6122bd610a118383612e50565b10610a2e5760405162461bcd60e51b81526004016107ae90612d9d565b81600a54610a3c9190612e7c565b3414610a825760405162461bcd60e51b815260206004820152601560248201527415944c8e88125b9d985b1a5908115d1a081cd95b9d605a1b60448201526064016107ae565b805b610a8e8383612e50565b811015610ab157610a9f3382611ff5565b80610aa981612f19565b915050610a84565b5001600755565b6000610ac661271047612e68565b90507384dbc933095071beaf9271286b40585ef18240116108fc610aec836109c4612e7c565b6040518115909202916000818181858888f19350505050158015610b14573d6000803e3d6000fd5b5073c9accf51a01a0a39be3fee897bdae9a870b69c2b6108fc610b38836064612e7c565b6040518115909202916000818181858888f19350505050158015610b60573d6000803e3d6000fd5b507344981eb429f1ccf0a2ddfe87c017db0b4e73eb5f6108fc610b8583610104612e7c565b6040518115909202916000818181858888f19350505050158015610bad573d6000803e3d6000fd5b5073d4fda2396e7f88085bfeea94f057cac08f617c886108fc610bd28361021c612e7c565b6040518115909202916000818181858888f19350505050158015610bfa573d6000803e3d6000fd5b5073537038d516e7e71bff78a555799ce0daa01e79a16108fc610c1f83610168612e7c565b6040518115909202916000818181858888f19350505050158015610c47573d6000803e3d6000fd5b50737cf298e9cc01b5460570c8678ce19d734d604e056108fc610c6c836101b8612e7c565b6040518115909202916000818181858888f19350505050158015610c94573d6000803e3d6000fd5b507334cc0455fa50fd3ea398934b66bd178a7d497c9c6108fc610cb9836102a8612e7c565b6040518115909202916000818181858888f19350505050158015610ce1573d6000803e3d6000fd5b5073027fdd192980dbb700df7592033c57f6ec4f53f96108fc610d05836078612e7c565b6040518115909202916000818181858888f19350505050158015610d2d573d6000803e3d6000fd5b5073740975bdc13e4253c0b8af32f5271ef0ad6dd52e6108fc610d528361044c612e7c565b6040518115909202916000818181858888f19350505050158015610d7a573d6000803e3d6000fd5b507393ec3c0d92788a788370fb7dbdbd5629502a6e016108fc610d9f836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610dc7573d6000803e3d6000fd5b506006546001600160a01b03166108fc610de3836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610e0b573d6000803e3d6000fd5b5073ef19bba0ca1a32ee95a599a25e510bef4011ab346108fc610e30836102bc612e7c565b6040518115909202916000818181858888f19350505050158015610e58573d6000803e3d6000fd5b5073e7f97cdd853d30a1befb42b88f8fe314ac67e8eb6108fc610e7c836064612e7c565b6040518115909202916000818181858888f19350505050158015610ea4573d6000803e3d6000fd5b50734729f800b85d10be1b15785fb0553f835e5b036e6108fc610ec98361012c612e7c565b6040518115909202916000818181858888f19350505050158015610ef1573d6000803e3d6000fd5b5073c0b81951c7acc287976d0556f7e666081d7119bc6108fc610f168361015e612e7c565b6040518115909202916000818181858888f19350505050158015610f3e573d6000803e3d6000fd5b5073d0ed3818d1ac8fdfec6158e7c02a268c8050b75e6108fc610f62836064612e7c565b6040518115909202916000818181858888f19350505050158015610f8a573d6000803e3d6000fd5b5073a8d67e13ac97cba918decdcd78f71fca8ab2d1a86108fc610fae836019612e7c565b6040518115909202916000818181858888f19350505050158015610fd6573d6000803e3d6000fd5b5073f239447dafa45d4ff2136f3006d445908f43e9c36108fc610ffa836019612e7c565b6040518115909202916000818181858888f19350505050158015611022573d6000803e3d6000fd5b5073c8df9af1e99cbadd4c3dd71c01044d87c88180c16108fc611046836019612e7c565b6040518115909202916000818181858888f1935050505015801561106e573d6000803e3d6000fd5b5073e7f97cdd853d30a1befb42b88f8fe314ac67e8eb6108fc611092836064612e7c565b6040518115909202916000818181858888f193505050501580156110ba573d6000803e3d6000fd5b507380bddfc2bd0b7c7fbc9691859948060c5bf86d596108fc6110de8360fa612e7c565b6040518115909202916000818181858888f19350505050158015611106573d6000803e3d6000fd5b50730218170f7f780bbd46b633a17f15ed137490f74a6108fc61112a8360fa612e7c565b6040518115909202916000818181858888f19350505050158015611152573d6000803e3d6000fd5b507384dbc933095071beaf9271286b40585ef18240116108fc611176836032612e7c565b6040518115909202916000818181858888f1935050505015801561119e573d6000803e3d6000fd5b50735ae95143b570af028ff85c9d7390b134408408cc6108fc6111c283604b612e7c565b6040518115909202916000818181858888f193505050501580156111ea573d6000803e3d6000fd5b5073b7843c748d5aedeb84420364e75adfe8c2c91bea6108fc61120e836032612e7c565b6040518115909202916000818181858888f19350505050158015611236573d6000803e3d6000fd5b50739dc17c8c44300f17774dd8ce3828768ac14187596108fc61125a836032612e7c565b6040518115909202916000818181858888f19350505050158015611282573d6000803e3d6000fd5b507347a9dcf163132c8c1c271fc5d8a90a801c8c85ac6108fc6112a6836032612e7c565b6040518115909202916000818181858888f193505050501580156112ce573d6000803e3d6000fd5b5050565b6108e483838360405180602001604052806000815250611884565b606060006112fa8361166a565b905060008167ffffffffffffffff81111561131757611317612f8a565b604051908082528060200260200182016040528015611340578160200160208202803683370190505b5090508161134f579392505050565b6000805b6007548110156113ce57856001600160a01b0316611370826115f3565b6001600160a01b031614156113bc578083838151811061139257611392612f74565b6020908102919091010152816113a781612f19565b925050838214156113bc575090949350505050565b806113c681612f19565b915050611353565b5090949350505050565b600754600b54421180156113fa5750600b546113f7906202a300612e50565b42105b61143c5760405162461bcd60e51b815260206004820152601360248201527215944c8e88141c995cd85b194818db1bdcd959606a1b60448201526064016107ae565b6122bd6114498383612e50565b106114665760405162461bcd60e51b81526004016107ae90612d9d565b81600a546114749190612e7c565b34146114ba5760405162461bcd60e51b815260206004820152601560248201527415944c8e88125b9d985b1a5908115d1a081cd95b9d605a1b60448201526064016107ae565b60003385856040516020016114d193929190612c3f565b60405160208183030381529060405280519060200120905061152a878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506008549150849050612137565b6115725760405162461bcd60e51b81526020600482015260196024820152782b28991d1024b73b30b634b21036b2b935b63290383937b7b360391b60448201526064016107ae565b61157d85858561214d565b60005b838110156115aa576115923384611ff5565b600190920191806115a281612f19565b915050611580565b50506007555050505050565b6006546001600160a01b031633146115e05760405162461bcd60e51b81526004016107ae90612dca565b80516112ce90600c90602084019061279a565b6000818152600260205260408120546001600160a01b0316806106a15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ae565b60006001600160a01b0382166116d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ae565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461171b5760405162461bcd60e51b81526004016107ae90612dca565b61172560006123b8565b565b6006546001600160a01b031633146117515760405162461bcd60e51b81526004016107ae90612dca565b600a55565b6060600180546106b690612ede565b6006546001600160a01b0316331461178f5760405162461bcd60e51b81526004016107ae90612dca565b600955565b6112ce33838361240a565b6006546001600160a01b031633146117c95760405162461bcd60e51b81526004016107ae90612dca565b60006117d761010083612e68565b6117e2906001612e50565b905060001960008267ffffffffffffffff81111561180257611802612f8a565b60405190808252806020026020018201604052801561182b578160200160208202803683370190505b50905060005b83811015611869578282828151811061184c5761184c612f74565b60209081029190910101528061186181612f19565b915050611831565b50805161187d90600d90602084019061281e565b5050505050565b61188e3383611d62565b6118aa5760405162461bcd60e51b81526004016107ae90612dff565b6118b6848484846124d9565b50505050565b6000818152600260205260409020546060906001600160a01b031661193b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ae565b600061194561250c565b905060008151116119655760405180602001604052806000815250611990565b8061196f8461251b565b604051602001611980929190612c88565b6040516020818303038152906040525b9392505050565b600c80546119a490612ede565b80601f01602080910402602001604051908101604052809291908181526020018280546119d090612ede565b8015611a1d5780601f106119f257610100808354040283529160200191611a1d565b820191906000526020600020905b815481529060010190602001808311611a0057829003601f168201915b505050505081565b6007546122bd611a358383612e50565b10611a525760405162461bcd60e51b81526004016107ae90612d9d565b336000908152600e602052604090205415611aaf5760405162461bcd60e51b815260206004820152601f60248201527f5651323a20416c72656164792072656465656d65642066726565206d696e740060448201526064016107ae565b600b5442118015611ace5750600b54611acb9062093a80612e50565b42105b611b1a5760405162461bcd60e51b815260206004820152601760248201527f5651323a204f75747369646520636c61696d2074696d6500000000000000000060448201526064016107ae565b6040516bffffffffffffffffffffffff193360601b16602082015260348101839052600090605401604051602081830303815290604052805190602001209050611b9b858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050612137565b611be35760405162461bcd60e51b81526020600482015260196024820152782b28991d1024b73b30b634b21036b2b935b63290383937b7b360391b60448201526064016107ae565b336000908152600e602052604081208490555b83811015611c2057611c083384611ff5565b60019092019180611c1881612f19565b915050611bf6565b5050600755505050565b6006546001600160a01b03163314611c545760405162461bcd60e51b81526004016107ae90612dca565b6001600160a01b038116611cb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b611cc2816123b8565b50565b6006546001600160a01b03163314611cef5760405162461bcd60e51b81526004016107ae90612dca565b600855565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d29826115f3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ddb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ae565b6000611de6836115f3565b9050806001600160a01b0316846001600160a01b03161480611e215750836001600160a01b0316611e1684610739565b6001600160a01b0316145b80611e5157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e6c826115f3565b6001600160a01b031614611ed05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107ae565b6001600160a01b038216611f325760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ae565b611f3d600082611cf4565b6001600160a01b0383166000908152600360205260408120805460019290611f66908490612e9b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f94908490612e50565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661204b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ae565b6000818152600260205260409020546001600160a01b0316156120b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ae565b6001600160a01b03821660009081526003602052604081208054600192906120d9908490612e50565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000826121448584612619565b14949350505050565b600080808061215d866001612e50565b85106121ab5760405162461bcd60e51b815260206004820152601e60248201527f5651323a20496e76616c6964206e756d626572206f66207469636b657473000060448201526064016107ae565b600d546121ba90610100612e7c565b87876121c7600182612e9b565b8181106121d6576121d6612f74565b90506020020135106122215760405162461bcd60e51b81526020600482015260146024820152735651323a20496e76616c6964207469636b65747360601b60448201526064016107ae565b6101008787600081811061223757612237612f74565b905060200201358161224b5761224b612f5e565b049250600d838154811061226157612261612f74565b9060005260206000200154915060005b8581101561238e5787878281811061228b5761228b612f74565b905060200201359450610100856122a29190612f34565b9150836122b161010087612e68565b146123265782600d85815481106122ca576122ca612f74565b9060005260206000200181905550610100888860008181106122ee576122ee612f74565b905060200201358161230257612302612f5e565b049350600d848154811061231857612318612f74565b906000526020600020015492505b60018284901c166001146123725760405162461bcd60e51b815260206004820152601360248201527215944c8e88151a58dad95d0810db185a5b5959606a1b60448201526064016107ae565b6001821b1992909216918061238681612f19565b915050612271565b5081600d84815481106123a3576123a3612f74565b60009182526020909120015550505050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561246c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ae565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6124e4848484611e59565b6124f08484848461268d565b6118b65760405162461bcd60e51b81526004016107ae90612d4b565b6060600c80546106b690612ede565b60608161253f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612569578061255381612f19565b91506125629050600a83612e68565b9150612543565b60008167ffffffffffffffff81111561258457612584612f8a565b6040519080825280601f01601f1916602001820160405280156125ae576020820181803683370190505b5090505b8415611e51576125c3600183612e9b565b91506125d0600a86612f34565b6125db906030612e50565b60f81b8183815181106125f0576125f0612f74565b60200101906001600160f81b031916908160001a905350612612600a86612e68565b94506125b2565b600081815b845181101561268557600085828151811061263b5761263b612f74565b602002602001015190508083116126615760008381526020829052604090209250612672565b600081815260208490526040902092505b508061267d81612f19565b91505061261e565b509392505050565b60006001600160a01b0384163b1561278f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126d1903390899088908890600401612cb7565b602060405180830381600087803b1580156126eb57600080fd5b505af192505050801561271b575060408051601f3d908101601f1916820190925261271891810190612bad565b60015b612775573d808015612749576040519150601f19603f3d011682016040523d82523d6000602084013e61274e565b606091505b50805161276d5760405162461bcd60e51b81526004016107ae90612d4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e51565b506001949350505050565b8280546127a690612ede565b90600052602060002090601f0160209004810192826127c8576000855561280e565b82601f106127e157805160ff191683800117855561280e565b8280016001018555821561280e579182015b8281111561280e5782518255916020019190600101906127f3565b5061281a929150612858565b5090565b82805482825590600052602060002090810192821561280e579160200282018281111561280e5782518255916020019190600101906127f3565b5b8082111561281a5760008155600101612859565b600067ffffffffffffffff8084111561288857612888612f8a565b604051601f8501601f19908116603f011681019082821181831017156128b0576128b0612f8a565b816040528093508581528686860111156128c957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146128fa57600080fd5b919050565b60008083601f84011261291157600080fd5b50813567ffffffffffffffff81111561292957600080fd5b6020830191508360208260051b850101111561294457600080fd5b9250929050565b60006020828403121561295d57600080fd5b611990826128e3565b6000806040838503121561297957600080fd5b612982836128e3565b9150612990602084016128e3565b90509250929050565b6000806000606084860312156129ae57600080fd5b6129b7846128e3565b92506129c5602085016128e3565b9150604084013590509250925092565b600080600080608085870312156129eb57600080fd5b6129f4856128e3565b9350612a02602086016128e3565b925060408501359150606085013567ffffffffffffffff811115612a2557600080fd5b8501601f81018713612a3657600080fd5b612a458782356020840161286d565b91505092959194509250565b60008060408385031215612a6457600080fd5b612a6d836128e3565b915060208301358015158114612a8257600080fd5b809150509250929050565b60008060408385031215612aa057600080fd5b612aa9836128e3565b946020939093013593505050565b600080600080600060608688031215612acf57600080fd5b853567ffffffffffffffff80821115612ae757600080fd5b612af389838a016128ff565b90975095506020880135915080821115612b0c57600080fd5b50612b19888289016128ff565b96999598509660400135949350505050565b600080600060408486031215612b4057600080fd5b833567ffffffffffffffff811115612b5757600080fd5b612b63868287016128ff565b909790965060209590950135949350505050565b600060208284031215612b8957600080fd5b5035919050565b600060208284031215612ba257600080fd5b813561199081612fa0565b600060208284031215612bbf57600080fd5b815161199081612fa0565b600060208284031215612bdc57600080fd5b813567ffffffffffffffff811115612bf357600080fd5b8201601f81018413612c0457600080fd5b611e518482356020840161286d565b60008151808452612c2b816020860160208601612eb2565b601f01601f19169290920160200192915050565b606084901b6bffffffffffffffffffffffff1916815260006001600160fb1b03831115612c6b57600080fd5b8260051b8085601485013760009201601401918252509392505050565b60008351612c9a818460208801612eb2565b835190830190612cae818360208801612eb2565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cea90830184612c13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d2c57835183529284019291840191600101612d10565b50909695505050505050565b6020815260006119906020830184612c13565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152725651323a204578636565647320537570706c7960681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612e6357612e63612f48565b500190565b600082612e7757612e77612f5e565b500490565b6000816000190483118215151615612e9657612e96612f48565b500290565b600082821015612ead57612ead612f48565b500390565b60005b83811015612ecd578181015183820152602001612eb5565b838111156118b65750506000910152565b600181811c90821680612ef257607f821691505b60208210811415612f1357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2d57612f2d612f48565b5060010190565b600082612f4357612f43612f5e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611cc257600080fdfea26469706673582212201a0f55fea81533b5b657802152dac03c13e1a916c5f7da0a7d1708d7ed52af3864736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000060cbeb38656c685dc031129fcfcb6b15d3cf5460628ed13fb29756423e2bdae2d02fffef79b0c76d54c95d765b72c15d83b513aa7fb71da4db7a04b9b315ed5ad4000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f766173747175657374696f6e732e636f6d2f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://vastquestions.com/api/metadata/
Arg [1] : merkleRootVQ1 (bytes32): 0xcbeb38656c685dc031129fcfcb6b15d3cf5460628ed13fb29756423e2bdae2d0
Arg [2] : merkleRootPresale (bytes32): 0x2fffef79b0c76d54c95d765b72c15d83b513aa7fb71da4db7a04b9b315ed5ad4

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : cbeb38656c685dc031129fcfcb6b15d3cf5460628ed13fb29756423e2bdae2d0
Arg [2] : 2fffef79b0c76d54c95d765b72c15d83b513aa7fb71da4db7a04b9b315ed5ad4
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [4] : 68747470733a2f2f766173747175657374696f6e732e636f6d2f6170692f6d65
Arg [5] : 7461646174612f00000000000000000000000000000000000000000000000000


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.