Mumbai Testnet

Token

TownGas (TG)
ERC-721

Overview

Max Total Supply

0 TG

Holders

9

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Balance
0 TG
0xc26880a0af2ea0c7e8130e6ec47af756465452e8
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
TownGas

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 11 : TownGas.sol
// SPDX-License-Identifier: GPL-3.0

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "./ERC721A.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);
    }
}

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

    string public baseURI;
    string public baseExtension = ".json";
    string public notRevealedUri;
    uint256 public maxSupply = 10000;

    bool public revealed = false;
    mapping(address => uint256) public addressMintedBalance;

    uint256 public currentState = 1;

    constructor() ERC721A("TownGas", "TG") {}

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

    function mintBatch(address[] calldata senders) public onlyOwner {
        for (uint256 i = 0; i < senders.length; i++) {
            //for loop example
            mint(1, senders[i]);
        }
    }

    function mint(uint256 _mintAmount, address sender)
        public
        onlyOwner
    {
        uint256 supply = totalSupply();
        require(_mintAmount > 0, "need to mint at least 1 NFT");
        require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded");
        require(currentState > 0, "the contract is paused");
        uint256 ownerMintedCount = addressMintedBalance[sender];
        require(ownerMintedCount < 2, "Already have NFT");

        _safeMint(sender, _mintAmount);
        addressMintedBalance[sender] += _mintAmount;
    }

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

        if (revealed == false) {
            return notRevealedUri;
        }

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

    //only owner
    function reveal() public onlyOwner {
        revealed = true;
    }

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

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function pause() public onlyOwner {
        currentState = 0;
    }

    function setPublic() public onlyOwner {
        currentState = 1;
    }

    function withdraw() public payable onlyOwner {
        // This will payout the owner the contract balance.
        // Do not remove this otherwise you will not be able to withdraw the funds.
        // =============================================================================
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
        // =============================================================================
    }
}

