ETH Price: $3,430.29 (+5.37%)
Gas: 9 Gwei

Token

Loser G.O.A.T.S (Loser G.O.A.T.S)
 

Overview

Max Total Supply

691 Loser G.O.A.T.S

Holders

540

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 Loser G.O.A.T.S
0xE16f76116C6920Cd9bB046c000d05924152738f4
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:
ClubOfGoatsPFP

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : ClubOfGoatsPFP.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(18, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(12, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(
                    resultPtr,
                    mload(add(tablePtr, and(shr(6, input), 0x3F)))
                )
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

contract ClubOfGoatsToken is ERC20Burnable, Ownable {
    constructor(address _team) public ERC20("Loser G.O.A.T.S Token", "GOAT") {
        _mint(msg.sender, 11000000 * 10**decimals());
        transfer(_team, (totalSupply() * 4) / 10);
    }

    function mint(address _address, uint256 _amount) external onlyOwner {
        transfer(_address, _amount);
    }
}

contract ClubOfGoatsPFP is ERC721Enumerable, Ownable, ReentrancyGuard {
    uint256 public maxSupply;
    string public baseURI;
    uint256 public maxBatch;
    string public defaultURI;
    bytes32 public whitelistRoot;

    event Log(address);

    uint256 public publicPrice;

    uint256 public whitelistPrice;

    uint256 public publicStartTime;

    uint256 public publicEndTime;

    uint256 public whitelistStartTime;

    uint256 public whitelistEndTime;

    uint256 public publicNum;

    uint256 public whitelistNum;

    uint256 public maxPublicNum;

    uint256 public maxWhitelistNum;

    uint256 public reservedNum;

    uint256 public maxReservedNum;

    ClubOfGoatsToken public token;

    address public seaport;

    uint256 public mintTokenAmount;

    using Strings for uint256;

    constructor(
        string memory _baseURI,
        string memory _defaultURI,
        bytes32 _whitelistRoot
    ) public ERC721("Loser G.O.A.T.S", "Loser G.O.A.T.S") {
        token = new ClubOfGoatsToken(msg.sender);
        uint256 _maxBatch = 1;
        uint256 _maxSupply = 1100;
        maxReservedNum = 330;
        maxWhitelistNum = 800;
        maxPublicNum = 1100;
        whitelistStartTime = 1655902800;
        whitelistEndTime = 1655906400;
        whitelistPrice = 0 ether;
        publicStartTime = 1655906400;
        publicEndTime = 9655902800;
        publicPrice = 0 ether;
        setBaseURI(_baseURI);
        setMaxBatch(_maxBatch);
        maxSupply = _maxSupply;
        defaultURI = _defaultURI;
        whitelistRoot = _whitelistRoot;
    }

    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Burnable: caller is not owner nor approved"
        );
        _burn(tokenId);
    }

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

        _transfer(from, to, tokenId);
        mintToken(to);
    }

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

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

    function mintToken(address _to) internal {
        emit Log(msg.sender);
        if (seaport == msg.sender && seaport != address(0)) {
            token.mint(_to, mintTokenAmount);
        }
    }

    function setMintTokenConfig(address _seaport, uint256 _mintTokenAmount)
        external
        onlyOwner
    {
        seaport = _seaport;
        mintTokenAmount = _mintTokenAmount;
    }

    function setPrice(uint256 _publicPrice, uint256 _whitelistPrice)
        external
        onlyOwner
    {
        publicPrice = _publicPrice;
        whitelistPrice = _whitelistPrice;
    }

    function setMintTime(
        uint256 _publicStartTime,
        uint256 _publicEndTime,
        uint256 _whitelistStartTime,
        uint256 _whitelistEndTime
    ) external onlyOwner {
        publicStartTime = _publicStartTime;
        publicEndTime = _publicEndTime;
        whitelistStartTime = _whitelistStartTime;
        whitelistEndTime = _whitelistEndTime;
    }

    function setMaxNum(
        uint256 _maxPublicNum,
        uint256 _maxWhitelistNum,
        uint256 _maxReservedNum
    ) external onlyOwner {
        maxPublicNum = _maxPublicNum;
        maxWhitelistNum = _maxWhitelistNum;
        maxReservedNum = _maxReservedNum;
    }

    function mint(address _addresss, uint256 _num) internal nonReentrant {
        require(
            _num <= maxBatch && _num > 0,
            "Num must greater 0 and lower maxBatch"
        );
        require(totalSupply() + _num <= maxSupply, "Num must lower maxSupply");
        for (uint256 i = 0; i < _num; i++) {
            _safeMint(_addresss, totalSupply() + 1);
        }
    }

    function mintReservedBatch(address _address, uint256 _num)
        external
        onlyOwner
    {
        require(
            reservedNum + _num <= maxReservedNum,
            "reservedNum must lower maxReservedNum"
        );
        mint(_address, _num);
        reservedNum += _num;
    }

    function mintReserved(address[] calldata _address) external onlyOwner {
        uint256 num = _address.length;
        require(
            reservedNum + num <= maxReservedNum,
            "reservedNum must lower maxReservedNum"
        );
        for (uint256 i = 0; i < num; i++) {
            mint(_address[i], 1);
        }
        reservedNum += num;
    }

    function whitelistMint(uint256 _num, bytes32[] memory _proof)
        external
        payable
    {
        require(_num <= 1, "Num must lt or eq 1");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_proof, whitelistRoot, leaf),
            "Verification failed"
        );
        require(
            msg.value == whitelistPrice * _num,
            "Value must eq whitelistPrice*num"
        );
        require(
            whitelistStartTime <= block.timestamp,
            "WhitelistMint has not started yet"
        );
        require(whitelistEndTime > block.timestamp, "WhitelistMint has ended");
        require(
            whitelistNum + _num <= maxWhitelistNum,
            "Num must lower maxWhitelistNum"
        );
        mint(msg.sender, _num);
        whitelistNum += _num;
    }

    function publicMint(uint256 _num) external payable {
        require(
            msg.value == publicPrice * _num,
            "Value must eq publicPrice*num"
        );
        require(
            publicStartTime <= block.timestamp,
            "PublicMint has not started yet"
        );
        require(publicEndTime > block.timestamp, "PublicMint has ended");
        require(
            publicNum + _num <= maxPublicNum,
            "Num must lower maxPublicNum"
        );
        mint(msg.sender, _num);
        publicNum += _num;
    }

    function setRoot(bytes32 _whitelistRoot) external onlyOwner {
        whitelistRoot = _whitelistRoot;
    }

    function setMaxBatch(uint256 _maxBatch) public onlyOwner {
        maxBatch = _maxBatch;
    }

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

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

    function setDefaultURI(string memory _defaultURI) public onlyOwner {
        defaultURI = _defaultURI;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory imageURI = bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, _tokenId.toString(), ".json"))
            : defaultURI;

        return imageURI;
    }
}

File 2 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

File 5 of 19 : 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 6 of 19 : 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 19 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 8 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 9 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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);
}

