ETH Price: $3,532.00 (+4.28%)

Token

Grumpets (GRUMPET)
 

Overview

Max Total Supply

3,600 GRUMPET

Holders

1,407

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*万能有为青年.eth
Balance
1 GRUMPET
0x0702957312183b89e189476782ae94188a9c03b4
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:
Grumpets

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

// Contract by mskd.eth (@maskeddd_)

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "erc721a/contracts/ERC721A.sol";

contract Grumpets is Ownable, ERC721A, ReentrancyGuard {
	string _baseTokenURI;

	uint256 public price = 0.04 ether;
	uint256 public immutable collectionSize = 8888;
	uint256 public immutable reserves = 100;
	uint256 public immutable maxBatchSize = 5;

	uint256 public saleState = 0;

	bytes32 public merkleRoot;
	mapping(address => uint256) public addressToMinted;

	constructor(string memory baseTokenURI) ERC721A("Grumpets", "GRUMPET") {
		_baseTokenURI = baseTokenURI;
	}

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

	function privateSaleMint(
		uint256 quantity,
		uint256 allowance,
		bytes32[] calldata proof
	) public payable callerIsUser {
		string memory payload = string(abi.encodePacked(_msgSender()));
		require(saleState > 0, "Presale must be active to mint.");
		require(
			_verify(_leaf(Strings.toString(allowance), payload), proof),
			"Invalid Merkle Tree proof supplied."
		);
		require(addressToMinted[_msgSender()] + quantity <= allowance, "Exceeds whitelist supply.");
		require(quantity * price == msg.value, "Invalid funds provided.");

		addressToMinted[_msgSender()] += quantity;
		_safeMint(msg.sender, quantity);
		refundIfOver(price * quantity);
	}

	function publicSaleMint(uint256 quantity) external payable callerIsUser {
		require(saleState > 1, "Sale must be active to mint.");
		require(totalSupply() + quantity <= collectionSize - reserves, "Exceeds max supply.");
		require(numberMinted(msg.sender) + quantity <= maxBatchSize, "Cannot mint this many.");
		require(quantity * price == msg.value, "Invalid funds provided.");
		_safeMint(msg.sender, quantity);
		refundIfOver(price * quantity);
	}

	function ownerMint(uint256 quantity, address reciever) external onlyOwner {
		require(totalSupply() + quantity <= collectionSize, "Exceeds max supply.");
		require(quantity <= maxBatchSize, "Cannot mint this many.");
		_safeMint(reciever, quantity);
	}

	function refundIfOver(uint256 _price) private {
		require(msg.value >= _price, "Need to send more ETH.");
		if (msg.value > _price) {
			payable(msg.sender).transfer(msg.value - _price);
		}
	}

	function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
		merkleRoot = _merkleRoot;
	}

	function setPrice(uint256 _newPrice) public onlyOwner {
		price = _newPrice;
	}

	function setSaleState(uint256 _saleState) public onlyOwner {
		saleState = _saleState;
	}

	function _leaf(string memory allowance, string memory payload) internal pure returns (bytes32) {
		return keccak256(abi.encodePacked(payload, allowance));
	}

	function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) {
		return MerkleProof.verify(proof, merkleRoot, leaf);
	}

	function getAllowance(string memory allowance, bytes32[] calldata proof)
		public
		view
		returns (string memory)
	{
		string memory payload = string(abi.encodePacked(_msgSender()));
		require(_verify(_leaf(allowance, payload), proof), "Invalid Merkle Tree proof supplied.");
		return allowance;
	}

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

	function setBaseURI(string calldata baseURI) external onlyOwner {
		_baseTokenURI = baseURI;
	}

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

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

	function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
		return ownershipOf(tokenId);
	}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