File 2 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 3 of 11 : 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 4 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentState","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"sender","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"senders","type":"address[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a90805190602001906200005192919062000235565b50612710600c556000600d60006101000a81548160ff0219169083151502179055506001600f553480156200008557600080fd5b506040518060400160405280600781526020017f546f776e476173000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f544700000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200010a92919062000235565b5080600390805190602001906200012392919062000235565b50620001346200016260201b60201c565b60008190555050506200015c620001506200016760201b60201c565b6200016f60201b60201c565b6200034a565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024390620002e5565b90600052602060002090601f016020900481019282620002675760008555620002b3565b82601f106200028257805160ff1916838001178555620002b3565b82800160010185558215620002b3579182015b82811115620002b257825182559160200191906001019062000295565b5b509050620002c29190620002c6565b5090565b5b80821115620002e1576000816000905550600101620002c7565b5090565b60006002820490506001821680620002fe57607f821691505b602082108114156200031557620003146200031b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613c21806200035a6000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063a475b5dd116100a0578063d5abeb011161006f578063d5abeb0114610692578063da3ef23f146106bd578063e985e9c5146106e6578063f2c4ce1e14610723578063f2fde38b1461074c576101ee565b8063a475b5dd146105ea578063b88d4fde14610601578063c66828621461062a578063c87b56dd14610655576101ee565b8063927f59ba116100dc578063927f59ba1461054457806394bf804d1461056d57806395d89b4114610596578063a22cb465146105c1576101ee565b8063715018a6146104d457806377e56357146104eb5780638456cb59146105025780638da5cb5b14610519576101ee565b806323b872dd1161018557806355f804b31161015457806355f804b3146104065780636352211e1461042f5780636c0360eb1461046c57806370a0823114610497576101ee565b806323b872dd1461037f5780633ccfd60b146103a857806342842e0e146103b257806351830227146103db576101ee565b8063095ea7b3116101c1578063095ea7b3146102c35780630c3f6acf146102ec57806318160ddd1461031757806318cae26914610342576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063081c8c4414610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906130d8565b610775565b60405161022791906134e4565b60405180910390f35b34801561023c57600080fd5b50610245610857565b60405161025291906134ff565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061316b565b6108e9565b60405161028f919061347d565b60405180910390f35b3480156102a457600080fd5b506102ad610965565b6040516102ba91906134ff565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190613057565b6109f3565b005b3480156102f857600080fd5b50610301610afe565b60405161030e9190613601565b60405180910390f35b34801561032357600080fd5b5061032c610b04565b6040516103399190613601565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190612eec565b610b1b565b6040516103769190613601565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612f51565b610b33565b005b6103b0610b43565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612f51565b610c3f565b005b3480156103e757600080fd5b506103f0610c5f565b6040516103fd91906134e4565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061312a565b610c72565b005b34801561043b57600080fd5b506104566004803603810190610451919061316b565b610d08565b604051610463919061347d565b60405180910390f35b34801561047857600080fd5b50610481610d1e565b60405161048e91906134ff565b60405180910390f35b3480156104a357600080fd5b506104be60048036038101906104b99190612eec565b610dac565b6040516104cb9190613601565b60405180910390f35b3480156104e057600080fd5b506104e9610e7c565b005b3480156104f757600080fd5b50610500610f04565b005b34801561050e57600080fd5b50610517610f8a565b005b34801561052557600080fd5b5061052e611010565b60405161053b919061347d565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190613093565b61103a565b005b34801561057957600080fd5b50610594600480360381019061058f9190613194565b611134565b005b3480156105a257600080fd5b506105ab611381565b6040516105b891906134ff565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e3919061301b565b611413565b005b3480156105f657600080fd5b506105ff61158b565b005b34801561060d57600080fd5b5061062860048036038101906106239190612fa0565b611624565b005b34801561063657600080fd5b5061063f6116a0565b60405161064c91906134ff565b60405180910390f35b34801561066157600080fd5b5061067c6004803603810190610677919061316b565b61172e565b60405161068991906134ff565b60405180910390f35b34801561069e57600080fd5b506106a7611887565b6040516106b49190613601565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df919061312a565b61188d565b005b3480156106f257600080fd5b5061070d60048036038101906107089190612f15565b611923565b60405161071a91906134e4565b60405180910390f35b34801561072f57600080fd5b5061074a6004803603810190610745919061312a565b6119b7565b005b34801561075857600080fd5b50610773600480360381019061076e9190612eec565b611a4d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610850575061084f82611b45565b5b9050919050565b60606002805461086690613877565b80601f016020809104026020016040519081016040528092919081815260200182805461089290613877565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050905090565b60006108f482611baf565b61092a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b805461097290613877565b80601f016020809104026020016040519081016040528092919081815260200182805461099e90613877565b80156109eb5780601f106109c0576101008083540402835291602001916109eb565b820191906000526020600020905b8154815290600101906020018083116109ce57829003601f168201915b505050505081565b60006109fe82610d08565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a66576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a85611bfd565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ab75750610ab581610ab0611bfd565b611923565b155b15610aee576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af9838383611c05565b505050565b600f5481565b6000610b0e611cb7565b6001546000540303905090565b600e6020528060005260406000206000915090505481565b610b3e838383611cbc565b505050565b610b4b611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610b69611010565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690613581565b60405180910390fd5b6000610bc9611010565b73ffffffffffffffffffffffffffffffffffffffff1647604051610bec90613468565b60006040518083038185875af1925050503d8060008114610c29576040519150601f19603f3d011682016040523d82523d6000602084013e610c2e565b606091505b5050905080610c3c57600080fd5b50565b610c5a83838360405180602001604052806000815250611624565b505050565b600d60009054906101000a900460ff1681565b610c7a611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610c98611010565b73ffffffffffffffffffffffffffffffffffffffff1614610cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce590613581565b60405180910390fd5b8060099080519060200190610d04929190612c83565b5050565b6000610d1382612172565b600001519050919050565b60098054610d2b90613877565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5790613877565b8015610da45780601f10610d7957610100808354040283529160200191610da4565b820191906000526020600020905b815481529060010190602001808311610d8757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e14576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e84611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610ea2611010565b73ffffffffffffffffffffffffffffffffffffffff1614610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90613581565b60405180910390fd5b610f026000612401565b565b610f0c611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610f2a611010565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790613581565b60405180910390fd5b6001600f81905550565b610f92611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610fb0611010565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613581565b60405180910390fd5b6000600f81905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611042611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611060611010565b73ffffffffffffffffffffffffffffffffffffffff16146110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad90613581565b60405180910390fd5b60005b8282905081101561112f5761111c6001848484818110611102577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906111179190612eec565b611134565b8080611127906138da565b9150506110b9565b505050565b61113c611bfd565b73ffffffffffffffffffffffffffffffffffffffff1661115a611010565b73ffffffffffffffffffffffffffffffffffffffff16146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a790613581565b60405180910390fd5b60006111ba610b04565b9050600083116111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f6906135e1565b60405180910390fd5b600c54838261120e9190613706565b111561124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613561565b60405180910390fd5b6000600f5411611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906135a1565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506002811061131b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131290613541565b60405180910390fd5b61132583856124c7565b83600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113749190613706565b9250508190555050505050565b60606003805461139090613877565b80601f01602080910402602001604051908101604052809291908181526020018280546113bc90613877565b80156114095780601f106113de57610100808354040283529160200191611409565b820191906000526020600020905b8154815290600101906020018083116113ec57829003601f168201915b5050505050905090565b61141b611bfd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611480576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061148d611bfd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661153a611bfd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161157f91906134e4565b60405180910390a35050565b611593611bfd565b73ffffffffffffffffffffffffffffffffffffffff166115b1611010565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90613581565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61162f848484611cbc565b61164e8373ffffffffffffffffffffffffffffffffffffffff166124e5565b80156116635750611661848484846124f8565b155b1561169a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a80546116ad90613877565b80601f01602080910402602001604051908101604052809291908181526020018280546116d990613877565b80156117265780601f106116fb57610100808354040283529160200191611726565b820191906000526020600020905b81548152906001019060200180831161170957829003601f168201915b505050505081565b606061173982611baf565b611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f906135c1565b60405180910390fd5b60001515600d60009054906101000a900460ff161515141561182657600b80546117a190613877565b80601f01602080910402602001604051908101604052809291908181526020018280546117cd90613877565b801561181a5780601f106117ef5761010080835404028352916020019161181a565b820191906000526020600020905b8154815290600101906020018083116117fd57829003601f168201915b50505050509050611882565b6000611830612658565b90506000815111611850576040518060200160405280600081525061187e565b8061185a846126ea565b600a60405160200161186e93929190613437565b6040516020818303038152906040525b9150505b919050565b600c5481565b611895611bfd565b73ffffffffffffffffffffffffffffffffffffffff166118b3611010565b73ffffffffffffffffffffffffffffffffffffffff1614611909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190090613581565b60405180910390fd5b80600a908051906020019061191f929190612c83565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119bf611bfd565b73ffffffffffffffffffffffffffffffffffffffff166119dd611010565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90613581565b60405180910390fd5b80600b9080519060200190611a49929190612c83565b5050565b611a55611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611a73611010565b73ffffffffffffffffffffffffffffffffffffffff1614611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac090613581565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090613521565b60405180910390fd5b611b4281612401565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611bba611cb7565b11158015611bc9575060005482105b8015611bf6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611cc782612172565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d32576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611d53611bfd565b73ffffffffffffffffffffffffffffffffffffffff161480611d825750611d8185611d7c611bfd565b611923565b5b80611dc75750611d90611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611daf846108e9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e00576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e67576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e748585856001612897565b611e8060008487611c05565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121005760005482146120ff57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461216b858585600161289d565b5050505050565b61217a612d09565b600082905080612188611cb7565b11158015612197575060005481105b156123ca576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123c857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122ac5780925050506123fc565b5b6001156123c757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123c25780925050506123fc565b6122ad565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e18282604051806020016040528060008152506128a3565b5050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261251e611bfd565b8786866040518563ffffffff1660e01b81526004016125409493929190613498565b602060405180830381600087803b15801561255a57600080fd5b505af192505050801561258b57506040513d601f19601f820116820180604052508101906125889190613101565b60015b612605573d80600081146125bb576040519150601f19603f3d011682016040523d82523d6000602084013e6125c0565b606091505b506000815114156125fd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461266790613877565b80601f016020809104026020016040519081016040528092919081815260200182805461269390613877565b80156126e05780601f106126b5576101008083540402835291602001916126e0565b820191906000526020600020905b8154815290600101906020018083116126c357829003601f168201915b5050505050905090565b60606000821415612732576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612892565b600082905060005b6000821461276457808061274d906138da565b915050600a8261275d919061375c565b915061273a565b60008167ffffffffffffffff8111156127a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127d85781602001600182028036833780820191505090505b5090505b6000851461288b576001826127f1919061378d565b9150600a856128009190613923565b603061280c9190613706565b60f81b818381518110612848577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612884919061375c565b94506127dc565b8093505050505b919050565b50505050565b50505050565b6128b083838360016128b5565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612922576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561295d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61296a6000868387612897565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612b345750612b338773ffffffffffffffffffffffffffffffffffffffff166124e5565b5b15612bfa575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ba960008884806001019550886124f8565b612bdf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612b3a578260005414612bf557600080fd5b612c66565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612bfb575b816000819055505050612c7c600086838761289d565b5050505050565b828054612c8f90613877565b90600052602060002090601f016020900481019282612cb15760008555612cf8565b82601f10612cca57805160ff1916838001178555612cf8565b82800160010185558215612cf8579182015b82811115612cf7578251825591602001919060010190612cdc565b5b509050612d059190612d4c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612d65576000816000905550600101612d4d565b5090565b6000612d7c612d7784613641565b61361c565b905082815260208101848484011115612d9457600080fd5b612d9f848285613835565b509392505050565b6000612dba612db584613672565b61361c565b905082815260208101848484011115612dd257600080fd5b612ddd848285613835565b509392505050565b600081359050612df481613b8f565b92915050565b60008083601f840112612e0c57600080fd5b8235905067ffffffffffffffff811115612e2557600080fd5b602083019150836020820283011115612e3d57600080fd5b9250929050565b600081359050612e5381613ba6565b92915050565b600081359050612e6881613bbd565b92915050565b600081519050612e7d81613bbd565b92915050565b600082601f830112612e9457600080fd5b8135612ea4848260208601612d69565b91505092915050565b600082601f830112612ebe57600080fd5b8135612ece848260208601612da7565b91505092915050565b600081359050612ee681613bd4565b92915050565b600060208284031215612efe57600080fd5b6000612f0c84828501612de5565b91505092915050565b60008060408385031215612f2857600080fd5b6000612f3685828601612de5565b9250506020612f4785828601612de5565b9150509250929050565b600080600060608486031215612f6657600080fd5b6000612f7486828701612de5565b9350506020612f8586828701612de5565b9250506040612f9686828701612ed7565b9150509250925092565b60008060008060808587031215612fb657600080fd5b6000612fc487828801612de5565b9450506020612fd587828801612de5565b9350506040612fe687828801612ed7565b925050606085013567ffffffffffffffff81111561300357600080fd5b61300f87828801612e83565b91505092959194509250565b6000806040838503121561302e57600080fd5b600061303c85828601612de5565b925050602061304d85828601612e44565b9150509250929050565b6000806040838503121561306a57600080fd5b600061307885828601612de5565b925050602061308985828601612ed7565b9150509250929050565b600080602083850312156130a657600080fd5b600083013567ffffffffffffffff8111156130c057600080fd5b6130cc85828601612dfa565b92509250509250929050565b6000602082840312156130ea57600080fd5b60006130f884828501612e59565b91505092915050565b60006020828403121561311357600080fd5b600061312184828501612e6e565b91505092915050565b60006020828403121561313c57600080fd5b600082013567ffffffffffffffff81111561315657600080fd5b61316284828501612ead565b91505092915050565b60006020828403121561317d57600080fd5b600061318b84828501612ed7565b91505092915050565b600080604083850312156131a757600080fd5b60006131b585828601612ed7565b92505060206131c685828601612de5565b9150509250929050565b6131d9816137c1565b82525050565b6131e8816137d3565b82525050565b60006131f9826136b8565b61320381856136ce565b9350613213818560208601613844565b61321c81613a10565b840191505092915050565b6000613232826136c3565b61323c81856136ea565b935061324c818560208601613844565b61325581613a10565b840191505092915050565b600061326b826136c3565b61327581856136fb565b9350613285818560208601613844565b80840191505092915050565b6000815461329e81613877565b6132a881866136fb565b945060018216600081146132c357600181146132d457613307565b60ff19831686528186019350613307565b6132dd856136a3565b60005b838110156132ff578154818901526001820191506020810190506132e0565b838801955050505b50505092915050565b600061331d6026836136ea565b915061332882613a21565b604082019050919050565b60006133406010836136ea565b915061334b82613a70565b602082019050919050565b60006133636016836136ea565b915061336e82613a99565b602082019050919050565b60006133866020836136ea565b915061339182613ac2565b602082019050919050565b60006133a96016836136ea565b91506133b482613aeb565b602082019050919050565b60006133cc602f836136ea565b91506133d782613b14565b604082019050919050565b60006133ef6000836136df565b91506133fa82613b63565b600082019050919050565b6000613412601b836136ea565b915061341d82613b66565b602082019050919050565b6134318161382b565b82525050565b60006134438286613260565b915061344f8285613260565b915061345b8284613291565b9150819050949350505050565b6000613473826133e2565b9150819050919050565b600060208201905061349260008301846131d0565b92915050565b60006080820190506134ad60008301876131d0565b6134ba60208301866131d0565b6134c76040830185613428565b81810360608301526134d981846131ee565b905095945050505050565b60006020820190506134f960008301846131df565b92915050565b600060208201905081810360008301526135198184613227565b905092915050565b6000602082019050818103600083015261353a81613310565b9050919050565b6000602082019050818103600083015261355a81613333565b9050919050565b6000602082019050818103600083015261357a81613356565b9050919050565b6000602082019050818103600083015261359a81613379565b9050919050565b600060208201905081810360008301526135ba8161339c565b9050919050565b600060208201905081810360008301526135da816133bf565b9050919050565b600060208201905081810360008301526135fa81613405565b9050919050565b60006020820190506136166000830184613428565b92915050565b6000613626613637565b905061363282826138a9565b919050565b6000604051905090565b600067ffffffffffffffff82111561365c5761365b6139e1565b5b61366582613a10565b9050602081019050919050565b600067ffffffffffffffff82111561368d5761368c6139e1565b5b61369682613a10565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137118261382b565b915061371c8361382b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561375157613750613954565b5b828201905092915050565b60006137678261382b565b91506137728361382b565b92508261378257613781613983565b5b828204905092915050565b60006137988261382b565b91506137a38361382b565b9250828210156137b6576137b5613954565b5b828203905092915050565b60006137cc8261380b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613862578082015181840152602081019050613847565b83811115613871576000848401525b50505050565b6000600282049050600182168061388f57607f821691505b602082108114156138a3576138a26139b2565b5b50919050565b6138b282613a10565b810181811067ffffffffffffffff821117156138d1576138d06139e1565b5b80604052505050565b60006138e58261382b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561391857613917613954565b5b600182019050919050565b600061392e8261382b565b91506139398361382b565b92508261394957613948613983565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c72656164792068617665204e465400000000000000000000000000000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b613b98816137c1565b8114613ba357600080fd5b50565b613baf816137d3565b8114613bba57600080fd5b50565b613bc6816137df565b8114613bd157600080fd5b50565b613bdd8161382b565b8114613be857600080fd5b5056fea264697066735822122001a4409ce6fe522989e8b2feff9e5348a81a6bb67beac2b3c2a81210af81980064736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063a475b5dd116100a0578063d5abeb011161006f578063d5abeb0114610692578063da3ef23f146106bd578063e985e9c5146106e6578063f2c4ce1e14610723578063f2fde38b1461074c576101ee565b8063a475b5dd146105ea578063b88d4fde14610601578063c66828621461062a578063c87b56dd14610655576101ee565b8063927f59ba116100dc578063927f59ba1461054457806394bf804d1461056d57806395d89b4114610596578063a22cb465146105c1576101ee565b8063715018a6146104d457806377e56357146104eb5780638456cb59146105025780638da5cb5b14610519576101ee565b806323b872dd1161018557806355f804b31161015457806355f804b3146104065780636352211e1461042f5780636c0360eb1461046c57806370a0823114610497576101ee565b806323b872dd1461037f5780633ccfd60b146103a857806342842e0e146103b257806351830227146103db576101ee565b8063095ea7b3116101c1578063095ea7b3146102c35780630c3f6acf146102ec57806318160ddd1461031757806318cae26914610342576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063081c8c4414610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906130d8565b610775565b60405161022791906134e4565b60405180910390f35b34801561023c57600080fd5b50610245610857565b60405161025291906134ff565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061316b565b6108e9565b60405161028f919061347d565b60405180910390f35b3480156102a457600080fd5b506102ad610965565b6040516102ba91906134ff565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190613057565b6109f3565b005b3480156102f857600080fd5b50610301610afe565b60405161030e9190613601565b60405180910390f35b34801561032357600080fd5b5061032c610b04565b6040516103399190613601565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190612eec565b610b1b565b6040516103769190613601565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612f51565b610b33565b005b6103b0610b43565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612f51565b610c3f565b005b3480156103e757600080fd5b506103f0610c5f565b6040516103fd91906134e4565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061312a565b610c72565b005b34801561043b57600080fd5b506104566004803603810190610451919061316b565b610d08565b604051610463919061347d565b60405180910390f35b34801561047857600080fd5b50610481610d1e565b60405161048e91906134ff565b60405180910390f35b3480156104a357600080fd5b506104be60048036038101906104b99190612eec565b610dac565b6040516104cb9190613601565b60405180910390f35b3480156104e057600080fd5b506104e9610e7c565b005b3480156104f757600080fd5b50610500610f04565b005b34801561050e57600080fd5b50610517610f8a565b005b34801561052557600080fd5b5061052e611010565b60405161053b919061347d565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190613093565b61103a565b005b34801561057957600080fd5b50610594600480360381019061058f9190613194565b611134565b005b3480156105a257600080fd5b506105ab611381565b6040516105b891906134ff565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e3919061301b565b611413565b005b3480156105f657600080fd5b506105ff61158b565b005b34801561060d57600080fd5b5061062860048036038101906106239190612fa0565b611624565b005b34801561063657600080fd5b5061063f6116a0565b60405161064c91906134ff565b60405180910390f35b34801561066157600080fd5b5061067c6004803603810190610677919061316b565b61172e565b60405161068991906134ff565b60405180910390f35b34801561069e57600080fd5b506106a7611887565b6040516106b49190613601565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df919061312a565b61188d565b005b3480156106f257600080fd5b5061070d60048036038101906107089190612f15565b611923565b60405161071a91906134e4565b60405180910390f35b34801561072f57600080fd5b5061074a6004803603810190610745919061312a565b6119b7565b005b34801561075857600080fd5b50610773600480360381019061076e9190612eec565b611a4d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610850575061084f82611b45565b5b9050919050565b60606002805461086690613877565b80601f016020809104026020016040519081016040528092919081815260200182805461089290613877565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b5050505050905090565b60006108f482611baf565b61092a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b805461097290613877565b80601f016020809104026020016040519081016040528092919081815260200182805461099e90613877565b80156109eb5780601f106109c0576101008083540402835291602001916109eb565b820191906000526020600020905b8154815290600101906020018083116109ce57829003601f168201915b505050505081565b60006109fe82610d08565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a66576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a85611bfd565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ab75750610ab581610ab0611bfd565b611923565b155b15610aee576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af9838383611c05565b505050565b600f5481565b6000610b0e611cb7565b6001546000540303905090565b600e6020528060005260406000206000915090505481565b610b3e838383611cbc565b505050565b610b4b611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610b69611010565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690613581565b60405180910390fd5b6000610bc9611010565b73ffffffffffffffffffffffffffffffffffffffff1647604051610bec90613468565b60006040518083038185875af1925050503d8060008114610c29576040519150601f19603f3d011682016040523d82523d6000602084013e610c2e565b606091505b5050905080610c3c57600080fd5b50565b610c5a83838360405180602001604052806000815250611624565b505050565b600d60009054906101000a900460ff1681565b610c7a611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610c98611010565b73ffffffffffffffffffffffffffffffffffffffff1614610cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce590613581565b60405180910390fd5b8060099080519060200190610d04929190612c83565b5050565b6000610d1382612172565b600001519050919050565b60098054610d2b90613877565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5790613877565b8015610da45780601f10610d7957610100808354040283529160200191610da4565b820191906000526020600020905b815481529060010190602001808311610d8757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e14576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e84611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610ea2611010565b73ffffffffffffffffffffffffffffffffffffffff1614610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90613581565b60405180910390fd5b610f026000612401565b565b610f0c611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610f2a611010565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790613581565b60405180910390fd5b6001600f81905550565b610f92611bfd565b73ffffffffffffffffffffffffffffffffffffffff16610fb0611010565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613581565b60405180910390fd5b6000600f81905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611042611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611060611010565b73ffffffffffffffffffffffffffffffffffffffff16146110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad90613581565b60405180910390fd5b60005b8282905081101561112f5761111c6001848484818110611102577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906111179190612eec565b611134565b8080611127906138da565b9150506110b9565b505050565b61113c611bfd565b73ffffffffffffffffffffffffffffffffffffffff1661115a611010565b73ffffffffffffffffffffffffffffffffffffffff16146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a790613581565b60405180910390fd5b60006111ba610b04565b9050600083116111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f6906135e1565b60405180910390fd5b600c54838261120e9190613706565b111561124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613561565b60405180910390fd5b6000600f5411611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906135a1565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506002811061131b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131290613541565b60405180910390fd5b61132583856124c7565b83600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113749190613706565b9250508190555050505050565b60606003805461139090613877565b80601f01602080910402602001604051908101604052809291908181526020018280546113bc90613877565b80156114095780601f106113de57610100808354040283529160200191611409565b820191906000526020600020905b8154815290600101906020018083116113ec57829003601f168201915b5050505050905090565b61141b611bfd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611480576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061148d611bfd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661153a611bfd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161157f91906134e4565b60405180910390a35050565b611593611bfd565b73ffffffffffffffffffffffffffffffffffffffff166115b1611010565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90613581565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61162f848484611cbc565b61164e8373ffffffffffffffffffffffffffffffffffffffff166124e5565b80156116635750611661848484846124f8565b155b1561169a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a80546116ad90613877565b80601f01602080910402602001604051908101604052809291908181526020018280546116d990613877565b80156117265780601f106116fb57610100808354040283529160200191611726565b820191906000526020600020905b81548152906001019060200180831161170957829003601f168201915b505050505081565b606061173982611baf565b611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f906135c1565b60405180910390fd5b60001515600d60009054906101000a900460ff161515141561182657600b80546117a190613877565b80601f01602080910402602001604051908101604052809291908181526020018280546117cd90613877565b801561181a5780601f106117ef5761010080835404028352916020019161181a565b820191906000526020600020905b8154815290600101906020018083116117fd57829003601f168201915b50505050509050611882565b6000611830612658565b90506000815111611850576040518060200160405280600081525061187e565b8061185a846126ea565b600a60405160200161186e93929190613437565b6040516020818303038152906040525b9150505b919050565b600c5481565b611895611bfd565b73ffffffffffffffffffffffffffffffffffffffff166118b3611010565b73ffffffffffffffffffffffffffffffffffffffff1614611909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190090613581565b60405180910390fd5b80600a908051906020019061191f929190612c83565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119bf611bfd565b73ffffffffffffffffffffffffffffffffffffffff166119dd611010565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90613581565b60405180910390fd5b80600b9080519060200190611a49929190612c83565b5050565b611a55611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611a73611010565b73ffffffffffffffffffffffffffffffffffffffff1614611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac090613581565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090613521565b60405180910390fd5b611b4281612401565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611bba611cb7565b11158015611bc9575060005482105b8015611bf6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611cc782612172565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d32576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611d53611bfd565b73ffffffffffffffffffffffffffffffffffffffff161480611d825750611d8185611d7c611bfd565b611923565b5b80611dc75750611d90611bfd565b73ffffffffffffffffffffffffffffffffffffffff16611daf846108e9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e00576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e67576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e748585856001612897565b611e8060008487611c05565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121005760005482146120ff57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461216b858585600161289d565b5050505050565b61217a612d09565b600082905080612188611cb7565b11158015612197575060005481105b156123ca576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516123c857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122ac5780925050506123fc565b5b6001156123c757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123c25780925050506123fc565b6122ad565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e18282604051806020016040528060008152506128a3565b5050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261251e611bfd565b8786866040518563ffffffff1660e01b81526004016125409493929190613498565b602060405180830381600087803b15801561255a57600080fd5b505af192505050801561258b57506040513d601f19601f820116820180604052508101906125889190613101565b60015b612605573d80600081146125bb576040519150601f19603f3d011682016040523d82523d6000602084013e6125c0565b606091505b506000815114156125fd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461266790613877565b80601f016020809104026020016040519081016040528092919081815260200182805461269390613877565b80156126e05780601f106126b5576101008083540402835291602001916126e0565b820191906000526020600020905b8154815290600101906020018083116126c357829003601f168201915b5050505050905090565b60606000821415612732576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612892565b600082905060005b6000821461276457808061274d906138da565b915050600a8261275d919061375c565b915061273a565b60008167ffffffffffffffff8111156127a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127d85781602001600182028036833780820191505090505b5090505b6000851461288b576001826127f1919061378d565b9150600a856128009190613923565b603061280c9190613706565b60f81b818381518110612848577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612884919061375c565b94506127dc565b8093505050505b919050565b50505050565b50505050565b6128b083838360016128b5565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612922576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561295d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61296a6000868387612897565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612b345750612b338773ffffffffffffffffffffffffffffffffffffffff166124e5565b5b15612bfa575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ba960008884806001019550886124f8565b612bdf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612b3a578260005414612bf557600080fd5b612c66565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612bfb575b816000819055505050612c7c600086838761289d565b5050505050565b828054612c8f90613877565b90600052602060002090601f016020900481019282612cb15760008555612cf8565b82601f10612cca57805160ff1916838001178555612cf8565b82800160010185558215612cf8579182015b82811115612cf7578251825591602001919060010190612cdc565b5b509050612d059190612d4c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612d65576000816000905550600101612d4d565b5090565b6000612d7c612d7784613641565b61361c565b905082815260208101848484011115612d9457600080fd5b612d9f848285613835565b509392505050565b6000612dba612db584613672565b61361c565b905082815260208101848484011115612dd257600080fd5b612ddd848285613835565b509392505050565b600081359050612df481613b8f565b92915050565b60008083601f840112612e0c57600080fd5b8235905067ffffffffffffffff811115612e2557600080fd5b602083019150836020820283011115612e3d57600080fd5b9250929050565b600081359050612e5381613ba6565b92915050565b600081359050612e6881613bbd565b92915050565b600081519050612e7d81613bbd565b92915050565b600082601f830112612e9457600080fd5b8135612ea4848260208601612d69565b91505092915050565b600082601f830112612ebe57600080fd5b8135612ece848260208601612da7565b91505092915050565b600081359050612ee681613bd4565b92915050565b600060208284031215612efe57600080fd5b6000612f0c84828501612de5565b91505092915050565b60008060408385031215612f2857600080fd5b6000612f3685828601612de5565b9250506020612f4785828601612de5565b9150509250929050565b600080600060608486031215612f6657600080fd5b6000612f7486828701612de5565b9350506020612f8586828701612de5565b9250506040612f9686828701612ed7565b9150509250925092565b60008060008060808587031215612fb657600080fd5b6000612fc487828801612de5565b9450506020612fd587828801612de5565b9350506040612fe687828801612ed7565b925050606085013567ffffffffffffffff81111561300357600080fd5b61300f87828801612e83565b91505092959194509250565b6000806040838503121561302e57600080fd5b600061303c85828601612de5565b925050602061304d85828601612e44565b9150509250929050565b6000806040838503121561306a57600080fd5b600061307885828601612de5565b925050602061308985828601612ed7565b9150509250929050565b600080602083850312156130a657600080fd5b600083013567ffffffffffffffff8111156130c057600080fd5b6130cc85828601612dfa565b92509250509250929050565b6000602082840312156130ea57600080fd5b60006130f884828501612e59565b91505092915050565b60006020828403121561311357600080fd5b600061312184828501612e6e565b91505092915050565b60006020828403121561313c57600080fd5b600082013567ffffffffffffffff81111561315657600080fd5b61316284828501612ead565b91505092915050565b60006020828403121561317d57600080fd5b600061318b84828501612ed7565b91505092915050565b600080604083850312156131a757600080fd5b60006131b585828601612ed7565b92505060206131c685828601612de5565b9150509250929050565b6131d9816137c1565b82525050565b6131e8816137d3565b82525050565b60006131f9826136b8565b61320381856136ce565b9350613213818560208601613844565b61321c81613a10565b840191505092915050565b6000613232826136c3565b61323c81856136ea565b935061324c818560208601613844565b61325581613a10565b840191505092915050565b600061326b826136c3565b61327581856136fb565b9350613285818560208601613844565b80840191505092915050565b6000815461329e81613877565b6132a881866136fb565b945060018216600081146132c357600181146132d457613307565b60ff19831686528186019350613307565b6132dd856136a3565b60005b838110156132ff578154818901526001820191506020810190506132e0565b838801955050505b50505092915050565b600061331d6026836136ea565b915061332882613a21565b604082019050919050565b60006133406010836136ea565b915061334b82613a70565b602082019050919050565b60006133636016836136ea565b915061336e82613a99565b602082019050919050565b60006133866020836136ea565b915061339182613ac2565b602082019050919050565b60006133a96016836136ea565b91506133b482613aeb565b602082019050919050565b60006133cc602f836136ea565b91506133d782613b14565b604082019050919050565b60006133ef6000836136df565b91506133fa82613b63565b600082019050919050565b6000613412601b836136ea565b915061341d82613b66565b602082019050919050565b6134318161382b565b82525050565b60006134438286613260565b915061344f8285613260565b915061345b8284613291565b9150819050949350505050565b6000613473826133e2565b9150819050919050565b600060208201905061349260008301846131d0565b92915050565b60006080820190506134ad60008301876131d0565b6134ba60208301866131d0565b6134c76040830185613428565b81810360608301526134d981846131ee565b905095945050505050565b60006020820190506134f960008301846131df565b92915050565b600060208201905081810360008301526135198184613227565b905092915050565b6000602082019050818103600083015261353a81613310565b9050919050565b6000602082019050818103600083015261355a81613333565b9050919050565b6000602082019050818103600083015261357a81613356565b9050919050565b6000602082019050818103600083015261359a81613379565b9050919050565b600060208201905081810360008301526135ba8161339c565b9050919050565b600060208201905081810360008301526135da816133bf565b9050919050565b600060208201905081810360008301526135fa81613405565b9050919050565b60006020820190506136166000830184613428565b92915050565b6000613626613637565b905061363282826138a9565b919050565b6000604051905090565b600067ffffffffffffffff82111561365c5761365b6139e1565b5b61366582613a10565b9050602081019050919050565b600067ffffffffffffffff82111561368d5761368c6139e1565b5b61369682613a10565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006137118261382b565b915061371c8361382b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561375157613750613954565b5b828201905092915050565b60006137678261382b565b91506137728361382b565b92508261378257613781613983565b5b828204905092915050565b60006137988261382b565b91506137a38361382b565b9250828210156137b6576137b5613954565b5b828203905092915050565b60006137cc8261380b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613862578082015181840152602081019050613847565b83811115613871576000848401525b50505050565b6000600282049050600182168061388f57607f821691505b602082108114156138a3576138a26139b2565b5b50919050565b6138b282613a10565b810181811067ffffffffffffffff821117156138d1576138d06139e1565b5b80604052505050565b60006138e58261382b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561391857613917613954565b5b600182019050919050565b600061392e8261382b565b91506139398361382b565b92508261394957613948613983565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c72656164792068617665204e465400000000000000000000000000000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b613b98816137c1565b8114613ba357600080fd5b50565b613baf816137d3565b8114613bba57600080fd5b50565b613bc6816137df565b8114613bd157600080fd5b50565b613bdd8161382b565b8114613be857600080fd5b5056fea264697066735822122001a4409ce6fe522989e8b2feff9e5348a81a6bb67beac2b3c2a81210af81980064736f6c63430008040033

[ 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.