ETH Price: $2,577.49 (+7.23%)
 

Overview

Max Total Supply

8,888 PARA

Holders

1,381

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 PARA
0xd264e3cd4b4f67aecfce9005fc3eb4a9c668ddc4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

$PARADOX! The Paradox Ecosystem provides game, launchpads, DAO, DEX and events.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TheParadoxMetaverse

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : TheParadoxMetaverse.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";

/**
 * @title The Paradox Metaverse
 * @notice Implements The Paradox Metaverse collection contract.
 */
contract TheParadoxMetaverse is Ownable, ERC721A, VRFConsumerBase {
    using Strings for uint256;

    uint256 public tokenPrice;
    uint256 public chainlinkFee;
    uint256 private _seed;
    uint256 public maxSupply;
    uint256 public immutable MAX_PER_TRANSACTION_PRESALE_1;
    uint256 public immutable MAX_PER_TRANSACTION_PRESALE_2;
    uint256 public immutable MAX_PER_TRANSACTION;
    bytes32 public merkleRoot1;
    bytes32 public merkleRoot2;
    bytes32 public chainlinkHash;
    string public baseURI;
    string public notRevealedURI;
    bool public paused;
    bool public presale;
    bool public revealed;
    bool public freezedMetadata;

    constructor(
        string memory _initbaseURI,
        string memory _initNotRevealedURI,
        address _LINK_TOKEN,
        address _LINK_VRF_COORDINATOR_ADDRESS,
        bytes32 _chainlinkHash,
        uint256 _chainlinkFee,
        uint256 _tokenPrice,
        uint256 _maxSupply
    )
        ERC721A("The Paradox Metaverse", "PARA")
        VRFConsumerBase(_LINK_VRF_COORDINATOR_ADDRESS, _LINK_TOKEN)
    {
        baseURI = _initbaseURI;
        notRevealedURI = _initNotRevealedURI;
        chainlinkHash = _chainlinkHash;
        chainlinkFee = _chainlinkFee;
        tokenPrice = _tokenPrice;
        MAX_PER_TRANSACTION = 15;
        MAX_PER_TRANSACTION_PRESALE_1 = 5;
        MAX_PER_TRANSACTION_PRESALE_2 = 15;
        maxSupply = _maxSupply;
        paused = true;
        presale = true;
    }

    modifier correctValue(uint256 _mintAmount) {
        require(
            msg.value == tokenPrice * _mintAmount,
            "Incorrect ether amount"
        );
        _;
    }

    modifier checkAmount(uint256 _amount) {
        require(_amount > 0, "Mint at least one token");
        require(
            _totalMinted() + _amount <= maxSupply,
            "Not enough tokens left to mint that many"
        );
        _;
    }

    function presaleMint1(bytes32[] calldata _merkleProof, uint256 _mintAmount)
        external
        payable
        correctValue(_mintAmount)
    {
        require(_mintAmount <= MAX_PER_TRANSACTION_PRESALE_1, "Max 5 Allowed.");
        presaleMint(merkleRoot1, _merkleProof, _mintAmount);
    }

    function presaleMint2(bytes32[] calldata _merkleProof, uint256 _mintAmount)
        external
        payable
        correctValue(_mintAmount)
    {
        require(
            _mintAmount <= MAX_PER_TRANSACTION_PRESALE_2,
            "Max 15 Allowed."
        );
        presaleMint(merkleRoot2, _merkleProof, _mintAmount);
    }

    function publicMint(uint256 _mintAmount)
        public
        payable
        correctValue(_mintAmount)
    {
        require(!presale, "Presale is active");
        require(_mintAmount <= MAX_PER_TRANSACTION, "Max 15 Allowed.");
        _mint(_mintAmount);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "tokenID does not exist");

        if (!revealed || _seed == 0) {
            return notRevealedURI;
        }

        string memory tokenURI_ = metadataOf(tokenId);
        string memory base_ = _baseURI();

        return string(abi.encodePacked(base_, tokenURI_, ".json"));
    }

    function metadataOf(uint256 _tokenId)
        internal
        view
        returns (string memory)
    {
        uint256[] memory randomIds = new uint256[](maxSupply);
        for (uint256 i = 1; i <= maxSupply; i++) {
            randomIds[i - 1] = i;
        }

        for (uint256 i = 0; i < maxSupply - 1; i++) {
            uint256 j = i +
                (uint256(keccak256(abi.encode(_seed, i))) % (maxSupply - i));
            (randomIds[i], randomIds[j]) = (randomIds[j], randomIds[i]);
        }

        return randomIds[_tokenId].toString();
    }

    function isWhitelisted(
        bytes32 _merkleRoot,
        address _user,
        bytes32[] calldata _merkleProof
    ) public pure returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(_user));
        return MerkleProof.verify(_merkleProof, _merkleRoot, leaf);
    }

    /// ============ INTERNAL ============

    function presaleMint(
        bytes32 _merkleRoot,
        bytes32[] calldata _merkleProof,
        uint256 _mintAmount
    ) internal {
        require(presale, "Presale is not active");
        require(
            isWhitelisted(_merkleRoot, msg.sender, _merkleProof),
            "Sorry, no access unless you're whitelisted"
        );

        _mint(_mintAmount);
    }

    function _mint(uint256 _mintAmount) internal checkAmount(_mintAmount) {
        require(!paused, "Please wait until unpaused");
        _safeMint(msg.sender, _mintAmount);
    }

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

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

    //Callback function used by Chainlink VRF Coordinator.
    function fulfillRandomness(bytes32, uint256 randomness) internal override {
        require(_seed == 0, "Seed already generated");
        _seed = (randomness % maxSupply) + 1;
    }

    /// ============ ONLY OWNER ============

    ///@notice This function requests a random number from Chainlink Oracle. Is important to notice that the random number needs to be set at right before the time of reveal.
    function getRandomNumber() external onlyOwner returns (bytes32 requestId) {
        require(_seed == 0, "Seed already generated");
        require(
            LINK.balanceOf(address(this)) >= chainlinkFee,
            "Link balance is not enough"
        );
        return requestRandomness(chainlinkHash, chainlinkFee);
    }

    function setChainlinkConfig(uint256 _chainlinkFee, bytes32 _chainlinkHash)
        external
        onlyOwner
    {
        chainlinkFee = _chainlinkFee;
        chainlinkHash = _chainlinkHash;
    }

    function airdropUser(uint256 _mintAmount, address _user)
        external
        checkAmount(_mintAmount)
        onlyOwner
    {
        _safeMint(_user, _mintAmount);
    }

    ///@notice This function mint one token for each address of the given list.
    function airdropList(address[] memory _users)
        external
        onlyOwner
        checkAmount(_users.length)
    {
        for (uint256 i; i < _users.length; i++) {
            _safeMint(_users[i], 1);
        }
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }

    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        require(!freezedMetadata, "Metadata is frozen");
        baseURI = _newBaseURI;
    }

    function setNotRevealedURI(string memory _notRevealedURI)
        external
        onlyOwner
    {
        notRevealedURI = _notRevealedURI;
    }

    ///@notice This function reveals the URI indefinitely and should be called only after the getRandomNumber() function.
    function revealURI() external onlyOwner {
        revealed = true;
        paused = true; // Minting is paused
    }

    function freezeMetadata() external onlyOwner {
        freezedMetadata = true;
    }

    function setPresale(bool _presale) external onlyOwner {
        presale = _presale;
    }

    function setPaused(bool _paused) external onlyOwner {
        paused = _paused;
    }

    function setPrice(uint256 _valueInWei) external onlyOwner {
        tokenPrice = _valueInWei;
    }

    function setWhitelists(bytes32 _merkleRoot1, bytes32 _merkleRoot2)
        external
        onlyOwner
    {
        merkleRoot1 = _merkleRoot1;
        merkleRoot2 = _merkleRoot2;
    }

    function setWhitelist1(bytes32 _merkleRoot1) external onlyOwner {
        merkleRoot1 = _merkleRoot1;
    }

    function setWhitelist2(bytes32 _merkleRoot2) external onlyOwner {
        merkleRoot2 = _merkleRoot2;
    }
}