File 5 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

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

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: approve to caller');

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

    /**
     * @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 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"allowance","type":"string"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getAllowance","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"reciever","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"privateSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserves","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":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052668e1bc9bf040000600a556122b8608052606460a052600560c0526000600b553480156200003157600080fd5b5060405162002f5a38038062002f5a8339810160408190526200005491620001f9565b604051806040016040528060088152602001674772756d7065747360c01b8152506040518060400160405280600781526020016611d4955354115560ca1b815250620000af620000a9620000ff60201b60201c565b62000103565b8151620000c490600290602085019062000153565b508051620000da90600390602084019062000153565b50506001600855508051620000f790600990602084019062000153565b50506200031b565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200016190620002c8565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b600060208083850312156200020c578182fd5b82516001600160401b038082111562000223578384fd5b818501915085601f83011262000237578384fd5b8151818111156200024c576200024c62000305565b604051601f8201601f191681018501838111828210171562000272576200027262000305565b604052818152838201850188101562000289578586fd5b8592505b81831015620002ac57838301850151818401860152918401916200028d565b81831115620002bd57858583830101525b979650505050505050565b600281046001821680620002dd57607f821691505b60208210811415620002ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c051612bec6200036e6000396000818161089e015281816110d401526112bf015260008181610d72015261105c0152600081816109cd0152818161107d015261126d0152612bec6000f3fe60806040526004361061021a5760003560e01c806370a0823111610123578063a035b1fe116100ab578063c87b56dd1161006f578063c87b56dd146105cd578063d52c57e0146105ed578063dc33e6811461060d578063e985e9c51461062d578063f2fde38b1461064d5761021a565b8063a035b1fe14610550578063a22cb46514610565578063ac44600214610585578063b3ab66b01461059a578063b88d4fde146105ad5761021a565b80638da5cb5b116100f25780638da5cb5b146104b957806391b7f5ed146104ce5780639231ab2a146104ee57806395d89b411461051b5780639ec00c95146105305761021a565b806370a082311461044f578063715018a61461046f57806375172a8b146104845780637cb64759146104995761021a565b80632f745c59116101a657806355f804b31161017557806355f804b3146103c757806356e6cfc1146103e7578063603f4d52146103fa5780636352211e1461040f57806366fddfa91461042f5761021a565b80632f745c591461035257806342842e0e1461037257806345c0f533146103925780634f6ccce7146103a75761021a565b8063095ea7b3116101ed578063095ea7b3146102c657806318160ddd146102e657806323b872dd146103085780632913daa0146103285780632eb4a7ab1461033d5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063084c4088146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612008565b61066d565b60405161024c9190612273565b60405180910390f35b34801561026157600080fd5b5061026a6106d0565b60405161024c9190612287565b34801561028357600080fd5b50610297610292366004611ff0565b610762565b60405161024c9190612222565b3480156102b057600080fd5b506102c46102bf366004611ff0565b6107ae565b005b3480156102d257600080fd5b506102c46102e1366004611fc7565b6107f2565b3480156102f257600080fd5b506102fb61088b565b60405161024c919061227e565b34801561031457600080fd5b506102c4610323366004611eda565b610891565b34801561033457600080fd5b506102fb61089c565b34801561034957600080fd5b506102fb6108c0565b34801561035e57600080fd5b506102fb61036d366004611fc7565b6108c6565b34801561037e57600080fd5b506102c461038d366004611eda565b6109b0565b34801561039e57600080fd5b506102fb6109cb565b3480156103b357600080fd5b506102fb6103c2366004611ff0565b6109ef565b3480156103d357600080fd5b506102c46103e2366004612040565b610a1b565b6102c46103f5366004612149565b610a66565b34801561040657600080fd5b506102fb610c28565b34801561041b57600080fd5b5061029761042a366004611ff0565b610c2e565b34801561043b57600080fd5b5061026a61044a3660046120ac565b610c40565b34801561045b57600080fd5b506102fb61046a366004611e8e565b610cd8565b34801561047b57600080fd5b506102c4610d25565b34801561049057600080fd5b506102fb610d70565b3480156104a557600080fd5b506102c46104b4366004611ff0565b610d94565b3480156104c557600080fd5b50610297610dd8565b3480156104da57600080fd5b506102c46104e9366004611ff0565b610de7565b3480156104fa57600080fd5b5061050e610509366004611ff0565b610e2b565b60405161024c9190612a3d565b34801561052757600080fd5b5061026a610e3c565b34801561053c57600080fd5b506102fb61054b366004611e8e565b610e4b565b34801561055c57600080fd5b506102fb610e5d565b34801561057157600080fd5b506102c4610580366004611f8d565b610e63565b34801561059157600080fd5b506102c4610f31565b6102c46105a8366004611ff0565b611016565b3480156105b957600080fd5b506102c46105c8366004611f15565b61116f565b3480156105d957600080fd5b5061026a6105e8366004611ff0565b6111a8565b3480156105f957600080fd5b506102c4610608366004612127565b61122c565b34801561061957600080fd5b506102fb610628366004611e8e565b61130b565b34801561063957600080fd5b5061023f610648366004611ea8565b611316565b34801561065957600080fd5b506102c4610668366004611e8e565b611344565b60006001600160e01b031982166380ac58cd60e01b148061069e57506001600160e01b03198216635b5e139f60e01b145b806106b957506001600160e01b0319821663780e9d6360e01b145b806106c857506106c8826113b2565b90505b919050565b6060600280546106df90612af4565b80601f016020809104026020016040519081016040528092919081815260200182805461070b90612af4565b80156107585780601f1061072d57610100808354040283529160200191610758565b820191906000526020600020905b81548152906001019060200180831161073b57829003601f168201915b5050505050905090565b600061076d826113cb565b6107925760405162461bcd60e51b8152600401610789906129f0565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6107b66113d2565b6001600160a01b03166107c7610dd8565b6001600160a01b0316146107ed5760405162461bcd60e51b8152600401610789906126b9565b600b55565b60006107fd82610c2e565b9050806001600160a01b0316836001600160a01b031614156108315760405162461bcd60e51b8152600401610789906127f3565b806001600160a01b03166108436113d2565b6001600160a01b0316148061085f575061085f816106486113d2565b61087b5760405162461bcd60e51b815260040161078990612594565b6108868383836113d6565b505050565b60015490565b610886838383611432565b7f000000000000000000000000000000000000000000000000000000000000000081565b600c5481565b60006108d183610cd8565b82106108ef5760405162461bcd60e51b81526004016107899061229a565b60006108f961088b565b905060008060005b83811015610991576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561095357805192505b876001600160a01b0316836001600160a01b031614156109885786841415610981575093506109aa92505050565b6001909301925b50600101610901565b5060405162461bcd60e51b81526004016107899061296b565b92915050565b6108868383836040518060200160405280600081525061116f565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006109f961088b565b8210610a175760405162461bcd60e51b815260040161078990612484565b5090565b610a236113d2565b6001600160a01b0316610a34610dd8565b6001600160a01b031614610a5a5760405162461bcd60e51b8152600401610789906126b9565b61088660098383611d14565b323314610a855760405162461bcd60e51b815260040161078990612356565b6000610a8f6113d2565b604051602001610a9f91906121c5565b60405160208183030381529060405290506000600b5411610ad25760405162461bcd60e51b81526004016107899061241d565b610b20610ae7610ae186611696565b836117b8565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117eb92505050565b610b3c5760405162461bcd60e51b815260040161078990612313565b8385600d6000610b4a6113d2565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610b759190612a66565b1115610b935760405162461bcd60e51b8152600401610789906122dc565b34600a5486610ba29190612a92565b14610bbf5760405162461bcd60e51b8152600401610789906125f1565b84600d6000610bcc6113d2565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bfb9190612a66565b90915550610c0b905033866117fa565b610c2185600a54610c1c9190612a92565b611814565b5050505050565b600b5481565b6000610c3982611872565b5192915050565b60606000610c4c6113d2565b604051602001610c5c91906121c5565b6040516020818303038152906040529050610cb3610c7a86836117b8565b8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117eb92505050565b610ccf5760405162461bcd60e51b815260040161078990612313565b50929392505050565b60006001600160a01b038216610d005760405162461bcd60e51b815260040161078990612628565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610d2d6113d2565b6001600160a01b0316610d3e610dd8565b6001600160a01b031614610d645760405162461bcd60e51b8152600401610789906126b9565b610d6e60006118f9565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b610d9c6113d2565b6001600160a01b0316610dad610dd8565b6001600160a01b031614610dd35760405162461bcd60e51b8152600401610789906126b9565b600c55565b6000546001600160a01b031690565b610def6113d2565b6001600160a01b0316610e00610dd8565b6001600160a01b031614610e265760405162461bcd60e51b8152600401610789906126b9565b600a55565b610e33611d94565b6106c882611872565b6060600380546106df90612af4565b600d6020526000908152604090205481565b600a5481565b610e6b6113d2565b6001600160a01b0316826001600160a01b03161415610e9c5760405162461bcd60e51b81526004016107899061273d565b8060076000610ea96113d2565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610eed6113d2565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f259190612273565b60405180910390a35050565b610f396113d2565b6001600160a01b0316610f4a610dd8565b6001600160a01b031614610f705760405162461bcd60e51b8152600401610789906126b9565b60026008541415610f935760405162461bcd60e51b8152600401610789906129b9565b600260085560405160009033904790610fab9061221f565b60006040518083038185875af1925050503d8060008114610fe8576040519150601f19603f3d011682016040523d82523d6000602084013e610fed565b606091505b505090508061100e5760405162461bcd60e51b815260040161078990612835565b506001600855565b3233146110355760405162461bcd60e51b815260040161078990612356565b6001600b54116110575760405162461bcd60e51b81526004016107899061255d565b6110a17f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612ab1565b816110aa61088b565b6110b49190612a66565b11156110d25760405162461bcd60e51b8152600401610789906127c6565b7f0000000000000000000000000000000000000000000000000000000000000000816110fd3361130b565b6111079190612a66565b11156111255760405162461bcd60e51b815260040161078990612454565b34600a54826111349190612a92565b146111515760405162461bcd60e51b8152600401610789906125f1565b61115b33826117fa565b61116c81600a54610c1c9190612a92565b50565b61117a848484611432565b61118684848484611949565b6111a25760405162461bcd60e51b81526004016107899061285f565b50505050565b60606111b3826113cb565b6111cf5760405162461bcd60e51b8152600401610789906126ee565b60006111d9611a64565b90508051600014156111fa5760405180602001604052806000815250611225565b8061120484611696565b6040516020016112159291906121f0565b6040516020818303038152906040525b9392505050565b6112346113d2565b6001600160a01b0316611245610dd8565b6001600160a01b03161461126b5760405162461bcd60e51b8152600401610789906126b9565b7f00000000000000000000000000000000000000000000000000000000000000008261129561088b565b61129f9190612a66565b11156112bd5760405162461bcd60e51b8152600401610789906127c6565b7f00000000000000000000000000000000000000000000000000000000000000008211156112fd5760405162461bcd60e51b815260040161078990612454565b61130781836117fa565b5050565b60006106c882611a73565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61134c6113d2565b6001600160a01b031661135d610dd8565b6001600160a01b0316146113835760405162461bcd60e51b8152600401610789906126b9565b6001600160a01b0381166113a95760405162461bcd60e51b81526004016107899061238d565b61116c816118f9565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061143d82611872565b9050600081600001516001600160a01b03166114576113d2565b6001600160a01b0316148061148c575061146f6113d2565b6001600160a01b031661148184610762565b6001600160a01b0316145b806114a0575081516114a0906106486113d2565b9050806114bf5760405162461bcd60e51b815260040161078990612774565b846001600160a01b031682600001516001600160a01b0316146114f45760405162461bcd60e51b815260040161078990612673565b6001600160a01b03841661151a5760405162461bcd60e51b8152600401610789906124c7565b61152785858560016111a2565b61153760008484600001516113d6565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b426001600160401b031602179055908601808352912054909116611647576115ea816113cb565b1561164757825160008281526004602090815260409091208054918601516001600160401b0316600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c2185858560016111a2565b6060816116bb57506040805180820190915260018152600360fc1b60208201526106cb565b8160005b81156116e557806116cf81612b2f565b91506116de9050600a83612a7e565b91506116bf565b6000816001600160401b0381111561170d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611737576020820181803683370190505b5090505b84156117b05761174c600183612ab1565b9150611759600a86612b4a565b611764906030612a66565b60f81b81838151811061178757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117a9600a86612a7e565b945061173b565b949350505050565b600081836040516020016117cd9291906121f0565b60405160208183030381529060405280519060200120905092915050565b600061122582600c5485611ac7565b611307828260405180602001604052806000815250611add565b803410156118345760405162461bcd60e51b8152600401610789906128b2565b8034111561116c57336108fc61184a8334612ab1565b6040518115909202916000818181858888f19350505050158015611307573d6000803e3d6000fd5b61187a611d94565b611883826113cb565b61189f5760405162461bcd60e51b8152600401610789906123d3565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156118ef5791506106cb9050565b50600019016118a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061195d846001600160a01b0316611aea565b15611a5957836001600160a01b031663150b7a026119796113d2565b8786866040518563ffffffff1660e01b815260040161199b9493929190612236565b602060405180830381600087803b1580156119b557600080fd5b505af19250505080156119e5575060408051601f3d908101601f191682019092526119e291810190612024565b60015b611a3f573d808015611a13576040519150601f19603f3d011682016040523d82523d6000602084013e611a18565b606091505b508051611a375760405162461bcd60e51b81526004016107899061285f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117b0565b506001949350505050565b6060600980546106df90612af4565b60006001600160a01b038216611a9b5760405162461bcd60e51b81526004016107899061250c565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b600082611ad48584611af0565b14949350505050565b6108868383836001611ba8565b3b151590565b600081815b8451811015611ba0576000858281518110611b2057634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611b61578281604051602001611b449291906121e2565b604051602081830303815290604052805190602001209250611b8d565b8083604051602001611b749291906121e2565b6040516020818303038152906040528051906020012092505b5080611b9881612b2f565b915050611af5565b509392505050565b6001546001600160a01b038516611bd15760405162461bcd60e51b8152600401610789906128e2565b83611bee5760405162461bcd60e51b815260040161078990612923565b611bfb60008683876111a2565b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526004909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b426001600160401b0316021790915581905b85811015611d035760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611cf757611cdb6000888488611949565b611cf75760405162461bcd60e51b81526004016107899061285f565b60019182019101611c88565b50600155610c2160008683876111a2565b828054611d2090612af4565b90600052602060002090601f016020900481019282611d425760008555611d88565b82601f10611d5b5782800160ff19823516178555611d88565b82800160010185558215611d88579182015b82811115611d88578235825591602001919060010190611d6d565b50610a17929150611dab565b604080518082019091526000808252602082015290565b5b80821115610a175760008155600101611dac565b60006001600160401b0380841115611dda57611dda612b8a565b604051601f8501601f191681016020018281118282101715611dfe57611dfe612b8a565b604052848152915081838501861015611e1657600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146106cb57600080fd5b60008083601f840112611e57578081fd5b5081356001600160401b03811115611e6d578182fd5b6020830191508360208083028501011115611e8757600080fd5b9250929050565b600060208284031215611e9f578081fd5b61122582611e2f565b60008060408385031215611eba578081fd5b611ec383611e2f565b9150611ed160208401611e2f565b90509250929050565b600080600060608486031215611eee578081fd5b611ef784611e2f565b9250611f0560208501611e2f565b9150604084013590509250925092565b60008060008060808587031215611f2a578081fd5b611f3385611e2f565b9350611f4160208601611e2f565b92506040850135915060608501356001600160401b03811115611f62578182fd5b8501601f81018713611f72578182fd5b611f8187823560208401611dc0565b91505092959194509250565b60008060408385031215611f9f578182fd5b611fa883611e2f565b915060208301358015158114611fbc578182fd5b809150509250929050565b60008060408385031215611fd9578182fd5b611fe283611e2f565b946020939093013593505050565b600060208284031215612001578081fd5b5035919050565b600060208284031215612019578081fd5b813561122581612ba0565b600060208284031215612035578081fd5b815161122581612ba0565b60008060208385031215612052578182fd5b82356001600160401b0380821115612068578384fd5b818501915085601f83011261207b578384fd5b813581811115612089578485fd5b86602082850101111561209a578485fd5b60209290920196919550909350505050565b6000806000604084860312156120c0578283fd5b83356001600160401b03808211156120d6578485fd5b818601915086601f8301126120e9578485fd5b6120f887833560208501611dc0565b9450602086013591508082111561210d578384fd5b5061211a86828701611e46565b9497909650939450505050565b60008060408385031215612139578182fd5b82359150611ed160208401611e2f565b6000806000806060858703121561215e578182fd5b843593506020850135925060408501356001600160401b03811115612181578283fd5b61218d87828801611e46565b95989497509550505050565b600081518084526121b1816020860160208601612ac8565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b60008351612202818460208801612ac8565b835190830190612216818360208801612ac8565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226990830184612199565b9695505050505050565b901515815260200190565b90815260200190565b6000602082526112256020830184612199565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526019908201527f457863656564732077686974656c69737420737570706c792e00000000000000604082015260600190565b60208082526023908201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960408201526232b21760e91b606082015260800190565b6020808252601f908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601f908201527f50726573616c65206d7573742062652061637469766520746f206d696e742e00604082015260600190565b60208082526016908201527521b0b73737ba1036b4b73a103a3434b99036b0b73c9760511b604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527020746865207a65726f206164647265737360781b606082015260800190565b6020808252601c908201527f53616c65206d7573742062652061637469766520746f206d696e742e00000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526017908201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526013908201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601690820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243373231413a207175616e74697479206d75737420626520677265617465604082015267072207468616e20360c41b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b81516001600160a01b031681526020918201516001600160401b03169181019190915260400190565b60008219821115612a7957612a79612b5e565b500190565b600082612a8d57612a8d612b74565b500490565b6000816000190483118215151615612aac57612aac612b5e565b500290565b600082821015612ac357612ac3612b5e565b500390565b60005b83811015612ae3578181015183820152602001612acb565b838111156111a25750506000910152565b600281046001821680612b0857607f821691505b60208210811415612b2957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b4357612b43612b5e565b5060010190565b600082612b5957612b59612b74565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461116c57600080fdfea26469706673582212205eec10e5df778f8f9d2078b4e164af080deba13c519e9e3bd307915144742d9164736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574a593642546b323844713832544654633652627a393173363454567238686e4d504566557258756f38344c2f00000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c806370a0823111610123578063a035b1fe116100ab578063c87b56dd1161006f578063c87b56dd146105cd578063d52c57e0146105ed578063dc33e6811461060d578063e985e9c51461062d578063f2fde38b1461064d5761021a565b8063a035b1fe14610550578063a22cb46514610565578063ac44600214610585578063b3ab66b01461059a578063b88d4fde146105ad5761021a565b80638da5cb5b116100f25780638da5cb5b146104b957806391b7f5ed146104ce5780639231ab2a146104ee57806395d89b411461051b5780639ec00c95146105305761021a565b806370a082311461044f578063715018a61461046f57806375172a8b146104845780637cb64759146104995761021a565b80632f745c59116101a657806355f804b31161017557806355f804b3146103c757806356e6cfc1146103e7578063603f4d52146103fa5780636352211e1461040f57806366fddfa91461042f5761021a565b80632f745c591461035257806342842e0e1461037257806345c0f533146103925780634f6ccce7146103a75761021a565b8063095ea7b3116101ed578063095ea7b3146102c657806318160ddd146102e657806323b872dd146103085780632913daa0146103285780632eb4a7ab1461033d5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063084c4088146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612008565b61066d565b60405161024c9190612273565b60405180910390f35b34801561026157600080fd5b5061026a6106d0565b60405161024c9190612287565b34801561028357600080fd5b50610297610292366004611ff0565b610762565b60405161024c9190612222565b3480156102b057600080fd5b506102c46102bf366004611ff0565b6107ae565b005b3480156102d257600080fd5b506102c46102e1366004611fc7565b6107f2565b3480156102f257600080fd5b506102fb61088b565b60405161024c919061227e565b34801561031457600080fd5b506102c4610323366004611eda565b610891565b34801561033457600080fd5b506102fb61089c565b34801561034957600080fd5b506102fb6108c0565b34801561035e57600080fd5b506102fb61036d366004611fc7565b6108c6565b34801561037e57600080fd5b506102c461038d366004611eda565b6109b0565b34801561039e57600080fd5b506102fb6109cb565b3480156103b357600080fd5b506102fb6103c2366004611ff0565b6109ef565b3480156103d357600080fd5b506102c46103e2366004612040565b610a1b565b6102c46103f5366004612149565b610a66565b34801561040657600080fd5b506102fb610c28565b34801561041b57600080fd5b5061029761042a366004611ff0565b610c2e565b34801561043b57600080fd5b5061026a61044a3660046120ac565b610c40565b34801561045b57600080fd5b506102fb61046a366004611e8e565b610cd8565b34801561047b57600080fd5b506102c4610d25565b34801561049057600080fd5b506102fb610d70565b3480156104a557600080fd5b506102c46104b4366004611ff0565b610d94565b3480156104c557600080fd5b50610297610dd8565b3480156104da57600080fd5b506102c46104e9366004611ff0565b610de7565b3480156104fa57600080fd5b5061050e610509366004611ff0565b610e2b565b60405161024c9190612a3d565b34801561052757600080fd5b5061026a610e3c565b34801561053c57600080fd5b506102fb61054b366004611e8e565b610e4b565b34801561055c57600080fd5b506102fb610e5d565b34801561057157600080fd5b506102c4610580366004611f8d565b610e63565b34801561059157600080fd5b506102c4610f31565b6102c46105a8366004611ff0565b611016565b3480156105b957600080fd5b506102c46105c8366004611f15565b61116f565b3480156105d957600080fd5b5061026a6105e8366004611ff0565b6111a8565b3480156105f957600080fd5b506102c4610608366004612127565b61122c565b34801561061957600080fd5b506102fb610628366004611e8e565b61130b565b34801561063957600080fd5b5061023f610648366004611ea8565b611316565b34801561065957600080fd5b506102c4610668366004611e8e565b611344565b60006001600160e01b031982166380ac58cd60e01b148061069e57506001600160e01b03198216635b5e139f60e01b145b806106b957506001600160e01b0319821663780e9d6360e01b145b806106c857506106c8826113b2565b90505b919050565b6060600280546106df90612af4565b80601f016020809104026020016040519081016040528092919081815260200182805461070b90612af4565b80156107585780601f1061072d57610100808354040283529160200191610758565b820191906000526020600020905b81548152906001019060200180831161073b57829003601f168201915b5050505050905090565b600061076d826113cb565b6107925760405162461bcd60e51b8152600401610789906129f0565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6107b66113d2565b6001600160a01b03166107c7610dd8565b6001600160a01b0316146107ed5760405162461bcd60e51b8152600401610789906126b9565b600b55565b60006107fd82610c2e565b9050806001600160a01b0316836001600160a01b031614156108315760405162461bcd60e51b8152600401610789906127f3565b806001600160a01b03166108436113d2565b6001600160a01b0316148061085f575061085f816106486113d2565b61087b5760405162461bcd60e51b815260040161078990612594565b6108868383836113d6565b505050565b60015490565b610886838383611432565b7f000000000000000000000000000000000000000000000000000000000000000581565b600c5481565b60006108d183610cd8565b82106108ef5760405162461bcd60e51b81526004016107899061229a565b60006108f961088b565b905060008060005b83811015610991576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561095357805192505b876001600160a01b0316836001600160a01b031614156109885786841415610981575093506109aa92505050565b6001909301925b50600101610901565b5060405162461bcd60e51b81526004016107899061296b565b92915050565b6108868383836040518060200160405280600081525061116f565b7f00000000000000000000000000000000000000000000000000000000000022b881565b60006109f961088b565b8210610a175760405162461bcd60e51b815260040161078990612484565b5090565b610a236113d2565b6001600160a01b0316610a34610dd8565b6001600160a01b031614610a5a5760405162461bcd60e51b8152600401610789906126b9565b61088660098383611d14565b323314610a855760405162461bcd60e51b815260040161078990612356565b6000610a8f6113d2565b604051602001610a9f91906121c5565b60405160208183030381529060405290506000600b5411610ad25760405162461bcd60e51b81526004016107899061241d565b610b20610ae7610ae186611696565b836117b8565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117eb92505050565b610b3c5760405162461bcd60e51b815260040161078990612313565b8385600d6000610b4a6113d2565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610b759190612a66565b1115610b935760405162461bcd60e51b8152600401610789906122dc565b34600a5486610ba29190612a92565b14610bbf5760405162461bcd60e51b8152600401610789906125f1565b84600d6000610bcc6113d2565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bfb9190612a66565b90915550610c0b905033866117fa565b610c2185600a54610c1c9190612a92565b611814565b5050505050565b600b5481565b6000610c3982611872565b5192915050565b60606000610c4c6113d2565b604051602001610c5c91906121c5565b6040516020818303038152906040529050610cb3610c7a86836117b8565b8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506117eb92505050565b610ccf5760405162461bcd60e51b815260040161078990612313565b50929392505050565b60006001600160a01b038216610d005760405162461bcd60e51b815260040161078990612628565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610d2d6113d2565b6001600160a01b0316610d3e610dd8565b6001600160a01b031614610d645760405162461bcd60e51b8152600401610789906126b9565b610d6e60006118f9565b565b7f000000000000000000000000000000000000000000000000000000000000006481565b610d9c6113d2565b6001600160a01b0316610dad610dd8565b6001600160a01b031614610dd35760405162461bcd60e51b8152600401610789906126b9565b600c55565b6000546001600160a01b031690565b610def6113d2565b6001600160a01b0316610e00610dd8565b6001600160a01b031614610e265760405162461bcd60e51b8152600401610789906126b9565b600a55565b610e33611d94565b6106c882611872565b6060600380546106df90612af4565b600d6020526000908152604090205481565b600a5481565b610e6b6113d2565b6001600160a01b0316826001600160a01b03161415610e9c5760405162461bcd60e51b81526004016107899061273d565b8060076000610ea96113d2565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610eed6113d2565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f259190612273565b60405180910390a35050565b610f396113d2565b6001600160a01b0316610f4a610dd8565b6001600160a01b031614610f705760405162461bcd60e51b8152600401610789906126b9565b60026008541415610f935760405162461bcd60e51b8152600401610789906129b9565b600260085560405160009033904790610fab9061221f565b60006040518083038185875af1925050503d8060008114610fe8576040519150601f19603f3d011682016040523d82523d6000602084013e610fed565b606091505b505090508061100e5760405162461bcd60e51b815260040161078990612835565b506001600855565b3233146110355760405162461bcd60e51b815260040161078990612356565b6001600b54116110575760405162461bcd60e51b81526004016107899061255d565b6110a17f00000000000000000000000000000000000000000000000000000000000000647f00000000000000000000000000000000000000000000000000000000000022b8612ab1565b816110aa61088b565b6110b49190612a66565b11156110d25760405162461bcd60e51b8152600401610789906127c6565b7f0000000000000000000000000000000000000000000000000000000000000005816110fd3361130b565b6111079190612a66565b11156111255760405162461bcd60e51b815260040161078990612454565b34600a54826111349190612a92565b146111515760405162461bcd60e51b8152600401610789906125f1565b61115b33826117fa565b61116c81600a54610c1c9190612a92565b50565b61117a848484611432565b61118684848484611949565b6111a25760405162461bcd60e51b81526004016107899061285f565b50505050565b60606111b3826113cb565b6111cf5760405162461bcd60e51b8152600401610789906126ee565b60006111d9611a64565b90508051600014156111fa5760405180602001604052806000815250611225565b8061120484611696565b6040516020016112159291906121f0565b6040516020818303038152906040525b9392505050565b6112346113d2565b6001600160a01b0316611245610dd8565b6001600160a01b03161461126b5760405162461bcd60e51b8152600401610789906126b9565b7f00000000000000000000000000000000000000000000000000000000000022b88261129561088b565b61129f9190612a66565b11156112bd5760405162461bcd60e51b8152600401610789906127c6565b7f00000000000000000000000000000000000000000000000000000000000000058211156112fd5760405162461bcd60e51b815260040161078990612454565b61130781836117fa565b5050565b60006106c882611a73565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61134c6113d2565b6001600160a01b031661135d610dd8565b6001600160a01b0316146113835760405162461bcd60e51b8152600401610789906126b9565b6001600160a01b0381166113a95760405162461bcd60e51b81526004016107899061238d565b61116c816118f9565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061143d82611872565b9050600081600001516001600160a01b03166114576113d2565b6001600160a01b0316148061148c575061146f6113d2565b6001600160a01b031661148184610762565b6001600160a01b0316145b806114a0575081516114a0906106486113d2565b9050806114bf5760405162461bcd60e51b815260040161078990612774565b846001600160a01b031682600001516001600160a01b0316146114f45760405162461bcd60e51b815260040161078990612673565b6001600160a01b03841661151a5760405162461bcd60e51b8152600401610789906124c7565b61152785858560016111a2565b61153760008484600001516113d6565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b426001600160401b031602179055908601808352912054909116611647576115ea816113cb565b1561164757825160008281526004602090815260409091208054918601516001600160401b0316600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c2185858560016111a2565b6060816116bb57506040805180820190915260018152600360fc1b60208201526106cb565b8160005b81156116e557806116cf81612b2f565b91506116de9050600a83612a7e565b91506116bf565b6000816001600160401b0381111561170d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611737576020820181803683370190505b5090505b84156117b05761174c600183612ab1565b9150611759600a86612b4a565b611764906030612a66565b60f81b81838151811061178757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117a9600a86612a7e565b945061173b565b949350505050565b600081836040516020016117cd9291906121f0565b60405160208183030381529060405280519060200120905092915050565b600061122582600c5485611ac7565b611307828260405180602001604052806000815250611add565b803410156118345760405162461bcd60e51b8152600401610789906128b2565b8034111561116c57336108fc61184a8334612ab1565b6040518115909202916000818181858888f19350505050158015611307573d6000803e3d6000fd5b61187a611d94565b611883826113cb565b61189f5760405162461bcd60e51b8152600401610789906123d3565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156118ef5791506106cb9050565b50600019016118a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061195d846001600160a01b0316611aea565b15611a5957836001600160a01b031663150b7a026119796113d2565b8786866040518563ffffffff1660e01b815260040161199b9493929190612236565b602060405180830381600087803b1580156119b557600080fd5b505af19250505080156119e5575060408051601f3d908101601f191682019092526119e291810190612024565b60015b611a3f573d808015611a13576040519150601f19603f3d011682016040523d82523d6000602084013e611a18565b606091505b508051611a375760405162461bcd60e51b81526004016107899061285f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117b0565b506001949350505050565b6060600980546106df90612af4565b60006001600160a01b038216611a9b5760405162461bcd60e51b81526004016107899061250c565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b600082611ad48584611af0565b14949350505050565b6108868383836001611ba8565b3b151590565b600081815b8451811015611ba0576000858281518110611b2057634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611b61578281604051602001611b449291906121e2565b604051602081830303815290604052805190602001209250611b8d565b8083604051602001611b749291906121e2565b6040516020818303038152906040528051906020012092505b5080611b9881612b2f565b915050611af5565b509392505050565b6001546001600160a01b038516611bd15760405162461bcd60e51b8152600401610789906128e2565b83611bee5760405162461bcd60e51b815260040161078990612923565b611bfb60008683876111a2565b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526004909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b426001600160401b0316021790915581905b85811015611d035760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611cf757611cdb6000888488611949565b611cf75760405162461bcd60e51b81526004016107899061285f565b60019182019101611c88565b50600155610c2160008683876111a2565b828054611d2090612af4565b90600052602060002090601f016020900481019282611d425760008555611d88565b82601f10611d5b5782800160ff19823516178555611d88565b82800160010185558215611d88579182015b82811115611d88578235825591602001919060010190611d6d565b50610a17929150611dab565b604080518082019091526000808252602082015290565b5b80821115610a175760008155600101611dac565b60006001600160401b0380841115611dda57611dda612b8a565b604051601f8501601f191681016020018281118282101715611dfe57611dfe612b8a565b604052848152915081838501861015611e1657600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146106cb57600080fd5b60008083601f840112611e57578081fd5b5081356001600160401b03811115611e6d578182fd5b6020830191508360208083028501011115611e8757600080fd5b9250929050565b600060208284031215611e9f578081fd5b61122582611e2f565b60008060408385031215611eba578081fd5b611ec383611e2f565b9150611ed160208401611e2f565b90509250929050565b600080600060608486031215611eee578081fd5b611ef784611e2f565b9250611f0560208501611e2f565b9150604084013590509250925092565b60008060008060808587031215611f2a578081fd5b611f3385611e2f565b9350611f4160208601611e2f565b92506040850135915060608501356001600160401b03811115611f62578182fd5b8501601f81018713611f72578182fd5b611f8187823560208401611dc0565b91505092959194509250565b60008060408385031215611f9f578182fd5b611fa883611e2f565b915060208301358015158114611fbc578182fd5b809150509250929050565b60008060408385031215611fd9578182fd5b611fe283611e2f565b946020939093013593505050565b600060208284031215612001578081fd5b5035919050565b600060208284031215612019578081fd5b813561122581612ba0565b600060208284031215612035578081fd5b815161122581612ba0565b60008060208385031215612052578182fd5b82356001600160401b0380821115612068578384fd5b818501915085601f83011261207b578384fd5b813581811115612089578485fd5b86602082850101111561209a578485fd5b60209290920196919550909350505050565b6000806000604084860312156120c0578283fd5b83356001600160401b03808211156120d6578485fd5b818601915086601f8301126120e9578485fd5b6120f887833560208501611dc0565b9450602086013591508082111561210d578384fd5b5061211a86828701611e46565b9497909650939450505050565b60008060408385031215612139578182fd5b82359150611ed160208401611e2f565b6000806000806060858703121561215e578182fd5b843593506020850135925060408501356001600160401b03811115612181578283fd5b61218d87828801611e46565b95989497509550505050565b600081518084526121b1816020860160208601612ac8565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b60008351612202818460208801612ac8565b835190830190612216818360208801612ac8565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061226990830184612199565b9695505050505050565b901515815260200190565b90815260200190565b6000602082526112256020830184612199565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526019908201527f457863656564732077686974656c69737420737570706c792e00000000000000604082015260600190565b60208082526023908201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960408201526232b21760e91b606082015260800190565b6020808252601f908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601f908201527f50726573616c65206d7573742062652061637469766520746f206d696e742e00604082015260600190565b60208082526016908201527521b0b73737ba1036b4b73a103a3434b99036b0b73c9760511b604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527020746865207a65726f206164647265737360781b606082015260800190565b6020808252601c908201527f53616c65206d7573742062652061637469766520746f206d696e742e00000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526017908201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526013908201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601690820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243373231413a207175616e74697479206d75737420626520677265617465604082015267072207468616e20360c41b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b81516001600160a01b031681526020918201516001600160401b03169181019190915260400190565b60008219821115612a7957612a79612b5e565b500190565b600082612a8d57612a8d612b74565b500490565b6000816000190483118215151615612aac57612aac612b5e565b500290565b600082821015612ac357612ac3612b5e565b500390565b60005b83811015612ae3578181015183820152602001612acb565b838111156111a25750506000910152565b600281046001821680612b0857607f821691505b60208210811415612b2957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b4357612b43612b5e565b5060010190565b600082612b5957612b59612b74565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461116c57600080fdfea26469706673582212205eec10e5df778f8f9d2078b4e164af080deba13c519e9e3bd307915144742d9164736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574a593642546b323844713832544654633652627a393173363454567238686e4d504566557258756f38344c2f00000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI (string): ipfs://QmWJY6BTk28Dq82TFTc6Rbz91s64TVr8hnMPEfUrXuo84L/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d574a593642546b323844713832544654633652627a3931
Arg [3] : 73363454567238686e4d504566557258756f38344c2f00000000000000000000


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.