ETH Price: $3,288.74 (+1.27%)
Gas: 1 Gwei

Token

HotPotDAO (HOTPOTDAO)
 

Overview

Max Total Supply

158 HOTPOTDAO

Holders

132

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
changlu.eth
Balance
2 HOTPOTDAO
0x6fd159151b79cb478e6d95ce994126280b77874b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HotPotDAO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

/*****************************************************************************************
  _   _     U  ___ u _____    ____    U  ___ u _____   ____       _      U  ___ u 
 |'| |'|     \/"_ \/|_ " _| U|  _"\ u  \/"_ \/|_ " _| |  _"\  U  /"\  u   \/"_ \/ 
/| |_| |\    | | | |  | |   \| |_) |/  | | | |  | |  /| | | |  \/ _ \/    | | | | 
U|  _  |u.-,_| |_| | /| |\   |  __/.-,_| |_| | /| |\ U| |_| |\ / ___ \.-,_| |_| | 
 |_| |_|  \_)-\___/ u |_|U   |_|    \_)-\___/ u |_|U  |____/ u/_/   \_\\_)-\___/  
 //   \\       \\   _// \\_  ||>>_       \\   _// \\_  |||_    \\    >>     \\    
(_") ("_)     (__) (__) (__)(__)__)     (__) (__) (__)(__)_)  (__)  (__)   (__)   
 ****************************************************************************************/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "./BatchReveal.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";

