ETH Price: $3,106.02 (+0.59%)

Token

GreatestGoats (GG)
 

Overview

Max Total Supply

4,444 GG

Holders

2,706

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 GG
0x9c814372667565d72306e2488b8f3beffabfb867
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:
GreatestGoats

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

// @Author Manuel (ManuelH#0001)

pragma solidity ^ 0.8 .9;

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


contract GreatestGoats is ERC721A, Ownable {
    using Strings for uint256;

    bytes32 public holderSaleMerkleRoot = 0xd2fccaa49ee9d6be70d40d14e5d49e41535d9a353576e34bb93f75691755148b;
    uint256 private constant maxSupply = 4444;

    string public BaseURI = "ipfs://QmPjGAswMPAmeHGcvRZgxukrgaycQuEWYXjkoTUEnakyJP/";

    mapping(address => uint256) public hasHolderMinted;
    mapping(address => bool) public hasPublicMinted;

    bool isHoldersSaleActive = false;
    bool isPublicSaleActive = false;

    constructor() ERC721A("GreatestGoats", "GG"){}

    modifier noBots(){
        require(tx.origin == msg.sender, "Please be yourself, not a contract.");
        _;
    }
    function holderMint(uint256 _quantity, bytes32[] calldata proof) external noBots() {
        require(isHoldersSaleActive, "Holder sale has yet to be activated or already has been activated and is over.");
        require(hasHolderMinted[msg.sender] + _quantity <= 2, "You reached you're max mints");
        require(totalSupply() + _quantity <= maxSupply, "The supply cap is reached.");
        require(MerkleProof.verify(proof, holderSaleMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Invalid proof");
        hasHolderMinted[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function publicMint() external noBots() {
        require(isPublicSaleActive, "Public sale has yet to be activated or already has been activated and is over.");
        require(!hasPublicMinted[msg.sender], "You reached you're max mints");
        require(totalSupply() + 1 <= maxSupply, "The supply cap is reached.");
        hasPublicMinted[msg.sender] = true;
        _safeMint(msg.sender, 1);
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns(string memory) {
        require(_exists(_tokenId), "URI query for non-existent token");
        return string(abi.encodePacked(BaseURI, _tokenId.toString(), ".json"));
    }

    function _startTokenId() internal view virtual override(ERC721A) returns(uint256) {
        return 1;
    }
    
    function setHolderSaleDetails(bytes32 _root) external onlyOwner {
      holderSaleMerkleRoot = _root;
    }
    function toggleHolderSaleActive() external onlyOwner {
        isHoldersSaleActive = !isHoldersSaleActive;
    }

    function togglePublicSaleActive() external onlyOwner {
        isPublicSaleActive = !isPublicSaleActive;
    }

    function setBaseURI(string memory _baseUri) external onlyOwner {
        BaseURI = _baseUri;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

File 5 of 12 : 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 6 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 12 : 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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 12 : 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 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 12 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasHolderMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasPublicMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"holderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"holderSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setHolderSaleDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleHolderSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","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"}]

60806040527fd2fccaa49ee9d6be70d40d14e5d49e41535d9a353576e34bb93f75691755148b60001b60095560405180606001604052806036815260200162003d7160369139600a90805190602001906200005c92919062000254565b506000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff021916908315150217905550348015620000a057600080fd5b506040518060400160405280600d81526020017f4772656174657374476f617473000000000000000000000000000000000000008152506040518060400160405280600281526020017f474700000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200012592919062000254565b5080600390805190602001906200013e92919062000254565b506200014f6200017d60201b60201c565b6000819055505050620001776200016b6200018660201b60201c565b6200018e60201b60201c565b62000369565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002629062000333565b90600052602060002090601f016020900481019282620002865760008555620002d2565b82601f10620002a157805160ff1916838001178555620002d2565b82800160010185558215620002d2579182015b82811115620002d1578251825591602001919060010190620002b4565b5b509050620002e19190620002e5565b5090565b5b8082111562000300576000816000905550600101620002e6565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200034c57607f821691505b6020821081141562000363576200036262000304565b5b50919050565b6139f880620003796000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806370a08231116100f9578063b455788411610097578063e985e9c511610071578063e985e9c514610492578063ed39053d146104c2578063f2fde38b146104cc578063ffcc43c4146104e8576101a9565b8063b45578841461042a578063b88d4fde14610446578063c87b56dd14610462576101a9565b80638be61d50116100d35780638be61d50146103a25780638da5cb5b146103d257806395d89b41146103f0578063a22cb4651461040e576101a9565b806370a082311461034a578063715018a61461037a57806371ee8bdf14610384576101a9565b806323b872dd11610166578063394cba7511610140578063394cba75146102c657806342842e0e146102e257806355f804b3146102fe5780636352211e1461031a576101a9565b806323b872dd1461027057806326092b831461028c5780633348ad6814610296576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063081812fc146101fc578063095ea7b31461022c5780630c894cfe1461024857806318160ddd14610252575b600080fd5b6101c860048036038101906101c391906128d0565b610506565b6040516101d59190612918565b60405180910390f35b6101e66105e8565b6040516101f391906129cc565b60405180910390f35b61021660048036038101906102119190612a24565b61067a565b6040516102239190612a92565b60405180910390f35b61024660048036038101906102419190612ad9565b6106f6565b005b610250610801565b005b61025a6108a9565b6040516102679190612b28565b60405180910390f35b61028a60048036038101906102859190612b43565b6108c0565b005b6102946108d0565b005b6102b060048036038101906102ab9190612b96565b610ad7565b6040516102bd9190612b28565b60405180910390f35b6102e060048036038101906102db9190612c28565b610aef565b005b6102fc60048036038101906102f79190612b43565b610da9565b005b61031860048036038101906103139190612db8565b610dc9565b005b610334600480360381019061032f9190612a24565b610e5f565b6040516103419190612a92565b60405180910390f35b610364600480360381019061035f9190612b96565b610e75565b6040516103719190612b28565b60405180910390f35b610382610f45565b005b61038c610fcd565b6040516103999190612e1a565b60405180910390f35b6103bc60048036038101906103b79190612b96565b610fd3565b6040516103c99190612918565b60405180910390f35b6103da610ff3565b6040516103e79190612a92565b60405180910390f35b6103f861101d565b60405161040591906129cc565b60405180910390f35b61042860048036038101906104239190612e61565b6110af565b005b610444600480360381019061043f9190612ecd565b611227565b005b610460600480360381019061045b9190612f9b565b6112ad565b005b61047c60048036038101906104779190612a24565b611329565b60405161048991906129cc565b60405180910390f35b6104ac60048036038101906104a7919061301e565b6113a5565b6040516104b99190612918565b60405180910390f35b6104ca611439565b005b6104e660048036038101906104e19190612b96565b6114e1565b005b6104f06115d9565b6040516104fd91906129cc565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e157506105e082611667565b5b9050919050565b6060600280546105f79061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546106239061308d565b80156106705780601f1061064557610100808354040283529160200191610670565b820191906000526020600020905b81548152906001019060200180831161065357829003601f168201915b5050505050905090565b6000610685826116d1565b6106bb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070182610e5f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610769576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661078861171f565b73ffffffffffffffffffffffffffffffffffffffff16141580156107ba57506107b8816107b361171f565b6113a5565b155b156107f1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107fc838383611727565b505050565b61080961171f565b73ffffffffffffffffffffffffffffffffffffffff16610827610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061310b565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b60006108b36117d9565b6001546000540303905090565b6108cb8383836117e2565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461093e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109359061319d565b60405180910390fd5b600d60019054906101000a900460ff1661098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613255565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a11906132c1565b60405180910390fd5b61115c6001610a276108a9565b610a319190613310565b1115610a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a69906133b2565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610ad5336001611c98565b565b600b6020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b549061319d565b60405180910390fd5b600d60009054906101000a900460ff16610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba39061346a565b60405180910390fd5b600283600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf99190613310565b1115610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c31906132c1565b60405180910390fd5b61115c83610c466108a9565b610c509190613310565b1115610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c88906133b2565b60405180910390fd5b610d05828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001610cea91906134d2565b60405160208183030381529060405280519060200120611cb6565b610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90613539565b60405180910390fd5b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d939190613310565b92505081905550610da43384611c98565b505050565b610dc4838383604051806020016040528060008152506112ad565b505050565b610dd161171f565b73ffffffffffffffffffffffffffffffffffffffff16610def610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c9061310b565b60405180910390fd5b80600a9080519060200190610e5b92919061277e565b5050565b6000610e6a82611ccd565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610edd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610f4d61171f565b73ffffffffffffffffffffffffffffffffffffffff16610f6b610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb89061310b565b60405180910390fd5b610fcb6000611f5c565b565b60095481565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461102c9061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061308d565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b5050505050905090565b6110b761171f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061112961171f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d661171f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121b9190612918565b60405180910390a35050565b61122f61171f565b73ffffffffffffffffffffffffffffffffffffffff1661124d610ff3565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061310b565b60405180910390fd5b8060098190555050565b6112b88484846117e2565b6112d78373ffffffffffffffffffffffffffffffffffffffff16612022565b80156112ec57506112ea84848484612045565b155b15611323576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611334826116d1565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a906135a5565b60405180910390fd5b600a61137e836121a5565b60405160200161138f9291906136e1565b6040516020818303038152906040529050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61144161171f565b73ffffffffffffffffffffffffffffffffffffffff1661145f610ff3565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac9061310b565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6114e961171f565b73ffffffffffffffffffffffffffffffffffffffff16611507610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115549061310b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c490613782565b60405180910390fd5b6115d681611f5c565b50565b600a80546115e69061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546116129061308d565b801561165f5780601f106116345761010080835404028352916020019161165f565b820191906000526020600020905b81548152906001019060200180831161164257829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816116dc6117d9565b111580156116eb575060005482105b8015611718575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006117ed82611ccd565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611858576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661187961171f565b73ffffffffffffffffffffffffffffffffffffffff1614806118a857506118a7856118a261171f565b6113a5565b5b806118ed57506118b661171f565b73ffffffffffffffffffffffffffffffffffffffff166118d58461067a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611926576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561198d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61199a8585856001612306565b6119a660008487611727565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c26576000548214611c2557878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c91858585600161230c565b5050505050565b611cb2828260405180602001604052806000815250612312565b5050565b600082611cc38584612324565b1490509392505050565b611cd5612804565b600082905080611ce36117d9565b11158015611cf2575060005481105b15611f25576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e07578092505050611f57565b5b600115611f2257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f1d578092505050611f57565b611e08565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261206b61171f565b8786866040518563ffffffff1660e01b815260040161208d94939291906137f7565b602060405180830381600087803b1580156120a757600080fd5b505af19250505080156120d857506040513d601f19601f820116820180604052508101906120d59190613858565b60015b612152573d8060008114612108576040519150601f19603f3d011682016040523d82523d6000602084013e61210d565b606091505b5060008151141561214a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156121ed576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612301565b600082905060005b6000821461221f57808061220890613885565b915050600a8261221891906138fd565b91506121f5565b60008167ffffffffffffffff81111561223b5761223a612c8d565b5b6040519080825280601f01601f19166020018201604052801561226d5781602001600182028036833780820191505090505b5090505b600085146122fa57600182612286919061392e565b9150600a856122959190613962565b60306122a19190613310565b60f81b8183815181106122b7576122b6613993565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f391906138fd565b9450612271565b8093505050505b919050565b50505050565b50505050565b61231f8383836001612399565b505050565b60008082905060005b845181101561238e57600085828151811061234b5761234a613993565b5b6020026020010151905080831161236d576123668382612767565b925061237a565b6123778184612767565b92505b50808061238690613885565b91505061232d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612406576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612441576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61244e6000868387612306565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561261857506126178773ffffffffffffffffffffffffffffffffffffffff16612022565b5b156126de575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461268d6000888480600101955088612045565b6126c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561261e5782600054146126d957600080fd5b61274a565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156126df575b816000819055505050612760600086838761230c565b5050505050565b600082600052816020526040600020905092915050565b82805461278a9061308d565b90600052602060002090601f0160209004810192826127ac57600085556127f3565b82601f106127c557805160ff19168380011785556127f3565b828001600101855582156127f3579182015b828111156127f25782518255916020019190600101906127d7565b5b5090506128009190612847565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612860576000816000905550600101612848565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128ad81612878565b81146128b857600080fd5b50565b6000813590506128ca816128a4565b92915050565b6000602082840312156128e6576128e561286e565b5b60006128f4848285016128bb565b91505092915050565b60008115159050919050565b612912816128fd565b82525050565b600060208201905061292d6000830184612909565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561296d578082015181840152602081019050612952565b8381111561297c576000848401525b50505050565b6000601f19601f8301169050919050565b600061299e82612933565b6129a8818561293e565b93506129b881856020860161294f565b6129c181612982565b840191505092915050565b600060208201905081810360008301526129e68184612993565b905092915050565b6000819050919050565b612a01816129ee565b8114612a0c57600080fd5b50565b600081359050612a1e816129f8565b92915050565b600060208284031215612a3a57612a3961286e565b5b6000612a4884828501612a0f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7c82612a51565b9050919050565b612a8c81612a71565b82525050565b6000602082019050612aa76000830184612a83565b92915050565b612ab681612a71565b8114612ac157600080fd5b50565b600081359050612ad381612aad565b92915050565b60008060408385031215612af057612aef61286e565b5b6000612afe85828601612ac4565b9250506020612b0f85828601612a0f565b9150509250929050565b612b22816129ee565b82525050565b6000602082019050612b3d6000830184612b19565b92915050565b600080600060608486031215612b5c57612b5b61286e565b5b6000612b6a86828701612ac4565b9350506020612b7b86828701612ac4565b9250506040612b8c86828701612a0f565b9150509250925092565b600060208284031215612bac57612bab61286e565b5b6000612bba84828501612ac4565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612be857612be7612bc3565b5b8235905067ffffffffffffffff811115612c0557612c04612bc8565b5b602083019150836020820283011115612c2157612c20612bcd565b5b9250929050565b600080600060408486031215612c4157612c4061286e565b5b6000612c4f86828701612a0f565b935050602084013567ffffffffffffffff811115612c7057612c6f612873565b5b612c7c86828701612bd2565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cc582612982565b810181811067ffffffffffffffff82111715612ce457612ce3612c8d565b5b80604052505050565b6000612cf7612864565b9050612d038282612cbc565b919050565b600067ffffffffffffffff821115612d2357612d22612c8d565b5b612d2c82612982565b9050602081019050919050565b82818337600083830152505050565b6000612d5b612d5684612d08565b612ced565b905082815260208101848484011115612d7757612d76612c88565b5b612d82848285612d39565b509392505050565b600082601f830112612d9f57612d9e612bc3565b5b8135612daf848260208601612d48565b91505092915050565b600060208284031215612dce57612dcd61286e565b5b600082013567ffffffffffffffff811115612dec57612deb612873565b5b612df884828501612d8a565b91505092915050565b6000819050919050565b612e1481612e01565b82525050565b6000602082019050612e2f6000830184612e0b565b92915050565b612e3e816128fd565b8114612e4957600080fd5b50565b600081359050612e5b81612e35565b92915050565b60008060408385031215612e7857612e7761286e565b5b6000612e8685828601612ac4565b9250506020612e9785828601612e4c565b9150509250929050565b612eaa81612e01565b8114612eb557600080fd5b50565b600081359050612ec781612ea1565b92915050565b600060208284031215612ee357612ee261286e565b5b6000612ef184828501612eb8565b91505092915050565b600067ffffffffffffffff821115612f1557612f14612c8d565b5b612f1e82612982565b9050602081019050919050565b6000612f3e612f3984612efa565b612ced565b905082815260208101848484011115612f5a57612f59612c88565b5b612f65848285612d39565b509392505050565b600082601f830112612f8257612f81612bc3565b5b8135612f92848260208601612f2b565b91505092915050565b60008060008060808587031215612fb557612fb461286e565b5b6000612fc387828801612ac4565b9450506020612fd487828801612ac4565b9350506040612fe587828801612a0f565b925050606085013567ffffffffffffffff81111561300657613005612873565b5b61301287828801612f6d565b91505092959194509250565b600080604083850312156130355761303461286e565b5b600061304385828601612ac4565b925050602061305485828601612ac4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130a557607f821691505b602082108114156130b9576130b861305e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130f560208361293e565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b7f506c6561736520626520796f757273656c662c206e6f74206120636f6e74726160008201527f63742e0000000000000000000000000000000000000000000000000000000000602082015250565b600061318760238361293e565b91506131928261312b565b604082019050919050565b600060208201905081810360008301526131b68161317a565b9050919050565b7f5075626c69632073616c65206861732079657420746f2062652061637469766160008201527f746564206f7220616c726561647920686173206265656e20616374697661746560208201527f6420616e64206973206f7665722e000000000000000000000000000000000000604082015250565b600061323f604e8361293e565b915061324a826131bd565b606082019050919050565b6000602082019050818103600083015261326e81613232565b9050919050565b7f596f75207265616368656420796f75277265206d6178206d696e747300000000600082015250565b60006132ab601c8361293e565b91506132b682613275565b602082019050919050565b600060208201905081810360008301526132da8161329e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061331b826129ee565b9150613326836129ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561335b5761335a6132e1565b5b828201905092915050565b7f54686520737570706c792063617020697320726561636865642e000000000000600082015250565b600061339c601a8361293e565b91506133a782613366565b602082019050919050565b600060208201905081810360008301526133cb8161338f565b9050919050565b7f486f6c6465722073616c65206861732079657420746f2062652061637469766160008201527f746564206f7220616c726561647920686173206265656e20616374697661746560208201527f6420616e64206973206f7665722e000000000000000000000000000000000000604082015250565b6000613454604e8361293e565b915061345f826133d2565b606082019050919050565b6000602082019050818103600083015261348381613447565b9050919050565b60008160601b9050919050565b60006134a28261348a565b9050919050565b60006134b482613497565b9050919050565b6134cc6134c782612a71565b6134a9565b82525050565b60006134de82846134bb565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613523600d8361293e565b915061352e826134ed565b602082019050919050565b6000602082019050818103600083015261355281613516565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374656e7420746f6b656e600082015250565b600061358f60208361293e565b915061359a82613559565b602082019050919050565b600060208201905081810360008301526135be81613582565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546135f28161308d565b6135fc81866135c5565b9450600182166000811461361757600181146136285761365b565b60ff1983168652818601935061365b565b613631856135d0565b60005b8381101561365357815481890152600182019150602081019050613634565b838801955050505b50505092915050565b600061366f82612933565b61367981856135c5565b935061368981856020860161294f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006136cb6005836135c5565b91506136d682613695565b600582019050919050565b60006136ed82856135e5565b91506136f98284613664565b9150613704826136be565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061376c60268361293e565b915061377782613710565b604082019050919050565b6000602082019050818103600083015261379b8161375f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137c9826137a2565b6137d381856137ad565b93506137e381856020860161294f565b6137ec81612982565b840191505092915050565b600060808201905061380c6000830187612a83565b6138196020830186612a83565b6138266040830185612b19565b818103606083015261383881846137be565b905095945050505050565b600081519050613852816128a4565b92915050565b60006020828403121561386e5761386d61286e565b5b600061387c84828501613843565b91505092915050565b6000613890826129ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138c3576138c26132e1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613908826129ee565b9150613913836129ee565b925082613923576139226138ce565b5b828204905092915050565b6000613939826129ee565b9150613944836129ee565b925082821015613957576139566132e1565b5b828203905092915050565b600061396d826129ee565b9150613978836129ee565b925082613988576139876138ce565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122019ba01aab39c078034019e645c2913d8ef47386a70749d45a335b5848841a2fe64736f6c63430008090033697066733a2f2f516d506a474173774d50416d6548476376525a6778756b72676179635175455759586a6b6f5455456e616b794a502f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806370a08231116100f9578063b455788411610097578063e985e9c511610071578063e985e9c514610492578063ed39053d146104c2578063f2fde38b146104cc578063ffcc43c4146104e8576101a9565b8063b45578841461042a578063b88d4fde14610446578063c87b56dd14610462576101a9565b80638be61d50116100d35780638be61d50146103a25780638da5cb5b146103d257806395d89b41146103f0578063a22cb4651461040e576101a9565b806370a082311461034a578063715018a61461037a57806371ee8bdf14610384576101a9565b806323b872dd11610166578063394cba7511610140578063394cba75146102c657806342842e0e146102e257806355f804b3146102fe5780636352211e1461031a576101a9565b806323b872dd1461027057806326092b831461028c5780633348ad6814610296576101a9565b806301ffc9a7146101ae57806306fdde03146101de578063081812fc146101fc578063095ea7b31461022c5780630c894cfe1461024857806318160ddd14610252575b600080fd5b6101c860048036038101906101c391906128d0565b610506565b6040516101d59190612918565b60405180910390f35b6101e66105e8565b6040516101f391906129cc565b60405180910390f35b61021660048036038101906102119190612a24565b61067a565b6040516102239190612a92565b60405180910390f35b61024660048036038101906102419190612ad9565b6106f6565b005b610250610801565b005b61025a6108a9565b6040516102679190612b28565b60405180910390f35b61028a60048036038101906102859190612b43565b6108c0565b005b6102946108d0565b005b6102b060048036038101906102ab9190612b96565b610ad7565b6040516102bd9190612b28565b60405180910390f35b6102e060048036038101906102db9190612c28565b610aef565b005b6102fc60048036038101906102f79190612b43565b610da9565b005b61031860048036038101906103139190612db8565b610dc9565b005b610334600480360381019061032f9190612a24565b610e5f565b6040516103419190612a92565b60405180910390f35b610364600480360381019061035f9190612b96565b610e75565b6040516103719190612b28565b60405180910390f35b610382610f45565b005b61038c610fcd565b6040516103999190612e1a565b60405180910390f35b6103bc60048036038101906103b79190612b96565b610fd3565b6040516103c99190612918565b60405180910390f35b6103da610ff3565b6040516103e79190612a92565b60405180910390f35b6103f861101d565b60405161040591906129cc565b60405180910390f35b61042860048036038101906104239190612e61565b6110af565b005b610444600480360381019061043f9190612ecd565b611227565b005b610460600480360381019061045b9190612f9b565b6112ad565b005b61047c60048036038101906104779190612a24565b611329565b60405161048991906129cc565b60405180910390f35b6104ac60048036038101906104a7919061301e565b6113a5565b6040516104b99190612918565b60405180910390f35b6104ca611439565b005b6104e660048036038101906104e19190612b96565b6114e1565b005b6104f06115d9565b6040516104fd91906129cc565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e157506105e082611667565b5b9050919050565b6060600280546105f79061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546106239061308d565b80156106705780601f1061064557610100808354040283529160200191610670565b820191906000526020600020905b81548152906001019060200180831161065357829003601f168201915b5050505050905090565b6000610685826116d1565b6106bb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070182610e5f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610769576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661078861171f565b73ffffffffffffffffffffffffffffffffffffffff16141580156107ba57506107b8816107b361171f565b6113a5565b155b156107f1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107fc838383611727565b505050565b61080961171f565b73ffffffffffffffffffffffffffffffffffffffff16610827610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061310b565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b60006108b36117d9565b6001546000540303905090565b6108cb8383836117e2565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461093e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109359061319d565b60405180910390fd5b600d60019054906101000a900460ff1661098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613255565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a11906132c1565b60405180910390fd5b61115c6001610a276108a9565b610a319190613310565b1115610a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a69906133b2565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610ad5336001611c98565b565b600b6020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b549061319d565b60405180910390fd5b600d60009054906101000a900460ff16610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba39061346a565b60405180910390fd5b600283600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf99190613310565b1115610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c31906132c1565b60405180910390fd5b61115c83610c466108a9565b610c509190613310565b1115610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c88906133b2565b60405180910390fd5b610d05828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001610cea91906134d2565b60405160208183030381529060405280519060200120611cb6565b610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90613539565b60405180910390fd5b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d939190613310565b92505081905550610da43384611c98565b505050565b610dc4838383604051806020016040528060008152506112ad565b505050565b610dd161171f565b73ffffffffffffffffffffffffffffffffffffffff16610def610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c9061310b565b60405180910390fd5b80600a9080519060200190610e5b92919061277e565b5050565b6000610e6a82611ccd565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610edd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610f4d61171f565b73ffffffffffffffffffffffffffffffffffffffff16610f6b610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb89061310b565b60405180910390fd5b610fcb6000611f5c565b565b60095481565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461102c9061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061308d565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b5050505050905090565b6110b761171f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561111c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061112961171f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111d661171f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121b9190612918565b60405180910390a35050565b61122f61171f565b73ffffffffffffffffffffffffffffffffffffffff1661124d610ff3565b73ffffffffffffffffffffffffffffffffffffffff16146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061310b565b60405180910390fd5b8060098190555050565b6112b88484846117e2565b6112d78373ffffffffffffffffffffffffffffffffffffffff16612022565b80156112ec57506112ea84848484612045565b155b15611323576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611334826116d1565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a906135a5565b60405180910390fd5b600a61137e836121a5565b60405160200161138f9291906136e1565b6040516020818303038152906040529050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61144161171f565b73ffffffffffffffffffffffffffffffffffffffff1661145f610ff3565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac9061310b565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6114e961171f565b73ffffffffffffffffffffffffffffffffffffffff16611507610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115549061310b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c490613782565b60405180910390fd5b6115d681611f5c565b50565b600a80546115e69061308d565b80601f01602080910402602001604051908101604052809291908181526020018280546116129061308d565b801561165f5780601f106116345761010080835404028352916020019161165f565b820191906000526020600020905b81548152906001019060200180831161164257829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816116dc6117d9565b111580156116eb575060005482105b8015611718575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006117ed82611ccd565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611858576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661187961171f565b73ffffffffffffffffffffffffffffffffffffffff1614806118a857506118a7856118a261171f565b6113a5565b5b806118ed57506118b661171f565b73ffffffffffffffffffffffffffffffffffffffff166118d58461067a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611926576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561198d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61199a8585856001612306565b6119a660008487611727565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c26576000548214611c2557878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c91858585600161230c565b5050505050565b611cb2828260405180602001604052806000815250612312565b5050565b600082611cc38584612324565b1490509392505050565b611cd5612804565b600082905080611ce36117d9565b11158015611cf2575060005481105b15611f25576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e07578092505050611f57565b5b600115611f2257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f1d578092505050611f57565b611e08565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261206b61171f565b8786866040518563ffffffff1660e01b815260040161208d94939291906137f7565b602060405180830381600087803b1580156120a757600080fd5b505af19250505080156120d857506040513d601f19601f820116820180604052508101906120d59190613858565b60015b612152573d8060008114612108576040519150601f19603f3d011682016040523d82523d6000602084013e61210d565b606091505b5060008151141561214a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156121ed576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612301565b600082905060005b6000821461221f57808061220890613885565b915050600a8261221891906138fd565b91506121f5565b60008167ffffffffffffffff81111561223b5761223a612c8d565b5b6040519080825280601f01601f19166020018201604052801561226d5781602001600182028036833780820191505090505b5090505b600085146122fa57600182612286919061392e565b9150600a856122959190613962565b60306122a19190613310565b60f81b8183815181106122b7576122b6613993565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f391906138fd565b9450612271565b8093505050505b919050565b50505050565b50505050565b61231f8383836001612399565b505050565b60008082905060005b845181101561238e57600085828151811061234b5761234a613993565b5b6020026020010151905080831161236d576123668382612767565b925061237a565b6123778184612767565b92505b50808061238690613885565b91505061232d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612406576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612441576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61244e6000868387612306565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561261857506126178773ffffffffffffffffffffffffffffffffffffffff16612022565b5b156126de575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461268d6000888480600101955088612045565b6126c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561261e5782600054146126d957600080fd5b61274a565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156126df575b816000819055505050612760600086838761230c565b5050505050565b600082600052816020526040600020905092915050565b82805461278a9061308d565b90600052602060002090601f0160209004810192826127ac57600085556127f3565b82601f106127c557805160ff19168380011785556127f3565b828001600101855582156127f3579182015b828111156127f25782518255916020019190600101906127d7565b5b5090506128009190612847565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612860576000816000905550600101612848565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128ad81612878565b81146128b857600080fd5b50565b6000813590506128ca816128a4565b92915050565b6000602082840312156128e6576128e561286e565b5b60006128f4848285016128bb565b91505092915050565b60008115159050919050565b612912816128fd565b82525050565b600060208201905061292d6000830184612909565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561296d578082015181840152602081019050612952565b8381111561297c576000848401525b50505050565b6000601f19601f8301169050919050565b600061299e82612933565b6129a8818561293e565b93506129b881856020860161294f565b6129c181612982565b840191505092915050565b600060208201905081810360008301526129e68184612993565b905092915050565b6000819050919050565b612a01816129ee565b8114612a0c57600080fd5b50565b600081359050612a1e816129f8565b92915050565b600060208284031215612a3a57612a3961286e565b5b6000612a4884828501612a0f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7c82612a51565b9050919050565b612a8c81612a71565b82525050565b6000602082019050612aa76000830184612a83565b92915050565b612ab681612a71565b8114612ac157600080fd5b50565b600081359050612ad381612aad565b92915050565b60008060408385031215612af057612aef61286e565b5b6000612afe85828601612ac4565b9250506020612b0f85828601612a0f565b9150509250929050565b612b22816129ee565b82525050565b6000602082019050612b3d6000830184612b19565b92915050565b600080600060608486031215612b5c57612b5b61286e565b5b6000612b6a86828701612ac4565b9350506020612b7b86828701612ac4565b9250506040612b8c86828701612a0f565b9150509250925092565b600060208284031215612bac57612bab61286e565b5b6000612bba84828501612ac4565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612be857612be7612bc3565b5b8235905067ffffffffffffffff811115612c0557612c04612bc8565b5b602083019150836020820283011115612c2157612c20612bcd565b5b9250929050565b600080600060408486031215612c4157612c4061286e565b5b6000612c4f86828701612a0f565b935050602084013567ffffffffffffffff811115612c7057612c6f612873565b5b612c7c86828701612bd2565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cc582612982565b810181811067ffffffffffffffff82111715612ce457612ce3612c8d565b5b80604052505050565b6000612cf7612864565b9050612d038282612cbc565b919050565b600067ffffffffffffffff821115612d2357612d22612c8d565b5b612d2c82612982565b9050602081019050919050565b82818337600083830152505050565b6000612d5b612d5684612d08565b612ced565b905082815260208101848484011115612d7757612d76612c88565b5b612d82848285612d39565b509392505050565b600082601f830112612d9f57612d9e612bc3565b5b8135612daf848260208601612d48565b91505092915050565b600060208284031215612dce57612dcd61286e565b5b600082013567ffffffffffffffff811115612dec57612deb612873565b5b612df884828501612d8a565b91505092915050565b6000819050919050565b612e1481612e01565b82525050565b6000602082019050612e2f6000830184612e0b565b92915050565b612e3e816128fd565b8114612e4957600080fd5b50565b600081359050612e5b81612e35565b92915050565b60008060408385031215612e7857612e7761286e565b5b6000612e8685828601612ac4565b9250506020612e9785828601612e4c565b9150509250929050565b612eaa81612e01565b8114612eb557600080fd5b50565b600081359050612ec781612ea1565b92915050565b600060208284031215612ee357612ee261286e565b5b6000612ef184828501612eb8565b91505092915050565b600067ffffffffffffffff821115612f1557612f14612c8d565b5b612f1e82612982565b9050602081019050919050565b6000612f3e612f3984612efa565b612ced565b905082815260208101848484011115612f5a57612f59612c88565b5b612f65848285612d39565b509392505050565b600082601f830112612f8257612f81612bc3565b5b8135612f92848260208601612f2b565b91505092915050565b60008060008060808587031215612fb557612fb461286e565b5b6000612fc387828801612ac4565b9450506020612fd487828801612ac4565b9350506040612fe587828801612a0f565b925050606085013567ffffffffffffffff81111561300657613005612873565b5b61301287828801612f6d565b91505092959194509250565b600080604083850312156130355761303461286e565b5b600061304385828601612ac4565b925050602061305485828601612ac4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130a557607f821691505b602082108114156130b9576130b861305e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130f560208361293e565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b7f506c6561736520626520796f757273656c662c206e6f74206120636f6e74726160008201527f63742e0000000000000000000000000000000000000000000000000000000000602082015250565b600061318760238361293e565b91506131928261312b565b604082019050919050565b600060208201905081810360008301526131b68161317a565b9050919050565b7f5075626c69632073616c65206861732079657420746f2062652061637469766160008201527f746564206f7220616c726561647920686173206265656e20616374697661746560208201527f6420616e64206973206f7665722e000000000000000000000000000000000000604082015250565b600061323f604e8361293e565b915061324a826131bd565b606082019050919050565b6000602082019050818103600083015261326e81613232565b9050919050565b7f596f75207265616368656420796f75277265206d6178206d696e747300000000600082015250565b60006132ab601c8361293e565b91506132b682613275565b602082019050919050565b600060208201905081810360008301526132da8161329e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061331b826129ee565b9150613326836129ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561335b5761335a6132e1565b5b828201905092915050565b7f54686520737570706c792063617020697320726561636865642e000000000000600082015250565b600061339c601a8361293e565b91506133a782613366565b602082019050919050565b600060208201905081810360008301526133cb8161338f565b9050919050565b7f486f6c6465722073616c65206861732079657420746f2062652061637469766160008201527f746564206f7220616c726561647920686173206265656e20616374697661746560208201527f6420616e64206973206f7665722e000000000000000000000000000000000000604082015250565b6000613454604e8361293e565b915061345f826133d2565b606082019050919050565b6000602082019050818103600083015261348381613447565b9050919050565b60008160601b9050919050565b60006134a28261348a565b9050919050565b60006134b482613497565b9050919050565b6134cc6134c782612a71565b6134a9565b82525050565b60006134de82846134bb565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613523600d8361293e565b915061352e826134ed565b602082019050919050565b6000602082019050818103600083015261355281613516565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374656e7420746f6b656e600082015250565b600061358f60208361293e565b915061359a82613559565b602082019050919050565b600060208201905081810360008301526135be81613582565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546135f28161308d565b6135fc81866135c5565b9450600182166000811461361757600181146136285761365b565b60ff1983168652818601935061365b565b613631856135d0565b60005b8381101561365357815481890152600182019150602081019050613634565b838801955050505b50505092915050565b600061366f82612933565b61367981856135c5565b935061368981856020860161294f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006136cb6005836135c5565b91506136d682613695565b600582019050919050565b60006136ed82856135e5565b91506136f98284613664565b9150613704826136be565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061376c60268361293e565b915061377782613710565b604082019050919050565b6000602082019050818103600083015261379b8161375f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137c9826137a2565b6137d381856137ad565b93506137e381856020860161294f565b6137ec81612982565b840191505092915050565b600060808201905061380c6000830187612a83565b6138196020830186612a83565b6138266040830185612b19565b818103606083015261383881846137be565b905095945050505050565b600081519050613852816128a4565b92915050565b60006020828403121561386e5761386d61286e565b5b600061387c84828501613843565b91505092915050565b6000613890826129ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138c3576138c26132e1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613908826129ee565b9150613913836129ee565b925082613923576139226138ce565b5b828204905092915050565b6000613939826129ee565b9150613944836129ee565b925082821015613957576139566132e1565b5b828203905092915050565b600061396d826129ee565b9150613978836129ee565b925082613988576139876138ce565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122019ba01aab39c078034019e645c2913d8ef47386a70749d45a335b5848841a2fe64736f6c63430008090033

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.