File 11 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 19 : 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 15 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 18 of 19 : 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 19 of 19 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_defaultURI","type":"string"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"Log","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultURI","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":"maxBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReservedNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"mintReservedBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintTokenAmount","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":[],"name":"publicEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNum","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seaport","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_defaultURI","type":"string"}],"name":"setDefaultURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBatch","type":"uint256"}],"name":"setMaxBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicNum","type":"uint256"},{"internalType":"uint256","name":"_maxWhitelistNum","type":"uint256"},{"internalType":"uint256","name":"_maxReservedNum","type":"uint256"}],"name":"setMaxNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicStartTime","type":"uint256"},{"internalType":"uint256","name":"_publicEndTime","type":"uint256"},{"internalType":"uint256","name":"_whitelistStartTime","type":"uint256"},{"internalType":"uint256","name":"_whitelistEndTime","type":"uint256"}],"name":"setMintTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_seaport","type":"address"},{"internalType":"uint256","name":"_mintTokenAmount","type":"uint256"}],"name":"setMintTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"},{"internalType":"uint256","name":"_whitelistPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ClubOfGoatsToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620048963803806200489683398101604081905262000034916200040e565b604080518082018252600f8082526e4c6f73657220472e4f2e412e542e5360881b6020808401828152855180870190965292855284015281519192916200007e91600091620002a3565b50805162000094906001906020840190620002a3565b505050620000b1620000ab6200019560201b60201c565b62000199565b6001600b556040513390620000c69062000332565b6001600160a01b039091168152602001604051809103906000f080158015620000f3573d6000803e3d6000fd5b50601d80546001600160a01b0319166001600160a01b039290921691909117905561014a601c55610320601a5561044c60198190556362b312506015556362b3206060168190556000601281905560139190915564023f8962506014556011556001906200016185620001eb565b6200016c8262000253565b600c81905583516200018690600f906020870190620002a3565b50505060105550620004d49050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200023a5760405162461bcd60e51b815260206004820181905260248201526000805160206200487683398151915260448201526064015b60405180910390fd5b80516200024f90600d906020840190620002a3565b5050565b600a546001600160a01b031633146200029e5760405162461bcd60e51b8152602060048201819052602482015260008051602062004876833981519152604482015260640162000231565b600e55565b828054620002b19062000481565b90600052602060002090601f016020900481019282620002d5576000855562000320565b82601f10620002f057805160ff191683800117855562000320565b8280016001018555821562000320579182015b828111156200032057825182559160200191906001019062000303565b506200032e92915062000340565b5090565b61139480620034e283390190565b5b808211156200032e576000815560010162000341565b600082601f8301126200036957600080fd5b81516001600160401b0380821115620003865762000386620004be565b604051601f8301601f19908116603f01168101908282118183101715620003b157620003b1620004be565b81604052838152602092508683858801011115620003ce57600080fd5b600091505b83821015620003f25785820183015181830184015290820190620003d3565b83821115620004045760008385830101525b9695505050505050565b6000806000606084860312156200042457600080fd5b83516001600160401b03808211156200043c57600080fd5b6200044a8783880162000357565b945060208601519150808211156200046157600080fd5b50620004708682870162000357565b925050604084015190509250925092565b600181811c908216806200049657607f821691505b60208210811415620004b857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612ffe80620004e46000396000f3fe60806040526004361061031a5760003560e01c8063715018a6116101ab578063d14bb9d8116100f7578063ebdfd72211610095578063f7d975771161006f578063f7d97577146108b9578063f95b5b99146108d9578063fc0c546a146108ef578063fc1a1c361461090f57600080fd5b8063ebdfd72214610863578063f2fde38b14610879578063f5c7bd701461089957600080fd5b8063d89c6888116100d1578063d89c6888146107c4578063da1b9e08146107da578063dab5f340146107fa578063e985e9c51461081a57600080fd5b8063d14bb9d814610785578063d2cab0561461079b578063d5abeb01146107ae57600080fd5b8063a22cb46511610164578063a945bf801161013e578063a945bf8014610719578063b88d4fde1461072f578063c0edc37d1461074f578063c87b56dd1461076557600080fd5b8063a22cb465146106c3578063a60062ad146106e3578063a80ea4eb146106f957600080fd5b8063715018a614610625578063850f3f3f1461063a5780638c7660131461065a5780638da5cb5b1461067a5780639292caaf1461069857806395d89b41146106ae57600080fd5b80633a367a671161026a57806355f804b3116102235780636352211e116101fd5780636352211e146105ba57806367765b87146105da5780636c0360eb146105f057806370a082311461060557600080fd5b806355f804b31461056457806357b96db2146105845780635fd1bbc4146105a457600080fd5b80633a367a67146104c45780633ccfd60b146104d957806342842e0e146104ee57806342966c681461050e5780634f6ccce71461052e578063517430c91461054e57600080fd5b806323b872dd116102d75780632f745c59116102b15780632f745c5914610458578063300b23d81461047857806331b21e4014610498578063386bfc98146104ae57600080fd5b806323b872dd1461040f5780632c27e5811461042f5780632db115441461044557600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae57806312ceab0e146103d057806318160ddd146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a3660046129ef565b610925565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b50610369610950565b60405161034b9190612ceb565b34801561038257600080fd5b506103966103913660046129d6565b6109e2565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612937565b610a7c565b005b3480156103dc57600080fd5b506103ce6103eb366004612b79565b610b92565b3480156103fc57600080fd5b506008545b60405190815260200161034b565b34801561041b57600080fd5b506103ce61042a366004612843565b610bd0565b34801561043b57600080fd5b5061040160145481565b6103ce6104533660046129d6565b610c0b565b34801561046457600080fd5b50610401610473366004612937565b610d84565b34801561048457600080fd5b506103ce6104933660046129d6565b610e1a565b3480156104a457600080fd5b50610401601c5481565b3480156104ba57600080fd5b5061040160105481565b3480156104d057600080fd5b50610369610e49565b3480156104e557600080fd5b506103ce610ed7565b3480156104fa57600080fd5b506103ce610509366004612843565b610f30565b34801561051a57600080fd5b506103ce6105293660046129d6565b610f4b565b34801561053a57600080fd5b506104016105493660046129d6565b610fc2565b34801561055a57600080fd5b50610401601a5481565b34801561057057600080fd5b506103ce61057f366004612a29565b611055565b34801561059057600080fd5b506103ce61059f366004612b4d565b611096565b3480156105b057600080fd5b5061040160135481565b3480156105c657600080fd5b506103966105d53660046129d6565b6110ce565b3480156105e657600080fd5b50610401600e5481565b3480156105fc57600080fd5b50610369611145565b34801561061157600080fd5b506104016106203660046127f5565b611152565b34801561063157600080fd5b506103ce6111d9565b34801561064657600080fd5b506103ce610655366004612961565b61120f565b34801561066657600080fd5b506103ce610675366004612937565b6112d6565b34801561068657600080fd5b50600a546001600160a01b0316610396565b3480156106a457600080fd5b5061040160155481565b3480156106ba57600080fd5b50610369611326565b3480156106cf57600080fd5b506103ce6106de3660046128fb565b611335565b3480156106ef57600080fd5b5061040160175481565b34801561070557600080fd5b506103ce610714366004612937565b611340565b34801561072557600080fd5b5061040160115481565b34801561073b57600080fd5b506103ce61074a36600461287f565b6113be565b34801561075b57600080fd5b5061040160195481565b34801561077157600080fd5b506103696107803660046129d6565b6113ff565b34801561079157600080fd5b50610401601f5481565b6103ce6107a9366004612a72565b611558565b3480156107ba57600080fd5b50610401600c5481565b3480156107d057600080fd5b50610401601b5481565b3480156107e657600080fd5b506103ce6107f5366004612a29565b6117ab565b34801561080657600080fd5b506103ce6108153660046129d6565b6117e8565b34801561082657600080fd5b5061033f610835366004612810565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086f57600080fd5b5061040160165481565b34801561088557600080fd5b506103ce6108943660046127f5565b611817565b3480156108a557600080fd5b50601e54610396906001600160a01b031681565b3480156108c557600080fd5b506103ce6108d4366004612b2b565b6118af565b3480156108e557600080fd5b5061040160185481565b3480156108fb57600080fd5b50601d54610396906001600160a01b031681565b34801561091b57600080fd5b5061040160125481565b60006001600160e01b0319821663780e9d6360e01b148061094a575061094a826118e4565b92915050565b60606000805461095f90612eda565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90612eda565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a605760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a87826110ce565b9050806001600160a01b0316836001600160a01b03161415610af55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a57565b336001600160a01b0382161480610b115750610b118133610835565b610b835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a57565b610b8d8383611934565b505050565b600a546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610a5790612d50565b601393909355601491909155601555601655565b610bdb335b826119a2565b610bf75760405162461bcd60e51b8152600401610a5790612dca565b610c02838383611a99565b610b8d82611c40565b80601154610c199190612e78565b3414610c675760405162461bcd60e51b815260206004820152601d60248201527f56616c7565206d757374206571207075626c696350726963652a6e756d0000006044820152606401610a57565b426013541115610cb95760405162461bcd60e51b815260206004820152601e60248201527f5075626c69634d696e7420686173206e6f7420737461727465642079657400006044820152606401610a57565b4260145411610d015760405162461bcd60e51b8152602060048201526014602482015273141d589b1a58d35a5b9d081a185cc8195b99195960621b6044820152606401610a57565b60195481601754610d129190612e4c565b1115610d605760405162461bcd60e51b815260206004820152601b60248201527f4e756d206d757374206c6f776572206d61785075626c69634e756d00000000006044820152606401610a57565b610d6a3382611d08565b8060176000828254610d7c9190612e4c565b909155505050565b6000610d8f83611152565b8210610df15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a57565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610e445760405162461bcd60e51b8152600401610a5790612d50565b600e55565b600f8054610e5690612eda565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8290612eda565b8015610ecf5780601f10610ea457610100808354040283529160200191610ecf565b820191906000526020600020905b815481529060010190602001808311610eb257829003601f168201915b505050505081565b600a546001600160a01b03163314610f015760405162461bcd60e51b8152600401610a5790612d50565b60405133904780156108fc02916000818181858888f19350505050158015610f2d573d6000803e3d6000fd5b50565b610b8d838383604051806020016040528060008152506113be565b610f5433610bd5565b610fb95760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a57565b610f2d81611e75565b6000610fcd60085490565b82106110305760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a57565b6008828154811061104357611043612f86565b90600052602060002001549050919050565b600a546001600160a01b0316331461107f5760405162461bcd60e51b8152600401610a5790612d50565b805161109290600d9060208401906126e8565b5050565b600a546001600160a01b031633146110c05760405162461bcd60e51b8152600401610a5790612d50565b601992909255601a55601c55565b6000818152600260205260408120546001600160a01b03168061094a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a57565b600d8054610e5690612eda565b60006001600160a01b0382166111bd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a57565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112035760405162461bcd60e51b8152600401610a5790612d50565b61120d6000611f1c565b565b600a546001600160a01b031633146112395760405162461bcd60e51b8152600401610a5790612d50565b601c54601b5482919061124d908390612e4c565b111561126b5760405162461bcd60e51b8152600401610a5790612d85565b60005b818110156112b9576112a784848381811061128b5761128b612f86565b90506020020160208101906112a091906127f5565b6001611d08565b806112b181612f15565b91505061126e565b5080601b60008282546112cc9190612e4c565b9091555050505050565b600a546001600160a01b031633146113005760405162461bcd60e51b8152600401610a5790612d50565b601e80546001600160a01b0319166001600160a01b039390931692909217909155601f55565b60606001805461095f90612eda565b611092338383611f6e565b600a546001600160a01b0316331461136a5760405162461bcd60e51b8152600401610a5790612d50565b601c5481601b5461137b9190612e4c565b11156113995760405162461bcd60e51b8152600401610a5790612d85565b6113a38282611d08565b80601b60008282546113b59190612e4c565b90915550505050565b6113c833836119a2565b6113e45760405162461bcd60e51b8152600401610a5790612dca565b6113f08484848461203d565b6113f983611c40565b50505050565b6000818152600260205260409020546060906001600160a01b031661147e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a57565b600080600d805461148e90612eda565b90501161152557600f80546114a290612eda565b80601f01602080910402602001604051908101604052809291908181526020018280546114ce90612eda565b801561151b5780601f106114f05761010080835404028352916020019161151b565b820191906000526020600020905b8154815290600101906020018083116114fe57829003601f168201915b5050505050611551565b600d61153084612070565b604051602001611541929190612bf3565b6040516020818303038152906040525b9392505050565b600182111561159f5760405162461bcd60e51b81526020600482015260136024820152724e756d206d757374206c74206f72206571203160681b6044820152606401610a57565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506115e5826010548361216e565b6116275760405162461bcd60e51b815260206004820152601360248201527215995c9a599a58d85d1a5bdb8819985a5b1959606a1b6044820152606401610a57565b826012546116359190612e78565b34146116835760405162461bcd60e51b815260206004820181905260248201527f56616c7565206d7573742065712077686974656c69737450726963652a6e756d6044820152606401610a57565b4260155411156116df5760405162461bcd60e51b815260206004820152602160248201527f57686974656c6973744d696e7420686173206e6f7420737461727465642079656044820152601d60fa1b6064820152608401610a57565b42601654116117305760405162461bcd60e51b815260206004820152601760248201527f57686974656c6973744d696e742068617320656e6465640000000000000000006044820152606401610a57565b601a54836018546117419190612e4c565b111561178f5760405162461bcd60e51b815260206004820152601e60248201527f4e756d206d757374206c6f776572206d617857686974656c6973744e756d00006044820152606401610a57565b6117993384611d08565b82601860008282546112cc9190612e4c565b600a546001600160a01b031633146117d55760405162461bcd60e51b8152600401610a5790612d50565b805161109290600f9060208401906126e8565b600a546001600160a01b031633146118125760405162461bcd60e51b8152600401610a5790612d50565b601055565b600a546001600160a01b031633146118415760405162461bcd60e51b8152600401610a5790612d50565b6001600160a01b0381166118a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a57565b610f2d81611f1c565b600a546001600160a01b031633146118d95760405162461bcd60e51b8152600401610a5790612d50565b601191909155601255565b60006001600160e01b031982166380ac58cd60e01b148061191557506001600160e01b03198216635b5e139f60e01b145b8061094a57506301ffc9a760e01b6001600160e01b031983161461094a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611969826110ce565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a1b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a57565b6000611a26836110ce565b9050806001600160a01b0316846001600160a01b03161480611a6d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611a915750836001600160a01b0316611a86846109e2565b6001600160a01b0316145b949350505050565b826001600160a01b0316611aac826110ce565b6001600160a01b031614611b105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a57565b6001600160a01b038216611b725760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a57565b611b7d838383612184565b611b88600082611934565b6001600160a01b0383166000908152600360205260408120805460019290611bb1908490612e97565b90915550506001600160a01b0382166000908152600360205260408120805460019290611bdf908490612e4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040513381527fb8a00d6d8ca1be30bfec34d8f97e55f0f0fd9eeb7fb46e030516363d4cfe1ad69060200160405180910390a1601e546001600160a01b031633148015611c975750601e546001600160a01b031615155b15610f2d57601d54601f546040516340c10f1960e01b81526001600160a01b03848116600483015260248201929092529116906340c10f1990604401600060405180830381600087803b158015611ced57600080fd5b505af1158015611d01573d6000803e3d6000fd5b5050505050565b6002600b541415611d5b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a57565b6002600b55600e548111801590611d725750600081115b611dcc5760405162461bcd60e51b815260206004820152602560248201527f4e756d206d7573742067726561746572203020616e64206c6f776572206d6178604482015264084c2e8c6d60db1b6064820152608401610a57565b600c5481611dd960085490565b611de39190612e4c565b1115611e315760405162461bcd60e51b815260206004820152601860248201527f4e756d206d757374206c6f776572206d6178537570706c7900000000000000006044820152606401610a57565b60005b81811015611e6b57611e5983611e4960085490565b611e54906001612e4c565b61223c565b80611e6381612f15565b915050611e34565b50506001600b5550565b6000611e80826110ce565b9050611e8e81600084612184565b611e99600083611934565b6001600160a01b0381166000908152600360205260408120805460019290611ec2908490612e97565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611fd05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a57565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612048848484611a99565b61205484848484612256565b6113f95760405162461bcd60e51b8152600401610a5790612cfe565b6060816120945750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120be57806120a881612f15565b91506120b79050600a83612e64565b9150612098565b60008167ffffffffffffffff8111156120d9576120d9612f9c565b6040519080825280601f01601f191660200182016040528015612103576020820181803683370190505b5090505b8415611a9157612118600183612e97565b9150612125600a86612f30565b612130906030612e4c565b60f81b81838151811061214557612145612f86565b60200101906001600160f81b031916908160001a905350612167600a86612e64565b9450612107565b60008261217b8584612363565b14949350505050565b6001600160a01b0383166121df576121da81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612202565b816001600160a01b0316836001600160a01b0316146122025761220283826123d7565b6001600160a01b03821661221957610b8d81612474565b826001600160a01b0316826001600160a01b031614610b8d57610b8d8282612523565b611092828260405180602001604052806000815250612567565b60006001600160a01b0384163b1561235857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061229a903390899088908890600401612cae565b602060405180830381600087803b1580156122b457600080fd5b505af19250505080156122e4575060408051601f3d908101601f191682019092526122e191810190612a0c565b60015b61233e573d808015612312576040519150601f19603f3d011682016040523d82523d6000602084013e612317565b606091505b5080516123365760405162461bcd60e51b8152600401610a5790612cfe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a91565b506001949350505050565b600081815b84518110156123cf57600085828151811061238557612385612f86565b602002602001015190508083116123ab57600083815260208290526040902092506123bc565b600081815260208490526040902092505b50806123c781612f15565b915050612368565b509392505050565b600060016123e484611152565b6123ee9190612e97565b600083815260076020526040902054909150808214612441576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061248690600190612e97565b600083815260096020526040812054600880549394509092849081106124ae576124ae612f86565b9060005260206000200154905080600883815481106124cf576124cf612f86565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061250757612507612f70565b6001900381819060005260206000200160009055905550505050565b600061252e83611152565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612571838361259a565b61257e6000848484612256565b610b8d5760405162461bcd60e51b8152600401610a5790612cfe565b6001600160a01b0382166125f05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a57565b6000818152600260205260409020546001600160a01b0316156126555760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b61266160008383612184565b6001600160a01b038216600090815260036020526040812080546001929061268a908490612e4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126f490612eda565b90600052602060002090601f016020900481019282612716576000855561275c565b82601f1061272f57805160ff191683800117855561275c565b8280016001018555821561275c579182015b8281111561275c578251825591602001919060010190612741565b5061276892915061276c565b5090565b5b80821115612768576000815560010161276d565b600067ffffffffffffffff83111561279b5761279b612f9c565b6127ae601f8401601f1916602001612e1b565b90508281528383830111156127c257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127f057600080fd5b919050565b60006020828403121561280757600080fd5b611551826127d9565b6000806040838503121561282357600080fd5b61282c836127d9565b915061283a602084016127d9565b90509250929050565b60008060006060848603121561285857600080fd5b612861846127d9565b925061286f602085016127d9565b9150604084013590509250925092565b6000806000806080858703121561289557600080fd5b61289e856127d9565b93506128ac602086016127d9565b925060408501359150606085013567ffffffffffffffff8111156128cf57600080fd5b8501601f810187136128e057600080fd5b6128ef87823560208401612781565b91505092959194509250565b6000806040838503121561290e57600080fd5b612917836127d9565b91506020830135801515811461292c57600080fd5b809150509250929050565b6000806040838503121561294a57600080fd5b612953836127d9565b946020939093013593505050565b6000806020838503121561297457600080fd5b823567ffffffffffffffff8082111561298c57600080fd5b818501915085601f8301126129a057600080fd5b8135818111156129af57600080fd5b8660208260051b85010111156129c457600080fd5b60209290920196919550909350505050565b6000602082840312156129e857600080fd5b5035919050565b600060208284031215612a0157600080fd5b813561155181612fb2565b600060208284031215612a1e57600080fd5b815161155181612fb2565b600060208284031215612a3b57600080fd5b813567ffffffffffffffff811115612a5257600080fd5b8201601f81018413612a6357600080fd5b611a9184823560208401612781565b60008060408385031215612a8557600080fd5b8235915060208084013567ffffffffffffffff80821115612aa557600080fd5b818601915086601f830112612ab957600080fd5b813581811115612acb57612acb612f9c565b8060051b9150612adc848301612e1b565b8181528481019084860184860187018b1015612af757600080fd5b600095505b83861015612b1a578035835260019590950194918601918601612afc565b508096505050505050509250929050565b60008060408385031215612b3e57600080fd5b50508035926020909101359150565b600080600060608486031215612b6257600080fd5b505081359360208301359350604090920135919050565b60008060008060808587031215612b8f57600080fd5b5050823594602084013594506040840135936060013592509050565b60008151808452612bc3816020860160208601612eae565b601f01601f19169290920160200192915050565b60008151612be9818560208601612eae565b9290920192915050565b600080845481600182811c915080831680612c0f57607f831692505b6020808410821415612c2f57634e487b7160e01b86526022600452602486fd5b818015612c435760018114612c5457612c81565b60ff19861689528489019650612c81565b60008b81526020902060005b86811015612c795781548b820152908501908301612c60565b505084890196505b505050505050612ca5612c948286612bd7565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce190830184612bab565b9695505050505050565b6020815260006115516020830184612bab565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f72657365727665644e756d206d757374206c6f776572206d617852657365727660408201526465644e756d60d81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e4457612e44612f9c565b604052919050565b60008219821115612e5f57612e5f612f44565b500190565b600082612e7357612e73612f5a565b500490565b6000816000190483118215151615612e9257612e92612f44565b500290565b600082821015612ea957612ea9612f44565b500390565b60005b83811015612ec9578181015183820152602001612eb1565b838111156113f95750506000910152565b600181811c90821680612eee57607f821691505b60208210811415612f0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2957612f29612f44565b5060010190565b600082612f3f57612f3f612f5a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f2d57600080fdfea2646970667358221220a66a8f7ab3a3f76c5dbee42365e460cbf9b7db7fb93a7152acb4785362349ac164736f6c6343000807003360806040523480156200001157600080fd5b5060405162001394380380620013948339810160408190526200003491620004df565b604080518082018252601581527f4c6f73657220472e4f2e412e542e5320546f6b656e000000000000000000000060208083019182528351808501909452600484526311d3d05560e21b908401528151919291620000959160039162000439565b508051620000ab90600490602084019062000439565b505050620000c8620000c26200012860201b60201c565b6200012c565b620000f033620000db6012600a62000598565b620000ea9062a7d8c062000657565b6200017e565b6200012081600a6200010160025490565b6200010e90600462000657565b6200011a91906200052c565b62000256565b5050620006cc565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620001ee919062000511565b90915550506001600160a01b038216600090815260208190526040812080548392906200021d90849062000511565b90915550506040518181526001600160a01b03831690600090600080516020620013748339815191529060200160405180910390a35050565b6000336200026681858562000272565b60019150505b92915050565b6001600160a01b038316620002d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620001d1565b6001600160a01b0382166200033c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620001d1565b6001600160a01b03831660009081526020819052604090205481811015620003b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620001d1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290620003ef90849062000511565b92505081905550826001600160a01b0316846001600160a01b031660008051602062001374833981519152846040516200042b91815260200190565b60405180910390a350505050565b828054620004479062000679565b90600052602060002090601f0160209004810192826200046b5760008555620004b6565b82601f106200048657805160ff1916838001178555620004b6565b82800160010185558215620004b6579182015b82811115620004b657825182559160200191906001019062000499565b50620004c4929150620004c8565b5090565b5b80821115620004c45760008155600101620004c9565b600060208284031215620004f257600080fd5b81516001600160a01b03811681146200050a57600080fd5b9392505050565b60008219821115620005275762000527620006b6565b500190565b6000826200054a57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111562000590578160001904821115620005745762000574620006b6565b808516156200058257918102915b93841c939080029062000554565b509250929050565b60006200050a60ff841683600082620005b4575060016200026c565b81620005c3575060006200026c565b8160018114620005dc5760028114620005e75762000607565b60019150506200026c565b60ff841115620005fb57620005fb620006b6565b50506001821b6200026c565b5060208310610133831016604e8410600b84101617156200062c575081810a6200026c565b6200063883836200054f565b80600019048211156200064f576200064f620006b6565b029392505050565b6000816000190483118215151615620006745762000674620006b6565b500290565b600181811c908216806200068e57607f821691505b60208210811415620006b057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b610c9880620006dc6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b411461021f578063a457c2d714610227578063a9059cbb1461023a578063dd62ed3e1461024d578063f2fde38b1461026057600080fd5b806370a08231146101c0578063715018a6146101e957806379cc6790146101f15780638da5cb5b1461020457600080fd5b8063313ce567116100de578063313ce56714610176578063395093511461018557806340c10f191461019857806342966c68146101ad57600080fd5b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015157806323b872dd14610163575b600080fd5b610118610273565b6040516101259190610b58565b60405180910390f35b61014161013c366004610b15565b610305565b6040519015158152602001610125565b6002545b604051908152602001610125565b610141610171366004610ad9565b61031d565b60405160128152602001610125565b610141610193366004610b15565b610341565b6101ab6101a6366004610b15565b610363565b005b6101ab6101bb366004610b3f565b6103a5565b6101556101ce366004610a84565b6001600160a01b031660009081526020819052604090205490565b6101ab6103b2565b6101ab6101ff366004610b15565b6103e8565b6005546040516001600160a01b039091168152602001610125565b610118610401565b610141610235366004610b15565b610410565b610141610248366004610b15565b61048b565b61015561025b366004610aa6565b610499565b6101ab61026e366004610a84565b6104c4565b60606003805461028290610c11565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90610c11565b80156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b5050505050905090565b60003361031381858561055c565b5060019392505050565b60003361032b858285610680565b6103368585856106fa565b506001949350505050565b6000336103138185856103548383610499565b61035e9190610be2565b61055c565b6005546001600160a01b031633146103965760405162461bcd60e51b815260040161038d90610bad565b60405180910390fd5b6103a0828261048b565b505050565b6103af33826108c8565b50565b6005546001600160a01b031633146103dc5760405162461bcd60e51b815260040161038d90610bad565b6103e66000610a16565b565b6103f3823383610680565b6103fd82826108c8565b5050565b60606004805461028290610c11565b6000338161041e8286610499565b90508381101561047e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161038d565b610336828686840361055c565b6000336103138185856106fa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146104ee5760405162461bcd60e51b815260040161038d90610bad565b6001600160a01b0381166105535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161038d565b6103af81610a16565b6001600160a01b0383166105be5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161038d565b6001600160a01b03821661061f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161038d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061068c8484610499565b905060001981146106f457818110156106e75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161038d565b6106f4848484840361055c565b50505050565b6001600160a01b03831661075e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161038d565b6001600160a01b0382166107c05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161038d565b6001600160a01b038316600090815260208190526040902054818110156108385760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161038d565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061086f908490610be2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108bb91815260200190565b60405180910390a36106f4565b6001600160a01b0382166109285760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161038d565b6001600160a01b0382166000908152602081905260409020548181101561099c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161038d565b6001600160a01b03831660009081526020819052604081208383039055600280548492906109cb908490610bfa565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b0381168114610a7f57600080fd5b919050565b600060208284031215610a9657600080fd5b610a9f82610a68565b9392505050565b60008060408385031215610ab957600080fd5b610ac283610a68565b9150610ad060208401610a68565b90509250929050565b600080600060608486031215610aee57600080fd5b610af784610a68565b9250610b0560208501610a68565b9150604084013590509250925092565b60008060408385031215610b2857600080fd5b610b3183610a68565b946020939093013593505050565b600060208284031215610b5157600080fd5b5035919050565b600060208083528351808285015260005b81811015610b8557858101830151858201604001528201610b69565b81811115610b97576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610bf557610bf5610c4c565b500190565b600082821015610c0c57610c0c610c4c565b500390565b600181811c90821680610c2557607f821691505b60208210811415610c4657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212209e99190dfefc3dd8b3956b84e50859e5b3f78b6eff88caf315f5859abdb4ec1164736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c001240802bc60ec14636fc9b2b133faeabd08ee48a053d4f5f94beb613f41e5660000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62726a715a6a6a584653564d6e696338576a5957457866467742434d6474374b67553844736e727063734e612f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061031a5760003560e01c8063715018a6116101ab578063d14bb9d8116100f7578063ebdfd72211610095578063f7d975771161006f578063f7d97577146108b9578063f95b5b99146108d9578063fc0c546a146108ef578063fc1a1c361461090f57600080fd5b8063ebdfd72214610863578063f2fde38b14610879578063f5c7bd701461089957600080fd5b8063d89c6888116100d1578063d89c6888146107c4578063da1b9e08146107da578063dab5f340146107fa578063e985e9c51461081a57600080fd5b8063d14bb9d814610785578063d2cab0561461079b578063d5abeb01146107ae57600080fd5b8063a22cb46511610164578063a945bf801161013e578063a945bf8014610719578063b88d4fde1461072f578063c0edc37d1461074f578063c87b56dd1461076557600080fd5b8063a22cb465146106c3578063a60062ad146106e3578063a80ea4eb146106f957600080fd5b8063715018a614610625578063850f3f3f1461063a5780638c7660131461065a5780638da5cb5b1461067a5780639292caaf1461069857806395d89b41146106ae57600080fd5b80633a367a671161026a57806355f804b3116102235780636352211e116101fd5780636352211e146105ba57806367765b87146105da5780636c0360eb146105f057806370a082311461060557600080fd5b806355f804b31461056457806357b96db2146105845780635fd1bbc4146105a457600080fd5b80633a367a67146104c45780633ccfd60b146104d957806342842e0e146104ee57806342966c681461050e5780634f6ccce71461052e578063517430c91461054e57600080fd5b806323b872dd116102d75780632f745c59116102b15780632f745c5914610458578063300b23d81461047857806331b21e4014610498578063386bfc98146104ae57600080fd5b806323b872dd1461040f5780632c27e5811461042f5780632db115441461044557600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae57806312ceab0e146103d057806318160ddd146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a3660046129ef565b610925565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b50610369610950565b60405161034b9190612ceb565b34801561038257600080fd5b506103966103913660046129d6565b6109e2565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612937565b610a7c565b005b3480156103dc57600080fd5b506103ce6103eb366004612b79565b610b92565b3480156103fc57600080fd5b506008545b60405190815260200161034b565b34801561041b57600080fd5b506103ce61042a366004612843565b610bd0565b34801561043b57600080fd5b5061040160145481565b6103ce6104533660046129d6565b610c0b565b34801561046457600080fd5b50610401610473366004612937565b610d84565b34801561048457600080fd5b506103ce6104933660046129d6565b610e1a565b3480156104a457600080fd5b50610401601c5481565b3480156104ba57600080fd5b5061040160105481565b3480156104d057600080fd5b50610369610e49565b3480156104e557600080fd5b506103ce610ed7565b3480156104fa57600080fd5b506103ce610509366004612843565b610f30565b34801561051a57600080fd5b506103ce6105293660046129d6565b610f4b565b34801561053a57600080fd5b506104016105493660046129d6565b610fc2565b34801561055a57600080fd5b50610401601a5481565b34801561057057600080fd5b506103ce61057f366004612a29565b611055565b34801561059057600080fd5b506103ce61059f366004612b4d565b611096565b3480156105b057600080fd5b5061040160135481565b3480156105c657600080fd5b506103966105d53660046129d6565b6110ce565b3480156105e657600080fd5b50610401600e5481565b3480156105fc57600080fd5b50610369611145565b34801561061157600080fd5b506104016106203660046127f5565b611152565b34801561063157600080fd5b506103ce6111d9565b34801561064657600080fd5b506103ce610655366004612961565b61120f565b34801561066657600080fd5b506103ce610675366004612937565b6112d6565b34801561068657600080fd5b50600a546001600160a01b0316610396565b3480156106a457600080fd5b5061040160155481565b3480156106ba57600080fd5b50610369611326565b3480156106cf57600080fd5b506103ce6106de3660046128fb565b611335565b3480156106ef57600080fd5b5061040160175481565b34801561070557600080fd5b506103ce610714366004612937565b611340565b34801561072557600080fd5b5061040160115481565b34801561073b57600080fd5b506103ce61074a36600461287f565b6113be565b34801561075b57600080fd5b5061040160195481565b34801561077157600080fd5b506103696107803660046129d6565b6113ff565b34801561079157600080fd5b50610401601f5481565b6103ce6107a9366004612a72565b611558565b3480156107ba57600080fd5b50610401600c5481565b3480156107d057600080fd5b50610401601b5481565b3480156107e657600080fd5b506103ce6107f5366004612a29565b6117ab565b34801561080657600080fd5b506103ce6108153660046129d6565b6117e8565b34801561082657600080fd5b5061033f610835366004612810565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086f57600080fd5b5061040160165481565b34801561088557600080fd5b506103ce6108943660046127f5565b611817565b3480156108a557600080fd5b50601e54610396906001600160a01b031681565b3480156108c557600080fd5b506103ce6108d4366004612b2b565b6118af565b3480156108e557600080fd5b5061040160185481565b3480156108fb57600080fd5b50601d54610396906001600160a01b031681565b34801561091b57600080fd5b5061040160125481565b60006001600160e01b0319821663780e9d6360e01b148061094a575061094a826118e4565b92915050565b60606000805461095f90612eda565b80601f016020809104026020016040519081016040528092919081815260200182805461098b90612eda565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a605760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a87826110ce565b9050806001600160a01b0316836001600160a01b03161415610af55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a57565b336001600160a01b0382161480610b115750610b118133610835565b610b835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a57565b610b8d8383611934565b505050565b600a546001600160a01b03163314610bbc5760405162461bcd60e51b8152600401610a5790612d50565b601393909355601491909155601555601655565b610bdb335b826119a2565b610bf75760405162461bcd60e51b8152600401610a5790612dca565b610c02838383611a99565b610b8d82611c40565b80601154610c199190612e78565b3414610c675760405162461bcd60e51b815260206004820152601d60248201527f56616c7565206d757374206571207075626c696350726963652a6e756d0000006044820152606401610a57565b426013541115610cb95760405162461bcd60e51b815260206004820152601e60248201527f5075626c69634d696e7420686173206e6f7420737461727465642079657400006044820152606401610a57565b4260145411610d015760405162461bcd60e51b8152602060048201526014602482015273141d589b1a58d35a5b9d081a185cc8195b99195960621b6044820152606401610a57565b60195481601754610d129190612e4c565b1115610d605760405162461bcd60e51b815260206004820152601b60248201527f4e756d206d757374206c6f776572206d61785075626c69634e756d00000000006044820152606401610a57565b610d6a3382611d08565b8060176000828254610d7c9190612e4c565b909155505050565b6000610d8f83611152565b8210610df15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a57565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610e445760405162461bcd60e51b8152600401610a5790612d50565b600e55565b600f8054610e5690612eda565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8290612eda565b8015610ecf5780601f10610ea457610100808354040283529160200191610ecf565b820191906000526020600020905b815481529060010190602001808311610eb257829003601f168201915b505050505081565b600a546001600160a01b03163314610f015760405162461bcd60e51b8152600401610a5790612d50565b60405133904780156108fc02916000818181858888f19350505050158015610f2d573d6000803e3d6000fd5b50565b610b8d838383604051806020016040528060008152506113be565b610f5433610bd5565b610fb95760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a57565b610f2d81611e75565b6000610fcd60085490565b82106110305760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a57565b6008828154811061104357611043612f86565b90600052602060002001549050919050565b600a546001600160a01b0316331461107f5760405162461bcd60e51b8152600401610a5790612d50565b805161109290600d9060208401906126e8565b5050565b600a546001600160a01b031633146110c05760405162461bcd60e51b8152600401610a5790612d50565b601992909255601a55601c55565b6000818152600260205260408120546001600160a01b03168061094a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a57565b600d8054610e5690612eda565b60006001600160a01b0382166111bd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a57565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112035760405162461bcd60e51b8152600401610a5790612d50565b61120d6000611f1c565b565b600a546001600160a01b031633146112395760405162461bcd60e51b8152600401610a5790612d50565b601c54601b5482919061124d908390612e4c565b111561126b5760405162461bcd60e51b8152600401610a5790612d85565b60005b818110156112b9576112a784848381811061128b5761128b612f86565b90506020020160208101906112a091906127f5565b6001611d08565b806112b181612f15565b91505061126e565b5080601b60008282546112cc9190612e4c565b9091555050505050565b600a546001600160a01b031633146113005760405162461bcd60e51b8152600401610a5790612d50565b601e80546001600160a01b0319166001600160a01b039390931692909217909155601f55565b60606001805461095f90612eda565b611092338383611f6e565b600a546001600160a01b0316331461136a5760405162461bcd60e51b8152600401610a5790612d50565b601c5481601b5461137b9190612e4c565b11156113995760405162461bcd60e51b8152600401610a5790612d85565b6113a38282611d08565b80601b60008282546113b59190612e4c565b90915550505050565b6113c833836119a2565b6113e45760405162461bcd60e51b8152600401610a5790612dca565b6113f08484848461203d565b6113f983611c40565b50505050565b6000818152600260205260409020546060906001600160a01b031661147e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a57565b600080600d805461148e90612eda565b90501161152557600f80546114a290612eda565b80601f01602080910402602001604051908101604052809291908181526020018280546114ce90612eda565b801561151b5780601f106114f05761010080835404028352916020019161151b565b820191906000526020600020905b8154815290600101906020018083116114fe57829003601f168201915b5050505050611551565b600d61153084612070565b604051602001611541929190612bf3565b6040516020818303038152906040525b9392505050565b600182111561159f5760405162461bcd60e51b81526020600482015260136024820152724e756d206d757374206c74206f72206571203160681b6044820152606401610a57565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506115e5826010548361216e565b6116275760405162461bcd60e51b815260206004820152601360248201527215995c9a599a58d85d1a5bdb8819985a5b1959606a1b6044820152606401610a57565b826012546116359190612e78565b34146116835760405162461bcd60e51b815260206004820181905260248201527f56616c7565206d7573742065712077686974656c69737450726963652a6e756d6044820152606401610a57565b4260155411156116df5760405162461bcd60e51b815260206004820152602160248201527f57686974656c6973744d696e7420686173206e6f7420737461727465642079656044820152601d60fa1b6064820152608401610a57565b42601654116117305760405162461bcd60e51b815260206004820152601760248201527f57686974656c6973744d696e742068617320656e6465640000000000000000006044820152606401610a57565b601a54836018546117419190612e4c565b111561178f5760405162461bcd60e51b815260206004820152601e60248201527f4e756d206d757374206c6f776572206d617857686974656c6973744e756d00006044820152606401610a57565b6117993384611d08565b82601860008282546112cc9190612e4c565b600a546001600160a01b031633146117d55760405162461bcd60e51b8152600401610a5790612d50565b805161109290600f9060208401906126e8565b600a546001600160a01b031633146118125760405162461bcd60e51b8152600401610a5790612d50565b601055565b600a546001600160a01b031633146118415760405162461bcd60e51b8152600401610a5790612d50565b6001600160a01b0381166118a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a57565b610f2d81611f1c565b600a546001600160a01b031633146118d95760405162461bcd60e51b8152600401610a5790612d50565b601191909155601255565b60006001600160e01b031982166380ac58cd60e01b148061191557506001600160e01b03198216635b5e139f60e01b145b8061094a57506301ffc9a760e01b6001600160e01b031983161461094a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611969826110ce565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a1b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a57565b6000611a26836110ce565b9050806001600160a01b0316846001600160a01b03161480611a6d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611a915750836001600160a01b0316611a86846109e2565b6001600160a01b0316145b949350505050565b826001600160a01b0316611aac826110ce565b6001600160a01b031614611b105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a57565b6001600160a01b038216611b725760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a57565b611b7d838383612184565b611b88600082611934565b6001600160a01b0383166000908152600360205260408120805460019290611bb1908490612e97565b90915550506001600160a01b0382166000908152600360205260408120805460019290611bdf908490612e4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040513381527fb8a00d6d8ca1be30bfec34d8f97e55f0f0fd9eeb7fb46e030516363d4cfe1ad69060200160405180910390a1601e546001600160a01b031633148015611c975750601e546001600160a01b031615155b15610f2d57601d54601f546040516340c10f1960e01b81526001600160a01b03848116600483015260248201929092529116906340c10f1990604401600060405180830381600087803b158015611ced57600080fd5b505af1158015611d01573d6000803e3d6000fd5b5050505050565b6002600b541415611d5b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a57565b6002600b55600e548111801590611d725750600081115b611dcc5760405162461bcd60e51b815260206004820152602560248201527f4e756d206d7573742067726561746572203020616e64206c6f776572206d6178604482015264084c2e8c6d60db1b6064820152608401610a57565b600c5481611dd960085490565b611de39190612e4c565b1115611e315760405162461bcd60e51b815260206004820152601860248201527f4e756d206d757374206c6f776572206d6178537570706c7900000000000000006044820152606401610a57565b60005b81811015611e6b57611e5983611e4960085490565b611e54906001612e4c565b61223c565b80611e6381612f15565b915050611e34565b50506001600b5550565b6000611e80826110ce565b9050611e8e81600084612184565b611e99600083611934565b6001600160a01b0381166000908152600360205260408120805460019290611ec2908490612e97565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611fd05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a57565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612048848484611a99565b61205484848484612256565b6113f95760405162461bcd60e51b8152600401610a5790612cfe565b6060816120945750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120be57806120a881612f15565b91506120b79050600a83612e64565b9150612098565b60008167ffffffffffffffff8111156120d9576120d9612f9c565b6040519080825280601f01601f191660200182016040528015612103576020820181803683370190505b5090505b8415611a9157612118600183612e97565b9150612125600a86612f30565b612130906030612e4c565b60f81b81838151811061214557612145612f86565b60200101906001600160f81b031916908160001a905350612167600a86612e64565b9450612107565b60008261217b8584612363565b14949350505050565b6001600160a01b0383166121df576121da81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612202565b816001600160a01b0316836001600160a01b0316146122025761220283826123d7565b6001600160a01b03821661221957610b8d81612474565b826001600160a01b0316826001600160a01b031614610b8d57610b8d8282612523565b611092828260405180602001604052806000815250612567565b60006001600160a01b0384163b1561235857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061229a903390899088908890600401612cae565b602060405180830381600087803b1580156122b457600080fd5b505af19250505080156122e4575060408051601f3d908101601f191682019092526122e191810190612a0c565b60015b61233e573d808015612312576040519150601f19603f3d011682016040523d82523d6000602084013e612317565b606091505b5080516123365760405162461bcd60e51b8152600401610a5790612cfe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a91565b506001949350505050565b600081815b84518110156123cf57600085828151811061238557612385612f86565b602002602001015190508083116123ab57600083815260208290526040902092506123bc565b600081815260208490526040902092505b50806123c781612f15565b915050612368565b509392505050565b600060016123e484611152565b6123ee9190612e97565b600083815260076020526040902054909150808214612441576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061248690600190612e97565b600083815260096020526040812054600880549394509092849081106124ae576124ae612f86565b9060005260206000200154905080600883815481106124cf576124cf612f86565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061250757612507612f70565b6001900381819060005260206000200160009055905550505050565b600061252e83611152565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612571838361259a565b61257e6000848484612256565b610b8d5760405162461bcd60e51b8152600401610a5790612cfe565b6001600160a01b0382166125f05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a57565b6000818152600260205260409020546001600160a01b0316156126555760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b61266160008383612184565b6001600160a01b038216600090815260036020526040812080546001929061268a908490612e4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126f490612eda565b90600052602060002090601f016020900481019282612716576000855561275c565b82601f1061272f57805160ff191683800117855561275c565b8280016001018555821561275c579182015b8281111561275c578251825591602001919060010190612741565b5061276892915061276c565b5090565b5b80821115612768576000815560010161276d565b600067ffffffffffffffff83111561279b5761279b612f9c565b6127ae601f8401601f1916602001612e1b565b90508281528383830111156127c257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127f057600080fd5b919050565b60006020828403121561280757600080fd5b611551826127d9565b6000806040838503121561282357600080fd5b61282c836127d9565b915061283a602084016127d9565b90509250929050565b60008060006060848603121561285857600080fd5b612861846127d9565b925061286f602085016127d9565b9150604084013590509250925092565b6000806000806080858703121561289557600080fd5b61289e856127d9565b93506128ac602086016127d9565b925060408501359150606085013567ffffffffffffffff8111156128cf57600080fd5b8501601f810187136128e057600080fd5b6128ef87823560208401612781565b91505092959194509250565b6000806040838503121561290e57600080fd5b612917836127d9565b91506020830135801515811461292c57600080fd5b809150509250929050565b6000806040838503121561294a57600080fd5b612953836127d9565b946020939093013593505050565b6000806020838503121561297457600080fd5b823567ffffffffffffffff8082111561298c57600080fd5b818501915085601f8301126129a057600080fd5b8135818111156129af57600080fd5b8660208260051b85010111156129c457600080fd5b60209290920196919550909350505050565b6000602082840312156129e857600080fd5b5035919050565b600060208284031215612a0157600080fd5b813561155181612fb2565b600060208284031215612a1e57600080fd5b815161155181612fb2565b600060208284031215612a3b57600080fd5b813567ffffffffffffffff811115612a5257600080fd5b8201601f81018413612a6357600080fd5b611a9184823560208401612781565b60008060408385031215612a8557600080fd5b8235915060208084013567ffffffffffffffff80821115612aa557600080fd5b818601915086601f830112612ab957600080fd5b813581811115612acb57612acb612f9c565b8060051b9150612adc848301612e1b565b8181528481019084860184860187018b1015612af757600080fd5b600095505b83861015612b1a578035835260019590950194918601918601612afc565b508096505050505050509250929050565b60008060408385031215612b3e57600080fd5b50508035926020909101359150565b600080600060608486031215612b6257600080fd5b505081359360208301359350604090920135919050565b60008060008060808587031215612b8f57600080fd5b5050823594602084013594506040840135936060013592509050565b60008151808452612bc3816020860160208601612eae565b601f01601f19169290920160200192915050565b60008151612be9818560208601612eae565b9290920192915050565b600080845481600182811c915080831680612c0f57607f831692505b6020808410821415612c2f57634e487b7160e01b86526022600452602486fd5b818015612c435760018114612c5457612c81565b60ff19861689528489019650612c81565b60008b81526020902060005b86811015612c795781548b820152908501908301612c60565b505084890196505b505050505050612ca5612c948286612bd7565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce190830184612bab565b9695505050505050565b6020815260006115516020830184612bab565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f72657365727665644e756d206d757374206c6f776572206d617852657365727660408201526465644e756d60d81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e4457612e44612f9c565b604052919050565b60008219821115612e5f57612e5f612f44565b500190565b600082612e7357612e73612f5a565b500490565b6000816000190483118215151615612e9257612e92612f44565b500290565b600082821015612ea957612ea9612f44565b500390565b60005b83811015612ec9578181015183820152602001612eb1565b838111156113f95750506000910152565b600181811c90821680612eee57607f821691505b60208210811415612f0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2957612f29612f44565b5060010190565b600082612f3f57612f3f612f5a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f2d57600080fdfea2646970667358221220a66a8f7ab3a3f76c5dbee42365e460cbf9b7db7fb93a7152acb4785362349ac164736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c001240802bc60ec14636fc9b2b133faeabd08ee48a053d4f5f94beb613f41e5660000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62726a715a6a6a584653564d6e696338576a5957457866467742434d6474374b67553844736e727063734e612f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmbrjqZjjXFSVMnic8WjYWExfFwBCMdt7KgU8DsnrpcsNa/
Arg [1] : _defaultURI (string):
Arg [2] : _whitelistRoot (bytes32): 0x01240802bc60ec14636fc9b2b133faeabd08ee48a053d4f5f94beb613f41e566

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 01240802bc60ec14636fc9b2b133faeabd08ee48a053d4f5f94beb613f41e566
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d62726a715a6a6a584653564d6e696338576a5957457866
Arg [5] : 467742434d6474374b67553844736e727063734e612f00000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000


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.