contract HotPotDAO is Ownable, ERC721A, ReentrancyGuard, VRFConsumerBase, BatchReveal {

    //Contract URI
    string public CONTRACT_URI = "ipfs://QmYTwE1CQKECdqAQwNNfzg5XcJDaDbYpyYg3trnsQvAR6S";

    mapping(address => uint256) public userToHasMinted;

    bool public REVEALED;
    string public UNREVEALED_URI = "ipfs://Qmaq16n6jNCGEVKKfcG63drGf1nKeb2qvgnobANehTPUmt";
    string public BASE_URI;
    uint256 public mintWave = 0;
    uint256 public MINT_PRICE = 0.1 ether;
    uint256 public MAX_BATCH_SIZE = 1;
    uint256 public MAX_MINTED_PER_WALLET = 2;

    bytes32 immutable private s_keyHash;
    address immutable private linkToken;
    address immutable private linkCoordinator;

    constructor(bytes32 _s_keyHash, address _linkToken, address _linkCoordinator) 
        ERC721A("HotPotDAO", "HOTPOTDAO") 
        VRFConsumerBase(_linkCoordinator, _linkToken) {
            linkToken = _linkToken;
            linkCoordinator = _linkCoordinator;
            s_keyHash = _s_keyHash;
        }

    function teamMint(uint256 quantity, address receiver) public onlyOwner {
        //Max supply
        require(
            totalSupply() + quantity <= COLLECTION_SIZE,
            "Max collection size reached!"
        );
        //Mint the quantity
        _safeMint(receiver, quantity);
    }

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

    function publicSaleMint(uint256 quantity)
        external
        payable
        callerIsUser
    {
        uint256 price = (MINT_PRICE) * quantity;
        require(totalSupply() + quantity <= COLLECTION_SIZE, "Mint would surpass Collection Size!");
        require(totalSupply() + quantity <= mintWave * REVEAL_BATCH_SIZE, "Next mint wave has not begun");
        require(userToHasMinted[msg.sender] + quantity <= MAX_MINTED_PER_WALLET, "Already minted max to wallet!");   
        require(quantity <= MAX_BATCH_SIZE, "Tried to mint quanity over limit, retry with reduced quantity");
        require(msg.value >= price, "Must send enough eth for public mint");
        userToHasMinted[msg.sender]++;
        _safeMint(msg.sender, quantity);
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }   
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function setMintWave(uint _mintWave) public onlyOwner {
        mintWave = _mintWave;
    }

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

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

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

    // Batch Reveal Randomization
    // Get randomeness from Chainlink VRF
    function revealNextBatch(uint s_fee) public onlyOwner returns (bytes32 requestId) {
        require(totalSupply() >= (lastTokenRevealed + REVEAL_BATCH_SIZE), "totalSupply too low");

        // checking LINK balance
        require(IERC20(linkToken).balanceOf(address(this)) >= s_fee, "Not enough LINK to pay fee");

        // requesting randomness
        requestId = requestRandomness(s_keyHash, s_fee);
    }

    function fulfillRandomness(bytes32, uint256 randomness) internal override {
        require(totalSupply() >= (lastTokenRevealed + REVEAL_BATCH_SIZE), "totalSupply too low");
        uint batchNumber = lastTokenRevealed/REVEAL_BATCH_SIZE;
        // not perfectly random since the folding doesn't match bounds perfectly, but difference is small
        batchToSeed[batchNumber] = randomness % (COLLECTION_SIZE - (batchNumber*REVEAL_BATCH_SIZE));
        unchecked {
            lastTokenRevealed += REVEAL_BATCH_SIZE;
        }
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        if(id >= lastTokenRevealed){
            return UNREVEALED_URI;
        } else {
            return string(abi.encodePacked(BASE_URI, Strings.toString(getShuffledTokenId(id))));
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 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) 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev 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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 5 of 12 : BatchReveal.sol
//SPDX-License-Identifier: CC0
pragma solidity ^0.8.4;

abstract contract BatchReveal {
    uint constant public COLLECTION_SIZE = 888;
    uint constant public REVEAL_BATCH_SIZE = 222;
    mapping(uint => uint) public batchToSeed;
    uint public lastTokenRevealed = 0;

    struct Range{
        int128 start;
        int128 end;
    }

    // Forked from openzeppelin
    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(int128 a, int128 b) internal pure returns (int128) {
        return a < b ? a : b;
    }

    uint constant RANGE_LENGTH = (COLLECTION_SIZE/REVEAL_BATCH_SIZE)*2;
    int128 constant intCOLLECTION_SIZE = int128(int(COLLECTION_SIZE));

    // ranges include the start but not the end [start, end)
    function addRange(Range[RANGE_LENGTH] memory ranges, int128 start, int128 end, uint lastIndex) pure private returns (uint) {
        uint positionToAssume = lastIndex;
        for(uint j=0; j<lastIndex; j++){
            int128 rangeStart = ranges[j].start;
            int128 rangeEnd = ranges[j].end;
            if(start < rangeStart && positionToAssume == lastIndex){
                positionToAssume = j;
            }
            if(
                (start < rangeStart && end > rangeStart) ||
                (rangeStart <= start &&  end <= rangeEnd) ||
                (start < rangeEnd && end > rangeEnd)
            ){
                int128 length = end-start;
                start = min(start, rangeStart);
                end = start + length + (rangeEnd-rangeStart);
                ranges[j] = Range(-1,-1); // Delete
            }
        }
        for(uint pos = lastIndex; pos > positionToAssume; pos--){
            ranges[pos] = ranges[pos-1];
        }
        ranges[positionToAssume] = Range(start, min(end, intCOLLECTION_SIZE));
        lastIndex++;
        if(end > intCOLLECTION_SIZE){
            addRange(ranges, 0, end - intCOLLECTION_SIZE, lastIndex);
            lastIndex++;
        }
        return lastIndex;
    }

    function buildJumps(uint lastBatch) view private returns (Range[RANGE_LENGTH] memory) {
        Range[RANGE_LENGTH] memory ranges;
        uint lastIndex = 0;
        for(uint i=0; i<lastBatch; i++){
            int128 start = int128(int(getFreeTokenId(batchToSeed[i], ranges)));
            int128 end = start + int128(int(REVEAL_BATCH_SIZE));
            lastIndex = addRange(ranges, start, end, lastIndex);
        }
        return ranges;
    }

    function getShuffledTokenId(uint startId) view internal returns (uint) {
        uint batch = startId/REVEAL_BATCH_SIZE;
        Range[RANGE_LENGTH] memory ranges = buildJumps(batch);
        uint positionsToMove = (startId % REVEAL_BATCH_SIZE) + batchToSeed[batch];
        return getFreeTokenId(positionsToMove, ranges);
    }

    function getFreeTokenId(uint positionsToMoveStart, Range[RANGE_LENGTH] memory ranges) pure private returns (uint) {
        int128 positionsToMove = int128(int(positionsToMoveStart));
        int128 id = 0;

        for(uint round = 0; round<2; round++){
            for(uint i=0; i<RANGE_LENGTH; i++){
                int128 start = ranges[i].start;
                int128 end = ranges[i].end;
                if(id < start){
                    int128 finalId = id + positionsToMove;
                    if(finalId < start){
                        return uint(uint128(finalId));
                    } else {
                        positionsToMove -= start - id;
                        id = end;
                    }
                } else if(id < end){
                    id = end;
                }
            }
            if((id + positionsToMove) >= intCOLLECTION_SIZE){
                positionsToMove -= intCOLLECTION_SIZE - id;
                id = 0;
            }
        }
        return uint(uint128(id + positionsToMove));
    }

    function setBatchSeed(uint randomness) internal {
        uint batchNumber;
        unchecked {
            batchNumber = lastTokenRevealed/REVEAL_BATCH_SIZE;
            lastTokenRevealed += REVEAL_BATCH_SIZE;
        }
        // not perfectly random since the folding doesn't match bounds perfectly, but difference is small
        batchToSeed[batchNumber] = randomness % (COLLECTION_SIZE - (batchNumber*REVEAL_BATCH_SIZE));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 8 of 12 : 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     constructor(<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 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 12 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

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

File 11 of 12 : 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 12 of 12 : 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));
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_s_keyHash","type":"bytes32"},{"internalType":"address","name":"_linkToken","type":"address"},{"internalType":"address","name":"_linkCoordinator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLLECTION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BATCH_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTED_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_BATCH_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNREVEALED_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchToSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTokenRevealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintWave","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","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":[{"internalType":"uint256","name":"s_fee","type":"uint256"}],"name":"revealNextBatch","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintWave","type":"uint256"}],"name":"setMintWave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToHasMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040526000600c556040518060600160405280603581526020016200505c60359139600d90805190602001906200003b9291906200035d565b506040518060600160405280603581526020016200502760359139601090805190602001906200006d9291906200035d565b50600060125567016345785d8a0000601355600160145560026015553480156200009657600080fd5b5060405162005091380380620050918339818101604052810190620000bc91906200043b565b80826040518060400160405280600981526020017f486f74506f7444414f00000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f484f54504f5444414f00000000000000000000000000000000000000000000008152506200014a6200013e6200028c60201b60201c565b6200029460201b60201c565b8160039080519060200190620001629291906200035d565b5080600490805190602001906200017b9291906200035d565b506200018c6200035860201b60201c565b600181905550505060016009819055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508173ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff1660601b815250508260c0818152505050505062000568565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200036b90620004cf565b90600052602060002090601f0160209004810192826200038f5760008555620003db565b82601f10620003aa57805160ff1916838001178555620003db565b82800160010185558215620003db579182015b82811115620003da578251825591602001919060010190620003bd565b5b509050620003ea9190620003ee565b5090565b5b8082111562000409576000816000905550600101620003ef565b5090565b6000815190506200041e8162000534565b92915050565b60008151905062000435816200054e565b92915050565b6000806000606084860312156200045157600080fd5b6000620004618682870162000424565b935050602062000474868287016200040d565b925050604062000487868287016200040d565b9150509250925092565b60006200049e82620004af565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620004e857607f821691505b60208210811415620004ff57620004fe62000505565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200053f8162000491565b81146200054b57600080fd5b50565b6200055981620004a5565b81146200056557600080fd5b50565b60805160601c60a05160601c60c05160e05160601c6101005160601c614a6a620005bd600039600050506000611ba501526000611c9201526000818161109101526129b0015260006129740152614a6a6000f3fe6080604052600436106102305760003560e01c806395d89b411161012e578063c002d23d116100ab578063dbddb26a1161006f578063dbddb26a14610830578063e8a3d4851461085b578063e985e9c514610886578063f2fde38b146108c3578063f4319195146108ec57610230565b8063c002d23d14610735578063c87b56dd14610760578063cfdbf2541461079d578063d7bfbe27146107c8578063d8258d951461080557610230565b8063ac446002116100f2578063ac44600214610685578063b3ab66b01461069c578063b4596d2b146106b8578063b88d4fde146106e3578063bfa457bc1461070c57610230565b806395d89b41146105b25780639e1f39d6146105dd5780639f2063da14610606578063a22cb46514610631578063a76a95871461065a57610230565b8063507862d1116101bc578063777c909111610180578063777c9091146104cf5780637d5b50391461050c5780638da5cb5b14610535578063938e3d7b1461056057806394985ddd1461058957610230565b8063507862d1146103e857806356b4f673146104135780636352211e1461043e57806370a082311461047b578063715018a6146104b857610230565b80630c5c2793116102035780630c5c2793146103035780630e67d0f71461032e57806318160ddd1461036b57806323b872dd1461039657806342842e0e146103bf57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906138c7565b610917565b6040516102699190613e8b565b60405180910390f35b34801561027e57600080fd5b506102876109a9565b6040516102949190613f2f565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061395a565b610a3b565b6040516102d19190613de6565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc91906137d2565b610ab7565b005b34801561030f57600080fd5b50610318610c5e565b6040516103259190614111565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613667565b610c64565b6040516103629190614111565b60405180910390f35b34801561037757600080fd5b50610380610c7c565b60405161038d9190614111565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b891906136cc565b610c93565b005b3480156103cb57600080fd5b506103e660048036038101906103e191906136cc565b610ca3565b005b3480156103f457600080fd5b506103fd610cc3565b60405161040a9190613f2f565b60405180910390f35b34801561041f57600080fd5b50610428610d51565b6040516104359190613f2f565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061395a565b610ddf565b6040516104729190613de6565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613667565b610df1565b6040516104af9190614111565b60405180910390f35b3480156104c457600080fd5b506104cd610eaa565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061395a565b610f32565b6040516105039190614111565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061395a565b610f4a565b005b34801561054157600080fd5b5061054a610fd0565b6040516105579190613de6565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613919565b610ff9565b005b34801561059557600080fd5b506105b060048036038101906105ab919061388b565b61108f565b005b3480156105be57600080fd5b506105c761112b565b6040516105d49190613f2f565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff9190613837565b6111bd565b005b34801561061257600080fd5b5061061b61126e565b6040516106289190614111565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613796565b611273565b005b34801561066657600080fd5b5061066f6113eb565b60405161067c9190613e8b565b60405180910390f35b34801561069157600080fd5b5061069a6113fe565b005b6106b660048036038101906106b1919061395a565b61157f565b005b3480156106c457600080fd5b506106cd61188e565b6040516106da9190614111565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061371b565b611894565b005b34801561071857600080fd5b50610733600480360381019061072e91906139ac565b611907565b005b34801561074157600080fd5b5061074a6119e8565b6040516107579190614111565b60405180910390f35b34801561076c57600080fd5b506107876004803603810190610782919061395a565b6119ee565b6040516107949190613f2f565b60405180910390f35b3480156107a957600080fd5b506107b2611ac6565b6040516107bf9190614111565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea919061395a565b611acc565b6040516107fc9190613ea6565b60405180910390f35b34801561081157600080fd5b5061081a611cbe565b6040516108279190614111565b60405180910390f35b34801561083c57600080fd5b50610845611cc4565b6040516108529190613f2f565b60405180910390f35b34801561086757600080fd5b50610870611d52565b60405161087d9190613f2f565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a89190613690565b611de4565b6040516108ba9190613e8b565b60405180910390f35b3480156108cf57600080fd5b506108ea60048036038101906108e59190613667565b611e78565b005b3480156108f857600080fd5b50610901611f70565b60405161090e9190614111565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061097257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546109b89061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546109e49061452a565b8015610a315780601f10610a0657610100808354040283529160200191610a31565b820191906000526020600020905b815481529060010190602001808311610a1457829003601f168201915b5050505050905090565b6000610a4682611f76565b610a7c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac282611fd5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b496120a3565b73ffffffffffffffffffffffffffffffffffffffff1614610bac57610b7581610b706120a3565b611de4565b610bab576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60155481565b600e6020528060005260406000206000915090505481565b6000610c866120ab565b6002546001540303905090565b610c9e8383836120b0565b505050565b610cbe83838360405180602001604052806000815250611894565b505050565b60108054610cd09061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfc9061452a565b8015610d495780601f10610d1e57610100808354040283529160200191610d49565b820191906000526020600020905b815481529060010190602001808311610d2c57829003601f168201915b505050505081565b600d8054610d5e9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a9061452a565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b505050505081565b6000610dea82611fd5565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e59576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610eb261245a565b73ffffffffffffffffffffffffffffffffffffffff16610ed0610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90614031565b60405180910390fd5b610f306000612462565b565b600b6020528060005260406000206000915090505481565b610f5261245a565b73ffffffffffffffffffffffffffffffffffffffff16610f70610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614031565b60405180910390fd5b8060128190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61100161245a565b73ffffffffffffffffffffffffffffffffffffffff1661101f610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106c90614031565b60405180910390fd5b80600d908051906020019061108b9291906133fe565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490614051565b60405180910390fd5b6111278282612526565b5050565b60606004805461113a9061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546111669061452a565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b5050505050905090565b6111c561245a565b73ffffffffffffffffffffffffffffffffffffffff166111e3610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123090614031565b60405180910390fd5b806011908051906020019061124f9291906133fe565b5081600f60006101000a81548160ff0219169083151502179055505050565b60de81565b61127b6120a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006112ed6120a3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661139a6120a3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113df9190613e8b565b60405180910390a35050565b600f60009054906101000a900460ff1681565b61140661245a565b73ffffffffffffffffffffffffffffffffffffffff16611424610fd0565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614031565b60405180910390fd5b600260095414156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b7906140d1565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516114ee90613dd1565b60006040518083038185875af1925050503d806000811461152b576040519150601f19603f3d011682016040523d82523d6000602084013e611530565b606091505b5050905080611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906140b1565b60405180910390fd5b506001600981905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e490613f91565b60405180910390fd5b6000816013546115fd9190614321565b90506103788261160b610c7c565b611615919061429a565b1115611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90614091565b60405180910390fd5b60de6012546116659190614321565b8261166e610c7c565b611678919061429a565b11156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613fd1565b60405180910390fd5b60155482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611707919061429a565b1115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613fb1565b60405180910390fd5b60145482111561178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490613ff1565b60405180910390fd5b803410156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906140f1565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118209061458d565b919050555061182f33836125e3565b8034111561188a573373ffffffffffffffffffffffffffffffffffffffff166108fc823461185d91906143ff565b9081150290604051600060405180830381858888f19350505050158015611888573d6000803e3d6000fd5b505b5050565b60125481565b61189f8484846120b0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611901576118ca84848484612601565b611900576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61190f61245a565b73ffffffffffffffffffffffffffffffffffffffff1661192d610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614031565b60405180910390fd5b6103788261198f610c7c565b611999919061429a565b11156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614011565b60405180910390fd5b6119e481836125e3565b5050565b60135481565b6060600c548210611a8b5760108054611a069061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a329061452a565b8015611a7f5780601f10611a5457610100808354040283529160200191611a7f565b820191906000526020600020905b815481529060010190602001808311611a6257829003601f168201915b50505050509050611ac1565b6011611a9e611a9984612761565b6127c3565b604051602001611aaf929190613dad565b60405160208183030381529060405290505b919050565b60145481565b6000611ad661245a565b73ffffffffffffffffffffffffffffffffffffffff16611af4610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4190614031565b60405180910390fd5b60de600c54611b59919061429a565b611b61610c7c565b1015611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613f71565b60405180910390fd5b817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611bfc9190613de6565b60206040518083038186803b158015611c1457600080fd5b505afa158015611c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4c9190613983565b1015611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8490614071565b60405180910390fd5b611cb77f000000000000000000000000000000000000000000000000000000000000000083612970565b9050919050565b61037881565b60118054611cd19061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cfd9061452a565b8015611d4a5780601f10611d1f57610100808354040283529160200191611d4a565b820191906000526020600020905b815481529060010190602001808311611d2d57829003601f168201915b505050505081565b6060600d8054611d619061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8d9061452a565b8015611dda5780601f10611daf57610100808354040283529160200191611dda565b820191906000526020600020905b815481529060010190602001808311611dbd57829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e8061245a565b73ffffffffffffffffffffffffffffffffffffffff16611e9e610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614031565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b90613f51565b60405180910390fd5b611f6d81612462565b50565b600c5481565b600081611f816120ab565b11158015611f90575060015482105b8015611fce575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080611fe46120ab565b1161206c5760015481101561206b5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612069575b600081141561205f576005600083600190039350838152602001908152602001600020549050612034565b809250505061209e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006120bb82611fd5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612122576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166121436120a3565b73ffffffffffffffffffffffffffffffffffffffff16148061217257506121718561216c6120a3565b611de4565b5b806121b757506121806120a3565b73ffffffffffffffffffffffffffffffffffffffff1661219f84610a3b565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612257576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122648585856001612ad2565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61236186612ad8565b1717600560008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156123eb5760006001840190506000600560008381526020019081526020016000205414156123e95760015481146123e8578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124538585856001612ae2565b5050505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60de600c54612535919061429a565b61253d610c7c565b101561257e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257590613f71565b60405180910390fd5b600060de600c5461258f91906142f0565b905060de8161259e9190614321565b6103786125ab91906143ff565b826125b691906145ea565b600b60008381526020019081526020016000208190555060de600c60008282540192505081905550505050565b6125fd828260405180602001604052806000815250612ae8565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126276120a3565b8786866040518563ffffffff1660e01b81526004016126499493929190613e01565b602060405180830381600087803b15801561266357600080fd5b505af192505050801561269457506040513d601f19601f8201168201806040525081019061269191906138f0565b60015b61270e573d80600081146126c4576040519150601f19603f3d011682016040523d82523d6000602084013e6126c9565b606091505b50600081511415612706576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008060de8361277191906142f0565b9050600061277e82612d9e565b90506000600b60008481526020019081526020016000205460de866127a391906145ea565b6127ad919061429a565b90506127b98183612e1a565b9350505050919050565b6060600082141561280b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061296b565b600082905060005b6000821461283d5780806128269061458d565b915050600a8261283691906142f0565b9150612813565b60008167ffffffffffffffff81111561287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128b15781602001600182028036833780820191505090505b5090505b60008514612964576001826128ca91906143ff565b9150600a856128d991906145ea565b60306128e5919061429a565b60f81b818381518110612921577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561295d91906142f0565b94506128b5565b8093505050505b919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016129e4929190613ec1565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612a1193929190613e4d565b602060405180830381600087803b158015612a2b57600080fd5b505af1158015612a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a63919061380e565b506000612a8684600030600a600089815260200190815260200160002054612fed565b90506001600a600086815260200190815260200160002054612aa8919061429a565b600a600086815260200190815260200160002081905550612ac98482613029565b91505092915050565b50505050565b6000819050919050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b56576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612b91576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b9e6000858386612ad2565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612c036001851461305c565b901b60a042901b612c1386612ad8565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612d17575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cc76000878480600101955087612601565b612cfd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612c58578260015414612d1257600080fd5b612d82565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d18575b816001819055505050612d986000858386612ae2565b50505050565b612da6613484565b612dae613484565b6000805b84811015612e0f576000612dd9600b60008481526020019081526020016000205485612e1a565b9050600060de82612dea9190614216565b9050612df885838387613066565b935050508080612e079061458d565b915050612db2565b508192505050919050565b6000808390506000805b6002811015612fc35760005b600260de610378612e4191906142f0565b612e4b9190614321565b811015612f75576000868260088110612e8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516000015190506000878360088110612ed3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160200151905081600f0b85600f0b1215612f4d5760008686612efa9190614216565b905082600f0b81600f0b1215612f2b57806fffffffffffffffffffffffffffffffff16975050505050505050612fe7565b8583612f37919061437b565b87612f42919061437b565b965081955050612f60565b80600f0b85600f0b1215612f5f578094505b5b50508080612f6d9061458d565b915050612e30565b50610378600f0b8383612f889190614216565b600f0b12612fb05781610378612f9e919061437b565b83612fa9919061437b565b9250600091505b8080612fbb9061458d565b915050612e24565b508181612fd09190614216565b6fffffffffffffffffffffffffffffffff16925050505b92915050565b6000848484846040516020016130069493929190613eea565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161303e929190613d81565b60405160208183030381529060405280519060200120905092915050565b6000819050919050565b60008082905060005b838110156132765760008782600881106130b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160000151905060008883600881106130f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160200151905081600f0b88600f0b12801561311757508584145b15613120578293505b81600f0b88600f0b12801561313a575081600f0b87600f0b135b8061315d575087600f0b82600f0b1315801561315c575080600f0b87600f0b13155b5b8061317e575080600f0b88600f0b12801561317d575080600f0b87600f0b135b5b156132615760008888613191919061437b565b905061319d89846133df565b985082826131ab919061437b565b818a6131b79190614216565b6131c19190614216565b975060405180604001604052807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f0b81526020017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f0b8152508a8560088110613257577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250505b5050808061326e9061458d565b91505061306f565b5060008390505b81811115613323578660018261329391906143ff565b600881106132ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151878260088110613308577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250808061331b90614500565b91505061327d565b50604051806040016040528086600f0b8152602001613344866103786133df565b600f0b815250868260088110613383577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525082806133969061458d565b935050610378600f0b84600f0b13156133d3576133c3866000610378876133bd919061437b565b86613066565b5082806133cf9061458d565b9350505b82915050949350505050565b600081600f0b83600f0b126133f457816133f6565b825b905092915050565b82805461340a9061452a565b90600052602060002090601f01602090048101928261342c5760008555613473565b82601f1061344557805160ff1916838001178555613473565b82800160010185558215613473579182015b82811115613472578251825591602001919060010190613457565b5b50905061348091906134b2565b5090565b6040518061010001604052806008905b61349c6134cf565b8152602001906001900390816134945790505090565b5b808211156134cb5760008160009055506001016134b3565b5090565b60405180604001604052806000600f0b81526020016000600f0b81525090565b60006135026134fd84614151565b61412c565b90508281526020810184848401111561351a57600080fd5b6135258482856144be565b509392505050565b600061354061353b84614182565b61412c565b90508281526020810184848401111561355857600080fd5b6135638482856144be565b509392505050565b60008135905061357a816149c1565b92915050565b60008135905061358f816149d8565b92915050565b6000815190506135a4816149d8565b92915050565b6000813590506135b9816149ef565b92915050565b6000813590506135ce81614a06565b92915050565b6000815190506135e381614a06565b92915050565b600082601f8301126135fa57600080fd5b813561360a8482602086016134ef565b91505092915050565b600082601f83011261362457600080fd5b813561363484826020860161352d565b91505092915050565b60008135905061364c81614a1d565b92915050565b60008151905061366181614a1d565b92915050565b60006020828403121561367957600080fd5b60006136878482850161356b565b91505092915050565b600080604083850312156136a357600080fd5b60006136b18582860161356b565b92505060206136c28582860161356b565b9150509250929050565b6000806000606084860312156136e157600080fd5b60006136ef8682870161356b565b93505060206137008682870161356b565b92505060406137118682870161363d565b9150509250925092565b6000806000806080858703121561373157600080fd5b600061373f8782880161356b565b94505060206137508782880161356b565b93505060406137618782880161363d565b925050606085013567ffffffffffffffff81111561377e57600080fd5b61378a878288016135e9565b91505092959194509250565b600080604083850312156137a957600080fd5b60006137b78582860161356b565b92505060206137c885828601613580565b9150509250929050565b600080604083850312156137e557600080fd5b60006137f38582860161356b565b92505060206138048582860161363d565b9150509250929050565b60006020828403121561382057600080fd5b600061382e84828501613595565b91505092915050565b6000806040838503121561384a57600080fd5b600061385885828601613580565b925050602083013567ffffffffffffffff81111561387557600080fd5b61388185828601613613565b9150509250929050565b6000806040838503121561389e57600080fd5b60006138ac858286016135aa565b92505060206138bd8582860161363d565b9150509250929050565b6000602082840312156138d957600080fd5b60006138e7848285016135bf565b91505092915050565b60006020828403121561390257600080fd5b6000613910848285016135d4565b91505092915050565b60006020828403121561392b57600080fd5b600082013567ffffffffffffffff81111561394557600080fd5b61395184828501613613565b91505092915050565b60006020828403121561396c57600080fd5b600061397a8482850161363d565b91505092915050565b60006020828403121561399557600080fd5b60006139a384828501613652565b91505092915050565b600080604083850312156139bf57600080fd5b60006139cd8582860161363d565b92505060206139de8582860161356b565b9150509250929050565b6139f181614433565b82525050565b613a0081614445565b82525050565b613a0f81614451565b82525050565b613a26613a2182614451565b6145d6565b82525050565b6000613a37826141c8565b613a4181856141de565b9350613a518185602086016144cd565b613a5a816146d7565b840191505092915050565b6000613a70826141d3565b613a7a81856141fa565b9350613a8a8185602086016144cd565b613a93816146d7565b840191505092915050565b6000613aa9826141d3565b613ab3818561420b565b9350613ac38185602086016144cd565b80840191505092915050565b60008154613adc8161452a565b613ae6818661420b565b94506001821660008114613b015760018114613b1257613b45565b60ff19831686528186019350613b45565b613b1b856141b3565b60005b83811015613b3d57815481890152600182019150602081019050613b1e565b838801955050505b50505092915050565b6000613b5b6026836141fa565b9150613b66826146e8565b604082019050919050565b6000613b7e6013836141fa565b9150613b8982614737565b602082019050919050565b6000613ba1601e836141fa565b9150613bac82614760565b602082019050919050565b6000613bc4601d836141fa565b9150613bcf82614789565b602082019050919050565b6000613be7601c836141fa565b9150613bf2826147b2565b602082019050919050565b6000613c0a603d836141fa565b9150613c15826147db565b604082019050919050565b6000613c2d601c836141fa565b9150613c388261482a565b602082019050919050565b6000613c506020836141fa565b9150613c5b82614853565b602082019050919050565b6000613c73601f836141fa565b9150613c7e8261487c565b602082019050919050565b6000613c96601a836141fa565b9150613ca1826148a5565b602082019050919050565b6000613cb96000836141ef565b9150613cc4826148ce565b600082019050919050565b6000613cdc6023836141fa565b9150613ce7826148d1565b604082019050919050565b6000613cff6010836141fa565b9150613d0a82614920565b602082019050919050565b6000613d22601f836141fa565b9150613d2d82614949565b602082019050919050565b6000613d456024836141fa565b9150613d5082614972565b604082019050919050565b613d64816144b4565b82525050565b613d7b613d76826144b4565b6145e0565b82525050565b6000613d8d8285613a15565b602082019150613d9d8284613d6a565b6020820191508190509392505050565b6000613db98285613acf565b9150613dc58284613a9e565b91508190509392505050565b6000613ddc82613cac565b9150819050919050565b6000602082019050613dfb60008301846139e8565b92915050565b6000608082019050613e1660008301876139e8565b613e2360208301866139e8565b613e306040830185613d5b565b8181036060830152613e428184613a2c565b905095945050505050565b6000606082019050613e6260008301866139e8565b613e6f6020830185613d5b565b8181036040830152613e818184613a2c565b9050949350505050565b6000602082019050613ea060008301846139f7565b92915050565b6000602082019050613ebb6000830184613a06565b92915050565b6000604082019050613ed66000830185613a06565b613ee36020830184613d5b565b9392505050565b6000608082019050613eff6000830187613a06565b613f0c6020830186613d5b565b613f1960408301856139e8565b613f266060830184613d5b565b95945050505050565b60006020820190508181036000830152613f498184613a65565b905092915050565b60006020820190508181036000830152613f6a81613b4e565b9050919050565b60006020820190508181036000830152613f8a81613b71565b9050919050565b60006020820190508181036000830152613faa81613b94565b9050919050565b60006020820190508181036000830152613fca81613bb7565b9050919050565b60006020820190508181036000830152613fea81613bda565b9050919050565b6000602082019050818103600083015261400a81613bfd565b9050919050565b6000602082019050818103600083015261402a81613c20565b9050919050565b6000602082019050818103600083015261404a81613c43565b9050919050565b6000602082019050818103600083015261406a81613c66565b9050919050565b6000602082019050818103600083015261408a81613c89565b9050919050565b600060208201905081810360008301526140aa81613ccf565b9050919050565b600060208201905081810360008301526140ca81613cf2565b9050919050565b600060208201905081810360008301526140ea81613d15565b9050919050565b6000602082019050818103600083015261410a81613d38565b9050919050565b60006020820190506141266000830184613d5b565b92915050565b6000614136614147565b9050614142828261455c565b919050565b6000604051905090565b600067ffffffffffffffff82111561416c5761416b6146a8565b5b614175826146d7565b9050602081019050919050565b600067ffffffffffffffff82111561419d5761419c6146a8565b5b6141a6826146d7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061422182614487565b915061422c83614487565b9250816f7fffffffffffffffffffffffffffffff038313600083121516156142575761425661461b565b5b817fffffffffffffffffffffffffffffffff8000000000000000000000000000000003831260008312161561428f5761428e61461b565b5b828201905092915050565b60006142a5826144b4565b91506142b0836144b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142e5576142e461461b565b5b828201905092915050565b60006142fb826144b4565b9150614306836144b4565b9250826143165761431561464a565b5b828204905092915050565b600061432c826144b4565b9150614337836144b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143705761436f61461b565b5b828202905092915050565b600061438682614487565b915061439183614487565b9250827fffffffffffffffffffffffffffffffff80000000000000000000000000000000018212600084121516156143cc576143cb61461b565b5b826f7fffffffffffffffffffffffffffffff0182136000841216156143f4576143f361461b565b5b828203905092915050565b600061440a826144b4565b9150614415836144b4565b9250828210156144285761442761461b565b5b828203905092915050565b600061443e82614494565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081600f0b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144eb5780820151818401526020810190506144d0565b838111156144fa576000848401525b50505050565b600061450b826144b4565b9150600082141561451f5761451e61461b565b5b600182039050919050565b6000600282049050600182168061454257607f821691505b6020821081141561455657614555614679565b5b50919050565b614565826146d7565b810181811067ffffffffffffffff82111715614584576145836146a8565b5b80604052505050565b6000614598826144b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145cb576145ca61461b565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006145f5826144b4565b9150614600836144b4565b9250826146105761460f61464a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c537570706c7920746f6f206c6f7700000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f416c7265616479206d696e746564206d617820746f2077616c6c657421000000600082015250565b7f4e657874206d696e74207761766520686173206e6f7420626567756e00000000600082015250565b7f547269656420746f206d696e74207175616e697479206f766572206c696d697460008201527f2c20726574727920776974682072656475636564207175616e74697479000000602082015250565b7f4d617820636f6c6c656374696f6e2073697a6520726561636865642100000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4e6f7420656e6f756768204c494e4b20746f2070617920666565000000000000600082015250565b50565b7f4d696e7420776f756c64207375727061737320436f6c6c656374696f6e20536960008201527f7a65210000000000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d7573742073656e6420656e6f7567682065746820666f72207075626c69632060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6149ca81614433565b81146149d557600080fd5b50565b6149e181614445565b81146149ec57600080fd5b50565b6149f881614451565b8114614a0357600080fd5b50565b614a0f8161445b565b8114614a1a57600080fd5b50565b614a26816144b4565b8114614a3157600080fd5b5056fea26469706673582212200518abbbbe145ce49b4aa96909b5db27e428318ef6efeba53b470abe8650772564736f6c63430008040033697066733a2f2f516d617131366e366a4e434745564b4b666347363364724766316e4b6562327176676e6f62414e65685450556d74697066733a2f2f516d595477453143514b454364714151774e4e667a673558634a4461446259707959673374726e73517641523653aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952

Deployed Bytecode

0x6080604052600436106102305760003560e01c806395d89b411161012e578063c002d23d116100ab578063dbddb26a1161006f578063dbddb26a14610830578063e8a3d4851461085b578063e985e9c514610886578063f2fde38b146108c3578063f4319195146108ec57610230565b8063c002d23d14610735578063c87b56dd14610760578063cfdbf2541461079d578063d7bfbe27146107c8578063d8258d951461080557610230565b8063ac446002116100f2578063ac44600214610685578063b3ab66b01461069c578063b4596d2b146106b8578063b88d4fde146106e3578063bfa457bc1461070c57610230565b806395d89b41146105b25780639e1f39d6146105dd5780639f2063da14610606578063a22cb46514610631578063a76a95871461065a57610230565b8063507862d1116101bc578063777c909111610180578063777c9091146104cf5780637d5b50391461050c5780638da5cb5b14610535578063938e3d7b1461056057806394985ddd1461058957610230565b8063507862d1146103e857806356b4f673146104135780636352211e1461043e57806370a082311461047b578063715018a6146104b857610230565b80630c5c2793116102035780630c5c2793146103035780630e67d0f71461032e57806318160ddd1461036b57806323b872dd1461039657806342842e0e146103bf57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906138c7565b610917565b6040516102699190613e8b565b60405180910390f35b34801561027e57600080fd5b506102876109a9565b6040516102949190613f2f565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061395a565b610a3b565b6040516102d19190613de6565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc91906137d2565b610ab7565b005b34801561030f57600080fd5b50610318610c5e565b6040516103259190614111565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613667565b610c64565b6040516103629190614111565b60405180910390f35b34801561037757600080fd5b50610380610c7c565b60405161038d9190614111565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b891906136cc565b610c93565b005b3480156103cb57600080fd5b506103e660048036038101906103e191906136cc565b610ca3565b005b3480156103f457600080fd5b506103fd610cc3565b60405161040a9190613f2f565b60405180910390f35b34801561041f57600080fd5b50610428610d51565b6040516104359190613f2f565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061395a565b610ddf565b6040516104729190613de6565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613667565b610df1565b6040516104af9190614111565b60405180910390f35b3480156104c457600080fd5b506104cd610eaa565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061395a565b610f32565b6040516105039190614111565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061395a565b610f4a565b005b34801561054157600080fd5b5061054a610fd0565b6040516105579190613de6565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613919565b610ff9565b005b34801561059557600080fd5b506105b060048036038101906105ab919061388b565b61108f565b005b3480156105be57600080fd5b506105c761112b565b6040516105d49190613f2f565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff9190613837565b6111bd565b005b34801561061257600080fd5b5061061b61126e565b6040516106289190614111565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613796565b611273565b005b34801561066657600080fd5b5061066f6113eb565b60405161067c9190613e8b565b60405180910390f35b34801561069157600080fd5b5061069a6113fe565b005b6106b660048036038101906106b1919061395a565b61157f565b005b3480156106c457600080fd5b506106cd61188e565b6040516106da9190614111565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061371b565b611894565b005b34801561071857600080fd5b50610733600480360381019061072e91906139ac565b611907565b005b34801561074157600080fd5b5061074a6119e8565b6040516107579190614111565b60405180910390f35b34801561076c57600080fd5b506107876004803603810190610782919061395a565b6119ee565b6040516107949190613f2f565b60405180910390f35b3480156107a957600080fd5b506107b2611ac6565b6040516107bf9190614111565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea919061395a565b611acc565b6040516107fc9190613ea6565b60405180910390f35b34801561081157600080fd5b5061081a611cbe565b6040516108279190614111565b60405180910390f35b34801561083c57600080fd5b50610845611cc4565b6040516108529190613f2f565b60405180910390f35b34801561086757600080fd5b50610870611d52565b60405161087d9190613f2f565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a89190613690565b611de4565b6040516108ba9190613e8b565b60405180910390f35b3480156108cf57600080fd5b506108ea60048036038101906108e59190613667565b611e78565b005b3480156108f857600080fd5b50610901611f70565b60405161090e9190614111565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061097257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546109b89061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546109e49061452a565b8015610a315780601f10610a0657610100808354040283529160200191610a31565b820191906000526020600020905b815481529060010190602001808311610a1457829003601f168201915b5050505050905090565b6000610a4682611f76565b610a7c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac282611fd5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b496120a3565b73ffffffffffffffffffffffffffffffffffffffff1614610bac57610b7581610b706120a3565b611de4565b610bab576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60155481565b600e6020528060005260406000206000915090505481565b6000610c866120ab565b6002546001540303905090565b610c9e8383836120b0565b505050565b610cbe83838360405180602001604052806000815250611894565b505050565b60108054610cd09061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfc9061452a565b8015610d495780601f10610d1e57610100808354040283529160200191610d49565b820191906000526020600020905b815481529060010190602001808311610d2c57829003601f168201915b505050505081565b600d8054610d5e9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a9061452a565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b505050505081565b6000610dea82611fd5565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e59576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610eb261245a565b73ffffffffffffffffffffffffffffffffffffffff16610ed0610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90614031565b60405180910390fd5b610f306000612462565b565b600b6020528060005260406000206000915090505481565b610f5261245a565b73ffffffffffffffffffffffffffffffffffffffff16610f70610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614031565b60405180910390fd5b8060128190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61100161245a565b73ffffffffffffffffffffffffffffffffffffffff1661101f610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106c90614031565b60405180910390fd5b80600d908051906020019061108b9291906133fe565b5050565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490614051565b60405180910390fd5b6111278282612526565b5050565b60606004805461113a9061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546111669061452a565b80156111b35780601f10611188576101008083540402835291602001916111b3565b820191906000526020600020905b81548152906001019060200180831161119657829003601f168201915b5050505050905090565b6111c561245a565b73ffffffffffffffffffffffffffffffffffffffff166111e3610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123090614031565b60405180910390fd5b806011908051906020019061124f9291906133fe565b5081600f60006101000a81548160ff0219169083151502179055505050565b60de81565b61127b6120a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112e0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006112ed6120a3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661139a6120a3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113df9190613e8b565b60405180910390a35050565b600f60009054906101000a900460ff1681565b61140661245a565b73ffffffffffffffffffffffffffffffffffffffff16611424610fd0565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614031565b60405180910390fd5b600260095414156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b7906140d1565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516114ee90613dd1565b60006040518083038185875af1925050503d806000811461152b576040519150601f19603f3d011682016040523d82523d6000602084013e611530565b606091505b5050905080611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906140b1565b60405180910390fd5b506001600981905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e490613f91565b60405180910390fd5b6000816013546115fd9190614321565b90506103788261160b610c7c565b611615919061429a565b1115611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90614091565b60405180910390fd5b60de6012546116659190614321565b8261166e610c7c565b611678919061429a565b11156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613fd1565b60405180910390fd5b60155482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611707919061429a565b1115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613fb1565b60405180910390fd5b60145482111561178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490613ff1565b60405180910390fd5b803410156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906140f1565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118209061458d565b919050555061182f33836125e3565b8034111561188a573373ffffffffffffffffffffffffffffffffffffffff166108fc823461185d91906143ff565b9081150290604051600060405180830381858888f19350505050158015611888573d6000803e3d6000fd5b505b5050565b60125481565b61189f8484846120b0565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611901576118ca84848484612601565b611900576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61190f61245a565b73ffffffffffffffffffffffffffffffffffffffff1661192d610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614031565b60405180910390fd5b6103788261198f610c7c565b611999919061429a565b11156119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d190614011565b60405180910390fd5b6119e481836125e3565b5050565b60135481565b6060600c548210611a8b5760108054611a069061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a329061452a565b8015611a7f5780601f10611a5457610100808354040283529160200191611a7f565b820191906000526020600020905b815481529060010190602001808311611a6257829003601f168201915b50505050509050611ac1565b6011611a9e611a9984612761565b6127c3565b604051602001611aaf929190613dad565b60405160208183030381529060405290505b919050565b60145481565b6000611ad661245a565b73ffffffffffffffffffffffffffffffffffffffff16611af4610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4190614031565b60405180910390fd5b60de600c54611b59919061429a565b611b61610c7c565b1015611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613f71565b60405180910390fd5b817f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611bfc9190613de6565b60206040518083038186803b158015611c1457600080fd5b505afa158015611c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4c9190613983565b1015611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8490614071565b60405180910390fd5b611cb77faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44583612970565b9050919050565b61037881565b60118054611cd19061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611cfd9061452a565b8015611d4a5780601f10611d1f57610100808354040283529160200191611d4a565b820191906000526020600020905b815481529060010190602001808311611d2d57829003601f168201915b505050505081565b6060600d8054611d619061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8d9061452a565b8015611dda5780601f10611daf57610100808354040283529160200191611dda565b820191906000526020600020905b815481529060010190602001808311611dbd57829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e8061245a565b73ffffffffffffffffffffffffffffffffffffffff16611e9e610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614031565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b90613f51565b60405180910390fd5b611f6d81612462565b50565b600c5481565b600081611f816120ab565b11158015611f90575060015482105b8015611fce575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080611fe46120ab565b1161206c5760015481101561206b5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612069575b600081141561205f576005600083600190039350838152602001908152602001600020549050612034565b809250505061209e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006120bb82611fd5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612122576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166121436120a3565b73ffffffffffffffffffffffffffffffffffffffff16148061217257506121718561216c6120a3565b611de4565b5b806121b757506121806120a3565b73ffffffffffffffffffffffffffffffffffffffff1661219f84610a3b565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612257576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122648585856001612ad2565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61236186612ad8565b1717600560008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156123eb5760006001840190506000600560008381526020019081526020016000205414156123e95760015481146123e8578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124538585856001612ae2565b5050505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60de600c54612535919061429a565b61253d610c7c565b101561257e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257590613f71565b60405180910390fd5b600060de600c5461258f91906142f0565b905060de8161259e9190614321565b6103786125ab91906143ff565b826125b691906145ea565b600b60008381526020019081526020016000208190555060de600c60008282540192505081905550505050565b6125fd828260405180602001604052806000815250612ae8565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126276120a3565b8786866040518563ffffffff1660e01b81526004016126499493929190613e01565b602060405180830381600087803b15801561266357600080fd5b505af192505050801561269457506040513d601f19601f8201168201806040525081019061269191906138f0565b60015b61270e573d80600081146126c4576040519150601f19603f3d011682016040523d82523d6000602084013e6126c9565b606091505b50600081511415612706576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008060de8361277191906142f0565b9050600061277e82612d9e565b90506000600b60008481526020019081526020016000205460de866127a391906145ea565b6127ad919061429a565b90506127b98183612e1a565b9350505050919050565b6060600082141561280b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061296b565b600082905060005b6000821461283d5780806128269061458d565b915050600a8261283691906142f0565b9150612813565b60008167ffffffffffffffff81111561287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128b15781602001600182028036833780820191505090505b5090505b60008514612964576001826128ca91906143ff565b9150600a856128d991906145ea565b60306128e5919061429a565b60f81b818381518110612921577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561295d91906142f0565b94506128b5565b8093505050505b919050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016129e4929190613ec1565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612a1193929190613e4d565b602060405180830381600087803b158015612a2b57600080fd5b505af1158015612a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a63919061380e565b506000612a8684600030600a600089815260200190815260200160002054612fed565b90506001600a600086815260200190815260200160002054612aa8919061429a565b600a600086815260200190815260200160002081905550612ac98482613029565b91505092915050565b50505050565b6000819050919050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b56576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612b91576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b9e6000858386612ad2565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612c036001851461305c565b901b60a042901b612c1386612ad8565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612d17575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cc76000878480600101955087612601565b612cfd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612c58578260015414612d1257600080fd5b612d82565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d18575b816001819055505050612d986000858386612ae2565b50505050565b612da6613484565b612dae613484565b6000805b84811015612e0f576000612dd9600b60008481526020019081526020016000205485612e1a565b9050600060de82612dea9190614216565b9050612df885838387613066565b935050508080612e079061458d565b915050612db2565b508192505050919050565b6000808390506000805b6002811015612fc35760005b600260de610378612e4191906142f0565b612e4b9190614321565b811015612f75576000868260088110612e8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516000015190506000878360088110612ed3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160200151905081600f0b85600f0b1215612f4d5760008686612efa9190614216565b905082600f0b81600f0b1215612f2b57806fffffffffffffffffffffffffffffffff16975050505050505050612fe7565b8583612f37919061437b565b87612f42919061437b565b965081955050612f60565b80600f0b85600f0b1215612f5f578094505b5b50508080612f6d9061458d565b915050612e30565b50610378600f0b8383612f889190614216565b600f0b12612fb05781610378612f9e919061437b565b83612fa9919061437b565b9250600091505b8080612fbb9061458d565b915050612e24565b508181612fd09190614216565b6fffffffffffffffffffffffffffffffff16925050505b92915050565b6000848484846040516020016130069493929190613eea565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161303e929190613d81565b60405160208183030381529060405280519060200120905092915050565b6000819050919050565b60008082905060005b838110156132765760008782600881106130b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160000151905060008883600881106130f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160200151905081600f0b88600f0b12801561311757508584145b15613120578293505b81600f0b88600f0b12801561313a575081600f0b87600f0b135b8061315d575087600f0b82600f0b1315801561315c575080600f0b87600f0b13155b5b8061317e575080600f0b88600f0b12801561317d575080600f0b87600f0b135b5b156132615760008888613191919061437b565b905061319d89846133df565b985082826131ab919061437b565b818a6131b79190614216565b6131c19190614216565b975060405180604001604052807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f0b81526020017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600f0b8152508a8560088110613257577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250505b5050808061326e9061458d565b91505061306f565b5060008390505b81811115613323578660018261329391906143ff565b600881106132ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151878260088110613308577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250808061331b90614500565b91505061327d565b50604051806040016040528086600f0b8152602001613344866103786133df565b600f0b815250868260088110613383577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525082806133969061458d565b935050610378600f0b84600f0b13156133d3576133c3866000610378876133bd919061437b565b86613066565b5082806133cf9061458d565b9350505b82915050949350505050565b600081600f0b83600f0b126133f457816133f6565b825b905092915050565b82805461340a9061452a565b90600052602060002090601f01602090048101928261342c5760008555613473565b82601f1061344557805160ff1916838001178555613473565b82800160010185558215613473579182015b82811115613472578251825591602001919060010190613457565b5b50905061348091906134b2565b5090565b6040518061010001604052806008905b61349c6134cf565b8152602001906001900390816134945790505090565b5b808211156134cb5760008160009055506001016134b3565b5090565b60405180604001604052806000600f0b81526020016000600f0b81525090565b60006135026134fd84614151565b61412c565b90508281526020810184848401111561351a57600080fd5b6135258482856144be565b509392505050565b600061354061353b84614182565b61412c565b90508281526020810184848401111561355857600080fd5b6135638482856144be565b509392505050565b60008135905061357a816149c1565b92915050565b60008135905061358f816149d8565b92915050565b6000815190506135a4816149d8565b92915050565b6000813590506135b9816149ef565b92915050565b6000813590506135ce81614a06565b92915050565b6000815190506135e381614a06565b92915050565b600082601f8301126135fa57600080fd5b813561360a8482602086016134ef565b91505092915050565b600082601f83011261362457600080fd5b813561363484826020860161352d565b91505092915050565b60008135905061364c81614a1d565b92915050565b60008151905061366181614a1d565b92915050565b60006020828403121561367957600080fd5b60006136878482850161356b565b91505092915050565b600080604083850312156136a357600080fd5b60006136b18582860161356b565b92505060206136c28582860161356b565b9150509250929050565b6000806000606084860312156136e157600080fd5b60006136ef8682870161356b565b93505060206137008682870161356b565b92505060406137118682870161363d565b9150509250925092565b6000806000806080858703121561373157600080fd5b600061373f8782880161356b565b94505060206137508782880161356b565b93505060406137618782880161363d565b925050606085013567ffffffffffffffff81111561377e57600080fd5b61378a878288016135e9565b91505092959194509250565b600080604083850312156137a957600080fd5b60006137b78582860161356b565b92505060206137c885828601613580565b9150509250929050565b600080604083850312156137e557600080fd5b60006137f38582860161356b565b92505060206138048582860161363d565b9150509250929050565b60006020828403121561382057600080fd5b600061382e84828501613595565b91505092915050565b6000806040838503121561384a57600080fd5b600061385885828601613580565b925050602083013567ffffffffffffffff81111561387557600080fd5b61388185828601613613565b9150509250929050565b6000806040838503121561389e57600080fd5b60006138ac858286016135aa565b92505060206138bd8582860161363d565b9150509250929050565b6000602082840312156138d957600080fd5b60006138e7848285016135bf565b91505092915050565b60006020828403121561390257600080fd5b6000613910848285016135d4565b91505092915050565b60006020828403121561392b57600080fd5b600082013567ffffffffffffffff81111561394557600080fd5b61395184828501613613565b91505092915050565b60006020828403121561396c57600080fd5b600061397a8482850161363d565b91505092915050565b60006020828403121561399557600080fd5b60006139a384828501613652565b91505092915050565b600080604083850312156139bf57600080fd5b60006139cd8582860161363d565b92505060206139de8582860161356b565b9150509250929050565b6139f181614433565b82525050565b613a0081614445565b82525050565b613a0f81614451565b82525050565b613a26613a2182614451565b6145d6565b82525050565b6000613a37826141c8565b613a4181856141de565b9350613a518185602086016144cd565b613a5a816146d7565b840191505092915050565b6000613a70826141d3565b613a7a81856141fa565b9350613a8a8185602086016144cd565b613a93816146d7565b840191505092915050565b6000613aa9826141d3565b613ab3818561420b565b9350613ac38185602086016144cd565b80840191505092915050565b60008154613adc8161452a565b613ae6818661420b565b94506001821660008114613b015760018114613b1257613b45565b60ff19831686528186019350613b45565b613b1b856141b3565b60005b83811015613b3d57815481890152600182019150602081019050613b1e565b838801955050505b50505092915050565b6000613b5b6026836141fa565b9150613b66826146e8565b604082019050919050565b6000613b7e6013836141fa565b9150613b8982614737565b602082019050919050565b6000613ba1601e836141fa565b9150613bac82614760565b602082019050919050565b6000613bc4601d836141fa565b9150613bcf82614789565b602082019050919050565b6000613be7601c836141fa565b9150613bf2826147b2565b602082019050919050565b6000613c0a603d836141fa565b9150613c15826147db565b604082019050919050565b6000613c2d601c836141fa565b9150613c388261482a565b602082019050919050565b6000613c506020836141fa565b9150613c5b82614853565b602082019050919050565b6000613c73601f836141fa565b9150613c7e8261487c565b602082019050919050565b6000613c96601a836141fa565b9150613ca1826148a5565b602082019050919050565b6000613cb96000836141ef565b9150613cc4826148ce565b600082019050919050565b6000613cdc6023836141fa565b9150613ce7826148d1565b604082019050919050565b6000613cff6010836141fa565b9150613d0a82614920565b602082019050919050565b6000613d22601f836141fa565b9150613d2d82614949565b602082019050919050565b6000613d456024836141fa565b9150613d5082614972565b604082019050919050565b613d64816144b4565b82525050565b613d7b613d76826144b4565b6145e0565b82525050565b6000613d8d8285613a15565b602082019150613d9d8284613d6a565b6020820191508190509392505050565b6000613db98285613acf565b9150613dc58284613a9e565b91508190509392505050565b6000613ddc82613cac565b9150819050919050565b6000602082019050613dfb60008301846139e8565b92915050565b6000608082019050613e1660008301876139e8565b613e2360208301866139e8565b613e306040830185613d5b565b8181036060830152613e428184613a2c565b905095945050505050565b6000606082019050613e6260008301866139e8565b613e6f6020830185613d5b565b8181036040830152613e818184613a2c565b9050949350505050565b6000602082019050613ea060008301846139f7565b92915050565b6000602082019050613ebb6000830184613a06565b92915050565b6000604082019050613ed66000830185613a06565b613ee36020830184613d5b565b9392505050565b6000608082019050613eff6000830187613a06565b613f0c6020830186613d5b565b613f1960408301856139e8565b613f266060830184613d5b565b95945050505050565b60006020820190508181036000830152613f498184613a65565b905092915050565b60006020820190508181036000830152613f6a81613b4e565b9050919050565b60006020820190508181036000830152613f8a81613b71565b9050919050565b60006020820190508181036000830152613faa81613b94565b9050919050565b60006020820190508181036000830152613fca81613bb7565b9050919050565b60006020820190508181036000830152613fea81613bda565b9050919050565b6000602082019050818103600083015261400a81613bfd565b9050919050565b6000602082019050818103600083015261402a81613c20565b9050919050565b6000602082019050818103600083015261404a81613c43565b9050919050565b6000602082019050818103600083015261406a81613c66565b9050919050565b6000602082019050818103600083015261408a81613c89565b9050919050565b600060208201905081810360008301526140aa81613ccf565b9050919050565b600060208201905081810360008301526140ca81613cf2565b9050919050565b600060208201905081810360008301526140ea81613d15565b9050919050565b6000602082019050818103600083015261410a81613d38565b9050919050565b60006020820190506141266000830184613d5b565b92915050565b6000614136614147565b9050614142828261455c565b919050565b6000604051905090565b600067ffffffffffffffff82111561416c5761416b6146a8565b5b614175826146d7565b9050602081019050919050565b600067ffffffffffffffff82111561419d5761419c6146a8565b5b6141a6826146d7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061422182614487565b915061422c83614487565b9250816f7fffffffffffffffffffffffffffffff038313600083121516156142575761425661461b565b5b817fffffffffffffffffffffffffffffffff8000000000000000000000000000000003831260008312161561428f5761428e61461b565b5b828201905092915050565b60006142a5826144b4565b91506142b0836144b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142e5576142e461461b565b5b828201905092915050565b60006142fb826144b4565b9150614306836144b4565b9250826143165761431561464a565b5b828204905092915050565b600061432c826144b4565b9150614337836144b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143705761436f61461b565b5b828202905092915050565b600061438682614487565b915061439183614487565b9250827fffffffffffffffffffffffffffffffff80000000000000000000000000000000018212600084121516156143cc576143cb61461b565b5b826f7fffffffffffffffffffffffffffffff0182136000841216156143f4576143f361461b565b5b828203905092915050565b600061440a826144b4565b9150614415836144b4565b9250828210156144285761442761461b565b5b828203905092915050565b600061443e82614494565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081600f0b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144eb5780820151818401526020810190506144d0565b838111156144fa576000848401525b50505050565b600061450b826144b4565b9150600082141561451f5761451e61461b565b5b600182039050919050565b6000600282049050600182168061454257607f821691505b6020821081141561455657614555614679565b5b50919050565b614565826146d7565b810181811067ffffffffffffffff82111715614584576145836146a8565b5b80604052505050565b6000614598826144b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145cb576145ca61461b565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006145f5826144b4565b9150614600836144b4565b9250826146105761460f61464a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c537570706c7920746f6f206c6f7700000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f416c7265616479206d696e746564206d617820746f2077616c6c657421000000600082015250565b7f4e657874206d696e74207761766520686173206e6f7420626567756e00000000600082015250565b7f547269656420746f206d696e74207175616e697479206f766572206c696d697460008201527f2c20726574727920776974682072656475636564207175616e74697479000000602082015250565b7f4d617820636f6c6c656374696f6e2073697a6520726561636865642100000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4e6f7420656e6f756768204c494e4b20746f2070617920666565000000000000600082015250565b50565b7f4d696e7420776f756c64207375727061737320436f6c6c656374696f6e20536960008201527f7a65210000000000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d7573742073656e6420656e6f7567682065746820666f72207075626c69632060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6149ca81614433565b81146149d557600080fd5b50565b6149e181614445565b81146149ec57600080fd5b50565b6149f881614451565b8114614a0357600080fd5b50565b614a0f8161445b565b8114614a1a57600080fd5b50565b614a26816144b4565b8114614a3157600080fd5b5056fea26469706673582212200518abbbbe145ce49b4aa96909b5db27e428318ef6efeba53b470abe8650772564736f6c63430008040033

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

aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952

-----Decoded View---------------
Arg [0] : _s_keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [1] : _linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [2] : _linkCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [1] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [2] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952


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.