File 2 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {
  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 private constant USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface internal immutable LINK;
  address private immutable vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 => uint256) /* keyHash */ /* nonce */
    private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(address _vrfCoordinator, address _link) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

File 6 of 15 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

File 7 of 15 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {
  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  ) internal pure returns (uint256) {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 10 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initbaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedURI","type":"string"},{"internalType":"address","name":"_LINK_TOKEN","type":"address"},{"internalType":"address","name":"_LINK_VRF_COORDINATOR_ADDRESS","type":"address"},{"internalType":"bytes32","name":"_chainlinkHash","type":"bytes32"},{"internalType":"uint256","name":"_chainlinkFee","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TRANSACTION_PRESALE_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TRANSACTION_PRESALE_2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"airdropList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"airdropUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezedMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"presaleMint1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"presaleMint2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainlinkFee","type":"uint256"},{"internalType":"bytes32","name":"_chainlinkHash","type":"bytes32"}],"name":"setChainlinkConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_presale","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_valueInWei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot1","type":"bytes32"}],"name":"setWhitelist1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot2","type":"bytes32"}],"name":"setWhitelist2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot1","type":"bytes32"},{"internalType":"bytes32","name":"_merkleRoot2","type":"bytes32"}],"name":"setWhitelists","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040523480156200001257600080fd5b506040516200350638038062003506833981016040819052620000359162000321565b84866040518060400160405280601581526020017f5468652050617261646f78204d65746176657273650000000000000000000000815250604051806040016040528060048152602001635041524160e01b815250620000a46200009e6200015760201b60201c565b6200015b565b8151620000b9906003906020850190620001ab565b508051620000cf906004906020840190620001ab565b506001805550506001600160601b0319606092831b811660a052911b166080528751620001049060119060208b0190620001ab565b5086516200011a9060129060208a0190620001ab565b50601093909355600b91909155600a55600f610100819052600560c05260e052600d5550506013805461ffff191661010117905550620004279050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001b990620003d4565b90600052602060002090601f016020900481019282620001dd576000855562000228565b82601f10620001f857805160ff191683800117855562000228565b8280016001018555821562000228579182015b82811115620002285782518255916020019190600101906200020b565b50620002369291506200023a565b5090565b5b808211156200023657600081556001016200023b565b80516001600160a01b03811681146200026957600080fd5b919050565b600082601f8301126200027f578081fd5b81516001600160401b03808211156200029c576200029c62000411565b604051601f8301601f19908116603f01168101908282118183101715620002c757620002c762000411565b81604052838152602092508683858801011115620002e3578485fd5b8491505b83821015620003065785820183015181830184015290820190620002e7565b838211156200031757848385830101525b9695505050505050565b600080600080600080600080610100898b0312156200033e578384fd5b88516001600160401b038082111562000355578586fd5b620003638c838d016200026e565b995060208b015191508082111562000379578586fd5b50620003888b828c016200026e565b9750506200039960408a0162000251565b9550620003a960608a0162000251565b94506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600181811c90821680620003e957607f821691505b602082108114156200040b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c60c05160e0516101005161307162000495600039600081816107cb0152610d25015260008181610648015261107e01526000818161036d01526112ff01526000818161112c01526121cd015260008181611609015261219e01526130716000f3fe6080604052600436106102ff5760003560e01c80638b74843611610190578063cb14eb87116100dc578063e6635c3211610095578063f2fde38b1161006f578063f2fde38b146108e3578063f3e8375b14610903578063f868e81614610923578063fdea8e0b1461094357600080fd5b8063e6635c3214610859578063e985e9c51461087a578063f2c4ce1e146108c357600080fd5b8063cb14eb87146107b9578063d0f15f7c146107ed578063d111515d14610803578063d5abeb0114610818578063dbdff2c11461082e578063e64710e61461084357600080fd5b80639a8b93b511610149578063b88d4fde11610123578063b88d4fde14610743578063c54e73e314610763578063c87b56dd14610783578063ca34adf0146107a357600080fd5b80639a8b93b5146106f0578063a22cb46514610710578063a4ad315f1461073057600080fd5b80638b748436146106365780638da5cb5b1461066a57806390df5ce71461068857806391b7f5ed1461069b57806394985ddd146106bb57806395d89b41146106db57600080fd5b806342842e0e1161024f5780636e5691771161020857806372250380116101e257806372250380146105d55780637872f77f146105ea5780637ac98be11461060a5780637ff9b5961461062057600080fd5b80636e5691771461058057806370a08231146105a0578063715018a6146105c057600080fd5b806342842e0e146104d157806351830227146104f157806355f804b3146105115780635c975abb146105315780636352211e1461054b5780636c0360eb1461056b57600080fd5b806316c38b3c116102bc57806327938bb41161029657806327938bb4146104695780632b4358ee146104895780632db11544146104a95780633ccfd60b146104bc57600080fd5b806316c38b3c1461040c57806318160ddd1461042c57806323b872dd1461044957600080fd5b806301ffc9a71461030457806306fdde0314610339578063079e20f41461035b578063081812fc1461039d578063095ea7b3146103d5578063160fba56146103f7575b600080fd5b34801561031057600080fd5b5061032461031f366004612bbb565b610962565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e6109b4565b6040516103309190612db6565b34801561036757600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610330565b3480156103a957600080fd5b506103bd6103b8366004612b2b565b610a46565b6040516001600160a01b039091168152602001610330565b3480156103e157600080fd5b506103f56103f03660046129d3565b610a8a565b005b34801561040357600080fd5b506103f5610b18565b34801561041857600080fd5b506103f5610427366004612af3565b610b5e565b34801561043857600080fd5b50600254600154036000190161038f565b34801561045557600080fd5b506103f56104643660046128ea565b610b9b565b34801561047557600080fd5b506103f56104843660046129fc565b610ba6565b34801561049557600080fd5b506103f56104a4366004612b2b565b610c7b565b6103f56104b7366004612b2b565b610caa565b3480156104c857600080fd5b506103f5610d92565b3480156104dd57600080fd5b506103f56104ec3660046128ea565b610e14565b3480156104fd57600080fd5b506013546103249062010000900460ff1681565b34801561051d57600080fd5b506103f561052c366004612bf3565b610e2f565b34801561053d57600080fd5b506013546103249060ff1681565b34801561055757600080fd5b506103bd610566366004612b2b565b610eb4565b34801561057757600080fd5b5061034e610ec6565b34801561058c57600080fd5b506103f561059b366004612b9a565b610f54565b3480156105ac57600080fd5b5061038f6105bb36600461289e565b610f89565b3480156105cc57600080fd5b506103f5610fd7565b3480156105e157600080fd5b5061034e61100d565b3480156105f657600080fd5b506103f5610605366004612b9a565b61101a565b34801561061657600080fd5b5061038f600b5481565b34801561062c57600080fd5b5061038f600a5481565b34801561064257600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561067657600080fd5b506000546001600160a01b03166103bd565b6103f5610696366004612aaa565b61104f565b3480156106a757600080fd5b506103f56106b6366004612b2b565b6110f2565b3480156106c757600080fd5b506103f56106d6366004612b9a565b611121565b3480156106e757600080fd5b5061034e6111a3565b3480156106fc57600080fd5b5061032461070b366004612b43565b6111b2565b34801561071c57600080fd5b506103f561072b36600461299d565b61123a565b6103f561073e366004612aaa565b6112d0565b34801561074f57600080fd5b506103f561075e366004612925565b61136c565b34801561076f57600080fd5b506103f561077e366004612af3565b6113b7565b34801561078f57600080fd5b5061034e61079e366004612b2b565b6113fb565b3480156107af57600080fd5b5061038f600f5481565b3480156107c557600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107f957600080fd5b5061038f60105481565b34801561080f57600080fd5b506103f561153e565b34801561082457600080fd5b5061038f600d5481565b34801561083a57600080fd5b5061038f61157d565b34801561084f57600080fd5b5061038f600e5481565b34801561086557600080fd5b50601354610324906301000000900460ff1681565b34801561088657600080fd5b506103246108953660046128b8565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108cf57600080fd5b506103f56108de366004612c5f565b6116ec565b3480156108ef57600080fd5b506103f56108fe36600461289e565b611729565b34801561090f57600080fd5b506103f561091e366004612cbc565b6117c1565b34801561092f57600080fd5b506103f561093e366004612b2b565b61184f565b34801561094f57600080fd5b5060135461032490610100900460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061099357506001600160e01b03198216635b5e139f60e01b145b806109ae57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546109c390612f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546109ef90612f6b565b8015610a3c5780601f10610a1157610100808354040283529160200191610a3c565b820191906000526020600020905b815481529060010190602001808311610a1f57829003601f168201915b5050505050905090565b6000610a518261187e565b610a6e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610a9582610eb4565b9050806001600160a01b0316836001600160a01b03161415610aca5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610aea5750610ae88133610895565b155b15610b08576040516367d9dca160e11b815260040160405180910390fd5b610b138383836118b7565b505050565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b8152600401610b4290612e48565b60405180910390fd5b6013805462ff00ff191662010001179055565b6000546001600160a01b03163314610b885760405162461bcd60e51b8152600401610b4290612e48565b6013805460ff1916911515919091179055565b610b13838383611913565b6000546001600160a01b03163314610bd05760405162461bcd60e51b8152600401610b4290612e48565b805160008111610bf25760405162461bcd60e51b8152600401610b4290612e11565b600d5481610c036001546000190190565b610c0d9190612edd565b1115610c2b5760405162461bcd60e51b8152600401610b4290612dc9565b60005b8251811015610b1357610c69838281518110610c5a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611b01565b80610c7381612fa6565b915050610c2e565b6000546001600160a01b03163314610ca55760405162461bcd60e51b8152600401610b4290612e48565b600e55565b8080600a54610cb99190612f09565b3414610cd75760405162461bcd60e51b8152600401610b4290612e7d565b601354610100900460ff1615610d235760405162461bcd60e51b815260206004820152601160248201527050726573616c652069732061637469766560781b6044820152606401610b42565b7f0000000000000000000000000000000000000000000000000000000000000000821115610d855760405162461bcd60e51b815260206004820152600f60248201526e26b0bc10189a9020b63637bbb2b21760891b6044820152606401610b42565b610d8e82611b1b565b5050565b6000546001600160a01b03163314610dbc5760405162461bcd60e51b8152600401610b4290612e48565b604051600090339047908381818185875af1925050503d8060008114610dfe576040519150601f19603f3d011682016040523d82523d6000602084013e610e03565b606091505b5050905080610e1157600080fd5b50565b610b138383836040518060200160405280600081525061136c565b6000546001600160a01b03163314610e595760405162461bcd60e51b8152600401610b4290612e48565b6013546301000000900460ff1615610ea85760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b6044820152606401610b42565b610b13601183836126d5565b6000610ebf82611bd2565b5192915050565b60118054610ed390612f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610eff90612f6b565b8015610f4c5780601f10610f2157610100808354040283529160200191610f4c565b820191906000526020600020905b815481529060010190602001808311610f2f57829003601f168201915b505050505081565b6000546001600160a01b03163314610f7e5760405162461bcd60e51b8152600401610b4290612e48565b600b91909155601055565b60006001600160a01b038216610fb2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146110015760405162461bcd60e51b8152600401610b4290612e48565b61100b6000611cf9565b565b60128054610ed390612f6b565b6000546001600160a01b031633146110445760405162461bcd60e51b8152600401610b4290612e48565b600e91909155600f55565b8080600a5461105e9190612f09565b341461107c5760405162461bcd60e51b8152600401610b4290612e7d565b7f00000000000000000000000000000000000000000000000000000000000000008211156110de5760405162461bcd60e51b815260206004820152600f60248201526e26b0bc10189a9020b63637bbb2b21760891b6044820152606401610b42565b6110ec600f54858585611d49565b50505050565b6000546001600160a01b0316331461111c5760405162461bcd60e51b8152600401610b4290612e48565b600a55565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146111995760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610b42565b610d8e8282611e0c565b6060600480546109c390612f6b565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905061122e8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a9250859150611e749050565b9150505b949350505050565b6001600160a01b0382163314156112645760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8080600a546112df9190612f09565b34146112fd5760405162461bcd60e51b8152600401610b4290612e7d565b7f000000000000000000000000000000000000000000000000000000000000000082111561135e5760405162461bcd60e51b815260206004820152600e60248201526d26b0bc101a9020b63637bbb2b21760911b6044820152606401610b42565b6110ec600e54858585611d49565b611377848484611913565b6001600160a01b0383163b15158015611399575061139784848484611e8a565b155b156110ec576040516368d2bf6b60e11b815260040160405180910390fd5b6000546001600160a01b031633146113e15760405162461bcd60e51b8152600401610b4290612e48565b601380549115156101000261ff0019909216919091179055565b60606114068261187e565b61144b5760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b6044820152606401610b42565b60135462010000900460ff1615806114635750600c54155b156114fa576012805461147590612f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546114a190612f6b565b80156114ee5780601f106114c3576101008083540402835291602001916114ee565b820191906000526020600020905b8154815290600101906020018083116114d157829003601f168201915b50505050509050919050565b600061150583611f7e565b9050600061151161218b565b90508082604051602001611526929190612d0a565b60405160208183030381529060405292505050919050565b6000546001600160a01b031633146115685760405162461bcd60e51b8152600401610b4290612e48565b6013805463ff00000019166301000000179055565b600080546001600160a01b031633146115a85760405162461bcd60e51b8152600401610b4290612e48565b600c54156115f15760405162461bcd60e51b815260206004820152601660248201527514d9595908185b1c9958591e4819d95b995c985d195960521b6044820152606401610b42565b600b546040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561165357600080fd5b505afa158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190612ca4565b10156116d95760405162461bcd60e51b815260206004820152601a60248201527f4c696e6b2062616c616e6365206973206e6f7420656e6f7567680000000000006044820152606401610b42565b6116e7601054600b5461219a565b905090565b6000546001600160a01b031633146117165760405162461bcd60e51b8152600401610b4290612e48565b8051610d8e906012906020840190612759565b6000546001600160a01b031633146117535760405162461bcd60e51b8152600401610b4290612e48565b6001600160a01b0381166117b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b610e1181611cf9565b81600081116117e25760405162461bcd60e51b8152600401610b4290612e11565b600d54816117f36001546000190190565b6117fd9190612edd565b111561181b5760405162461bcd60e51b8152600401610b4290612dc9565b6000546001600160a01b031633146118455760405162461bcd60e51b8152600401610b4290612e48565b610b138284611b01565b6000546001600160a01b031633146118795760405162461bcd60e51b8152600401610b4290612e48565b600f55565b600081600111158015611892575060015482105b80156109ae575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061191e82611bd2565b9050836001600160a01b031681600001516001600160a01b0316146119555760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061197357506119738533610895565b8061198e57503361198384610a46565b6001600160a01b0316145b9050806119ae57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166119d557604051633a954ecd60e21b815260040160405180910390fd5b6119e1600084876118b7565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611ab5576001548214611ab557805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610d8e828260405180602001604052806000815250612325565b8060008111611b3c5760405162461bcd60e51b8152600401610b4290612e11565b600d5481611b4d6001546000190190565b611b579190612edd565b1115611b755760405162461bcd60e51b8152600401610b4290612dc9565b60135460ff1615611bc85760405162461bcd60e51b815260206004820152601a60248201527f506c65617365207761697420756e74696c20756e7061757365640000000000006044820152606401610b42565b610d8e3383611b01565b60408051606081018252600080825260208201819052918101919091528180600111158015611c02575060015481105b15611ce057600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cde5780516001600160a01b031615611c75579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cd9579392505050565b611c75565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601354610100900460ff16611d985760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b6044820152606401610b42565b611da4843385856111b2565b611e035760405162461bcd60e51b815260206004820152602a60248201527f536f7272792c206e6f2061636365737320756e6c65737320796f7527726520776044820152691a1a5d195b1a5cdd195960b21b6064820152608401610b42565b6110ec81611b1b565b600c5415611e555760405162461bcd60e51b815260206004820152601660248201527514d9595908185b1c9958591e4819d95b995c985d195960521b6044820152606401610b42565b600d54611e629082612fc1565b611e6d906001612edd565b600c555050565b600082611e818584612332565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ebf903390899088908890600401612d49565b602060405180830381600087803b158015611ed957600080fd5b505af1925050508015611f09575060408051601f3d908101601f19168201909252611f0691810190612bd7565b60015b611f64573d808015611f37576040519150601f19603f3d011682016040523d82523d6000602084013e611f3c565b606091505b508051611f5c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611232565b60606000600d546001600160401b03811115611faa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611fd3578160200160208202803683370190505b50905060015b600d54811161202a578082611fef600183612f28565b8151811061200d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061202281612fa6565b915050611fd9565b5060005b6001600d5461203d9190612f28565b81101561215357600081600d546120549190612f28565b600c5460408051602081019290925281018490526060016040516020818303038152906040528051906020012060001c61208e9190612fc1565b6120989083612edd565b90508281815181106120ba57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106120e257634e487b7160e01b600052603260045260246000fd5b602002602001015184848151811061210a57634e487b7160e01b600052603260045260246000fd5b6020026020010185848151811061213157634e487b7160e01b600052603260045260246000fd5b602090810291909101019190915252508061214b81612fa6565b91505061202e565b5061218481848151811061217757634e487b7160e01b600052603260045260246000fd5b60200260200101516123ec565b9392505050565b6060601180546109c390612f6b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f00000000000000000000000000000000000000000000000000000000000000008486600060405160200161220a929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161223793929190612d86565b602060405180830381600087803b15801561225157600080fd5b505af1158015612265573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122899190612b0f565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526122e5906001612edd565b6000858152600960205260409020556112328482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b610b138383836001612505565b600081815b84518110156123e457600085828151811061236257634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116123a45760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506123d1565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806123dc81612fa6565b915050612337565b509392505050565b6060816124105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561243a578061242481612fa6565b91506124339050600a83612ef5565b9150612414565b6000816001600160401b0381111561246257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248c576020820181803683370190505b5090505b8415611232576124a1600183612f28565b91506124ae600a86612fc1565b6124b9906030612edd565b60f81b8183815181106124dc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124fe600a86612ef5565b9450612490565b6001546001600160a01b03851661252e57604051622e076360e81b815260040160405180910390fd5b8361254c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156125fd57506001600160a01b0387163b15155b15612686575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461264e6000888480600101955088611e8a565b61266b576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561260357826001541461268157600080fd5b6126cc565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612687575b50600155611afa565b8280546126e190612f6b565b90600052602060002090601f0160209004810192826127035760008555612749565b82601f1061271c5782800160ff19823516178555612749565b82800160010185558215612749579182015b8281111561274957823582559160200191906001019061272e565b506127559291506127cd565b5090565b82805461276590612f6b565b90600052602060002090601f0160209004810192826127875760008555612749565b82601f106127a057805160ff1916838001178555612749565b82800160010185558215612749579182015b828111156127495782518255916020019190600101906127b2565b5b8082111561275557600081556001016127ce565b60006001600160401b038311156127fb576127fb613001565b61280e601f8401601f1916602001612ead565b905082815283838301111561282257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461285057600080fd5b919050565b60008083601f840112612866578182fd5b5081356001600160401b0381111561287c578182fd5b6020830191508360208260051b850101111561289757600080fd5b9250929050565b6000602082840312156128af578081fd5b61218482612839565b600080604083850312156128ca578081fd5b6128d383612839565b91506128e160208401612839565b90509250929050565b6000806000606084860312156128fe578081fd5b61290784612839565b925061291560208501612839565b9150604084013590509250925092565b6000806000806080858703121561293a578081fd5b61294385612839565b935061295160208601612839565b92506040850135915060608501356001600160401b03811115612972578182fd5b8501601f81018713612982578182fd5b612991878235602084016127e2565b91505092959194509250565b600080604083850312156129af578182fd5b6129b883612839565b915060208301356129c881613017565b809150509250929050565b600080604083850312156129e5578182fd5b6129ee83612839565b946020939093013593505050565b60006020808385031215612a0e578182fd5b82356001600160401b0380821115612a24578384fd5b818501915085601f830112612a37578384fd5b813581811115612a4957612a49613001565b8060051b9150612a5a848301612ead565b8181528481019084860184860187018a1015612a74578788fd5b8795505b83861015612a9d57612a8981612839565b835260019590950194918601918601612a78565b5098975050505050505050565b600080600060408486031215612abe578283fd5b83356001600160401b03811115612ad3578384fd5b612adf86828701612855565b909790965060209590950135949350505050565b600060208284031215612b04578081fd5b813561218481613017565b600060208284031215612b20578081fd5b815161218481613017565b600060208284031215612b3c578081fd5b5035919050565b60008060008060608587031215612b58578182fd5b84359350612b6860208601612839565b925060408501356001600160401b03811115612b82578283fd5b612b8e87828801612855565b95989497509550505050565b60008060408385031215612bac578182fd5b50508035926020909101359150565b600060208284031215612bcc578081fd5b813561218481613025565b600060208284031215612be8578081fd5b815161218481613025565b60008060208385031215612c05578182fd5b82356001600160401b0380821115612c1b578384fd5b818501915085601f830112612c2e578384fd5b813581811115612c3c578485fd5b866020828501011115612c4d578485fd5b60209290920196919550909350505050565b600060208284031215612c70578081fd5b81356001600160401b03811115612c85578182fd5b8201601f81018413612c95578182fd5b611232848235602084016127e2565b600060208284031215612cb5578081fd5b5051919050565b60008060408385031215612cce578182fd5b823591506128e160208401612839565b60008151808452612cf6816020860160208601612f3f565b601f01601f19169290920160200192915050565b60008351612d1c818460208801612f3f565b835190830190612d30818360208801612f3f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d7c90830184612cde565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612dad6060830184612cde565b95945050505050565b6020815260006121846020830184612cde565b60208082526028908201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e742074604082015267686174206d616e7960c01b606082015260800190565b60208082526017908201527f4d696e74206174206c65617374206f6e6520746f6b656e000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260169082015275125b98dbdc9c9958dd08195d1a195c88185b5bdd5b9d60521b604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612ed557612ed5613001565b604052919050565b60008219821115612ef057612ef0612fd5565b500190565b600082612f0457612f04612feb565b500490565b6000816000190483118215151615612f2357612f23612fd5565b500290565b600082821015612f3a57612f3a612fd5565b500390565b60005b83811015612f5a578181015183820152602001612f42565b838111156110ec5750506000910152565b600181811c90821680612f7f57607f821691505b60208210811415612fa057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fba57612fba612fd5565b5060010190565b600082612fd057612fd0612feb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e1157600080fd5b6001600160e01b031981168114610e1157600080fdfea2646970667358221220ab120608d714bcb7333111f7fd88f8ce595abd1c182c993938db5575119222da64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d53507141546745726254636d4552426f62704a4c48776e735376477a4c484b5756514d47415a39353545796e2f00000000000000000000

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c80638b74843611610190578063cb14eb87116100dc578063e6635c3211610095578063f2fde38b1161006f578063f2fde38b146108e3578063f3e8375b14610903578063f868e81614610923578063fdea8e0b1461094357600080fd5b8063e6635c3214610859578063e985e9c51461087a578063f2c4ce1e146108c357600080fd5b8063cb14eb87146107b9578063d0f15f7c146107ed578063d111515d14610803578063d5abeb0114610818578063dbdff2c11461082e578063e64710e61461084357600080fd5b80639a8b93b511610149578063b88d4fde11610123578063b88d4fde14610743578063c54e73e314610763578063c87b56dd14610783578063ca34adf0146107a357600080fd5b80639a8b93b5146106f0578063a22cb46514610710578063a4ad315f1461073057600080fd5b80638b748436146106365780638da5cb5b1461066a57806390df5ce71461068857806391b7f5ed1461069b57806394985ddd146106bb57806395d89b41146106db57600080fd5b806342842e0e1161024f5780636e5691771161020857806372250380116101e257806372250380146105d55780637872f77f146105ea5780637ac98be11461060a5780637ff9b5961461062057600080fd5b80636e5691771461058057806370a08231146105a0578063715018a6146105c057600080fd5b806342842e0e146104d157806351830227146104f157806355f804b3146105115780635c975abb146105315780636352211e1461054b5780636c0360eb1461056b57600080fd5b806316c38b3c116102bc57806327938bb41161029657806327938bb4146104695780632b4358ee146104895780632db11544146104a95780633ccfd60b146104bc57600080fd5b806316c38b3c1461040c57806318160ddd1461042c57806323b872dd1461044957600080fd5b806301ffc9a71461030457806306fdde0314610339578063079e20f41461035b578063081812fc1461039d578063095ea7b3146103d5578063160fba56146103f7575b600080fd5b34801561031057600080fd5b5061032461031f366004612bbb565b610962565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e6109b4565b6040516103309190612db6565b34801561036757600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000581565b604051908152602001610330565b3480156103a957600080fd5b506103bd6103b8366004612b2b565b610a46565b6040516001600160a01b039091168152602001610330565b3480156103e157600080fd5b506103f56103f03660046129d3565b610a8a565b005b34801561040357600080fd5b506103f5610b18565b34801561041857600080fd5b506103f5610427366004612af3565b610b5e565b34801561043857600080fd5b50600254600154036000190161038f565b34801561045557600080fd5b506103f56104643660046128ea565b610b9b565b34801561047557600080fd5b506103f56104843660046129fc565b610ba6565b34801561049557600080fd5b506103f56104a4366004612b2b565b610c7b565b6103f56104b7366004612b2b565b610caa565b3480156104c857600080fd5b506103f5610d92565b3480156104dd57600080fd5b506103f56104ec3660046128ea565b610e14565b3480156104fd57600080fd5b506013546103249062010000900460ff1681565b34801561051d57600080fd5b506103f561052c366004612bf3565b610e2f565b34801561053d57600080fd5b506013546103249060ff1681565b34801561055757600080fd5b506103bd610566366004612b2b565b610eb4565b34801561057757600080fd5b5061034e610ec6565b34801561058c57600080fd5b506103f561059b366004612b9a565b610f54565b3480156105ac57600080fd5b5061038f6105bb36600461289e565b610f89565b3480156105cc57600080fd5b506103f5610fd7565b3480156105e157600080fd5b5061034e61100d565b3480156105f657600080fd5b506103f5610605366004612b9a565b61101a565b34801561061657600080fd5b5061038f600b5481565b34801561062c57600080fd5b5061038f600a5481565b34801561064257600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000f81565b34801561067657600080fd5b506000546001600160a01b03166103bd565b6103f5610696366004612aaa565b61104f565b3480156106a757600080fd5b506103f56106b6366004612b2b565b6110f2565b3480156106c757600080fd5b506103f56106d6366004612b9a565b611121565b3480156106e757600080fd5b5061034e6111a3565b3480156106fc57600080fd5b5061032461070b366004612b43565b6111b2565b34801561071c57600080fd5b506103f561072b36600461299d565b61123a565b6103f561073e366004612aaa565b6112d0565b34801561074f57600080fd5b506103f561075e366004612925565b61136c565b34801561076f57600080fd5b506103f561077e366004612af3565b6113b7565b34801561078f57600080fd5b5061034e61079e366004612b2b565b6113fb565b3480156107af57600080fd5b5061038f600f5481565b3480156107c557600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000f81565b3480156107f957600080fd5b5061038f60105481565b34801561080f57600080fd5b506103f561153e565b34801561082457600080fd5b5061038f600d5481565b34801561083a57600080fd5b5061038f61157d565b34801561084f57600080fd5b5061038f600e5481565b34801561086557600080fd5b50601354610324906301000000900460ff1681565b34801561088657600080fd5b506103246108953660046128b8565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108cf57600080fd5b506103f56108de366004612c5f565b6116ec565b3480156108ef57600080fd5b506103f56108fe36600461289e565b611729565b34801561090f57600080fd5b506103f561091e366004612cbc565b6117c1565b34801561092f57600080fd5b506103f561093e366004612b2b565b61184f565b34801561094f57600080fd5b5060135461032490610100900460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061099357506001600160e01b03198216635b5e139f60e01b145b806109ae57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546109c390612f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546109ef90612f6b565b8015610a3c5780601f10610a1157610100808354040283529160200191610a3c565b820191906000526020600020905b815481529060010190602001808311610a1f57829003601f168201915b5050505050905090565b6000610a518261187e565b610a6e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610a9582610eb4565b9050806001600160a01b0316836001600160a01b03161415610aca5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610aea5750610ae88133610895565b155b15610b08576040516367d9dca160e11b815260040160405180910390fd5b610b138383836118b7565b505050565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b8152600401610b4290612e48565b60405180910390fd5b6013805462ff00ff191662010001179055565b6000546001600160a01b03163314610b885760405162461bcd60e51b8152600401610b4290612e48565b6013805460ff1916911515919091179055565b610b13838383611913565b6000546001600160a01b03163314610bd05760405162461bcd60e51b8152600401610b4290612e48565b805160008111610bf25760405162461bcd60e51b8152600401610b4290612e11565b600d5481610c036001546000190190565b610c0d9190612edd565b1115610c2b5760405162461bcd60e51b8152600401610b4290612dc9565b60005b8251811015610b1357610c69838281518110610c5a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611b01565b80610c7381612fa6565b915050610c2e565b6000546001600160a01b03163314610ca55760405162461bcd60e51b8152600401610b4290612e48565b600e55565b8080600a54610cb99190612f09565b3414610cd75760405162461bcd60e51b8152600401610b4290612e7d565b601354610100900460ff1615610d235760405162461bcd60e51b815260206004820152601160248201527050726573616c652069732061637469766560781b6044820152606401610b42565b7f000000000000000000000000000000000000000000000000000000000000000f821115610d855760405162461bcd60e51b815260206004820152600f60248201526e26b0bc10189a9020b63637bbb2b21760891b6044820152606401610b42565b610d8e82611b1b565b5050565b6000546001600160a01b03163314610dbc5760405162461bcd60e51b8152600401610b4290612e48565b604051600090339047908381818185875af1925050503d8060008114610dfe576040519150601f19603f3d011682016040523d82523d6000602084013e610e03565b606091505b5050905080610e1157600080fd5b50565b610b138383836040518060200160405280600081525061136c565b6000546001600160a01b03163314610e595760405162461bcd60e51b8152600401610b4290612e48565b6013546301000000900460ff1615610ea85760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b6044820152606401610b42565b610b13601183836126d5565b6000610ebf82611bd2565b5192915050565b60118054610ed390612f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610eff90612f6b565b8015610f4c5780601f10610f2157610100808354040283529160200191610f4c565b820191906000526020600020905b815481529060010190602001808311610f2f57829003601f168201915b505050505081565b6000546001600160a01b03163314610f7e5760405162461bcd60e51b8152600401610b4290612e48565b600b91909155601055565b60006001600160a01b038216610fb2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146110015760405162461bcd60e51b8152600401610b4290612e48565b61100b6000611cf9565b565b60128054610ed390612f6b565b6000546001600160a01b031633146110445760405162461bcd60e51b8152600401610b4290612e48565b600e91909155600f55565b8080600a5461105e9190612f09565b341461107c5760405162461bcd60e51b8152600401610b4290612e7d565b7f000000000000000000000000000000000000000000000000000000000000000f8211156110de5760405162461bcd60e51b815260206004820152600f60248201526e26b0bc10189a9020b63637bbb2b21760891b6044820152606401610b42565b6110ec600f54858585611d49565b50505050565b6000546001600160a01b0316331461111c5760405162461bcd60e51b8152600401610b4290612e48565b600a55565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146111995760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610b42565b610d8e8282611e0c565b6060600480546109c390612f6b565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905061122e8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a9250859150611e749050565b9150505b949350505050565b6001600160a01b0382163314156112645760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8080600a546112df9190612f09565b34146112fd5760405162461bcd60e51b8152600401610b4290612e7d565b7f000000000000000000000000000000000000000000000000000000000000000582111561135e5760405162461bcd60e51b815260206004820152600e60248201526d26b0bc101a9020b63637bbb2b21760911b6044820152606401610b42565b6110ec600e54858585611d49565b611377848484611913565b6001600160a01b0383163b15158015611399575061139784848484611e8a565b155b156110ec576040516368d2bf6b60e11b815260040160405180910390fd5b6000546001600160a01b031633146113e15760405162461bcd60e51b8152600401610b4290612e48565b601380549115156101000261ff0019909216919091179055565b60606114068261187e565b61144b5760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b6044820152606401610b42565b60135462010000900460ff1615806114635750600c54155b156114fa576012805461147590612f6b565b80601f01602080910402602001604051908101604052809291908181526020018280546114a190612f6b565b80156114ee5780601f106114c3576101008083540402835291602001916114ee565b820191906000526020600020905b8154815290600101906020018083116114d157829003601f168201915b50505050509050919050565b600061150583611f7e565b9050600061151161218b565b90508082604051602001611526929190612d0a565b60405160208183030381529060405292505050919050565b6000546001600160a01b031633146115685760405162461bcd60e51b8152600401610b4290612e48565b6013805463ff00000019166301000000179055565b600080546001600160a01b031633146115a85760405162461bcd60e51b8152600401610b4290612e48565b600c54156115f15760405162461bcd60e51b815260206004820152601660248201527514d9595908185b1c9958591e4819d95b995c985d195960521b6044820152606401610b42565b600b546040516370a0823160e01b81523060048201527f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b15801561165357600080fd5b505afa158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190612ca4565b10156116d95760405162461bcd60e51b815260206004820152601a60248201527f4c696e6b2062616c616e6365206973206e6f7420656e6f7567680000000000006044820152606401610b42565b6116e7601054600b5461219a565b905090565b6000546001600160a01b031633146117165760405162461bcd60e51b8152600401610b4290612e48565b8051610d8e906012906020840190612759565b6000546001600160a01b031633146117535760405162461bcd60e51b8152600401610b4290612e48565b6001600160a01b0381166117b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b610e1181611cf9565b81600081116117e25760405162461bcd60e51b8152600401610b4290612e11565b600d54816117f36001546000190190565b6117fd9190612edd565b111561181b5760405162461bcd60e51b8152600401610b4290612dc9565b6000546001600160a01b031633146118455760405162461bcd60e51b8152600401610b4290612e48565b610b138284611b01565b6000546001600160a01b031633146118795760405162461bcd60e51b8152600401610b4290612e48565b600f55565b600081600111158015611892575060015482105b80156109ae575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061191e82611bd2565b9050836001600160a01b031681600001516001600160a01b0316146119555760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061197357506119738533610895565b8061198e57503361198384610a46565b6001600160a01b0316145b9050806119ae57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166119d557604051633a954ecd60e21b815260040160405180910390fd5b6119e1600084876118b7565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611ab5576001548214611ab557805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610d8e828260405180602001604052806000815250612325565b8060008111611b3c5760405162461bcd60e51b8152600401610b4290612e11565b600d5481611b4d6001546000190190565b611b579190612edd565b1115611b755760405162461bcd60e51b8152600401610b4290612dc9565b60135460ff1615611bc85760405162461bcd60e51b815260206004820152601a60248201527f506c65617365207761697420756e74696c20756e7061757365640000000000006044820152606401610b42565b610d8e3383611b01565b60408051606081018252600080825260208201819052918101919091528180600111158015611c02575060015481105b15611ce057600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cde5780516001600160a01b031615611c75579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cd9579392505050565b611c75565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601354610100900460ff16611d985760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b6044820152606401610b42565b611da4843385856111b2565b611e035760405162461bcd60e51b815260206004820152602a60248201527f536f7272792c206e6f2061636365737320756e6c65737320796f7527726520776044820152691a1a5d195b1a5cdd195960b21b6064820152608401610b42565b6110ec81611b1b565b600c5415611e555760405162461bcd60e51b815260206004820152601660248201527514d9595908185b1c9958591e4819d95b995c985d195960521b6044820152606401610b42565b600d54611e629082612fc1565b611e6d906001612edd565b600c555050565b600082611e818584612332565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ebf903390899088908890600401612d49565b602060405180830381600087803b158015611ed957600080fd5b505af1925050508015611f09575060408051601f3d908101601f19168201909252611f0691810190612bd7565b60015b611f64573d808015611f37576040519150601f19603f3d011682016040523d82523d6000602084013e611f3c565b606091505b508051611f5c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611232565b60606000600d546001600160401b03811115611faa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611fd3578160200160208202803683370190505b50905060015b600d54811161202a578082611fef600183612f28565b8151811061200d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061202281612fa6565b915050611fd9565b5060005b6001600d5461203d9190612f28565b81101561215357600081600d546120549190612f28565b600c5460408051602081019290925281018490526060016040516020818303038152906040528051906020012060001c61208e9190612fc1565b6120989083612edd565b90508281815181106120ba57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106120e257634e487b7160e01b600052603260045260246000fd5b602002602001015184848151811061210a57634e487b7160e01b600052603260045260246000fd5b6020026020010185848151811061213157634e487b7160e01b600052603260045260246000fd5b602090810291909101019190915252508061214b81612fa6565b91505061202e565b5061218481848151811061217757634e487b7160e01b600052603260045260246000fd5b60200260200101516123ec565b9392505050565b6060601180546109c390612f6b565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb79528486600060405160200161220a929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161223793929190612d86565b602060405180830381600087803b15801561225157600080fd5b505af1158015612265573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122899190612b0f565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526122e5906001612edd565b6000858152600960205260409020556112328482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b610b138383836001612505565b600081815b84518110156123e457600085828151811061236257634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116123a45760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506123d1565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806123dc81612fa6565b915050612337565b509392505050565b6060816124105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561243a578061242481612fa6565b91506124339050600a83612ef5565b9150612414565b6000816001600160401b0381111561246257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248c576020820181803683370190505b5090505b8415611232576124a1600183612f28565b91506124ae600a86612fc1565b6124b9906030612edd565b60f81b8183815181106124dc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124fe600a86612ef5565b9450612490565b6001546001600160a01b03851661252e57604051622e076360e81b815260040160405180910390fd5b8361254c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156125fd57506001600160a01b0387163b15155b15612686575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461264e6000888480600101955088611e8a565b61266b576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561260357826001541461268157600080fd5b6126cc565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612687575b50600155611afa565b8280546126e190612f6b565b90600052602060002090601f0160209004810192826127035760008555612749565b82601f1061271c5782800160ff19823516178555612749565b82800160010185558215612749579182015b8281111561274957823582559160200191906001019061272e565b506127559291506127cd565b5090565b82805461276590612f6b565b90600052602060002090601f0160209004810192826127875760008555612749565b82601f106127a057805160ff1916838001178555612749565b82800160010185558215612749579182015b828111156127495782518255916020019190600101906127b2565b5b8082111561275557600081556001016127ce565b60006001600160401b038311156127fb576127fb613001565b61280e601f8401601f1916602001612ead565b905082815283838301111561282257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461285057600080fd5b919050565b60008083601f840112612866578182fd5b5081356001600160401b0381111561287c578182fd5b6020830191508360208260051b850101111561289757600080fd5b9250929050565b6000602082840312156128af578081fd5b61218482612839565b600080604083850312156128ca578081fd5b6128d383612839565b91506128e160208401612839565b90509250929050565b6000806000606084860312156128fe578081fd5b61290784612839565b925061291560208501612839565b9150604084013590509250925092565b6000806000806080858703121561293a578081fd5b61294385612839565b935061295160208601612839565b92506040850135915060608501356001600160401b03811115612972578182fd5b8501601f81018713612982578182fd5b612991878235602084016127e2565b91505092959194509250565b600080604083850312156129af578182fd5b6129b883612839565b915060208301356129c881613017565b809150509250929050565b600080604083850312156129e5578182fd5b6129ee83612839565b946020939093013593505050565b60006020808385031215612a0e578182fd5b82356001600160401b0380821115612a24578384fd5b818501915085601f830112612a37578384fd5b813581811115612a4957612a49613001565b8060051b9150612a5a848301612ead565b8181528481019084860184860187018a1015612a74578788fd5b8795505b83861015612a9d57612a8981612839565b835260019590950194918601918601612a78565b5098975050505050505050565b600080600060408486031215612abe578283fd5b83356001600160401b03811115612ad3578384fd5b612adf86828701612855565b909790965060209590950135949350505050565b600060208284031215612b04578081fd5b813561218481613017565b600060208284031215612b20578081fd5b815161218481613017565b600060208284031215612b3c578081fd5b5035919050565b60008060008060608587031215612b58578182fd5b84359350612b6860208601612839565b925060408501356001600160401b03811115612b82578283fd5b612b8e87828801612855565b95989497509550505050565b60008060408385031215612bac578182fd5b50508035926020909101359150565b600060208284031215612bcc578081fd5b813561218481613025565b600060208284031215612be8578081fd5b815161218481613025565b60008060208385031215612c05578182fd5b82356001600160401b0380821115612c1b578384fd5b818501915085601f830112612c2e578384fd5b813581811115612c3c578485fd5b866020828501011115612c4d578485fd5b60209290920196919550909350505050565b600060208284031215612c70578081fd5b81356001600160401b03811115612c85578182fd5b8201601f81018413612c95578182fd5b611232848235602084016127e2565b600060208284031215612cb5578081fd5b5051919050565b60008060408385031215612cce578182fd5b823591506128e160208401612839565b60008151808452612cf6816020860160208601612f3f565b601f01601f19169290920160200192915050565b60008351612d1c818460208801612f3f565b835190830190612d30818360208801612f3f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d7c90830184612cde565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612dad6060830184612cde565b95945050505050565b6020815260006121846020830184612cde565b60208082526028908201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e742074604082015267686174206d616e7960c01b606082015260800190565b60208082526017908201527f4d696e74206174206c65617374206f6e6520746f6b656e000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260169082015275125b98dbdc9c9958dd08195d1a195c88185b5bdd5b9d60521b604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612ed557612ed5613001565b604052919050565b60008219821115612ef057612ef0612fd5565b500190565b600082612f0457612f04612feb565b500490565b6000816000190483118215151615612f2357612f23612fd5565b500290565b600082821015612f3a57612f3a612fd5565b500390565b60005b83811015612f5a578181015183820152602001612f42565b838111156110ec5750506000910152565b600181811c90821680612f7f57607f821691505b60208210811415612fa057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fba57612fba612fd5565b5060010190565b600082612fd057612fd0612feb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e1157600080fd5b6001600160e01b031981168114610e1157600080fdfea2646970667358221220ab120608d714bcb7333111f7fd88f8ce595abd1c182c993938db5575119222da64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d53507141546745726254636d4552426f62704a4c48776e735376477a4c484b5756514d47415a39353545796e2f00000000000000000000

-----Decoded View---------------
Arg [0] : _initbaseURI (string):
Arg [1] : _initNotRevealedURI (string): ipfs://QmSPqATgErbTcmERBobpJLHwnsSvGzLHKWVQMGAZ955Eyn/
Arg [2] : _LINK_TOKEN (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [3] : _LINK_VRF_COORDINATOR_ADDRESS (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [4] : _chainlinkHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : _chainlinkFee (uint256): 2000000000000000000
Arg [6] : _tokenPrice (uint256): 200000000000000000
Arg [7] : _maxSupply (uint256): 8888

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [3] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [4] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [6] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [7] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d53507141546745726254636d4552426f62704a4c48776e
Arg [11] : 735376477a4c484b5756514d47415a39353545796e2f00000000000000000000


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.