ETH Price: $3,492.63 (+1.08%)

Token

DeGenerativeApepes (DEGENAPEPES)
 

Overview

Max Total Supply

1,501 DEGENAPEPES

Holders

652

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 DEGENAPEPES
0x9ea59758d1f4b722e235b7bc792764fe58c72100
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DEGENERATIVEAPEPES

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

import "./ERC721A.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";

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

    uint256 public constant maxSupply = 1500;
    uint256 public cost = 0.01 ether;
    uint256 public priorityAllow;
    mapping(address => uint256) public prioritylistFreeClaimed;
    mapping(address => uint256) public prioritylistPaidClaimed;
    mapping(address => uint256) public WLFreeClaimed;
    mapping(address => uint256) public WLPaidClaimed;
    mapping(address => uint256) public publicFreeClaimed;
    mapping(address => uint256) public publicPaidClaimed;
    bytes32 private merkleRoot;
    bool public publicActive;
    bool public prioritylistActive;
    bool private prioritylistEnded;
    string private baseURI;
    bool public revealed;
    address private paymentAddress;

    constructor() ERC721A("DeGenerativeApepes", "DEGENAPEPES") {
    }


    function mintFreePriority(uint256 _quantity) external payable {
        priorityAllow = getPriorityQuantity(msg.sender);
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Cant go over supply");
        require(prioritylistActive, "PRIORITYLIST_INACTIVE");
        require(prioritylistFreeClaimed[msg.sender] + _quantity <= priorityAllow, "PRIORITYLISTFREE_MAXED");
        unchecked {
            prioritylistFreeClaimed[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
    }

    /**
     * @notice paid mint from priority whitelist
     * @dev must occur before public sale and holder sale
     */
    function mintPaidPriority(uint256 _quantity) external payable {
        priorityAllow = getPriorityQuantity(msg.sender);
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Cant go over supply");
        require(prioritylistActive, "PRIORITYLIST_INACTIVE");
        require(prioritylistPaidClaimed[msg.sender] + _quantity <= priorityAllow, "PRIORITYLISTPAID_MAXED");
        require(msg.value >= cost, "INCORRECT_ETH");
        unchecked {
            prioritylistPaidClaimed[msg.sender] += _quantity;
        }
        _safeMint(msg.sender, _quantity);
    }

    /**
     * @notice mint from WL
     * @dev must occur before public sale
     */
    function mintFreeWL(bytes32[] memory _merkleProof, uint256 _quantity) external payable {
        uint256 s = totalSupply();
        require(s + 1 <= maxSupply, "Cant go over supply");
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');
        require(prioritylistActive, "PRIORITYLIST_INACTIVE");
        require(s + 1 <= maxSupply, "Cant go over supply");
        require(WLFreeClaimed[msg.sender] + _quantity <= 2, "WLFREE_MAXED");
        unchecked {
            WLFreeClaimed[msg.sender] += _quantity;
            
        }
        _safeMint(msg.sender, _quantity);
    }

    /**
     * @notice mint from WL
     * @dev must occur before public sale
     */
    function mintPaidWL(bytes32[] memory _merkleProof, uint256 _quantity) external payable {
        uint256 s = totalSupply();
        require(s + 1 <= maxSupply, "Cant go over supply");
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');
        require(prioritylistActive, "PRIORITYLIST_INACTIVE");
        require(msg.value >= cost, "INCORRECT_ETH");
        require(WLPaidClaimed[msg.sender] + _quantity <= 2, "WLPAID_MAXED");

        unchecked {
            WLPaidClaimed[msg.sender] += _quantity;
            
        }
        _safeMint(msg.sender, _quantity);
    }

    /**
     * @notice mint Paid Public
     * @dev must occur before public sale
     */
    function mintPaidPublic() external payable {
        uint256 s = totalSupply();
        require(s + 1 <= maxSupply, "Cant go over supply");
        require(publicActive, "PUBLIC_INACTIVE");
        require(msg.value >= cost, "INCORRECT_ETH");
        require(publicPaidClaimed[msg.sender] + 1 <= 1, "PUBLICPAID_MAXED");

        unchecked {
            publicPaidClaimed[msg.sender] += 1;
            
        }
        _safeMint(msg.sender, 1);
    }

    /**
     * @notice mint Free Public
     * @dev must occur before public sale
     */
    function mintFreePublic() external payable {
        uint256 s = totalSupply();
        require(s + 1 <= maxSupply, "Cant go over supply");
        require(publicActive, "PUBLIC_INACTIVE");
        require(publicFreeClaimed[msg.sender] + 1 <= 1, "PUBLICFREE_MAXED");

        unchecked {
            publicFreeClaimed[msg.sender] += 1;
            
        }
        _safeMint(msg.sender, 1);
    }


    /**
     * @notice release Airdrops and Treasury
     */
    function releaseAirdropsAndTreasury(address _account, uint256 _quantity)
        external
        onlyOwner
    {
        uint256 s = totalSupply();
        require(s + _quantity <= maxSupply, "Cant go over supply");
        require(_quantity > 0, "INVALID_QUANTITY");
        _safeMint(_account, _quantity);
    }

    /**
     * @notice return number of tokens minted by owner
     */
    function numberMinted(address owner) external view returns (uint256) {
        return _numberMinted(owner);
    }


    /**
     * @notice set new cost
     */
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    /**
     * @notice active OG whitelist
     */
    function activatePrioritylist() external onlyOwner {
        !prioritylistActive ? prioritylistActive = true : prioritylistActive = false;
    }

    /**
     * @notice active sale
     */
    function activatePublicSale() external onlyOwner {
        if (!prioritylistEnded) prioritylistEnded = true;
        if (prioritylistActive) prioritylistActive = false;
        !publicActive ? publicActive = true : publicActive = false;
    }

    /**
     * @notice set base URI
     */
    function setBaseURI(string calldata _baseURI, bool reveal) external onlyOwner {
        if (!revealed && reveal) revealed = reveal; 
        baseURI = _baseURI;
    }

    /**
     * @notice set payment address
     */
    function setPaymentAddress(address _paymentAddress) external onlyOwner {
        paymentAddress = _paymentAddress;
    }

    /**
     * @notice transfer funds
     */
    function transferFunds() external onlyOwner {
        (bool success, ) = payable(paymentAddress).call{
            value: address(this).balance
        }("");
        require(success, "TRANSFER_FAILED");
    }

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

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

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 "./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 './IERC721.sol';
import './IERC721Receiver.sol';
import './IERC721Metadata.sol';
import './Address.sol';
import './Context.sol';
import './Strings.sol';
import './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 getPriorityQuantity(address owner) public view returns (uint256) {
       uint256 allowQuantity;
       allowQuantity = uint256(IERC721(0xb5596D75c727559463836eb67aA5CD574A43c7f0).balanceOf(owner)) + uint256(IERC721(0x77640cf3F89A4F1B5CA3A1e5c87f3F5B12ebf87e).balanceOf(owner)) + uint256(IERC721(0x91c8B5C50A35e461dC7d7fFBc301c365b83f01f8).balanceOf(owner));
       if (allowQuantity >= 1) allowQuantity = 2;
       return allowQuantity;
    }

    /**
     * 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 : 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 6 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 7 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 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 "./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":[{"internalType":"address","name":"","type":"address"}],"name":"WLFreeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WLPaidClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activatePrioritylist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activatePublicSale","outputs":[],"stateMutability":"nonpayable","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":"getPriorityQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}],"name":"mintFreePriority","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFreePublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintFreeWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintPaidPriority","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPaidPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"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":"priorityAllow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prioritylistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"prioritylistFreeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"prioritylistPaidClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicFreeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicPaidClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"releaseAirdropsAndTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bool","name":"reveal","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_paymentAddress","type":"address"}],"name":"setPaymentAddress","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":[],"name":"transferFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc100006009553480156200001c57600080fd5b506040518060400160405280601281526020017f446547656e6572617469766541706570657300000000000000000000000000008152506040518060400160405280600b81526020017f444547454e4150455045530000000000000000000000000000000000000000008152508160029080519060200190620000a1929190620001cc565b508060039080519060200190620000ba929190620001cc565b50620000cb620000f960201b60201c565b6000819055505050620000f3620000e7620000fe60201b60201c565b6200010660201b60201c565b620002e1565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001da90620002ab565b90600052602060002090601f016020900481019282620001fe57600085556200024a565b82601f106200021957805160ff19168380011785556200024a565b828001600101855582156200024a579182015b82811115620002495782518255916020019190600101906200022c565b5b5090506200025991906200025d565b5090565b5b80821115620002785760008160009055506001016200025e565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002c457607f821691505b60208210811415620002db57620002da6200027c565b5b50919050565b614c4b80620002f16000396000f3fe6080604052600436106102725760003560e01c806363b136c91161014f578063a22cb465116100c1578063cfda71851161007a578063cfda7185146108e8578063d5abeb0114610925578063dc33e68114610950578063e985e9c51461098d578063f2fde38b146109ca578063fd2d2c70146109f357610272565b8063a22cb465146107dc578063a2e575b414610805578063b4dd677714610830578063b64b21ca14610859578063b88d4fde14610882578063c87b56dd146108ab57610272565b80637cb64759116101135780637cb64759146106c757806384115e78146106f0578063847b48201461070c5780638da5cb5b1461074957806395d89b41146107745780639c0a01bc1461079f57610272565b806363b136c914610610578063660ebff61461061a57806367539cac1461065757806370a0823114610673578063715018a6146106b057610272565b806323b872dd116101e857806342842e0e116101ac57806342842e0e146104f057806342b188251461051957806344a0d68a14610556578063518302271461057f5780635e1e1004146105aa5780636352211e146105d357610272565b806323b872dd1461045257806328e31e421461047b5780633b95c10e146104925780633c68eb81146104ae5780633f2981cf146104c557610272565b8063095ea7b31161023a578063095ea7b314610363578063103aa8a11461038c57806311eb3047146103a857806313faede6146103bf57806318160ddd146103ea5780631b5acb8b1461041557610272565b806301ffc9a71461027757806303aa0391146102b457806306fdde03146102be578063081812fc146102e9578063095725e514610326575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906138b1565b610a1e565b6040516102ab91906138f9565b60405180910390f35b6102bc610b00565b005b3480156102ca57600080fd5b506102d3610c96565b6040516102e091906139ad565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613a05565b610d28565b60405161031d9190613a73565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613aba565b610da4565b60405161035a9190613af6565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613b11565b610dbc565b005b6103a660048036038101906103a19190613a05565b610ec7565b005b3480156103b457600080fd5b506103bd6110b0565b005b3480156103cb57600080fd5b506103d461116b565b6040516103e19190613af6565b60405180910390f35b3480156103f657600080fd5b506103ff611171565b60405161040c9190613af6565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190613aba565b611188565b6040516104499190613af6565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190613b51565b6111a0565b005b34801561048757600080fd5b506104906111b0565b005b6104ac60048036038101906104a79190613a05565b61120a565b005b3480156104ba57600080fd5b506104c36113ae565b005b3480156104d157600080fd5b506104da611487565b6040516104e791906138f9565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613b51565b61149a565b005b34801561052557600080fd5b50610540600480360381019061053b9190613aba565b6114ba565b60405161054d9190613af6565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613a05565b6114d2565b005b34801561058b57600080fd5b506105946114e4565b6040516105a191906138f9565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc9190613aba565b6114f7565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613a05565b611543565b6040516106079190613a73565b60405180910390f35b610618611559565b005b34801561062657600080fd5b50610641600480360381019061063c9190613aba565b611734565b60405161064e9190613af6565b60405180910390f35b610671600480360381019061066c9190613d22565b61193a565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613aba565b611b94565b6040516106a79190613af6565b60405180910390f35b3480156106bc57600080fd5b506106c5611c64565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613d7e565b611c78565b005b61070a60048036038101906107059190613d22565b611c8a565b005b34801561071857600080fd5b50610733600480360381019061072e9190613aba565b611ef0565b6040516107409190613af6565b60405180910390f35b34801561075557600080fd5b5061075e611f08565b60405161076b9190613a73565b60405180910390f35b34801561078057600080fd5b50610789611f32565b60405161079691906139ad565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190613aba565b611fc4565b6040516107d39190613af6565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190613dd7565b611fdc565b005b34801561081157600080fd5b5061081a612154565b6040516108279190613af6565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613b11565b61215a565b005b34801561086557600080fd5b50610880600480360381019061087b9190613e72565b612210565b005b34801561088e57600080fd5b506108a960048036038101906108a49190613f87565b612269565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190613a05565b6122e5565b6040516108df91906139ad565b60405180910390f35b3480156108f457600080fd5b5061090f600480360381019061090a9190613aba565b612409565b60405161091c9190613af6565b60405180910390f35b34801561093157600080fd5b5061093a612421565b6040516109479190613af6565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613aba565b612427565b6040516109849190613af6565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af919061400a565b612439565b6040516109c191906138f9565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190613aba565b6124cd565b005b3480156109ff57600080fd5b50610a08612551565b604051610a1591906138f9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af95750610af882612564565b5b9050919050565b6000610b0a611171565b90506105dc600182610b1c9190614079565b1115610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b549061411b565b60405180910390fd5b601260009054906101000a900460ff16610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba390614187565b60405180910390fd5b600180600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf99190614079565b1115610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c31906141f3565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610c933360016125ce565b50565b606060028054610ca590614242565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd190614242565b8015610d1e5780601f10610cf357610100808354040283529160200191610d1e565b820191906000526020600020905b815481529060010190602001808311610d0157829003601f168201915b5050505050905090565b6000610d33826125ec565b610d69576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c6020528060005260406000206000915090505481565b6000610dc782611543565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e2f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e4e61263a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e805750610e7e81610e7961263a565b612439565b155b15610eb7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec2838383612642565b505050565b610ed033611734565b600a819055506000610ee0611171565b90506105dc8282610ef19190614079565b1115610f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f299061411b565b60405180910390fd5b601260019054906101000a900460ff16610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f78906142c0565b60405180910390fd5b600a5482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fcf9190614079565b1115611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061432c565b60405180910390fd5b600954341015611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c90614398565b60405180910390fd5b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506110ac33836125ce565b5050565b6110b86126f4565b601260029054906101000a900460ff166110e8576001601260026101000a81548160ff0219169083151502179055505b601260019054906101000a900460ff1615611119576000601260016101000a81548160ff0219169083151502179055505b601260009054906101000a900460ff161561114d576000601260006101000a81548160ff0219169083151502179055611168565b6001601260006101000a81548160ff02191690831515021790555b50565b60095481565b600061117b612772565b6001546000540303905090565b600b6020528060005260406000206000915090505481565b6111ab838383612777565b505050565b6111b86126f4565b601260019054906101000a900460ff16156111ec576000601260016101000a81548160ff0219169083151502179055611207565b6001601260016101000a81548160ff02191690831515021790555b50565b61121333611734565b600a819055506000611223611171565b90506105dc82826112349190614079565b1115611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c9061411b565b60405180910390fd5b601260019054906101000a900460ff166112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb906142c0565b60405180910390fd5b600a5482600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113129190614079565b1115611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90614404565b60405180910390fd5b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506113aa33836125ce565b5050565b6113b66126f4565b6000601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516113fe90614455565b60006040518083038185875af1925050503d806000811461143b576040519150601f19603f3d011682016040523d82523d6000602084013e611440565b606091505b5050905080611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b906144b6565b60405180910390fd5b50565b601260009054906101000a900460ff1681565b6114b583838360405180602001604052806000815250612269565b505050565b60106020528060005260406000206000915090505481565b6114da6126f4565b8060098190555050565b601460009054906101000a900460ff1681565b6114ff6126f4565b80601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061154e82612c2d565b600001519050919050565b6000611563611171565b90506105dc6001826115759190614079565b11156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad9061411b565b60405180910390fd5b601260009054906101000a900460ff16611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc90614187565b60405180910390fd5b60095434101561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614398565b60405180910390fd5b600180601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116979190614079565b11156116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90614522565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506117313360016125ce565b50565b6000807391c8b5c50a35e461dc7d7ffbc301c365b83f01f873ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016117849190613a73565b60206040518083038186803b15801561179c57600080fd5b505afa1580156117b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d49190614557565b7377640cf3f89a4f1b5ca3a1e5c87f3f5b12ebf87e73ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118219190613a73565b60206040518083038186803b15801561183957600080fd5b505afa15801561184d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118719190614557565b73b5596d75c727559463836eb67aa5cd574a43c7f073ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016118be9190613a73565b60206040518083038186803b1580156118d657600080fd5b505afa1580156118ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190e9190614557565b6119189190614079565b6119229190614079565b90506001811061193157600290505b80915050919050565b6000611944611171565b90506105dc6001826119569190614079565b1115611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e9061411b565b60405180910390fd5b60006119a161263a565b6040516020016119b191906145cc565b6040516020818303038152906040528051906020012090506119d68460115483612ebc565b611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c90614633565b60405180910390fd5b601260019054906101000a900460ff16611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b906142c0565b60405180910390fd5b600954341015611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa090614398565b60405180910390fd5b600283600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af69190614079565b1115611b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2e9061469f565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b8e33846125ce565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c6c6126f4565b611c766000612ed3565b565b611c806126f4565b8060118190555050565b6000611c94611171565b90506105dc600182611ca69190614079565b1115611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde9061411b565b60405180910390fd5b6000611cf161263a565b604051602001611d0191906145cc565b604051602081830303815290604052805190602001209050611d268460115483612ebc565b611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c90614633565b60405180910390fd5b601260019054906101000a900460ff16611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab906142c0565b60405180910390fd5b6105dc600183611dc49190614079565b1115611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc9061411b565b60405180910390fd5b600283600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e529190614079565b1115611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a9061470b565b60405180910390fd5b82600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eea33846125ce565b50505050565b600e6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611f4190614242565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d90614242565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090505481565b611fe461263a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612049576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061205661263a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661210361263a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214891906138f9565b60405180910390a35050565b600a5481565b6121626126f4565b600061216c611171565b90506105dc828261217d9190614079565b11156121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b59061411b565b60405180910390fd5b60008211612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614777565b60405180910390fd5b61220b83836125ce565b505050565b6122186126f4565b601460009054906101000a900460ff161580156122325750805b156122525780601460006101000a81548160ff0219169083151502179055505b82826013919061226392919061375f565b50505050565b612274848484612777565b6122938373ffffffffffffffffffffffffffffffffffffffff16612f99565b80156122a857506122a684848484612fbc565b155b156122df576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606122f0826125ec565b61232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906147e3565b60405180910390fd5b601460009054906101000a900460ff161561237657601361234f8361311c565b6040516020016123609291906148d3565b6040516020818303038152906040529050612404565b6013805461238390614242565b80601f01602080910402602001604051908101604052809291908181526020018280546123af90614242565b80156123fc5780601f106123d1576101008083540402835291602001916123fc565b820191906000526020600020905b8154815290600101906020018083116123df57829003601f168201915b505050505090505b919050565b600f6020528060005260406000206000915090505481565b6105dc81565b60006124328261327d565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124d56126f4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253c90614969565b60405180910390fd5b61254e81612ed3565b50565b601260019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e88282604051806020016040528060008152506132e7565b5050565b6000816125f7612772565b11158015612606575060005482105b8015612633575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6126fc61263a565b73ffffffffffffffffffffffffffffffffffffffff1661271a611f08565b73ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612767906149d5565b60405180910390fd5b565b600090565b600061278282612c2d565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127ed576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661280e61263a565b73ffffffffffffffffffffffffffffffffffffffff16148061283d575061283c8561283761263a565b612439565b5b80612882575061284b61263a565b73ffffffffffffffffffffffffffffffffffffffff1661286a84610d28565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128bb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612922576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61292f85858560016132f9565b61293b60008487612642565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bbb576000548214612bba57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2685858560016132ff565b5050505050565b612c356137e5565b600082905080612c43612772565b11158015612c52575060005481105b15612e85576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612e8357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d67578092505050612eb7565b5b600115612e8257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e7d578092505050612eb7565b612d68565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600082612ec98584613305565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fe261263a565b8786866040518563ffffffff1660e01b81526004016130049493929190614a4a565b602060405180830381600087803b15801561301e57600080fd5b505af192505050801561304f57506040513d601f19601f8201168201806040525081019061304c9190614aab565b60015b6130c9573d806000811461307f576040519150601f19603f3d011682016040523d82523d6000602084013e613084565b606091505b506000815114156130c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613164576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613278565b600082905060005b6000821461319657808061317f90614ad8565b915050600a8261318f9190614b50565b915061316c565b60008167ffffffffffffffff8111156131b2576131b1613ba9565b5b6040519080825280601f01601f1916602001820160405280156131e45781602001600182028036833780820191505090505b5090505b60008514613271576001826131fd9190614b81565b9150600a8561320c9190614bb5565b60306132189190614079565b60f81b81838151811061322e5761322d614be6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561326a9190614b50565b94506131e8565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6132f4838383600161337a565b505050565b50505050565b50505050565b60008082905060005b845181101561336f57600085828151811061332c5761332b614be6565b5b6020026020010151905080831161334e576133478382613748565b925061335b565b6133588184613748565b92505b50808061336790614ad8565b91505061330e565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133e7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613422576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61342f60008683876132f9565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156135f957506135f88773ffffffffffffffffffffffffffffffffffffffff16612f99565b5b156136bf575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461366e6000888480600101955088612fbc565b6136a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156135ff5782600054146136ba57600080fd5b61372b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156136c0575b81600081905550505061374160008683876132ff565b5050505050565b600082600052816020526040600020905092915050565b82805461376b90614242565b90600052602060002090601f01602090048101928261378d57600085556137d4565b82601f106137a657803560ff19168380011785556137d4565b828001600101855582156137d4579182015b828111156137d35782358255916020019190600101906137b8565b5b5090506137e19190613828565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613841576000816000905550600101613829565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388e81613859565b811461389957600080fd5b50565b6000813590506138ab81613885565b92915050565b6000602082840312156138c7576138c661384f565b5b60006138d58482850161389c565b91505092915050565b60008115159050919050565b6138f3816138de565b82525050565b600060208201905061390e60008301846138ea565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394e578082015181840152602081019050613933565b8381111561395d576000848401525b50505050565b6000601f19601f8301169050919050565b600061397f82613914565b613989818561391f565b9350613999818560208601613930565b6139a281613963565b840191505092915050565b600060208201905081810360008301526139c78184613974565b905092915050565b6000819050919050565b6139e2816139cf565b81146139ed57600080fd5b50565b6000813590506139ff816139d9565b92915050565b600060208284031215613a1b57613a1a61384f565b5b6000613a29848285016139f0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a5d82613a32565b9050919050565b613a6d81613a52565b82525050565b6000602082019050613a886000830184613a64565b92915050565b613a9781613a52565b8114613aa257600080fd5b50565b600081359050613ab481613a8e565b92915050565b600060208284031215613ad057613acf61384f565b5b6000613ade84828501613aa5565b91505092915050565b613af0816139cf565b82525050565b6000602082019050613b0b6000830184613ae7565b92915050565b60008060408385031215613b2857613b2761384f565b5b6000613b3685828601613aa5565b9250506020613b47858286016139f0565b9150509250929050565b600080600060608486031215613b6a57613b6961384f565b5b6000613b7886828701613aa5565b9350506020613b8986828701613aa5565b9250506040613b9a868287016139f0565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be182613963565b810181811067ffffffffffffffff82111715613c0057613bff613ba9565b5b80604052505050565b6000613c13613845565b9050613c1f8282613bd8565b919050565b600067ffffffffffffffff821115613c3f57613c3e613ba9565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613c6881613c55565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b6000613c9e613c9984613c24565b613c09565b90508083825260208201905060208402830185811115613cc157613cc0613c50565b5b835b81811015613cea5780613cd68882613c76565b845260208401935050602081019050613cc3565b5050509392505050565b600082601f830112613d0957613d08613ba4565b5b8135613d19848260208601613c8b565b91505092915050565b60008060408385031215613d3957613d3861384f565b5b600083013567ffffffffffffffff811115613d5757613d56613854565b5b613d6385828601613cf4565b9250506020613d74858286016139f0565b9150509250929050565b600060208284031215613d9457613d9361384f565b5b6000613da284828501613c76565b91505092915050565b613db4816138de565b8114613dbf57600080fd5b50565b600081359050613dd181613dab565b92915050565b60008060408385031215613dee57613ded61384f565b5b6000613dfc85828601613aa5565b9250506020613e0d85828601613dc2565b9150509250929050565b600080fd5b60008083601f840112613e3257613e31613ba4565b5b8235905067ffffffffffffffff811115613e4f57613e4e613e17565b5b602083019150836001820283011115613e6b57613e6a613c50565b5b9250929050565b600080600060408486031215613e8b57613e8a61384f565b5b600084013567ffffffffffffffff811115613ea957613ea8613854565b5b613eb586828701613e1c565b93509350506020613ec886828701613dc2565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613ef257613ef1613ba9565b5b613efb82613963565b9050602081019050919050565b82818337600083830152505050565b6000613f2a613f2584613ed7565b613c09565b905082815260208101848484011115613f4657613f45613ed2565b5b613f51848285613f08565b509392505050565b600082601f830112613f6e57613f6d613ba4565b5b8135613f7e848260208601613f17565b91505092915050565b60008060008060808587031215613fa157613fa061384f565b5b6000613faf87828801613aa5565b9450506020613fc087828801613aa5565b9350506040613fd1878288016139f0565b925050606085013567ffffffffffffffff811115613ff257613ff1613854565b5b613ffe87828801613f59565b91505092959194509250565b600080604083850312156140215761402061384f565b5b600061402f85828601613aa5565b925050602061404085828601613aa5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614084826139cf565b915061408f836139cf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c4576140c361404a565b5b828201905092915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b600061410560138361391f565b9150614110826140cf565b602082019050919050565b60006020820190508181036000830152614134816140f8565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b6000614171600f8361391f565b915061417c8261413b565b602082019050919050565b600060208201905081810360008301526141a081614164565b9050919050565b7f5055424c4943465245455f4d4158454400000000000000000000000000000000600082015250565b60006141dd60108361391f565b91506141e8826141a7565b602082019050919050565b6000602082019050818103600083015261420c816141d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061425a57607f821691505b6020821081141561426e5761426d614213565b5b50919050565b7f5052494f524954594c4953545f494e4143544956450000000000000000000000600082015250565b60006142aa60158361391f565b91506142b582614274565b602082019050919050565b600060208201905081810360008301526142d98161429d565b9050919050565b7f5052494f524954594c495354504149445f4d4158454400000000000000000000600082015250565b600061431660168361391f565b9150614321826142e0565b602082019050919050565b6000602082019050818103600083015261434581614309565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614382600d8361391f565b915061438d8261434c565b602082019050919050565b600060208201905081810360008301526143b181614375565b9050919050565b7f5052494f524954594c495354465245455f4d4158454400000000000000000000600082015250565b60006143ee60168361391f565b91506143f9826143b8565b602082019050919050565b6000602082019050818103600083015261441d816143e1565b9050919050565b600081905092915050565b50565b600061443f600083614424565b915061444a8261442f565b600082019050919050565b600061446082614432565b9150819050919050565b7f5452414e534645525f4641494c45440000000000000000000000000000000000600082015250565b60006144a0600f8361391f565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b600061450c60108361391f565b9150614517826144d6565b602082019050919050565b6000602082019050818103600083015261453b816144ff565b9050919050565b600081519050614551816139d9565b92915050565b60006020828403121561456d5761456c61384f565b5b600061457b84828501614542565b91505092915050565b60008160601b9050919050565b600061459c82614584565b9050919050565b60006145ae82614591565b9050919050565b6145c66145c182613a52565b6145a3565b82525050565b60006145d882846145b5565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b600061461d600e8361391f565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614689600c8361391f565b915061469482614653565b602082019050919050565b600060208201905081810360008301526146b88161467c565b9050919050565b7f574c465245455f4d415845440000000000000000000000000000000000000000600082015250565b60006146f5600c8361391f565b9150614700826146bf565b602082019050919050565b60006020820190508181036000830152614724816146e8565b9050919050565b7f494e56414c49445f5155414e5449545900000000000000000000000000000000600082015250565b600061476160108361391f565b915061476c8261472b565b602082019050919050565b6000602082019050818103600083015261479081614754565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006147cd601f8361391f565b91506147d882614797565b602082019050919050565b600060208201905081810360008301526147fc816147c0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461483081614242565b61483a8186614803565b94506001821660008114614855576001811461486657614899565b60ff19831686528186019350614899565b61486f8561480e565b60005b8381101561489157815481890152600182019150602081019050614872565b838801955050505b50505092915050565b60006148ad82613914565b6148b78185614803565b93506148c7818560208601613930565b80840191505092915050565b60006148df8285614823565b91506148eb82846148a2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061495360268361391f565b915061495e826148f7565b604082019050919050565b6000602082019050818103600083015261498281614946565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149bf60208361391f565b91506149ca82614989565b602082019050919050565b600060208201905081810360008301526149ee816149b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a1c826149f5565b614a268185614a00565b9350614a36818560208601613930565b614a3f81613963565b840191505092915050565b6000608082019050614a5f6000830187613a64565b614a6c6020830186613a64565b614a796040830185613ae7565b8181036060830152614a8b8184614a11565b905095945050505050565b600081519050614aa581613885565b92915050565b600060208284031215614ac157614ac061384f565b5b6000614acf84828501614a96565b91505092915050565b6000614ae3826139cf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b1657614b1561404a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b5b826139cf565b9150614b66836139cf565b925082614b7657614b75614b21565b5b828204905092915050565b6000614b8c826139cf565b9150614b97836139cf565b925082821015614baa57614ba961404a565b5b828203905092915050565b6000614bc0826139cf565b9150614bcb836139cf565b925082614bdb57614bda614b21565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212200a4e163c704c5daf23aaa68a20c4a68f303fd05a9bceefb086184e7c07e2f27164736f6c63430008090033

Deployed Bytecode

0x6080604052600436106102725760003560e01c806363b136c91161014f578063a22cb465116100c1578063cfda71851161007a578063cfda7185146108e8578063d5abeb0114610925578063dc33e68114610950578063e985e9c51461098d578063f2fde38b146109ca578063fd2d2c70146109f357610272565b8063a22cb465146107dc578063a2e575b414610805578063b4dd677714610830578063b64b21ca14610859578063b88d4fde14610882578063c87b56dd146108ab57610272565b80637cb64759116101135780637cb64759146106c757806384115e78146106f0578063847b48201461070c5780638da5cb5b1461074957806395d89b41146107745780639c0a01bc1461079f57610272565b806363b136c914610610578063660ebff61461061a57806367539cac1461065757806370a0823114610673578063715018a6146106b057610272565b806323b872dd116101e857806342842e0e116101ac57806342842e0e146104f057806342b188251461051957806344a0d68a14610556578063518302271461057f5780635e1e1004146105aa5780636352211e146105d357610272565b806323b872dd1461045257806328e31e421461047b5780633b95c10e146104925780633c68eb81146104ae5780633f2981cf146104c557610272565b8063095ea7b31161023a578063095ea7b314610363578063103aa8a11461038c57806311eb3047146103a857806313faede6146103bf57806318160ddd146103ea5780631b5acb8b1461041557610272565b806301ffc9a71461027757806303aa0391146102b457806306fdde03146102be578063081812fc146102e9578063095725e514610326575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906138b1565b610a1e565b6040516102ab91906138f9565b60405180910390f35b6102bc610b00565b005b3480156102ca57600080fd5b506102d3610c96565b6040516102e091906139ad565b60405180910390f35b3480156102f557600080fd5b50610310600480360381019061030b9190613a05565b610d28565b60405161031d9190613a73565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613aba565b610da4565b60405161035a9190613af6565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613b11565b610dbc565b005b6103a660048036038101906103a19190613a05565b610ec7565b005b3480156103b457600080fd5b506103bd6110b0565b005b3480156103cb57600080fd5b506103d461116b565b6040516103e19190613af6565b60405180910390f35b3480156103f657600080fd5b506103ff611171565b60405161040c9190613af6565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190613aba565b611188565b6040516104499190613af6565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190613b51565b6111a0565b005b34801561048757600080fd5b506104906111b0565b005b6104ac60048036038101906104a79190613a05565b61120a565b005b3480156104ba57600080fd5b506104c36113ae565b005b3480156104d157600080fd5b506104da611487565b6040516104e791906138f9565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613b51565b61149a565b005b34801561052557600080fd5b50610540600480360381019061053b9190613aba565b6114ba565b60405161054d9190613af6565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613a05565b6114d2565b005b34801561058b57600080fd5b506105946114e4565b6040516105a191906138f9565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc9190613aba565b6114f7565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613a05565b611543565b6040516106079190613a73565b60405180910390f35b610618611559565b005b34801561062657600080fd5b50610641600480360381019061063c9190613aba565b611734565b60405161064e9190613af6565b60405180910390f35b610671600480360381019061066c9190613d22565b61193a565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613aba565b611b94565b6040516106a79190613af6565b60405180910390f35b3480156106bc57600080fd5b506106c5611c64565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613d7e565b611c78565b005b61070a60048036038101906107059190613d22565b611c8a565b005b34801561071857600080fd5b50610733600480360381019061072e9190613aba565b611ef0565b6040516107409190613af6565b60405180910390f35b34801561075557600080fd5b5061075e611f08565b60405161076b9190613a73565b60405180910390f35b34801561078057600080fd5b50610789611f32565b60405161079691906139ad565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190613aba565b611fc4565b6040516107d39190613af6565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190613dd7565b611fdc565b005b34801561081157600080fd5b5061081a612154565b6040516108279190613af6565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613b11565b61215a565b005b34801561086557600080fd5b50610880600480360381019061087b9190613e72565b612210565b005b34801561088e57600080fd5b506108a960048036038101906108a49190613f87565b612269565b005b3480156108b757600080fd5b506108d260048036038101906108cd9190613a05565b6122e5565b6040516108df91906139ad565b60405180910390f35b3480156108f457600080fd5b5061090f600480360381019061090a9190613aba565b612409565b60405161091c9190613af6565b60405180910390f35b34801561093157600080fd5b5061093a612421565b6040516109479190613af6565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613aba565b612427565b6040516109849190613af6565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af919061400a565b612439565b6040516109c191906138f9565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190613aba565b6124cd565b005b3480156109ff57600080fd5b50610a08612551565b604051610a1591906138f9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af95750610af882612564565b5b9050919050565b6000610b0a611171565b90506105dc600182610b1c9190614079565b1115610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b549061411b565b60405180910390fd5b601260009054906101000a900460ff16610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba390614187565b60405180910390fd5b600180600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf99190614079565b1115610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c31906141f3565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610c933360016125ce565b50565b606060028054610ca590614242565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd190614242565b8015610d1e5780601f10610cf357610100808354040283529160200191610d1e565b820191906000526020600020905b815481529060010190602001808311610d0157829003601f168201915b5050505050905090565b6000610d33826125ec565b610d69576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c6020528060005260406000206000915090505481565b6000610dc782611543565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e2f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e4e61263a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e805750610e7e81610e7961263a565b612439565b155b15610eb7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec2838383612642565b505050565b610ed033611734565b600a819055506000610ee0611171565b90506105dc8282610ef19190614079565b1115610f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f299061411b565b60405180910390fd5b601260019054906101000a900460ff16610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f78906142c0565b60405180910390fd5b600a5482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fcf9190614079565b1115611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061432c565b60405180910390fd5b600954341015611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c90614398565b60405180910390fd5b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506110ac33836125ce565b5050565b6110b86126f4565b601260029054906101000a900460ff166110e8576001601260026101000a81548160ff0219169083151502179055505b601260019054906101000a900460ff1615611119576000601260016101000a81548160ff0219169083151502179055505b601260009054906101000a900460ff161561114d576000601260006101000a81548160ff0219169083151502179055611168565b6001601260006101000a81548160ff02191690831515021790555b50565b60095481565b600061117b612772565b6001546000540303905090565b600b6020528060005260406000206000915090505481565b6111ab838383612777565b505050565b6111b86126f4565b601260019054906101000a900460ff16156111ec576000601260016101000a81548160ff0219169083151502179055611207565b6001601260016101000a81548160ff02191690831515021790555b50565b61121333611734565b600a819055506000611223611171565b90506105dc82826112349190614079565b1115611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c9061411b565b60405180910390fd5b601260019054906101000a900460ff166112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb906142c0565b60405180910390fd5b600a5482600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113129190614079565b1115611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90614404565b60405180910390fd5b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506113aa33836125ce565b5050565b6113b66126f4565b6000601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516113fe90614455565b60006040518083038185875af1925050503d806000811461143b576040519150601f19603f3d011682016040523d82523d6000602084013e611440565b606091505b5050905080611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b906144b6565b60405180910390fd5b50565b601260009054906101000a900460ff1681565b6114b583838360405180602001604052806000815250612269565b505050565b60106020528060005260406000206000915090505481565b6114da6126f4565b8060098190555050565b601460009054906101000a900460ff1681565b6114ff6126f4565b80601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061154e82612c2d565b600001519050919050565b6000611563611171565b90506105dc6001826115759190614079565b11156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad9061411b565b60405180910390fd5b601260009054906101000a900460ff16611605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fc90614187565b60405180910390fd5b60095434101561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614398565b60405180910390fd5b600180601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116979190614079565b11156116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90614522565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506117313360016125ce565b50565b6000807391c8b5c50a35e461dc7d7ffbc301c365b83f01f873ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016117849190613a73565b60206040518083038186803b15801561179c57600080fd5b505afa1580156117b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d49190614557565b7377640cf3f89a4f1b5ca3a1e5c87f3f5b12ebf87e73ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016118219190613a73565b60206040518083038186803b15801561183957600080fd5b505afa15801561184d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118719190614557565b73b5596d75c727559463836eb67aa5cd574a43c7f073ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016118be9190613a73565b60206040518083038186803b1580156118d657600080fd5b505afa1580156118ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190e9190614557565b6119189190614079565b6119229190614079565b90506001811061193157600290505b80915050919050565b6000611944611171565b90506105dc6001826119569190614079565b1115611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e9061411b565b60405180910390fd5b60006119a161263a565b6040516020016119b191906145cc565b6040516020818303038152906040528051906020012090506119d68460115483612ebc565b611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c90614633565b60405180910390fd5b601260019054906101000a900460ff16611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b906142c0565b60405180910390fd5b600954341015611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa090614398565b60405180910390fd5b600283600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af69190614079565b1115611b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2e9061469f565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b8e33846125ce565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c6c6126f4565b611c766000612ed3565b565b611c806126f4565b8060118190555050565b6000611c94611171565b90506105dc600182611ca69190614079565b1115611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde9061411b565b60405180910390fd5b6000611cf161263a565b604051602001611d0191906145cc565b604051602081830303815290604052805190602001209050611d268460115483612ebc565b611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c90614633565b60405180910390fd5b601260019054906101000a900460ff16611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab906142c0565b60405180910390fd5b6105dc600183611dc49190614079565b1115611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc9061411b565b60405180910390fd5b600283600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e529190614079565b1115611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a9061470b565b60405180910390fd5b82600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eea33846125ce565b50505050565b600e6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611f4190614242565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d90614242565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090505481565b611fe461263a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612049576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061205661263a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661210361263a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214891906138f9565b60405180910390a35050565b600a5481565b6121626126f4565b600061216c611171565b90506105dc828261217d9190614079565b11156121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b59061411b565b60405180910390fd5b60008211612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614777565b60405180910390fd5b61220b83836125ce565b505050565b6122186126f4565b601460009054906101000a900460ff161580156122325750805b156122525780601460006101000a81548160ff0219169083151502179055505b82826013919061226392919061375f565b50505050565b612274848484612777565b6122938373ffffffffffffffffffffffffffffffffffffffff16612f99565b80156122a857506122a684848484612fbc565b155b156122df576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606122f0826125ec565b61232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906147e3565b60405180910390fd5b601460009054906101000a900460ff161561237657601361234f8361311c565b6040516020016123609291906148d3565b6040516020818303038152906040529050612404565b6013805461238390614242565b80601f01602080910402602001604051908101604052809291908181526020018280546123af90614242565b80156123fc5780601f106123d1576101008083540402835291602001916123fc565b820191906000526020600020905b8154815290600101906020018083116123df57829003601f168201915b505050505090505b919050565b600f6020528060005260406000206000915090505481565b6105dc81565b60006124328261327d565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124d56126f4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253c90614969565b60405180910390fd5b61254e81612ed3565b50565b601260019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e88282604051806020016040528060008152506132e7565b5050565b6000816125f7612772565b11158015612606575060005482105b8015612633575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6126fc61263a565b73ffffffffffffffffffffffffffffffffffffffff1661271a611f08565b73ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612767906149d5565b60405180910390fd5b565b600090565b600061278282612c2d565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127ed576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661280e61263a565b73ffffffffffffffffffffffffffffffffffffffff16148061283d575061283c8561283761263a565b612439565b5b80612882575061284b61263a565b73ffffffffffffffffffffffffffffffffffffffff1661286a84610d28565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128bb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612922576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61292f85858560016132f9565b61293b60008487612642565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bbb576000548214612bba57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2685858560016132ff565b5050505050565b612c356137e5565b600082905080612c43612772565b11158015612c52575060005481105b15612e85576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612e8357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d67578092505050612eb7565b5b600115612e8257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e7d578092505050612eb7565b612d68565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600082612ec98584613305565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fe261263a565b8786866040518563ffffffff1660e01b81526004016130049493929190614a4a565b602060405180830381600087803b15801561301e57600080fd5b505af192505050801561304f57506040513d601f19601f8201168201806040525081019061304c9190614aab565b60015b6130c9573d806000811461307f576040519150601f19603f3d011682016040523d82523d6000602084013e613084565b606091505b506000815114156130c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613164576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613278565b600082905060005b6000821461319657808061317f90614ad8565b915050600a8261318f9190614b50565b915061316c565b60008167ffffffffffffffff8111156131b2576131b1613ba9565b5b6040519080825280601f01601f1916602001820160405280156131e45781602001600182028036833780820191505090505b5090505b60008514613271576001826131fd9190614b81565b9150600a8561320c9190614bb5565b60306132189190614079565b60f81b81838151811061322e5761322d614be6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561326a9190614b50565b94506131e8565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6132f4838383600161337a565b505050565b50505050565b50505050565b60008082905060005b845181101561336f57600085828151811061332c5761332b614be6565b5b6020026020010151905080831161334e576133478382613748565b925061335b565b6133588184613748565b92505b50808061336790614ad8565b91505061330e565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133e7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613422576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61342f60008683876132f9565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156135f957506135f88773ffffffffffffffffffffffffffffffffffffffff16612f99565b5b156136bf575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461366e6000888480600101955088612fbc565b6136a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156135ff5782600054146136ba57600080fd5b61372b565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156136c0575b81600081905550505061374160008683876132ff565b5050505050565b600082600052816020526040600020905092915050565b82805461376b90614242565b90600052602060002090601f01602090048101928261378d57600085556137d4565b82601f106137a657803560ff19168380011785556137d4565b828001600101855582156137d4579182015b828111156137d35782358255916020019190600101906137b8565b5b5090506137e19190613828565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613841576000816000905550600101613829565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388e81613859565b811461389957600080fd5b50565b6000813590506138ab81613885565b92915050565b6000602082840312156138c7576138c661384f565b5b60006138d58482850161389c565b91505092915050565b60008115159050919050565b6138f3816138de565b82525050565b600060208201905061390e60008301846138ea565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394e578082015181840152602081019050613933565b8381111561395d576000848401525b50505050565b6000601f19601f8301169050919050565b600061397f82613914565b613989818561391f565b9350613999818560208601613930565b6139a281613963565b840191505092915050565b600060208201905081810360008301526139c78184613974565b905092915050565b6000819050919050565b6139e2816139cf565b81146139ed57600080fd5b50565b6000813590506139ff816139d9565b92915050565b600060208284031215613a1b57613a1a61384f565b5b6000613a29848285016139f0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a5d82613a32565b9050919050565b613a6d81613a52565b82525050565b6000602082019050613a886000830184613a64565b92915050565b613a9781613a52565b8114613aa257600080fd5b50565b600081359050613ab481613a8e565b92915050565b600060208284031215613ad057613acf61384f565b5b6000613ade84828501613aa5565b91505092915050565b613af0816139cf565b82525050565b6000602082019050613b0b6000830184613ae7565b92915050565b60008060408385031215613b2857613b2761384f565b5b6000613b3685828601613aa5565b9250506020613b47858286016139f0565b9150509250929050565b600080600060608486031215613b6a57613b6961384f565b5b6000613b7886828701613aa5565b9350506020613b8986828701613aa5565b9250506040613b9a868287016139f0565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be182613963565b810181811067ffffffffffffffff82111715613c0057613bff613ba9565b5b80604052505050565b6000613c13613845565b9050613c1f8282613bd8565b919050565b600067ffffffffffffffff821115613c3f57613c3e613ba9565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613c6881613c55565b8114613c7357600080fd5b50565b600081359050613c8581613c5f565b92915050565b6000613c9e613c9984613c24565b613c09565b90508083825260208201905060208402830185811115613cc157613cc0613c50565b5b835b81811015613cea5780613cd68882613c76565b845260208401935050602081019050613cc3565b5050509392505050565b600082601f830112613d0957613d08613ba4565b5b8135613d19848260208601613c8b565b91505092915050565b60008060408385031215613d3957613d3861384f565b5b600083013567ffffffffffffffff811115613d5757613d56613854565b5b613d6385828601613cf4565b9250506020613d74858286016139f0565b9150509250929050565b600060208284031215613d9457613d9361384f565b5b6000613da284828501613c76565b91505092915050565b613db4816138de565b8114613dbf57600080fd5b50565b600081359050613dd181613dab565b92915050565b60008060408385031215613dee57613ded61384f565b5b6000613dfc85828601613aa5565b9250506020613e0d85828601613dc2565b9150509250929050565b600080fd5b60008083601f840112613e3257613e31613ba4565b5b8235905067ffffffffffffffff811115613e4f57613e4e613e17565b5b602083019150836001820283011115613e6b57613e6a613c50565b5b9250929050565b600080600060408486031215613e8b57613e8a61384f565b5b600084013567ffffffffffffffff811115613ea957613ea8613854565b5b613eb586828701613e1c565b93509350506020613ec886828701613dc2565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613ef257613ef1613ba9565b5b613efb82613963565b9050602081019050919050565b82818337600083830152505050565b6000613f2a613f2584613ed7565b613c09565b905082815260208101848484011115613f4657613f45613ed2565b5b613f51848285613f08565b509392505050565b600082601f830112613f6e57613f6d613ba4565b5b8135613f7e848260208601613f17565b91505092915050565b60008060008060808587031215613fa157613fa061384f565b5b6000613faf87828801613aa5565b9450506020613fc087828801613aa5565b9350506040613fd1878288016139f0565b925050606085013567ffffffffffffffff811115613ff257613ff1613854565b5b613ffe87828801613f59565b91505092959194509250565b600080604083850312156140215761402061384f565b5b600061402f85828601613aa5565b925050602061404085828601613aa5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614084826139cf565b915061408f836139cf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c4576140c361404a565b5b828201905092915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b600061410560138361391f565b9150614110826140cf565b602082019050919050565b60006020820190508181036000830152614134816140f8565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b6000614171600f8361391f565b915061417c8261413b565b602082019050919050565b600060208201905081810360008301526141a081614164565b9050919050565b7f5055424c4943465245455f4d4158454400000000000000000000000000000000600082015250565b60006141dd60108361391f565b91506141e8826141a7565b602082019050919050565b6000602082019050818103600083015261420c816141d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061425a57607f821691505b6020821081141561426e5761426d614213565b5b50919050565b7f5052494f524954594c4953545f494e4143544956450000000000000000000000600082015250565b60006142aa60158361391f565b91506142b582614274565b602082019050919050565b600060208201905081810360008301526142d98161429d565b9050919050565b7f5052494f524954594c495354504149445f4d4158454400000000000000000000600082015250565b600061431660168361391f565b9150614321826142e0565b602082019050919050565b6000602082019050818103600083015261434581614309565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614382600d8361391f565b915061438d8261434c565b602082019050919050565b600060208201905081810360008301526143b181614375565b9050919050565b7f5052494f524954594c495354465245455f4d4158454400000000000000000000600082015250565b60006143ee60168361391f565b91506143f9826143b8565b602082019050919050565b6000602082019050818103600083015261441d816143e1565b9050919050565b600081905092915050565b50565b600061443f600083614424565b915061444a8261442f565b600082019050919050565b600061446082614432565b9150819050919050565b7f5452414e534645525f4641494c45440000000000000000000000000000000000600082015250565b60006144a0600f8361391f565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b600061450c60108361391f565b9150614517826144d6565b602082019050919050565b6000602082019050818103600083015261453b816144ff565b9050919050565b600081519050614551816139d9565b92915050565b60006020828403121561456d5761456c61384f565b5b600061457b84828501614542565b91505092915050565b60008160601b9050919050565b600061459c82614584565b9050919050565b60006145ae82614591565b9050919050565b6145c66145c182613a52565b6145a3565b82525050565b60006145d882846145b5565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b600061461d600e8361391f565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614689600c8361391f565b915061469482614653565b602082019050919050565b600060208201905081810360008301526146b88161467c565b9050919050565b7f574c465245455f4d415845440000000000000000000000000000000000000000600082015250565b60006146f5600c8361391f565b9150614700826146bf565b602082019050919050565b60006020820190508181036000830152614724816146e8565b9050919050565b7f494e56414c49445f5155414e5449545900000000000000000000000000000000600082015250565b600061476160108361391f565b915061476c8261472b565b602082019050919050565b6000602082019050818103600083015261479081614754565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006147cd601f8361391f565b91506147d882614797565b602082019050919050565b600060208201905081810360008301526147fc816147c0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461483081614242565b61483a8186614803565b94506001821660008114614855576001811461486657614899565b60ff19831686528186019350614899565b61486f8561480e565b60005b8381101561489157815481890152600182019150602081019050614872565b838801955050505b50505092915050565b60006148ad82613914565b6148b78185614803565b93506148c7818560208601613930565b80840191505092915050565b60006148df8285614823565b91506148eb82846148a2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061495360268361391f565b915061495e826148f7565b604082019050919050565b6000602082019050818103600083015261498281614946565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149bf60208361391f565b91506149ca82614989565b602082019050919050565b600060208201905081810360008301526149ee816149b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a1c826149f5565b614a268185614a00565b9350614a36818560208601613930565b614a3f81613963565b840191505092915050565b6000608082019050614a5f6000830187613a64565b614a6c6020830186613a64565b614a796040830185613ae7565b8181036060830152614a8b8184614a11565b905095945050505050565b600081519050614aa581613885565b92915050565b600060208284031215614ac157614ac061384f565b5b6000614acf84828501614a96565b91505092915050565b6000614ae3826139cf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b1657614b1561404a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b5b826139cf565b9150614b66836139cf565b925082614b7657614b75614b21565b5b828204905092915050565b6000614b8c826139cf565b9150614b97836139cf565b925082821015614baa57614ba961404a565b5b828203905092915050565b6000614bc0826139cf565b9150614bcb836139cf565b925082614bdb57614bda614b21565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212200a4e163c704c5daf23aaa68a20c4a68f303fd05a9bceefb086184e7c07e2f27164736f6c63430008090033

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.