ETH Price: $2,975.97 (+2.60%)
Gas: 1 Gwei

Token

BEEBLE WORLD (BEEBLEWORLD)
 

Overview

Max Total Supply

555 BEEBLEWORLD

Holders

283

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
goochy.eth
Balance
1 BEEBLEWORLD
0xf3d7076f487754e11ba16270644dc1e8a1c09227
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Grow a baby in your wallet > Make more babies > Die > Become an angel > Share BEEBLE revenue > Repeat.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BEEBLEWORLD

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/[email protected]/utils/cryptography/MerkleProof.sol";


contract BEEBLEWORLD is ERC721A, Ownable {
    using Strings for uint256;
    uint256 public constant maxSupply = 555;
    uint256 public cost = 0.08 ether;
    uint256 public WLcost = 0.1 ether;
    uint256 public pubCost = 0.2 ether;
    uint256 public holderQ;
    bytes32 private merkleRoot;
    bytes32 private merkleRoot2;
    bool public holderSaleActive;
    bool public pubActive;
    string private baseURI;
    bool public appendedID;
    mapping(address => uint256) public holderFreeMintAmount;
    mapping(address => uint256) public holderPaidMintAmount;
    mapping(address => uint256) public whitelistPaidClaimed;
    mapping(address => uint256) public pubPaidMintAmount;

    constructor() ERC721A("BEEBLE WORLD", "BEEBLEWORLD") {
    }

    function mintFreeHolder(uint256 _quantity, bytes32[] memory _merkleProof) external payable {
        require(_quantity > 0);
        uint256 supply = totalSupply();
        holderQ = getHolderWL(msg.sender);
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');
        require(supply + _quantity <= maxSupply, "Cant go over supply");
        require(holderSaleActive, "HOLDERSALE_INACTIVE");
        require(holderFreeMintAmount[msg.sender] + _quantity <= holderQ, "HOLDERSALEFREE_MAXED");
        unchecked {
            holderFreeMintAmount[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
    }

    function mintPaidHolder(uint256 _quantity, bytes32[] memory _merkleProof) external payable {
        require(_quantity > 0);
        uint256 supply = totalSupply();
        holderQ = getHolderWL(msg.sender);
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');
        require(supply + _quantity <= maxSupply, "Cant go over supply");
        require(pubActive, "HOLDERSALE_INACTIVE");
        require(holderPaidMintAmount[msg.sender] + _quantity <= holderQ, "HOLDERSALEPAID_MAXED");
        require(msg.value >= cost * _quantity, "INCORRECT_ETH");
        unchecked {
            holderPaidMintAmount[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
    }

    function mintPaidWL(uint256 _quantity, bytes32[] memory _merkleProof) public payable {
        require(_quantity > 0);
        require(pubActive, "PUBLICSALE_INACTIVE");
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_merkleProof, merkleRoot2, leaf), 'Invalid proof!');
        holderQ = getHolderWL(msg.sender);
        require(holderQ == 0);
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Cant go over supply");
        require(msg.value >= WLcost * _quantity);
        require(whitelistPaidClaimed[msg.sender] + _quantity <= 2, "WLPAID_MAXED");
        unchecked {
            whitelistPaidClaimed[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
        delete s;
    }


    function mintPaidPublic(uint256 _quantity) external payable {
        require(_quantity > 0);
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Cant go over supply");
        require(pubActive, "PUBLIC_INACTIVE");
        require(msg.value >= pubCost * _quantity, "INCORRECT_ETH");
        require(pubPaidMintAmount[msg.sender] + _quantity <= 2, "PUBLICPAID_MAXED");
        unchecked {
            pubPaidMintAmount[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
    }

    function treasuryMint(address _account, uint256 _quantity)
        external
        onlyOwner
    {
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Over Supply");
        require(_quantity > 0, "QUANTITY_INVALID");
        _safeMint(_account, _quantity);
    }

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

    function setMerkleRootWL(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot2 = _merkleRoot;
    }

    function setHolderCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setWLCost(uint256 _newCost) public onlyOwner {
        WLcost = _newCost;
    }

    function setPubCost(uint256 _newCost) public onlyOwner {
        pubCost = _newCost;
    }

    function activateHolderSale() external onlyOwner {
        !holderSaleActive ? holderSaleActive = true : holderSaleActive = false;
    }

    function activatePublicSale() external onlyOwner {
        !pubActive ? pubActive = true : pubActive = false;
    }

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

    function setBaseURI(string calldata _baseURI, bool appendID) external onlyOwner {
        if (!appendedID && appendID) appendedID = appendID; 
        baseURI = _baseURI;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_tokenId), "Cannot query non-existent token");
        if (appendedID) {
        return string(abi.encodePacked(baseURI, _tokenId.toString()));
        } else {
            return baseURI;
        }
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }

    function withdrawAny(uint256 _amount) public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: _amount}("");
        require(success);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    function getHolderWL(address owner) public view returns (uint256) {
       uint256 holderWL;
       uint256 hellfire = IERC721(0x39d1cE0ed423C56c262ef025e0619E91ae31e8B7).balanceOf(owner);
       uint256 heaven = IERC721(0x90702Bd8f020De7d5C1FF6730Ac9582741B9155a).balanceOf(owner);
       uint256 genesis = IERC721(0x6FEFb647395e680339bADC84dC774E3CA8bCA7B9).balanceOf(owner);
       uint256[3] memory data;
       data = [hellfire,heaven,genesis];
       uint minimal = data[0];
        for(uint i;i < data.length;i++){
            if(data[i] < minimal){
                minimal = data[i];
            }
        }
       holderWL = minimal;
       return holderWL;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"WLcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateHolderSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activatePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"appendedID","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"cost","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"}],"name":"getHolderWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderFreeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderPaidMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintFreeHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPaidHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintPaidPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPaidWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pubPaidMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bool","name":"appendID","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setHolderCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPubCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setWLCost","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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistPaidClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAny","outputs":[],"stateMutability":"payable","type":"function"}]

608060405267011c37937e08000060095567016345785d8a0000600a556702c68af0bb140000600b553480156200003557600080fd5b506040518060400160405280600c81526020017f424545424c4520574f524c4400000000000000000000000000000000000000008152506040518060400160405280600b81526020017f424545424c45574f524c440000000000000000000000000000000000000000008152508160029080519060200190620000ba929190620001e5565b508060039080519060200190620000d3929190620001e5565b50620000e46200011260201b60201c565b60008190555050506200010c620001006200011760201b60201c565b6200011f60201b60201c565b620002fa565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f390620002c4565b90600052602060002090601f01602090048101928262000217576000855562000263565b82601f106200023257805160ff191683800117855562000263565b8280016001018555821562000263579182015b828111156200026257825182559160200191906001019062000245565b5b50905062000272919062000276565b5090565b5b808211156200029157600081600090555060010162000277565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002dd57607f821691505b60208210811415620002f457620002f362000295565b5b50919050565b6149ed806200030a6000396000f3fe60806040526004361061027d5760003560e01c80638da5cb5b1161014f578063bf41b4a7116100c1578063e985e9c51161007a578063e985e9c51461093d578063eaba90581461097a578063ee2944da146109b7578063f183f2f3146109e2578063f2fde38b146109fe578063fd8b262d14610a275761027d565b8063bf41b4a714610828578063c87b56dd14610853578063d03cad1514610890578063d1d19213146108ac578063d5abeb01146108d5578063dc33e681146109005761027d565b8063aa35cca311610113578063aa35cca31461072b578063aac80dd914610754578063ad3e31b714610791578063b3b1cc7a146107ba578063b64b21ca146107d6578063b88d4fde146107ff5761027d565b80638da5cb5b1461065857806390f6f7281461068357806394593765146106ac57806395d89b41146106d7578063a22cb465146107025761027d565b806323b872dd116101f357806370a08231116101ac57806370a0823114610566578063715018a6146105a35780637661bc05146105ba57806377ad99f0146105d65780637cb64759146105f25780638a9019f01461061b5761027d565b806323b872dd1461048b57806338c30305146104b45780633ccfd60b146104cb57806342842e0e146104d557806352417630146104fe5780636352211e146105295761027d565b8063095ea7b311610245578063095ea7b31461038d57806311eb3047146103b657806313faede6146103cd578063146f14cb146103f857806318160ddd1461043557806322515b77146104605761027d565b806301ffc9a714610282578063030efb8f146102bf57806306fdde03146102e85780630714b54514610313578063081812fc14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613665565b610a52565b6040516102b691906136ad565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e191906136fe565b610b34565b005b3480156102f457600080fd5b506102fd610b46565b60405161030a91906137c4565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613844565b610bd8565b6040516103479190613880565b60405180910390f35b34801561035c57600080fd5b50610377600480360381019061037291906136fe565b610bf0565b60405161038491906138aa565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af91906138c5565b610c6c565b005b3480156103c257600080fd5b506103cb610d77565b005b3480156103d957600080fd5b506103e2610dd1565b6040516103ef9190613880565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190613844565b610dd7565b60405161042c9190613880565b60405180910390f35b34801561044157600080fd5b5061044a610def565b6040516104579190613880565b60405180910390f35b34801561046c57600080fd5b50610475610e06565b6040516104829190613880565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613905565b610e0c565b005b3480156104c057600080fd5b506104c9610e1c565b005b6104d3610e76565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613905565b610ef7565b005b34801561050a57600080fd5b50610513610f17565b6040516105209190613880565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b91906136fe565b610f1d565b60405161055d91906138aa565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613844565b610f33565b60405161059a9190613880565b60405180910390f35b3480156105af57600080fd5b506105b8611003565b005b6105d460048036038101906105cf9190613ad6565b611017565b005b6105f060048036038101906105eb91906136fe565b611274565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613b32565b6112f6565b005b34801561062757600080fd5b50610642600480360381019061063d9190613844565b611308565b60405161064f9190613880565b60405180910390f35b34801561066457600080fd5b5061066d61159b565b60405161067a91906138aa565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a591906136fe565b6115c5565b005b3480156106b857600080fd5b506106c16115d7565b6040516106ce91906136ad565b60405180910390f35b3480156106e357600080fd5b506106ec6115ea565b6040516106f991906137c4565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613b8b565b61167c565b005b34801561073757600080fd5b50610752600480360381019061074d91906138c5565b6117f4565b005b34801561076057600080fd5b5061077b60048036038101906107769190613844565b6118aa565b6040516107889190613880565b60405180910390f35b34801561079d57600080fd5b506107b860048036038101906107b39190613b32565b6118c2565b005b6107d460048036038101906107cf9190613ad6565b6118d4565b005b3480156107e257600080fd5b506107fd60048036038101906107f89190613c26565b611b55565b005b34801561080b57600080fd5b5061082660048036038101906108219190613d3b565b611bae565b005b34801561083457600080fd5b5061083d611c2a565b60405161084a9190613880565b60405180910390f35b34801561085f57600080fd5b5061087a600480360381019061087591906136fe565b611c30565b60405161088791906137c4565b60405180910390f35b6108aa60048036038101906108a59190613ad6565b611d54565b005b3480156108b857600080fd5b506108d360048036038101906108ce91906136fe565b611f85565b005b3480156108e157600080fd5b506108ea611f97565b6040516108f79190613880565b60405180910390f35b34801561090c57600080fd5b5061092760048036038101906109229190613844565b611f9d565b6040516109349190613880565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613dbe565b611faf565b60405161097191906136ad565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c9190613844565b612043565b6040516109ae9190613880565b60405180910390f35b3480156109c357600080fd5b506109cc61205b565b6040516109d991906136ad565b60405180910390f35b6109fc60048036038101906109f791906136fe565b61206e565b005b348015610a0a57600080fd5b50610a256004803603810190610a209190613844565b61225f565b005b348015610a3357600080fd5b50610a3c6122e3565b604051610a4991906136ad565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2d5750610b2c826122f6565b5b9050919050565b610b3c612360565b8060098190555050565b606060028054610b5590613e2d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8190613e2d565b8015610bce5780601f10610ba357610100808354040283529160200191610bce565b820191906000526020600020905b815481529060010190602001808311610bb157829003601f168201915b5050505050905090565b60136020528060005260406000206000915090505481565b6000610bfb826123de565b610c31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7782610f1d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfe61242c565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d305750610d2e81610d2961242c565b611faf565b155b15610d67576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d72838383612434565b505050565b610d7f612360565b600f60019054906101000a900460ff1615610db3576000600f60016101000a81548160ff0219169083151502179055610dce565b6001600f60016101000a81548160ff02191690831515021790555b50565b60095481565b60146020528060005260406000206000915090505481565b6000610df96124e6565b6001546000540303905090565b600b5481565b610e178383836124eb565b505050565b610e24612360565b600f60009054906101000a900460ff1615610e58576000600f60006101000a81548160ff0219169083151502179055610e73565b6001600f60006101000a81548160ff02191690831515021790555b50565b610e7e612360565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea490613e90565b60006040518083038185875af1925050503d8060008114610ee1576040519150601f19603f3d011682016040523d82523d6000602084013e610ee6565b606091505b5050905080610ef457600080fd5b50565b610f1283838360405180602001604052806000815250611bae565b505050565b600a5481565b6000610f28826129a1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f9b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61100b612360565b6110156000612c30565b565b6000821161102457600080fd5b600f60019054906101000a900460ff16611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90613ef1565b60405180910390fd5b600061107d61242c565b60405160200161108d9190613f59565b6040516020818303038152906040528051906020012090506110b282600e5483612cf6565b6110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890613fc0565b60405180910390fd5b6110fa33611308565b600c819055506000600c541461110f57600080fd5b6000611119610def565b905061022b848261112a919061400f565b111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906140b1565b60405180910390fd5b83600a5461117991906140d1565b34101561118557600080fd5b600284601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d2919061400f565b1115611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614177565b60405180910390fd5b83601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061126a3385612d0d565b6000905050505050565b61127c612360565b60003373ffffffffffffffffffffffffffffffffffffffff16826040516112a290613e90565b60006040518083038185875af1925050503d80600081146112df576040519150601f19603f3d011682016040523d82523d6000602084013e6112e4565b606091505b50509050806112f257600080fd5b5050565b6112fe612360565b80600d8190555050565b60008060007339d1ce0ed423c56c262ef025e0619e91ae31e8b773ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161135a91906138aa565b60206040518083038186803b15801561137257600080fd5b505afa158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa91906141ac565b905060007390702bd8f020de7d5c1ff6730ac9582741b9155a73ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016113fb91906138aa565b60206040518083038186803b15801561141357600080fd5b505afa158015611427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144b91906141ac565b90506000736fefb647395e680339badc84dc774e3ca8bca7b973ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b815260040161149c91906138aa565b60206040518083038186803b1580156114b457600080fd5b505afa1580156114c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ec91906141ac565b90506114f66134f1565b6040518060600160405280858152602001848152602001838152509050600081600060038110611529576115286141d9565b5b6020020151905060005b600381101561158957818382600381106115505761154f6141d9565b5b602002015110156115765782816003811061156e5761156d6141d9565b5b602002015191505b808061158190614208565b915050611533565b50809550859650505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115cd612360565b80600b8190555050565b601160009054906101000a900460ff1681565b6060600380546115f990613e2d565b80601f016020809104026020016040519081016040528092919081815260200182805461162590613e2d565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b5050505050905090565b61168461242c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116f661242c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117a361242c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117e891906136ad565b60405180910390a35050565b6117fc612360565b6000611806610def565b905061022b8282611817919061400f565b1115611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f9061429d565b60405180910390fd5b6000821161189b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189290614309565b60405180910390fd5b6118a58383612d0d565b505050565b60126020528060005260406000206000915090505481565b6118ca612360565b80600e8190555050565b600082116118e157600080fd5b60006118eb610def565b90506118f633611308565b600c81905550600061190661242c565b6040516020016119169190613f59565b60405160208183030381529060405280519060200120905061193b83600d5483612cf6565b61197a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197190613fc0565b60405180910390fd5b61022b8483611989919061400f565b11156119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c1906140b1565b60405180910390fd5b600f60019054906101000a900460ff16611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090614375565b60405180910390fd5b600c5484601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a67919061400f565b1115611aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9f906143e1565b60405180910390fd5b83600954611ab691906140d1565b341015611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef9061444d565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b4f3385612d0d565b50505050565b611b5d612360565b601160009054906101000a900460ff16158015611b775750805b15611b975780601160006101000a81548160ff0219169083151502179055505b828260109190611ba8929190613513565b50505050565b611bb98484846124eb565b611bd88373ffffffffffffffffffffffffffffffffffffffff16612d2b565b8015611bed5750611beb84848484612d4e565b155b15611c24576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600c5481565b6060611c3b826123de565b611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c71906144b9565b60405180910390fd5b601160009054906101000a900460ff1615611cc1576010611c9a83612eae565b604051602001611cab9291906145a9565b6040516020818303038152906040529050611d4f565b60108054611cce90613e2d565b80601f0160208091040260200160405190810160405280929190818152602001828054611cfa90613e2d565b8015611d475780601f10611d1c57610100808354040283529160200191611d47565b820191906000526020600020905b815481529060010190602001808311611d2a57829003601f168201915b505050505090505b919050565b60008211611d6157600080fd5b6000611d6b610def565b9050611d7633611308565b600c819055506000611d8661242c565b604051602001611d969190613f59565b604051602081830303815290604052805190602001209050611dbb83600d5483612cf6565b611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190613fc0565b60405180910390fd5b61022b8483611e09919061400f565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e41906140b1565b60405180910390fd5b600f60009054906101000a900460ff16611e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9090614375565b60405180910390fd5b600c5484601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ee7919061400f565b1115611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90614619565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611f7f3385612d0d565b50505050565b611f8d612360565b80600a8190555050565b61022b81565b6000611fa88261300f565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60156020528060005260406000206000915090505481565b600f60019054906101000a900460ff1681565b6000811161207b57600080fd5b6000612085610def565b905061022b8282612096919061400f565b11156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce906140b1565b60405180910390fd5b600f60019054906101000a900460ff16612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d90614685565b60405180910390fd5b81600b5461213491906140d1565b341015612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d9061444d565b60405180910390fd5b600282601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121c3919061400f565b1115612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb906146f1565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061225b3383612d0d565b5050565b612267612360565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90614783565b60405180910390fd5b6122e081612c30565b50565b600f60009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61236861242c565b73ffffffffffffffffffffffffffffffffffffffff1661238661159b565b73ffffffffffffffffffffffffffffffffffffffff16146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d3906147ef565b60405180910390fd5b565b6000816123e96124e6565b111580156123f8575060005482105b8015612425575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006124f6826129a1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612561576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661258261242c565b73ffffffffffffffffffffffffffffffffffffffff1614806125b157506125b0856125ab61242c565b611faf565b5b806125f657506125bf61242c565b73ffffffffffffffffffffffffffffffffffffffff166125de84610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061262f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612696576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126a38585856001613079565b6126af60008487612434565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561292f57600054821461292e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461299a858585600161307f565b5050505050565b6129a9613599565b6000829050806129b76124e6565b111580156129c6575060005481105b15612bf9576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612bf757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612adb578092505050612c2b565b5b600115612bf657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bf1578092505050612c2b565b612adc565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612d038584613085565b1490509392505050565b612d278282604051806020016040528060008152506130fa565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7461242c565b8786866040518563ffffffff1660e01b8152600401612d969493929190614864565b602060405180830381600087803b158015612db057600080fd5b505af1925050508015612de157506040513d601f19601f82011682018060405250810190612dde91906148c5565b60015b612e5b573d8060008114612e11576040519150601f19603f3d011682016040523d82523d6000602084013e612e16565b606091505b50600081511415612e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ef6576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061300a565b600082905060005b60008214612f28578080612f1190614208565b915050600a82612f219190614921565b9150612efe565b60008167ffffffffffffffff811115612f4457612f4361395d565b5b6040519080825280601f01601f191660200182016040528015612f765781602001600182028036833780820191505090505b5090505b6000851461300357600182612f8f9190614952565b9150600a85612f9e9190614986565b6030612faa919061400f565b60f81b818381518110612fc057612fbf6141d9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ffc9190614921565b9450612f7a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b60008082905060005b84518110156130ef5760008582815181106130ac576130ab6141d9565b5b602002602001015190508083116130ce576130c7838261310c565b92506130db565b6130d8818461310c565b92505b5080806130e790614208565b91505061308e565b508091505092915050565b6131078383836001613123565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613190576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156131cb576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131d86000868387613079565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156133a257506133a18773ffffffffffffffffffffffffffffffffffffffff16612d2b565b5b15613468575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134176000888480600101955088612d4e565b61344d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156133a857826000541461346357600080fd5b6134d4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613469575b8160008190555050506134ea600086838761307f565b5050505050565b6040518060600160405280600390602082028036833780820191505090505090565b82805461351f90613e2d565b90600052602060002090601f0160209004810192826135415760008555613588565b82601f1061355a57803560ff1916838001178555613588565b82800160010185558215613588579182015b8281111561358757823582559160200191906001019061356c565b5b50905061359591906135dc565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156135f55760008160009055506001016135dd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136428161360d565b811461364d57600080fd5b50565b60008135905061365f81613639565b92915050565b60006020828403121561367b5761367a613603565b5b600061368984828501613650565b91505092915050565b60008115159050919050565b6136a781613692565b82525050565b60006020820190506136c2600083018461369e565b92915050565b6000819050919050565b6136db816136c8565b81146136e657600080fd5b50565b6000813590506136f8816136d2565b92915050565b60006020828403121561371457613713613603565b5b6000613722848285016136e9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561376557808201518184015260208101905061374a565b83811115613774576000848401525b50505050565b6000601f19601f8301169050919050565b60006137968261372b565b6137a08185613736565b93506137b0818560208601613747565b6137b98161377a565b840191505092915050565b600060208201905081810360008301526137de818461378b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613811826137e6565b9050919050565b61382181613806565b811461382c57600080fd5b50565b60008135905061383e81613818565b92915050565b60006020828403121561385a57613859613603565b5b60006138688482850161382f565b91505092915050565b61387a816136c8565b82525050565b60006020820190506138956000830184613871565b92915050565b6138a481613806565b82525050565b60006020820190506138bf600083018461389b565b92915050565b600080604083850312156138dc576138db613603565b5b60006138ea8582860161382f565b92505060206138fb858286016136e9565b9150509250929050565b60008060006060848603121561391e5761391d613603565b5b600061392c8682870161382f565b935050602061393d8682870161382f565b925050604061394e868287016136e9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139958261377a565b810181811067ffffffffffffffff821117156139b4576139b361395d565b5b80604052505050565b60006139c76135f9565b90506139d3828261398c565b919050565b600067ffffffffffffffff8211156139f3576139f261395d565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613a1c81613a09565b8114613a2757600080fd5b50565b600081359050613a3981613a13565b92915050565b6000613a52613a4d846139d8565b6139bd565b90508083825260208201905060208402830185811115613a7557613a74613a04565b5b835b81811015613a9e5780613a8a8882613a2a565b845260208401935050602081019050613a77565b5050509392505050565b600082601f830112613abd57613abc613958565b5b8135613acd848260208601613a3f565b91505092915050565b60008060408385031215613aed57613aec613603565b5b6000613afb858286016136e9565b925050602083013567ffffffffffffffff811115613b1c57613b1b613608565b5b613b2885828601613aa8565b9150509250929050565b600060208284031215613b4857613b47613603565b5b6000613b5684828501613a2a565b91505092915050565b613b6881613692565b8114613b7357600080fd5b50565b600081359050613b8581613b5f565b92915050565b60008060408385031215613ba257613ba1613603565b5b6000613bb08582860161382f565b9250506020613bc185828601613b76565b9150509250929050565b600080fd5b60008083601f840112613be657613be5613958565b5b8235905067ffffffffffffffff811115613c0357613c02613bcb565b5b602083019150836001820283011115613c1f57613c1e613a04565b5b9250929050565b600080600060408486031215613c3f57613c3e613603565b5b600084013567ffffffffffffffff811115613c5d57613c5c613608565b5b613c6986828701613bd0565b93509350506020613c7c86828701613b76565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613ca657613ca561395d565b5b613caf8261377a565b9050602081019050919050565b82818337600083830152505050565b6000613cde613cd984613c8b565b6139bd565b905082815260208101848484011115613cfa57613cf9613c86565b5b613d05848285613cbc565b509392505050565b600082601f830112613d2257613d21613958565b5b8135613d32848260208601613ccb565b91505092915050565b60008060008060808587031215613d5557613d54613603565b5b6000613d638782880161382f565b9450506020613d748782880161382f565b9350506040613d85878288016136e9565b925050606085013567ffffffffffffffff811115613da657613da5613608565b5b613db287828801613d0d565b91505092959194509250565b60008060408385031215613dd557613dd4613603565b5b6000613de38582860161382f565b9250506020613df48582860161382f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e4557607f821691505b60208210811415613e5957613e58613dfe565b5b50919050565b600081905092915050565b50565b6000613e7a600083613e5f565b9150613e8582613e6a565b600082019050919050565b6000613e9b82613e6d565b9150819050919050565b7f5055424c494353414c455f494e41435449564500000000000000000000000000600082015250565b6000613edb601383613736565b9150613ee682613ea5565b602082019050919050565b60006020820190508181036000830152613f0a81613ece565b9050919050565b60008160601b9050919050565b6000613f2982613f11565b9050919050565b6000613f3b82613f1e565b9050919050565b613f53613f4e82613806565b613f30565b82525050565b6000613f658284613f42565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000613faa600e83613736565b9150613fb582613f74565b602082019050919050565b60006020820190508181036000830152613fd981613f9d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061401a826136c8565b9150614025836136c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405a57614059613fe0565b5b828201905092915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b600061409b601383613736565b91506140a682614065565b602082019050919050565b600060208201905081810360008301526140ca8161408e565b9050919050565b60006140dc826136c8565b91506140e7836136c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141205761411f613fe0565b5b828202905092915050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614161600c83613736565b915061416c8261412b565b602082019050919050565b6000602082019050818103600083015261419081614154565b9050919050565b6000815190506141a6816136d2565b92915050565b6000602082840312156141c2576141c1613603565b5b60006141d084828501614197565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614213826136c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561424657614245613fe0565b5b600182019050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b6000614287600b83613736565b915061429282614251565b602082019050919050565b600060208201905081810360008301526142b68161427a565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006142f3601083613736565b91506142fe826142bd565b602082019050919050565b60006020820190508181036000830152614322816142e6565b9050919050565b7f484f4c44455253414c455f494e41435449564500000000000000000000000000600082015250565b600061435f601383613736565b915061436a82614329565b602082019050919050565b6000602082019050818103600083015261438e81614352565b9050919050565b7f484f4c44455253414c45504149445f4d41584544000000000000000000000000600082015250565b60006143cb601483613736565b91506143d682614395565b602082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614437600d83613736565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006144a3601f83613736565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461450681613e2d565b61451081866144d9565b9450600182166000811461452b576001811461453c5761456f565b60ff1983168652818601935061456f565b614545856144e4565b60005b8381101561456757815481890152600182019150602081019050614548565b838801955050505b50505092915050565b60006145838261372b565b61458d81856144d9565b935061459d818560208601613747565b80840191505092915050565b60006145b582856144f9565b91506145c18284614578565b91508190509392505050565b7f484f4c44455253414c45465245455f4d41584544000000000000000000000000600082015250565b6000614603601483613736565b915061460e826145cd565b602082019050919050565b60006020820190508181036000830152614632816145f6565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b600061466f600f83613736565b915061467a82614639565b602082019050919050565b6000602082019050818103600083015261469e81614662565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006146db601083613736565b91506146e6826146a5565b602082019050919050565b6000602082019050818103600083015261470a816146ce565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061476d602683613736565b915061477882614711565b604082019050919050565b6000602082019050818103600083015261479c81614760565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147d9602083613736565b91506147e4826147a3565b602082019050919050565b60006020820190508181036000830152614808816147cc565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148368261480f565b614840818561481a565b9350614850818560208601613747565b6148598161377a565b840191505092915050565b6000608082019050614879600083018761389b565b614886602083018661389b565b6148936040830185613871565b81810360608301526148a5818461482b565b905095945050505050565b6000815190506148bf81613639565b92915050565b6000602082840312156148db576148da613603565b5b60006148e9848285016148b0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061492c826136c8565b9150614937836136c8565b925082614947576149466148f2565b5b828204905092915050565b600061495d826136c8565b9150614968836136c8565b92508282101561497b5761497a613fe0565b5b828203905092915050565b6000614991826136c8565b915061499c836136c8565b9250826149ac576149ab6148f2565b5b82820690509291505056fea264697066735822122021b47e6bb6fd9f42565cea853d325748de13f94b3c6f665a9ff306a0f970fd7d64736f6c63430008090033

Deployed Bytecode

0x60806040526004361061027d5760003560e01c80638da5cb5b1161014f578063bf41b4a7116100c1578063e985e9c51161007a578063e985e9c51461093d578063eaba90581461097a578063ee2944da146109b7578063f183f2f3146109e2578063f2fde38b146109fe578063fd8b262d14610a275761027d565b8063bf41b4a714610828578063c87b56dd14610853578063d03cad1514610890578063d1d19213146108ac578063d5abeb01146108d5578063dc33e681146109005761027d565b8063aa35cca311610113578063aa35cca31461072b578063aac80dd914610754578063ad3e31b714610791578063b3b1cc7a146107ba578063b64b21ca146107d6578063b88d4fde146107ff5761027d565b80638da5cb5b1461065857806390f6f7281461068357806394593765146106ac57806395d89b41146106d7578063a22cb465146107025761027d565b806323b872dd116101f357806370a08231116101ac57806370a0823114610566578063715018a6146105a35780637661bc05146105ba57806377ad99f0146105d65780637cb64759146105f25780638a9019f01461061b5761027d565b806323b872dd1461048b57806338c30305146104b45780633ccfd60b146104cb57806342842e0e146104d557806352417630146104fe5780636352211e146105295761027d565b8063095ea7b311610245578063095ea7b31461038d57806311eb3047146103b657806313faede6146103cd578063146f14cb146103f857806318160ddd1461043557806322515b77146104605761027d565b806301ffc9a714610282578063030efb8f146102bf57806306fdde03146102e85780630714b54514610313578063081812fc14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613665565b610a52565b6040516102b691906136ad565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e191906136fe565b610b34565b005b3480156102f457600080fd5b506102fd610b46565b60405161030a91906137c4565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613844565b610bd8565b6040516103479190613880565b60405180910390f35b34801561035c57600080fd5b50610377600480360381019061037291906136fe565b610bf0565b60405161038491906138aa565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af91906138c5565b610c6c565b005b3480156103c257600080fd5b506103cb610d77565b005b3480156103d957600080fd5b506103e2610dd1565b6040516103ef9190613880565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190613844565b610dd7565b60405161042c9190613880565b60405180910390f35b34801561044157600080fd5b5061044a610def565b6040516104579190613880565b60405180910390f35b34801561046c57600080fd5b50610475610e06565b6040516104829190613880565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613905565b610e0c565b005b3480156104c057600080fd5b506104c9610e1c565b005b6104d3610e76565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613905565b610ef7565b005b34801561050a57600080fd5b50610513610f17565b6040516105209190613880565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b91906136fe565b610f1d565b60405161055d91906138aa565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613844565b610f33565b60405161059a9190613880565b60405180910390f35b3480156105af57600080fd5b506105b8611003565b005b6105d460048036038101906105cf9190613ad6565b611017565b005b6105f060048036038101906105eb91906136fe565b611274565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613b32565b6112f6565b005b34801561062757600080fd5b50610642600480360381019061063d9190613844565b611308565b60405161064f9190613880565b60405180910390f35b34801561066457600080fd5b5061066d61159b565b60405161067a91906138aa565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a591906136fe565b6115c5565b005b3480156106b857600080fd5b506106c16115d7565b6040516106ce91906136ad565b60405180910390f35b3480156106e357600080fd5b506106ec6115ea565b6040516106f991906137c4565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613b8b565b61167c565b005b34801561073757600080fd5b50610752600480360381019061074d91906138c5565b6117f4565b005b34801561076057600080fd5b5061077b60048036038101906107769190613844565b6118aa565b6040516107889190613880565b60405180910390f35b34801561079d57600080fd5b506107b860048036038101906107b39190613b32565b6118c2565b005b6107d460048036038101906107cf9190613ad6565b6118d4565b005b3480156107e257600080fd5b506107fd60048036038101906107f89190613c26565b611b55565b005b34801561080b57600080fd5b5061082660048036038101906108219190613d3b565b611bae565b005b34801561083457600080fd5b5061083d611c2a565b60405161084a9190613880565b60405180910390f35b34801561085f57600080fd5b5061087a600480360381019061087591906136fe565b611c30565b60405161088791906137c4565b60405180910390f35b6108aa60048036038101906108a59190613ad6565b611d54565b005b3480156108b857600080fd5b506108d360048036038101906108ce91906136fe565b611f85565b005b3480156108e157600080fd5b506108ea611f97565b6040516108f79190613880565b60405180910390f35b34801561090c57600080fd5b5061092760048036038101906109229190613844565b611f9d565b6040516109349190613880565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f9190613dbe565b611faf565b60405161097191906136ad565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c9190613844565b612043565b6040516109ae9190613880565b60405180910390f35b3480156109c357600080fd5b506109cc61205b565b6040516109d991906136ad565b60405180910390f35b6109fc60048036038101906109f791906136fe565b61206e565b005b348015610a0a57600080fd5b50610a256004803603810190610a209190613844565b61225f565b005b348015610a3357600080fd5b50610a3c6122e3565b604051610a4991906136ad565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2d5750610b2c826122f6565b5b9050919050565b610b3c612360565b8060098190555050565b606060028054610b5590613e2d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8190613e2d565b8015610bce5780601f10610ba357610100808354040283529160200191610bce565b820191906000526020600020905b815481529060010190602001808311610bb157829003601f168201915b5050505050905090565b60136020528060005260406000206000915090505481565b6000610bfb826123de565b610c31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7782610f1d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfe61242c565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d305750610d2e81610d2961242c565b611faf565b155b15610d67576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d72838383612434565b505050565b610d7f612360565b600f60019054906101000a900460ff1615610db3576000600f60016101000a81548160ff0219169083151502179055610dce565b6001600f60016101000a81548160ff02191690831515021790555b50565b60095481565b60146020528060005260406000206000915090505481565b6000610df96124e6565b6001546000540303905090565b600b5481565b610e178383836124eb565b505050565b610e24612360565b600f60009054906101000a900460ff1615610e58576000600f60006101000a81548160ff0219169083151502179055610e73565b6001600f60006101000a81548160ff02191690831515021790555b50565b610e7e612360565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea490613e90565b60006040518083038185875af1925050503d8060008114610ee1576040519150601f19603f3d011682016040523d82523d6000602084013e610ee6565b606091505b5050905080610ef457600080fd5b50565b610f1283838360405180602001604052806000815250611bae565b505050565b600a5481565b6000610f28826129a1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f9b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61100b612360565b6110156000612c30565b565b6000821161102457600080fd5b600f60019054906101000a900460ff16611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a90613ef1565b60405180910390fd5b600061107d61242c565b60405160200161108d9190613f59565b6040516020818303038152906040528051906020012090506110b282600e5483612cf6565b6110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890613fc0565b60405180910390fd5b6110fa33611308565b600c819055506000600c541461110f57600080fd5b6000611119610def565b905061022b848261112a919061400f565b111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906140b1565b60405180910390fd5b83600a5461117991906140d1565b34101561118557600080fd5b600284601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d2919061400f565b1115611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614177565b60405180910390fd5b83601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061126a3385612d0d565b6000905050505050565b61127c612360565b60003373ffffffffffffffffffffffffffffffffffffffff16826040516112a290613e90565b60006040518083038185875af1925050503d80600081146112df576040519150601f19603f3d011682016040523d82523d6000602084013e6112e4565b606091505b50509050806112f257600080fd5b5050565b6112fe612360565b80600d8190555050565b60008060007339d1ce0ed423c56c262ef025e0619e91ae31e8b773ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161135a91906138aa565b60206040518083038186803b15801561137257600080fd5b505afa158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa91906141ac565b905060007390702bd8f020de7d5c1ff6730ac9582741b9155a73ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016113fb91906138aa565b60206040518083038186803b15801561141357600080fd5b505afa158015611427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144b91906141ac565b90506000736fefb647395e680339badc84dc774e3ca8bca7b973ffffffffffffffffffffffffffffffffffffffff166370a08231876040518263ffffffff1660e01b815260040161149c91906138aa565b60206040518083038186803b1580156114b457600080fd5b505afa1580156114c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ec91906141ac565b90506114f66134f1565b6040518060600160405280858152602001848152602001838152509050600081600060038110611529576115286141d9565b5b6020020151905060005b600381101561158957818382600381106115505761154f6141d9565b5b602002015110156115765782816003811061156e5761156d6141d9565b5b602002015191505b808061158190614208565b915050611533565b50809550859650505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115cd612360565b80600b8190555050565b601160009054906101000a900460ff1681565b6060600380546115f990613e2d565b80601f016020809104026020016040519081016040528092919081815260200182805461162590613e2d565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b5050505050905090565b61168461242c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116f661242c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117a361242c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117e891906136ad565b60405180910390a35050565b6117fc612360565b6000611806610def565b905061022b8282611817919061400f565b1115611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184f9061429d565b60405180910390fd5b6000821161189b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189290614309565b60405180910390fd5b6118a58383612d0d565b505050565b60126020528060005260406000206000915090505481565b6118ca612360565b80600e8190555050565b600082116118e157600080fd5b60006118eb610def565b90506118f633611308565b600c81905550600061190661242c565b6040516020016119169190613f59565b60405160208183030381529060405280519060200120905061193b83600d5483612cf6565b61197a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197190613fc0565b60405180910390fd5b61022b8483611989919061400f565b11156119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c1906140b1565b60405180910390fd5b600f60019054906101000a900460ff16611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090614375565b60405180910390fd5b600c5484601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a67919061400f565b1115611aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9f906143e1565b60405180910390fd5b83600954611ab691906140d1565b341015611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef9061444d565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b4f3385612d0d565b50505050565b611b5d612360565b601160009054906101000a900460ff16158015611b775750805b15611b975780601160006101000a81548160ff0219169083151502179055505b828260109190611ba8929190613513565b50505050565b611bb98484846124eb565b611bd88373ffffffffffffffffffffffffffffffffffffffff16612d2b565b8015611bed5750611beb84848484612d4e565b155b15611c24576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600c5481565b6060611c3b826123de565b611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c71906144b9565b60405180910390fd5b601160009054906101000a900460ff1615611cc1576010611c9a83612eae565b604051602001611cab9291906145a9565b6040516020818303038152906040529050611d4f565b60108054611cce90613e2d565b80601f0160208091040260200160405190810160405280929190818152602001828054611cfa90613e2d565b8015611d475780601f10611d1c57610100808354040283529160200191611d47565b820191906000526020600020905b815481529060010190602001808311611d2a57829003601f168201915b505050505090505b919050565b60008211611d6157600080fd5b6000611d6b610def565b9050611d7633611308565b600c819055506000611d8661242c565b604051602001611d969190613f59565b604051602081830303815290604052805190602001209050611dbb83600d5483612cf6565b611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190613fc0565b60405180910390fd5b61022b8483611e09919061400f565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e41906140b1565b60405180910390fd5b600f60009054906101000a900460ff16611e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9090614375565b60405180910390fd5b600c5484601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ee7919061400f565b1115611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90614619565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611f7f3385612d0d565b50505050565b611f8d612360565b80600a8190555050565b61022b81565b6000611fa88261300f565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60156020528060005260406000206000915090505481565b600f60019054906101000a900460ff1681565b6000811161207b57600080fd5b6000612085610def565b905061022b8282612096919061400f565b11156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce906140b1565b60405180910390fd5b600f60019054906101000a900460ff16612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d90614685565b60405180910390fd5b81600b5461213491906140d1565b341015612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d9061444d565b60405180910390fd5b600282601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121c3919061400f565b1115612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb906146f1565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061225b3383612d0d565b5050565b612267612360565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90614783565b60405180910390fd5b6122e081612c30565b50565b600f60009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61236861242c565b73ffffffffffffffffffffffffffffffffffffffff1661238661159b565b73ffffffffffffffffffffffffffffffffffffffff16146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d3906147ef565b60405180910390fd5b565b6000816123e96124e6565b111580156123f8575060005482105b8015612425575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006124f6826129a1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612561576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661258261242c565b73ffffffffffffffffffffffffffffffffffffffff1614806125b157506125b0856125ab61242c565b611faf565b5b806125f657506125bf61242c565b73ffffffffffffffffffffffffffffffffffffffff166125de84610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061262f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612696576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126a38585856001613079565b6126af60008487612434565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561292f57600054821461292e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461299a858585600161307f565b5050505050565b6129a9613599565b6000829050806129b76124e6565b111580156129c6575060005481105b15612bf9576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612bf757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612adb578092505050612c2b565b5b600115612bf657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bf1578092505050612c2b565b612adc565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612d038584613085565b1490509392505050565b612d278282604051806020016040528060008152506130fa565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7461242c565b8786866040518563ffffffff1660e01b8152600401612d969493929190614864565b602060405180830381600087803b158015612db057600080fd5b505af1925050508015612de157506040513d601f19601f82011682018060405250810190612dde91906148c5565b60015b612e5b573d8060008114612e11576040519150601f19603f3d011682016040523d82523d6000602084013e612e16565b606091505b50600081511415612e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ef6576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061300a565b600082905060005b60008214612f28578080612f1190614208565b915050600a82612f219190614921565b9150612efe565b60008167ffffffffffffffff811115612f4457612f4361395d565b5b6040519080825280601f01601f191660200182016040528015612f765781602001600182028036833780820191505090505b5090505b6000851461300357600182612f8f9190614952565b9150600a85612f9e9190614986565b6030612faa919061400f565b60f81b818381518110612fc057612fbf6141d9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ffc9190614921565b9450612f7a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b60008082905060005b84518110156130ef5760008582815181106130ac576130ab6141d9565b5b602002602001015190508083116130ce576130c7838261310c565b92506130db565b6130d8818461310c565b92505b5080806130e790614208565b91505061308e565b508091505092915050565b6131078383836001613123565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613190576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156131cb576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131d86000868387613079565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156133a257506133a18773ffffffffffffffffffffffffffffffffffffffff16612d2b565b5b15613468575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134176000888480600101955088612d4e565b61344d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156133a857826000541461346357600080fd5b6134d4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613469575b8160008190555050506134ea600086838761307f565b5050505050565b6040518060600160405280600390602082028036833780820191505090505090565b82805461351f90613e2d565b90600052602060002090601f0160209004810192826135415760008555613588565b82601f1061355a57803560ff1916838001178555613588565b82800160010185558215613588579182015b8281111561358757823582559160200191906001019061356c565b5b50905061359591906135dc565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156135f55760008160009055506001016135dd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136428161360d565b811461364d57600080fd5b50565b60008135905061365f81613639565b92915050565b60006020828403121561367b5761367a613603565b5b600061368984828501613650565b91505092915050565b60008115159050919050565b6136a781613692565b82525050565b60006020820190506136c2600083018461369e565b92915050565b6000819050919050565b6136db816136c8565b81146136e657600080fd5b50565b6000813590506136f8816136d2565b92915050565b60006020828403121561371457613713613603565b5b6000613722848285016136e9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561376557808201518184015260208101905061374a565b83811115613774576000848401525b50505050565b6000601f19601f8301169050919050565b60006137968261372b565b6137a08185613736565b93506137b0818560208601613747565b6137b98161377a565b840191505092915050565b600060208201905081810360008301526137de818461378b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613811826137e6565b9050919050565b61382181613806565b811461382c57600080fd5b50565b60008135905061383e81613818565b92915050565b60006020828403121561385a57613859613603565b5b60006138688482850161382f565b91505092915050565b61387a816136c8565b82525050565b60006020820190506138956000830184613871565b92915050565b6138a481613806565b82525050565b60006020820190506138bf600083018461389b565b92915050565b600080604083850312156138dc576138db613603565b5b60006138ea8582860161382f565b92505060206138fb858286016136e9565b9150509250929050565b60008060006060848603121561391e5761391d613603565b5b600061392c8682870161382f565b935050602061393d8682870161382f565b925050604061394e868287016136e9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139958261377a565b810181811067ffffffffffffffff821117156139b4576139b361395d565b5b80604052505050565b60006139c76135f9565b90506139d3828261398c565b919050565b600067ffffffffffffffff8211156139f3576139f261395d565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613a1c81613a09565b8114613a2757600080fd5b50565b600081359050613a3981613a13565b92915050565b6000613a52613a4d846139d8565b6139bd565b90508083825260208201905060208402830185811115613a7557613a74613a04565b5b835b81811015613a9e5780613a8a8882613a2a565b845260208401935050602081019050613a77565b5050509392505050565b600082601f830112613abd57613abc613958565b5b8135613acd848260208601613a3f565b91505092915050565b60008060408385031215613aed57613aec613603565b5b6000613afb858286016136e9565b925050602083013567ffffffffffffffff811115613b1c57613b1b613608565b5b613b2885828601613aa8565b9150509250929050565b600060208284031215613b4857613b47613603565b5b6000613b5684828501613a2a565b91505092915050565b613b6881613692565b8114613b7357600080fd5b50565b600081359050613b8581613b5f565b92915050565b60008060408385031215613ba257613ba1613603565b5b6000613bb08582860161382f565b9250506020613bc185828601613b76565b9150509250929050565b600080fd5b60008083601f840112613be657613be5613958565b5b8235905067ffffffffffffffff811115613c0357613c02613bcb565b5b602083019150836001820283011115613c1f57613c1e613a04565b5b9250929050565b600080600060408486031215613c3f57613c3e613603565b5b600084013567ffffffffffffffff811115613c5d57613c5c613608565b5b613c6986828701613bd0565b93509350506020613c7c86828701613b76565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613ca657613ca561395d565b5b613caf8261377a565b9050602081019050919050565b82818337600083830152505050565b6000613cde613cd984613c8b565b6139bd565b905082815260208101848484011115613cfa57613cf9613c86565b5b613d05848285613cbc565b509392505050565b600082601f830112613d2257613d21613958565b5b8135613d32848260208601613ccb565b91505092915050565b60008060008060808587031215613d5557613d54613603565b5b6000613d638782880161382f565b9450506020613d748782880161382f565b9350506040613d85878288016136e9565b925050606085013567ffffffffffffffff811115613da657613da5613608565b5b613db287828801613d0d565b91505092959194509250565b60008060408385031215613dd557613dd4613603565b5b6000613de38582860161382f565b9250506020613df48582860161382f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e4557607f821691505b60208210811415613e5957613e58613dfe565b5b50919050565b600081905092915050565b50565b6000613e7a600083613e5f565b9150613e8582613e6a565b600082019050919050565b6000613e9b82613e6d565b9150819050919050565b7f5055424c494353414c455f494e41435449564500000000000000000000000000600082015250565b6000613edb601383613736565b9150613ee682613ea5565b602082019050919050565b60006020820190508181036000830152613f0a81613ece565b9050919050565b60008160601b9050919050565b6000613f2982613f11565b9050919050565b6000613f3b82613f1e565b9050919050565b613f53613f4e82613806565b613f30565b82525050565b6000613f658284613f42565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000613faa600e83613736565b9150613fb582613f74565b602082019050919050565b60006020820190508181036000830152613fd981613f9d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061401a826136c8565b9150614025836136c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405a57614059613fe0565b5b828201905092915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b600061409b601383613736565b91506140a682614065565b602082019050919050565b600060208201905081810360008301526140ca8161408e565b9050919050565b60006140dc826136c8565b91506140e7836136c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141205761411f613fe0565b5b828202905092915050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614161600c83613736565b915061416c8261412b565b602082019050919050565b6000602082019050818103600083015261419081614154565b9050919050565b6000815190506141a6816136d2565b92915050565b6000602082840312156141c2576141c1613603565b5b60006141d084828501614197565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614213826136c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561424657614245613fe0565b5b600182019050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b6000614287600b83613736565b915061429282614251565b602082019050919050565b600060208201905081810360008301526142b68161427a565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006142f3601083613736565b91506142fe826142bd565b602082019050919050565b60006020820190508181036000830152614322816142e6565b9050919050565b7f484f4c44455253414c455f494e41435449564500000000000000000000000000600082015250565b600061435f601383613736565b915061436a82614329565b602082019050919050565b6000602082019050818103600083015261438e81614352565b9050919050565b7f484f4c44455253414c45504149445f4d41584544000000000000000000000000600082015250565b60006143cb601483613736565b91506143d682614395565b602082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614437600d83613736565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006144a3601f83613736565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461450681613e2d565b61451081866144d9565b9450600182166000811461452b576001811461453c5761456f565b60ff1983168652818601935061456f565b614545856144e4565b60005b8381101561456757815481890152600182019150602081019050614548565b838801955050505b50505092915050565b60006145838261372b565b61458d81856144d9565b935061459d818560208601613747565b80840191505092915050565b60006145b582856144f9565b91506145c18284614578565b91508190509392505050565b7f484f4c44455253414c45465245455f4d41584544000000000000000000000000600082015250565b6000614603601483613736565b915061460e826145cd565b602082019050919050565b60006020820190508181036000830152614632816145f6565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b600061466f600f83613736565b915061467a82614639565b602082019050919050565b6000602082019050818103600083015261469e81614662565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006146db601083613736565b91506146e6826146a5565b602082019050919050565b6000602082019050818103600083015261470a816146ce565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061476d602683613736565b915061477882614711565b604082019050919050565b6000602082019050818103600083015261479c81614760565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147d9602083613736565b91506147e4826147a3565b602082019050919050565b60006020820190508181036000830152614808816147cc565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148368261480f565b614840818561481a565b9350614850818560208601613747565b6148598161377a565b840191505092915050565b6000608082019050614879600083018761389b565b614886602083018661389b565b6148936040830185613871565b81810360608301526148a5818461482b565b905095945050505050565b6000815190506148bf81613639565b92915050565b6000602082840312156148db576148da613603565b5b60006148e9848285016148b0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061492c826136c8565b9150614937836136c8565b925082614947576149466148f2565b5b828204905092915050565b600061495d826136c8565b9150614968836136c8565b92508282101561497b5761497a613fe0565b5b828203905092915050565b6000614991826136c8565b915061499c836136c8565b9250826149ac576149ab6148f2565b5b82820690509291505056fea264697066735822122021b47e6bb6fd9f42565cea853d325748de13f94b3c6f665a9ff306a0f970fd7d64736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.