ETH Price: $3,384.73 (-8.31%)
Gas: 8.52 Gwei

Token

Vortex (VTX)
 

Overview

Max Total Supply

1,414 VTX

Holders

570

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
vetik.eth
Balance
1 VTX
0xf3213D38006c8290150CD2e3E85840DA12e2586B
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

# Vortex: the first supercomputed NFT Vortex captures these 3D kinetic experiences by simulating complex 3D physics and animating the results with a realistic 3D rendering engine. The project is Carbon negative - with all emissions from minting and rendering offset 5X over. ...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Vortex

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Vortex.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

//               . '@(@@@@@@@)@. (@@) `  .
//     .  @@'((@@@@@@@@@@@)@@@@@)@@@@@@@)@
//     @@(@@@@@@@@@@))@@@@@@@@@@@@@@@@)@@` .
//  @.((@@@@@@@)(@@@@@@@@@@@@@@))@\@@@@@@@@@)@@@
// (@@@@@@@@@@@@@@@@@@)@@@@@@@@@@@\\@@)@@@@@@@@)
//(@@@@@@@@)@@@@@@@@@@@@@(@@@@@@@@//@@@@@@@@@) `
// .@(@@@@)##&&&&&(@@@@@@@@)::_=(@\\@@@@)@@ .
//   @@`(@@)###&&&&&!!;;;;;;::-_=@@\\@)@`@.
//   `   @@(@###&&&&!!;;;;;::-=_=@.@\\@@
//      `  @.#####&&&!!;;;::=-_= .@ \
//            ####&&&!!;;::=_-
//             ###&&!!;;:-_=
//              ##&&!;::_=
//             ##&&!;:=
//            ##&&!:-
//           #&!;:-
//          #&!;=
//          #&!-
//           #&=
//            #&-
//            \\#/

/** @title Vortex */
contract Vortex is ERC721Enumerable, Ownable {
    string public contractState; // "presale_1", "presale_2" or "public_mint"
    bytes32 presale1State = keccak256(abi.encodePacked("presale_1"));
    bytes32 presale2State = keccak256(abi.encodePacked("presale_2"));
    bytes32 publicMintState = keccak256(abi.encodePacked("public_mint"));
    uint256 public constant mintPrice = 0.029 ether;
    uint256 public constant mintPriceDiscounted = 0.022 ether;
    uint256 public constant maxSupply = 1414;
    uint256 public constant reservedTokens = 21;
    uint256 public presaleGuaranteedTokens = 2;
    uint256 public presalePoolTokensClaimed = 0;
    uint256 public nWhitelisted;
    string private currentBaseURI;
    bytes32 private merkleRoot;
    address public presale1address = 0xC8100dD81e0D8D0901b7b5831e575b03E1489057; /// eternal fragments

    event Received(address, uint256);

    constructor() ERC721("Vortex", "VTX") {}

    /**
     * @dev Verify whether an address is on the whitelist
     * @param proof The required proof
     * @param leaf The leaf to verify, which has been created off-chain
     */
    function verify(bytes32[] memory proof, bytes32 leaf)
        public
        view
        returns (bool)
    {
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }

    /**
     * @dev Set the contract's state
     * @param _contractState The new desired contract state
     */
    function setContractState(string memory _contractState) public onlyOwner {
        contractState = _contractState;
    }

    /** @dev Update the base URI
     * @param baseURI_ New value of the base URI
     */
    function setBaseURI(string memory baseURI_) public onlyOwner {
        currentBaseURI = baseURI_;
    }

    /** @dev Get the current base URI
     * @return currentBaseURI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return currentBaseURI;
    }

    /** @dev Sets the presale1 address
     * @param presale1Address_ the address
     */
    function setPresale1Address(address presale1Address_) public onlyOwner {
        presale1address = presale1Address_;
    }

    /** @dev Set the merkle root for address verification
     * @param merkleRoot_ the merkle root to set
     */
    function setMerkleRoot(bytes32 merkleRoot_) public onlyOwner {
        merkleRoot = merkleRoot_;
    }

    /** @dev Set number of tokens guaranteed to whitelisted addresses
     * @param qty the number of tokens to guarantee
     */
    function setPresaleGuaranteedTokens(uint256 qty) public onlyOwner {
        presaleGuaranteedTokens = qty;
    }

    /** @dev Set number of addresses whitelisted
     * @param qty the number of whitelisted addresses
     */
    function setNWhitelisted(uint256 qty) public onlyOwner {
        nWhitelisted = qty;
    }

    /**
     * @dev Check how many Eternal Fragments an address holds
     */
    function getExternalBalance(address contractAddress, address walletAddress)
        public
        view
        returns (uint256)
    {
        ERC721Enumerable token = ERC721Enumerable(contractAddress);
        return token.balanceOf(walletAddress);
    }

    /** @dev Mint in the presale
     * @param quantity The quantity of tokens to mint
     * @param proof The required proof
     */
    function presaleMint(uint256 quantity, bytes32[] memory proof)
        public
        payable
    {
        /// get the variables as comparable bytes
        bytes32 _contractState = keccak256(abi.encodePacked(contractState));
        /// check that one of the presale windows is active
        require(
            _contractState == presale1State || _contractState == presale2State,
            "Presale minting is not active"
        );

        // get the mint price
        uint256 _mintPrice = _contractState == presale1State
            ? mintPriceDiscounted
            : mintPrice;

        // check the txn value
        require(
            msg.value >= _mintPrice * quantity,
            "Insufficient value for presale mint"
        );

        // check that the required NFTs are held in the sender's wallet
        if (_contractState == presale1State) {
            // must hold an eternal fragment
            uint256 balance = getExternalBalance(presale1address, msg.sender);
            require(balance > 0, "Not holding any Eternal Fragments");
        }

        // get the sender's balance
        uint256 currentBalance = balanceOf(msg.sender);

        // calculate the total presale pool size
        uint256 presalePoolSize = maxSupply -
            (nWhitelisted * presaleGuaranteedTokens) -
            reservedTokens;

        // calculate the remaining presale pool based on the amt claimed so far
        uint256 remainingPresalePool = presalePoolSize -
            presalePoolTokensClaimed;

        // calculate the amount of guaranteed tokens available to the sender
        uint256 remainingGuaranteedTokens = currentBalance >
            presaleGuaranteedTokens
            ? 0
            : presaleGuaranteedTokens - currentBalance;

        // calculate the max number mintable in this txn
        uint256 mintableTokens = remainingGuaranteedTokens +
            remainingPresalePool;

        // check that the requested quantity is allowed
        require(mintableTokens >= quantity, "Presale supply is exhausted");

        /// check that the sender is on the whitelist
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(verify(proof, leaf), "Proof is not valid");

        // all checks have passed, mint the tokens
        mint(quantity, _contractState);
    }

    /** @dev Mint in the public sale
     * @param quantity The quantity of tokens to mint
     */
    function publicMint(uint256 quantity) public payable {
        bytes32 _contractState = keccak256(abi.encodePacked(contractState));
        require(
            _contractState == publicMintState,
            "Public minting is not active"
        );
        // check the txn value
        require(
            msg.value >= mintPrice * quantity,
            "Insufficient value for public mint"
        );
        mint(quantity, _contractState);
    }

    /** @dev Mints a token
     * @param quantity The quantity of tokens to mint
     * @param _contractState The contractState as bytes32
     */
    function mint(uint256 quantity, bytes32 _contractState) internal {
        /// Disallow transactions that would exceed the maxSupply
        require(totalSupply() + quantity <= maxSupply, "Supply is exhausted");

        // if it's presale, count the tokens minted that were guanranteed to the sender
        uint256 presalePoolToClaim = 0;
        if (
            _contractState == presale1State || _contractState == presale2State
        ) {
            // get the sender's balance
            uint256 currentBalance = balanceOf(msg.sender);

            // calculate how many of the guaranteed tokens are available to the sender
            // make guaranteedTokensToClaim non-negative
            // and avoid underflow
            uint256 guaranteedTokensToClaim = currentBalance >
                presaleGuaranteedTokens
                ? 0
                : presaleGuaranteedTokens - currentBalance;

            // calculate how much of the presale pool will be claimed
            // this is equal to any tokens beyond the 2 guaranteed
            presalePoolToClaim = quantity > guaranteedTokensToClaim
                ? quantity - guaranteedTokensToClaim
                : 0;
        }

        /// mint the requested quantity
        for (uint256 i = 0; i < quantity; i++) {
            if (presalePoolToClaim > 0) {
                // record that guaranteed tokens were claimed
                presalePoolTokensClaimed++;
                presalePoolToClaim--;
            }
            uint256 tokenId = totalSupply();
            _safeMint(msg.sender, tokenId);
        }
    }

    /**
     * @dev Set some tokens aside for the creators
     */
    function reserveTokens() public onlyOwner {
        for (uint256 i = 0; i < reservedTokens; i++) {
            uint256 tokenId = totalSupply();
            _safeMint(msg.sender, tokenId);
        }
    }

    /**
     * @dev Withdraw ether to owner's wallet
     */
    function withdrawEth() public onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = payable(msg.sender).call{value: balance}("");
        require(success, "Withdraw failed");
    }

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 7 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","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":"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":"contractState","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"getExternalBalance","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":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceDiscounted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nWhitelisted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleGuaranteedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePoolTokensClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractState","type":"string"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"setNWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"presale1Address_","type":"address"}],"name":"setPresale1Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"setPresaleGuaranteedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040516020016200001590620003d6565b60405160208183030381529060405280519060200120600c556040516020016200003f90620003a8565b60405160208183030381529060405280519060200120600d556040516020016200006990620003bf565b60405160208183030381529060405280519060200120600e556002600f55600060105573c8100dd81e0d8d0901b7b5831e575b03e1489057601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000ee57600080fd5b506040518060400160405280600681526020017f566f7274657800000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f565458000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200017392919062000283565b5080600190805190602001906200018c92919062000283565b505050620001af620001a3620001b560201b60201c565b620001bd60201b60201c565b620004d8565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029190620003f8565b90600052602060002090601f016020900481019282620002b5576000855562000301565b82601f10620002d057805160ff191683800117855562000301565b8280016001018555821562000301579182015b8281111562000300578251825591602001919060010190620002e3565b5b50905062000310919062000314565b5090565b5b808211156200032f57600081600090555060010162000315565b5090565b600062000342600983620003ed565b91506200034f826200045d565b600982019050919050565b600062000369600b83620003ed565b9150620003768262000486565b600b82019050919050565b600062000390600983620003ed565b91506200039d82620004af565b600982019050919050565b6000620003b58262000333565b9150819050919050565b6000620003cc826200035a565b9150819050919050565b6000620003e38262000381565b9150819050919050565b600081905092915050565b600060028204905060018216806200041157607f821691505b602082108114156200042857620004276200042e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f70726573616c655f320000000000000000000000000000000000000000000000600082015250565b7f7075626c69635f6d696e74000000000000000000000000000000000000000000600082015250565b7f70726573616c655f310000000000000000000000000000000000000000000000600082015250565b614f7d80620004e86000396000f3fe60806040526004361061023f5760003560e01c80636817c76c1161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610894578063d5abeb01146108d1578063e3e1e8ef146108fc578063e985e9c514610918578063f2fde38b146109555761027f565b8063a22cb465146107c7578063aa30a245146107f0578063b43f52b914610819578063b88d4fde14610842578063bff264141461086b5761027f565b8063895efd26116100f2578063895efd26146106f25780638da5cb5b1461071d57806395d89b4114610748578063972a2a6214610773578063a0ef91df146107b05761027f565b80636817c76c1461061f57806370a082311461064a578063715018a6146106875780637cb647591461069e57806385209ee0146106c75761027f565b80632db11544116101bc5780634667fa3d116101805780634667fa3d1461051457806348a017dc146105515780634f6ccce71461057c57806355f804b3146105b95780636352211e146105e25761027f565b80632db115441461043c5780632f745c591461045857806339fed4d8146104955780633ccf71c1146104c057806342842e0e146104eb5761027f565b806315e0b1481161020357806315e0b1481461037d57806318160ddd146103a857806323b872dd146103d357806327050f09146103fc57806327ac36c4146104255761027f565b806301ffc9a71461028457806306fdde03146102c1578063081812fc146102ec578063095ea7b31461032957806315a55347146103525761027f565b3661027f577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743334604051610275929190613f1d565b60405180910390a1005b600080fd5b34801561029057600080fd5b506102ab60048036038101906102a69190613795565b61097e565b6040516102b89190613f46565b60405180910390f35b3480156102cd57600080fd5b506102d66109f8565b6040516102e39190613f61565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613828565b610a8a565b6040516103209190613eb6565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906136dc565b610b0f565b005b34801561035e57600080fd5b50610367610c27565b60405161037491906142e3565b60405180910390f35b34801561038957600080fd5b50610392610c2c565b60405161039f91906142e3565b60405180910390f35b3480156103b457600080fd5b506103bd610c37565b6040516103ca91906142e3565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f591906135d6565b610c44565b005b34801561040857600080fd5b50610423600480360381019061041e9190613828565b610ca4565b005b34801561043157600080fd5b5061043a610d2a565b005b61045660048036038101906104519190613828565b610ddf565b005b34801561046457600080fd5b5061047f600480360381019061047a91906136dc565b610eb2565b60405161048c91906142e3565b60405180910390f35b3480156104a157600080fd5b506104aa610f57565b6040516104b791906142e3565b60405180910390f35b3480156104cc57600080fd5b506104d5610f5d565b6040516104e29190613eb6565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906135d6565b610f83565b005b34801561052057600080fd5b5061053b6004803603810190610536919061359a565b610fa3565b60405161054891906142e3565b60405180910390f35b34801561055d57600080fd5b5061056661103b565b60405161057391906142e3565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190613828565b611041565b6040516105b091906142e3565b60405180910390f35b3480156105c557600080fd5b506105e060048036038101906105db91906137e7565b6110d8565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613828565b61116e565b6040516106169190613eb6565b60405180910390f35b34801561062b57600080fd5b50610634611220565b60405161064191906142e3565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c9190613571565b61122b565b60405161067e91906142e3565b60405180910390f35b34801561069357600080fd5b5061069c6112e3565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061376c565b61136b565b005b3480156106d357600080fd5b506106dc6113f1565b6040516106e99190613f61565b60405180910390f35b3480156106fe57600080fd5b5061070761147f565b60405161071491906142e3565b60405180910390f35b34801561072957600080fd5b50610732611485565b60405161073f9190613eb6565b60405180910390f35b34801561075457600080fd5b5061075d6114af565b60405161076a9190613f61565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613718565b611541565b6040516107a79190613f46565b60405180910390f35b3480156107bc57600080fd5b506107c5611558565b005b3480156107d357600080fd5b506107ee60048036038101906107e991906136a0565b611689565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613828565b61180a565b005b34801561082557600080fd5b50610840600480360381019061083b91906137e7565b611890565b005b34801561084e57600080fd5b5061086960048036038101906108649190613625565b611926565b005b34801561087757600080fd5b50610892600480360381019061088d9190613571565b611988565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613828565b611a48565b6040516108c89190613f61565b60405180910390f35b3480156108dd57600080fd5b506108e6611aef565b6040516108f391906142e3565b60405180910390f35b6109166004803603810190610911919061387a565b611af5565b005b34801561092457600080fd5b5061093f600480360381019061093a919061359a565b611dad565b60405161094c9190613f46565b60405180910390f35b34801561096157600080fd5b5061097c60048036038101906109779190613571565b611e41565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109f157506109f082611f39565b5b9050919050565b606060008054610a0790614613565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3390614613565b8015610a805780601f10610a5557610100808354040283529160200191610a80565b820191906000526020600020905b815481529060010190602001808311610a6357829003601f168201915b5050505050905090565b6000610a958261201b565b610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb90614183565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1a8261116e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290614223565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610baa612087565b73ffffffffffffffffffffffffffffffffffffffff161480610bd95750610bd881610bd3612087565b611dad565b5b610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906140e3565b60405180910390fd5b610c22838361208f565b505050565b601581565b664e28e2290f000081565b6000600880549050905090565b610c55610c4f612087565b82612148565b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614263565b60405180910390fd5b610c9f838383612226565b505050565b610cac612087565b73ffffffffffffffffffffffffffffffffffffffff16610cca611485565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d17906141a3565b60405180910390fd5b8060118190555050565b610d32612087565b73ffffffffffffffffffffffffffffffffffffffff16610d50611485565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906141a3565b60405180910390fd5b60005b6015811015610ddc576000610dbc610c37565b9050610dc83382612482565b508080610dd490614676565b915050610da9565b50565b6000600b604051602001610df39190613e8a565b604051602081830303815290604052805190602001209050600e548114610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614243565b60405180910390fd5b8166670758aa7c8000610e62919061449b565b341015610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9b90614063565b60405180910390fd5b610eae82826124a0565b5050565b6000610ebd8361122b565b8210610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef590613f83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f9e83838360405180602001604052806000815250611926565b505050565b6000808390508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610fe29190613eb6565b60206040518083038186803b158015610ffa57600080fd5b505afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110329190613851565b91505092915050565b60115481565b600061104b610c37565b821061108c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108390614283565b60405180910390fd5b600882815481106110c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6110e0612087565b73ffffffffffffffffffffffffffffffffffffffff166110fe611485565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b906141a3565b60405180910390fd5b806012908051906020019061116a9291906132d5565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90614123565b60405180910390fd5b80915050919050565b66670758aa7c800081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614103565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112eb612087565b73ffffffffffffffffffffffffffffffffffffffff16611309611485565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611356906141a3565b60405180910390fd5b61136960006125ca565b565b611373612087565b73ffffffffffffffffffffffffffffffffffffffff16611391611485565b73ffffffffffffffffffffffffffffffffffffffff16146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de906141a3565b60405180910390fd5b8060138190555050565b600b80546113fe90614613565b80601f016020809104026020016040519081016040528092919081815260200182805461142a90614613565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b505050505081565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114be90614613565b80601f01602080910402602001604051908101604052809291908181526020018280546114ea90614613565b80156115375780601f1061150c57610100808354040283529160200191611537565b820191906000526020600020905b81548152906001019060200180831161151a57829003601f168201915b5050505050905090565b60006115508360135484612690565b905092915050565b611560612087565b73ffffffffffffffffffffffffffffffffffffffff1661157e611485565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906141a3565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516115ff90613ea1565b60006040518083038185875af1925050503d806000811461163c576040519150601f19603f3d011682016040523d82523d6000602084013e611641565b606091505b5050905080611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c90614003565b60405180910390fd5b5050565b611691612087565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614043565b60405180910390fd5b806005600061170c612087565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117b9612087565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117fe9190613f46565b60405180910390a35050565b611812612087565b73ffffffffffffffffffffffffffffffffffffffff16611830611485565b73ffffffffffffffffffffffffffffffffffffffff1614611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d906141a3565b60405180910390fd5b80600f8190555050565b611898612087565b73ffffffffffffffffffffffffffffffffffffffff166118b6611485565b73ffffffffffffffffffffffffffffffffffffffff161461190c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611903906141a3565b60405180910390fd5b80600b90805190602001906119229291906132d5565b5050565b611937611931612087565b83612148565b611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614263565b60405180910390fd5b6119828484848461276c565b50505050565b611990612087565b73ffffffffffffffffffffffffffffffffffffffff166119ae611485565b73ffffffffffffffffffffffffffffffffffffffff1614611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb906141a3565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611a538261201b565b611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a89906141e3565b60405180910390fd5b6000611a9c6127c8565b90506000815111611abc5760405180602001604052806000815250611ae7565b80611ac68461285a565b604051602001611ad7929190613e66565b6040516020818303038152906040525b915050919050565b61058681565b6000600b604051602001611b099190613e8a565b604051602081830303815290604052805190602001209050600c54811480611b325750600d5481145b611b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b68906142c3565b60405180910390fd5b6000600c548214611b895766670758aa7c8000611b92565b664e28e2290f00005b90508381611ba0919061449b565b341015611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd990614083565b60405180910390fd5b600c54821415611c61576000611c1a601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633610fa3565b905060008111611c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c56906142a3565b60405180910390fd5b505b6000611c6c3361122b565b905060006015600f54601154611c82919061449b565b610586611c8f91906144f5565b611c9991906144f5565b9050600060105482611cab91906144f5565b90506000600f548411611ccb5783600f54611cc691906144f5565b611cce565b60005b905060008282611cde9190614414565b905088811015611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614143565b60405180910390fd5b600033604051602001611d369190613e1f565b604051602081830303815290604052805190602001209050611d588982611541565b611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e906140c3565b60405180910390fd5b611da18a896124a0565b50505050505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e49612087565b73ffffffffffffffffffffffffffffffffffffffff16611e67611485565b73ffffffffffffffffffffffffffffffffffffffff1614611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb4906141a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490613fc3565b60405180910390fd5b611f36816125ca565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061200457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612014575061201382612a07565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121028361116e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121538261201b565b612192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612189906140a3565b60405180910390fd5b600061219d8361116e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061220c57508373ffffffffffffffffffffffffffffffffffffffff166121f484610a8a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061221d575061221c8185611dad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122468261116e565b73ffffffffffffffffffffffffffffffffffffffff161461229c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612293906141c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561230c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230390614023565b60405180910390fd5b612317838383612a71565b61232260008261208f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461237291906144f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c99190614414565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61249c828260405180602001604052806000815250612b85565b5050565b610586826124ac610c37565b6124b69190614414565b11156124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614203565b60405180910390fd5b6000600c5482148061250a5750600d5482145b1561255f57600061251a3361122b565b90506000600f54821161253a5781600f5461253591906144f5565b61253d565b60005b905080851161254d57600061255a565b808561255991906144f5565b5b925050505b60005b838110156125c457600082111561259a576010600081548092919061258690614676565b91905055508180612596906145e9565b9250505b60006125a4610c37565b90506125b03382612482565b5080806125bc90614676565b915050612562565b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b855181101561275e5760008682815181106126dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161271e578281604051602001612701929190613e3a565b60405160208183030381529060405280519060200120925061274a565b8083604051602001612731929190613e3a565b6040516020818303038152906040528051906020012092505b50808061275690614676565b915050612699565b508381149150509392505050565b612777848484612226565b61278384848484612be0565b6127c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b990613fa3565b60405180910390fd5b50505050565b6060601280546127d790614613565b80601f016020809104026020016040519081016040528092919081815260200182805461280390614613565b80156128505780601f1061282557610100808354040283529160200191612850565b820191906000526020600020905b81548152906001019060200180831161283357829003601f168201915b5050505050905090565b606060008214156128a2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a02565b600082905060005b600082146128d45780806128bd90614676565b915050600a826128cd919061446a565b91506128aa565b60008167ffffffffffffffff811115612916577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129485781602001600182028036833780820191505090505b5090505b600085146129fb5760018261296191906144f5565b9150600a8561297091906146ed565b603061297c9190614414565b60f81b8183815181106129b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129f4919061446a565b945061294c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a7c838383612d77565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612abf57612aba81612d7c565b612afe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612afd57612afc8382612dc5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4157612b3c81612f32565b612b80565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b7f57612b7e8282613075565b5b5b505050565b612b8f83836130f4565b612b9c6000848484612be0565b612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290613fa3565b60405180910390fd5b505050565b6000612c018473ffffffffffffffffffffffffffffffffffffffff166132c2565b15612d6a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2a612087565b8786866040518563ffffffff1660e01b8152600401612c4c9493929190613ed1565b602060405180830381600087803b158015612c6657600080fd5b505af1925050508015612c9757506040513d601f19601f82011682018060405250810190612c9491906137be565b60015b612d1a573d8060008114612cc7576040519150601f19603f3d011682016040523d82523d6000602084013e612ccc565b606091505b50600081511415612d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0990613fa3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d6f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612dd28461122b565b612ddc91906144f5565b9050600060076000848152602001908152602001600020549050818114612ec1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f4691906144f5565b9050600060096000848152602001908152602001600020549050600060088381548110612f9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612fe4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613059577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130808361122b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90614163565b60405180910390fd5b61316d8161201b565b156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a490613fe3565b60405180910390fd5b6131b960008383612a71565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132099190614414565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546132e190614613565b90600052602060002090601f016020900481019282613303576000855561334a565b82601f1061331c57805160ff191683800117855561334a565b8280016001018555821561334a579182015b8281111561334957825182559160200191906001019061332e565b5b509050613357919061335b565b5090565b5b8082111561337457600081600090555060010161335c565b5090565b600061338b61338684614323565b6142fe565b905080838252602082019050828560208602820111156133aa57600080fd5b60005b858110156133da57816133c088826134b4565b8452602084019350602083019250506001810190506133ad565b5050509392505050565b60006133f76133f28461434f565b6142fe565b90508281526020810184848401111561340f57600080fd5b61341a8482856145a7565b509392505050565b600061343561343084614380565b6142fe565b90508281526020810184848401111561344d57600080fd5b6134588482856145a7565b509392505050565b60008135905061346f81614ed4565b92915050565b600082601f83011261348657600080fd5b8135613496848260208601613378565b91505092915050565b6000813590506134ae81614eeb565b92915050565b6000813590506134c381614f02565b92915050565b6000813590506134d881614f19565b92915050565b6000815190506134ed81614f19565b92915050565b600082601f83011261350457600080fd5b81356135148482602086016133e4565b91505092915050565b600082601f83011261352e57600080fd5b813561353e848260208601613422565b91505092915050565b60008135905061355681614f30565b92915050565b60008151905061356b81614f30565b92915050565b60006020828403121561358357600080fd5b600061359184828501613460565b91505092915050565b600080604083850312156135ad57600080fd5b60006135bb85828601613460565b92505060206135cc85828601613460565b9150509250929050565b6000806000606084860312156135eb57600080fd5b60006135f986828701613460565b935050602061360a86828701613460565b925050604061361b86828701613547565b9150509250925092565b6000806000806080858703121561363b57600080fd5b600061364987828801613460565b945050602061365a87828801613460565b935050604061366b87828801613547565b925050606085013567ffffffffffffffff81111561368857600080fd5b613694878288016134f3565b91505092959194509250565b600080604083850312156136b357600080fd5b60006136c185828601613460565b92505060206136d28582860161349f565b9150509250929050565b600080604083850312156136ef57600080fd5b60006136fd85828601613460565b925050602061370e85828601613547565b9150509250929050565b6000806040838503121561372b57600080fd5b600083013567ffffffffffffffff81111561374557600080fd5b61375185828601613475565b9250506020613762858286016134b4565b9150509250929050565b60006020828403121561377e57600080fd5b600061378c848285016134b4565b91505092915050565b6000602082840312156137a757600080fd5b60006137b5848285016134c9565b91505092915050565b6000602082840312156137d057600080fd5b60006137de848285016134de565b91505092915050565b6000602082840312156137f957600080fd5b600082013567ffffffffffffffff81111561381357600080fd5b61381f8482850161351d565b91505092915050565b60006020828403121561383a57600080fd5b600061384884828501613547565b91505092915050565b60006020828403121561386357600080fd5b60006138718482850161355c565b91505092915050565b6000806040838503121561388d57600080fd5b600061389b85828601613547565b925050602083013567ffffffffffffffff8111156138b857600080fd5b6138c485828601613475565b9150509250929050565b6138d781614529565b82525050565b6138ee6138e982614529565b6146bf565b82525050565b6138fd8161453b565b82525050565b61391461390f82614547565b6146d1565b82525050565b6000613925826143c6565b61392f81856143dc565b935061393f8185602086016145b6565b613948816147da565b840191505092915050565b600061395e826143d1565b61396881856143f8565b93506139788185602086016145b6565b613981816147da565b840191505092915050565b6000613997826143d1565b6139a18185614409565b93506139b18185602086016145b6565b80840191505092915050565b600081546139ca81614613565b6139d48186614409565b945060018216600081146139ef5760018114613a0057613a33565b60ff19831686528186019350613a33565b613a09856143b1565b60005b83811015613a2b57815481890152600182019150602081019050613a0c565b838801955050505b50505092915050565b6000613a49602b836143f8565b9150613a54826147f8565b604082019050919050565b6000613a6c6032836143f8565b9150613a7782614847565b604082019050919050565b6000613a8f6026836143f8565b9150613a9a82614896565b604082019050919050565b6000613ab2601c836143f8565b9150613abd826148e5565b602082019050919050565b6000613ad5600f836143f8565b9150613ae08261490e565b602082019050919050565b6000613af86024836143f8565b9150613b0382614937565b604082019050919050565b6000613b1b6019836143f8565b9150613b2682614986565b602082019050919050565b6000613b3e6022836143f8565b9150613b49826149af565b604082019050919050565b6000613b616023836143f8565b9150613b6c826149fe565b604082019050919050565b6000613b84602c836143f8565b9150613b8f82614a4d565b604082019050919050565b6000613ba76012836143f8565b9150613bb282614a9c565b602082019050919050565b6000613bca6038836143f8565b9150613bd582614ac5565b604082019050919050565b6000613bed602a836143f8565b9150613bf882614b14565b604082019050919050565b6000613c106029836143f8565b9150613c1b82614b63565b604082019050919050565b6000613c33601b836143f8565b9150613c3e82614bb2565b602082019050919050565b6000613c566020836143f8565b9150613c6182614bdb565b602082019050919050565b6000613c79602c836143f8565b9150613c8482614c04565b604082019050919050565b6000613c9c6020836143f8565b9150613ca782614c53565b602082019050919050565b6000613cbf6029836143f8565b9150613cca82614c7c565b604082019050919050565b6000613ce2602f836143f8565b9150613ced82614ccb565b604082019050919050565b6000613d056013836143f8565b9150613d1082614d1a565b602082019050919050565b6000613d286021836143f8565b9150613d3382614d43565b604082019050919050565b6000613d4b601c836143f8565b9150613d5682614d92565b602082019050919050565b6000613d6e6000836143ed565b9150613d7982614dbb565b600082019050919050565b6000613d916031836143f8565b9150613d9c82614dbe565b604082019050919050565b6000613db4602c836143f8565b9150613dbf82614e0d565b604082019050919050565b6000613dd76021836143f8565b9150613de282614e5c565b604082019050919050565b6000613dfa601d836143f8565b9150613e0582614eab565b602082019050919050565b613e198161459d565b82525050565b6000613e2b82846138dd565b60148201915081905092915050565b6000613e468285613903565b602082019150613e568284613903565b6020820191508190509392505050565b6000613e72828561398c565b9150613e7e828461398c565b91508190509392505050565b6000613e9682846139bd565b915081905092915050565b6000613eac82613d61565b9150819050919050565b6000602082019050613ecb60008301846138ce565b92915050565b6000608082019050613ee660008301876138ce565b613ef360208301866138ce565b613f006040830185613e10565b8181036060830152613f12818461391a565b905095945050505050565b6000604082019050613f3260008301856138ce565b613f3f6020830184613e10565b9392505050565b6000602082019050613f5b60008301846138f4565b92915050565b60006020820190508181036000830152613f7b8184613953565b905092915050565b60006020820190508181036000830152613f9c81613a3c565b9050919050565b60006020820190508181036000830152613fbc81613a5f565b9050919050565b60006020820190508181036000830152613fdc81613a82565b9050919050565b60006020820190508181036000830152613ffc81613aa5565b9050919050565b6000602082019050818103600083015261401c81613ac8565b9050919050565b6000602082019050818103600083015261403c81613aeb565b9050919050565b6000602082019050818103600083015261405c81613b0e565b9050919050565b6000602082019050818103600083015261407c81613b31565b9050919050565b6000602082019050818103600083015261409c81613b54565b9050919050565b600060208201905081810360008301526140bc81613b77565b9050919050565b600060208201905081810360008301526140dc81613b9a565b9050919050565b600060208201905081810360008301526140fc81613bbd565b9050919050565b6000602082019050818103600083015261411c81613be0565b9050919050565b6000602082019050818103600083015261413c81613c03565b9050919050565b6000602082019050818103600083015261415c81613c26565b9050919050565b6000602082019050818103600083015261417c81613c49565b9050919050565b6000602082019050818103600083015261419c81613c6c565b9050919050565b600060208201905081810360008301526141bc81613c8f565b9050919050565b600060208201905081810360008301526141dc81613cb2565b9050919050565b600060208201905081810360008301526141fc81613cd5565b9050919050565b6000602082019050818103600083015261421c81613cf8565b9050919050565b6000602082019050818103600083015261423c81613d1b565b9050919050565b6000602082019050818103600083015261425c81613d3e565b9050919050565b6000602082019050818103600083015261427c81613d84565b9050919050565b6000602082019050818103600083015261429c81613da7565b9050919050565b600060208201905081810360008301526142bc81613dca565b9050919050565b600060208201905081810360008301526142dc81613ded565b9050919050565b60006020820190506142f86000830184613e10565b92915050565b6000614308614319565b90506143148282614645565b919050565b6000604051905090565b600067ffffffffffffffff82111561433e5761433d6147ab565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561436a576143696147ab565b5b614373826147da565b9050602081019050919050565b600067ffffffffffffffff82111561439b5761439a6147ab565b5b6143a4826147da565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061441f8261459d565b915061442a8361459d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561445f5761445e61471e565b5b828201905092915050565b60006144758261459d565b91506144808361459d565b9250826144905761448f61474d565b5b828204905092915050565b60006144a68261459d565b91506144b18361459d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144ea576144e961471e565b5b828202905092915050565b60006145008261459d565b915061450b8361459d565b92508282101561451e5761451d61471e565b5b828203905092915050565b60006145348261457d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145d45780820151818401526020810190506145b9565b838111156145e3576000848401525b50505050565b60006145f48261459d565b915060008214156146085761460761471e565b5b600182039050919050565b6000600282049050600182168061462b57607f821691505b6020821081141561463f5761463e61477c565b5b50919050565b61464e826147da565b810181811067ffffffffffffffff8211171561466d5761466c6147ab565b5b80604052505050565b60006146818261459d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146b4576146b361471e565b5b600182019050919050565b60006146ca826146db565b9050919050565b6000819050919050565b60006146e6826147eb565b9050919050565b60006146f88261459d565b91506147038361459d565b9250826147135761471261474d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742076616c756520666f72207075626c6963206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742076616c756520666f722070726573616c65206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726f6f66206973206e6f742076616c69640000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520737570706c79206973206578686175737465640000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f537570706c792069732065786861757374656400000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c6963206d696e74696e67206973206e6f742061637469766500000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420686f6c64696e6720616e7920457465726e616c20467261676d656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d696e74696e67206973206e6f7420616374697665000000600082015250565b614edd81614529565b8114614ee857600080fd5b50565b614ef48161453b565b8114614eff57600080fd5b50565b614f0b81614547565b8114614f1657600080fd5b50565b614f2281614551565b8114614f2d57600080fd5b50565b614f398161459d565b8114614f4457600080fd5b5056fea264697066735822122039fb6a9c7848f65e16201d53d96b72e316545182f57a49b5b3e94b4ba2e119c064736f6c63430008040033

Deployed Bytecode

0x60806040526004361061023f5760003560e01c80636817c76c1161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610894578063d5abeb01146108d1578063e3e1e8ef146108fc578063e985e9c514610918578063f2fde38b146109555761027f565b8063a22cb465146107c7578063aa30a245146107f0578063b43f52b914610819578063b88d4fde14610842578063bff264141461086b5761027f565b8063895efd26116100f2578063895efd26146106f25780638da5cb5b1461071d57806395d89b4114610748578063972a2a6214610773578063a0ef91df146107b05761027f565b80636817c76c1461061f57806370a082311461064a578063715018a6146106875780637cb647591461069e57806385209ee0146106c75761027f565b80632db11544116101bc5780634667fa3d116101805780634667fa3d1461051457806348a017dc146105515780634f6ccce71461057c57806355f804b3146105b95780636352211e146105e25761027f565b80632db115441461043c5780632f745c591461045857806339fed4d8146104955780633ccf71c1146104c057806342842e0e146104eb5761027f565b806315e0b1481161020357806315e0b1481461037d57806318160ddd146103a857806323b872dd146103d357806327050f09146103fc57806327ac36c4146104255761027f565b806301ffc9a71461028457806306fdde03146102c1578063081812fc146102ec578063095ea7b31461032957806315a55347146103525761027f565b3661027f577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743334604051610275929190613f1d565b60405180910390a1005b600080fd5b34801561029057600080fd5b506102ab60048036038101906102a69190613795565b61097e565b6040516102b89190613f46565b60405180910390f35b3480156102cd57600080fd5b506102d66109f8565b6040516102e39190613f61565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613828565b610a8a565b6040516103209190613eb6565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906136dc565b610b0f565b005b34801561035e57600080fd5b50610367610c27565b60405161037491906142e3565b60405180910390f35b34801561038957600080fd5b50610392610c2c565b60405161039f91906142e3565b60405180910390f35b3480156103b457600080fd5b506103bd610c37565b6040516103ca91906142e3565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f591906135d6565b610c44565b005b34801561040857600080fd5b50610423600480360381019061041e9190613828565b610ca4565b005b34801561043157600080fd5b5061043a610d2a565b005b61045660048036038101906104519190613828565b610ddf565b005b34801561046457600080fd5b5061047f600480360381019061047a91906136dc565b610eb2565b60405161048c91906142e3565b60405180910390f35b3480156104a157600080fd5b506104aa610f57565b6040516104b791906142e3565b60405180910390f35b3480156104cc57600080fd5b506104d5610f5d565b6040516104e29190613eb6565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906135d6565b610f83565b005b34801561052057600080fd5b5061053b6004803603810190610536919061359a565b610fa3565b60405161054891906142e3565b60405180910390f35b34801561055d57600080fd5b5061056661103b565b60405161057391906142e3565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190613828565b611041565b6040516105b091906142e3565b60405180910390f35b3480156105c557600080fd5b506105e060048036038101906105db91906137e7565b6110d8565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613828565b61116e565b6040516106169190613eb6565b60405180910390f35b34801561062b57600080fd5b50610634611220565b60405161064191906142e3565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c9190613571565b61122b565b60405161067e91906142e3565b60405180910390f35b34801561069357600080fd5b5061069c6112e3565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061376c565b61136b565b005b3480156106d357600080fd5b506106dc6113f1565b6040516106e99190613f61565b60405180910390f35b3480156106fe57600080fd5b5061070761147f565b60405161071491906142e3565b60405180910390f35b34801561072957600080fd5b50610732611485565b60405161073f9190613eb6565b60405180910390f35b34801561075457600080fd5b5061075d6114af565b60405161076a9190613f61565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613718565b611541565b6040516107a79190613f46565b60405180910390f35b3480156107bc57600080fd5b506107c5611558565b005b3480156107d357600080fd5b506107ee60048036038101906107e991906136a0565b611689565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613828565b61180a565b005b34801561082557600080fd5b50610840600480360381019061083b91906137e7565b611890565b005b34801561084e57600080fd5b5061086960048036038101906108649190613625565b611926565b005b34801561087757600080fd5b50610892600480360381019061088d9190613571565b611988565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613828565b611a48565b6040516108c89190613f61565b60405180910390f35b3480156108dd57600080fd5b506108e6611aef565b6040516108f391906142e3565b60405180910390f35b6109166004803603810190610911919061387a565b611af5565b005b34801561092457600080fd5b5061093f600480360381019061093a919061359a565b611dad565b60405161094c9190613f46565b60405180910390f35b34801561096157600080fd5b5061097c60048036038101906109779190613571565b611e41565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109f157506109f082611f39565b5b9050919050565b606060008054610a0790614613565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3390614613565b8015610a805780601f10610a5557610100808354040283529160200191610a80565b820191906000526020600020905b815481529060010190602001808311610a6357829003601f168201915b5050505050905090565b6000610a958261201b565b610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb90614183565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1a8261116e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290614223565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610baa612087565b73ffffffffffffffffffffffffffffffffffffffff161480610bd95750610bd881610bd3612087565b611dad565b5b610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906140e3565b60405180910390fd5b610c22838361208f565b505050565b601581565b664e28e2290f000081565b6000600880549050905090565b610c55610c4f612087565b82612148565b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614263565b60405180910390fd5b610c9f838383612226565b505050565b610cac612087565b73ffffffffffffffffffffffffffffffffffffffff16610cca611485565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d17906141a3565b60405180910390fd5b8060118190555050565b610d32612087565b73ffffffffffffffffffffffffffffffffffffffff16610d50611485565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906141a3565b60405180910390fd5b60005b6015811015610ddc576000610dbc610c37565b9050610dc83382612482565b508080610dd490614676565b915050610da9565b50565b6000600b604051602001610df39190613e8a565b604051602081830303815290604052805190602001209050600e548114610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614243565b60405180910390fd5b8166670758aa7c8000610e62919061449b565b341015610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9b90614063565b60405180910390fd5b610eae82826124a0565b5050565b6000610ebd8361122b565b8210610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef590613f83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f9e83838360405180602001604052806000815250611926565b505050565b6000808390508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610fe29190613eb6565b60206040518083038186803b158015610ffa57600080fd5b505afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110329190613851565b91505092915050565b60115481565b600061104b610c37565b821061108c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108390614283565b60405180910390fd5b600882815481106110c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6110e0612087565b73ffffffffffffffffffffffffffffffffffffffff166110fe611485565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b906141a3565b60405180910390fd5b806012908051906020019061116a9291906132d5565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90614123565b60405180910390fd5b80915050919050565b66670758aa7c800081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614103565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112eb612087565b73ffffffffffffffffffffffffffffffffffffffff16611309611485565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611356906141a3565b60405180910390fd5b61136960006125ca565b565b611373612087565b73ffffffffffffffffffffffffffffffffffffffff16611391611485565b73ffffffffffffffffffffffffffffffffffffffff16146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de906141a3565b60405180910390fd5b8060138190555050565b600b80546113fe90614613565b80601f016020809104026020016040519081016040528092919081815260200182805461142a90614613565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b505050505081565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114be90614613565b80601f01602080910402602001604051908101604052809291908181526020018280546114ea90614613565b80156115375780601f1061150c57610100808354040283529160200191611537565b820191906000526020600020905b81548152906001019060200180831161151a57829003601f168201915b5050505050905090565b60006115508360135484612690565b905092915050565b611560612087565b73ffffffffffffffffffffffffffffffffffffffff1661157e611485565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906141a3565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516115ff90613ea1565b60006040518083038185875af1925050503d806000811461163c576040519150601f19603f3d011682016040523d82523d6000602084013e611641565b606091505b5050905080611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c90614003565b60405180910390fd5b5050565b611691612087565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614043565b60405180910390fd5b806005600061170c612087565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117b9612087565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117fe9190613f46565b60405180910390a35050565b611812612087565b73ffffffffffffffffffffffffffffffffffffffff16611830611485565b73ffffffffffffffffffffffffffffffffffffffff1614611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d906141a3565b60405180910390fd5b80600f8190555050565b611898612087565b73ffffffffffffffffffffffffffffffffffffffff166118b6611485565b73ffffffffffffffffffffffffffffffffffffffff161461190c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611903906141a3565b60405180910390fd5b80600b90805190602001906119229291906132d5565b5050565b611937611931612087565b83612148565b611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614263565b60405180910390fd5b6119828484848461276c565b50505050565b611990612087565b73ffffffffffffffffffffffffffffffffffffffff166119ae611485565b73ffffffffffffffffffffffffffffffffffffffff1614611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb906141a3565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611a538261201b565b611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a89906141e3565b60405180910390fd5b6000611a9c6127c8565b90506000815111611abc5760405180602001604052806000815250611ae7565b80611ac68461285a565b604051602001611ad7929190613e66565b6040516020818303038152906040525b915050919050565b61058681565b6000600b604051602001611b099190613e8a565b604051602081830303815290604052805190602001209050600c54811480611b325750600d5481145b611b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b68906142c3565b60405180910390fd5b6000600c548214611b895766670758aa7c8000611b92565b664e28e2290f00005b90508381611ba0919061449b565b341015611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd990614083565b60405180910390fd5b600c54821415611c61576000611c1a601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633610fa3565b905060008111611c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c56906142a3565b60405180910390fd5b505b6000611c6c3361122b565b905060006015600f54601154611c82919061449b565b610586611c8f91906144f5565b611c9991906144f5565b9050600060105482611cab91906144f5565b90506000600f548411611ccb5783600f54611cc691906144f5565b611cce565b60005b905060008282611cde9190614414565b905088811015611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614143565b60405180910390fd5b600033604051602001611d369190613e1f565b604051602081830303815290604052805190602001209050611d588982611541565b611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e906140c3565b60405180910390fd5b611da18a896124a0565b50505050505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e49612087565b73ffffffffffffffffffffffffffffffffffffffff16611e67611485565b73ffffffffffffffffffffffffffffffffffffffff1614611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb4906141a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490613fc3565b60405180910390fd5b611f36816125ca565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061200457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612014575061201382612a07565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121028361116e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121538261201b565b612192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612189906140a3565b60405180910390fd5b600061219d8361116e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061220c57508373ffffffffffffffffffffffffffffffffffffffff166121f484610a8a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061221d575061221c8185611dad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122468261116e565b73ffffffffffffffffffffffffffffffffffffffff161461229c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612293906141c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561230c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230390614023565b60405180910390fd5b612317838383612a71565b61232260008261208f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461237291906144f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c99190614414565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61249c828260405180602001604052806000815250612b85565b5050565b610586826124ac610c37565b6124b69190614414565b11156124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614203565b60405180910390fd5b6000600c5482148061250a5750600d5482145b1561255f57600061251a3361122b565b90506000600f54821161253a5781600f5461253591906144f5565b61253d565b60005b905080851161254d57600061255a565b808561255991906144f5565b5b925050505b60005b838110156125c457600082111561259a576010600081548092919061258690614676565b91905055508180612596906145e9565b9250505b60006125a4610c37565b90506125b03382612482565b5080806125bc90614676565b915050612562565b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b855181101561275e5760008682815181106126dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161271e578281604051602001612701929190613e3a565b60405160208183030381529060405280519060200120925061274a565b8083604051602001612731929190613e3a565b6040516020818303038152906040528051906020012092505b50808061275690614676565b915050612699565b508381149150509392505050565b612777848484612226565b61278384848484612be0565b6127c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b990613fa3565b60405180910390fd5b50505050565b6060601280546127d790614613565b80601f016020809104026020016040519081016040528092919081815260200182805461280390614613565b80156128505780601f1061282557610100808354040283529160200191612850565b820191906000526020600020905b81548152906001019060200180831161283357829003601f168201915b5050505050905090565b606060008214156128a2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a02565b600082905060005b600082146128d45780806128bd90614676565b915050600a826128cd919061446a565b91506128aa565b60008167ffffffffffffffff811115612916577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129485781602001600182028036833780820191505090505b5090505b600085146129fb5760018261296191906144f5565b9150600a8561297091906146ed565b603061297c9190614414565b60f81b8183815181106129b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129f4919061446a565b945061294c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a7c838383612d77565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612abf57612aba81612d7c565b612afe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612afd57612afc8382612dc5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4157612b3c81612f32565b612b80565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b7f57612b7e8282613075565b5b5b505050565b612b8f83836130f4565b612b9c6000848484612be0565b612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290613fa3565b60405180910390fd5b505050565b6000612c018473ffffffffffffffffffffffffffffffffffffffff166132c2565b15612d6a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2a612087565b8786866040518563ffffffff1660e01b8152600401612c4c9493929190613ed1565b602060405180830381600087803b158015612c6657600080fd5b505af1925050508015612c9757506040513d601f19601f82011682018060405250810190612c9491906137be565b60015b612d1a573d8060008114612cc7576040519150601f19603f3d011682016040523d82523d6000602084013e612ccc565b606091505b50600081511415612d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0990613fa3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d6f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612dd28461122b565b612ddc91906144f5565b9050600060076000848152602001908152602001600020549050818114612ec1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f4691906144f5565b9050600060096000848152602001908152602001600020549050600060088381548110612f9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612fe4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613059577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130808361122b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90614163565b60405180910390fd5b61316d8161201b565b156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a490613fe3565b60405180910390fd5b6131b960008383612a71565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132099190614414565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546132e190614613565b90600052602060002090601f016020900481019282613303576000855561334a565b82601f1061331c57805160ff191683800117855561334a565b8280016001018555821561334a579182015b8281111561334957825182559160200191906001019061332e565b5b509050613357919061335b565b5090565b5b8082111561337457600081600090555060010161335c565b5090565b600061338b61338684614323565b6142fe565b905080838252602082019050828560208602820111156133aa57600080fd5b60005b858110156133da57816133c088826134b4565b8452602084019350602083019250506001810190506133ad565b5050509392505050565b60006133f76133f28461434f565b6142fe565b90508281526020810184848401111561340f57600080fd5b61341a8482856145a7565b509392505050565b600061343561343084614380565b6142fe565b90508281526020810184848401111561344d57600080fd5b6134588482856145a7565b509392505050565b60008135905061346f81614ed4565b92915050565b600082601f83011261348657600080fd5b8135613496848260208601613378565b91505092915050565b6000813590506134ae81614eeb565b92915050565b6000813590506134c381614f02565b92915050565b6000813590506134d881614f19565b92915050565b6000815190506134ed81614f19565b92915050565b600082601f83011261350457600080fd5b81356135148482602086016133e4565b91505092915050565b600082601f83011261352e57600080fd5b813561353e848260208601613422565b91505092915050565b60008135905061355681614f30565b92915050565b60008151905061356b81614f30565b92915050565b60006020828403121561358357600080fd5b600061359184828501613460565b91505092915050565b600080604083850312156135ad57600080fd5b60006135bb85828601613460565b92505060206135cc85828601613460565b9150509250929050565b6000806000606084860312156135eb57600080fd5b60006135f986828701613460565b935050602061360a86828701613460565b925050604061361b86828701613547565b9150509250925092565b6000806000806080858703121561363b57600080fd5b600061364987828801613460565b945050602061365a87828801613460565b935050604061366b87828801613547565b925050606085013567ffffffffffffffff81111561368857600080fd5b613694878288016134f3565b91505092959194509250565b600080604083850312156136b357600080fd5b60006136c185828601613460565b92505060206136d28582860161349f565b9150509250929050565b600080604083850312156136ef57600080fd5b60006136fd85828601613460565b925050602061370e85828601613547565b9150509250929050565b6000806040838503121561372b57600080fd5b600083013567ffffffffffffffff81111561374557600080fd5b61375185828601613475565b9250506020613762858286016134b4565b9150509250929050565b60006020828403121561377e57600080fd5b600061378c848285016134b4565b91505092915050565b6000602082840312156137a757600080fd5b60006137b5848285016134c9565b91505092915050565b6000602082840312156137d057600080fd5b60006137de848285016134de565b91505092915050565b6000602082840312156137f957600080fd5b600082013567ffffffffffffffff81111561381357600080fd5b61381f8482850161351d565b91505092915050565b60006020828403121561383a57600080fd5b600061384884828501613547565b91505092915050565b60006020828403121561386357600080fd5b60006138718482850161355c565b91505092915050565b6000806040838503121561388d57600080fd5b600061389b85828601613547565b925050602083013567ffffffffffffffff8111156138b857600080fd5b6138c485828601613475565b9150509250929050565b6138d781614529565b82525050565b6138ee6138e982614529565b6146bf565b82525050565b6138fd8161453b565b82525050565b61391461390f82614547565b6146d1565b82525050565b6000613925826143c6565b61392f81856143dc565b935061393f8185602086016145b6565b613948816147da565b840191505092915050565b600061395e826143d1565b61396881856143f8565b93506139788185602086016145b6565b613981816147da565b840191505092915050565b6000613997826143d1565b6139a18185614409565b93506139b18185602086016145b6565b80840191505092915050565b600081546139ca81614613565b6139d48186614409565b945060018216600081146139ef5760018114613a0057613a33565b60ff19831686528186019350613a33565b613a09856143b1565b60005b83811015613a2b57815481890152600182019150602081019050613a0c565b838801955050505b50505092915050565b6000613a49602b836143f8565b9150613a54826147f8565b604082019050919050565b6000613a6c6032836143f8565b9150613a7782614847565b604082019050919050565b6000613a8f6026836143f8565b9150613a9a82614896565b604082019050919050565b6000613ab2601c836143f8565b9150613abd826148e5565b602082019050919050565b6000613ad5600f836143f8565b9150613ae08261490e565b602082019050919050565b6000613af86024836143f8565b9150613b0382614937565b604082019050919050565b6000613b1b6019836143f8565b9150613b2682614986565b602082019050919050565b6000613b3e6022836143f8565b9150613b49826149af565b604082019050919050565b6000613b616023836143f8565b9150613b6c826149fe565b604082019050919050565b6000613b84602c836143f8565b9150613b8f82614a4d565b604082019050919050565b6000613ba76012836143f8565b9150613bb282614a9c565b602082019050919050565b6000613bca6038836143f8565b9150613bd582614ac5565b604082019050919050565b6000613bed602a836143f8565b9150613bf882614b14565b604082019050919050565b6000613c106029836143f8565b9150613c1b82614b63565b604082019050919050565b6000613c33601b836143f8565b9150613c3e82614bb2565b602082019050919050565b6000613c566020836143f8565b9150613c6182614bdb565b602082019050919050565b6000613c79602c836143f8565b9150613c8482614c04565b604082019050919050565b6000613c9c6020836143f8565b9150613ca782614c53565b602082019050919050565b6000613cbf6029836143f8565b9150613cca82614c7c565b604082019050919050565b6000613ce2602f836143f8565b9150613ced82614ccb565b604082019050919050565b6000613d056013836143f8565b9150613d1082614d1a565b602082019050919050565b6000613d286021836143f8565b9150613d3382614d43565b604082019050919050565b6000613d4b601c836143f8565b9150613d5682614d92565b602082019050919050565b6000613d6e6000836143ed565b9150613d7982614dbb565b600082019050919050565b6000613d916031836143f8565b9150613d9c82614dbe565b604082019050919050565b6000613db4602c836143f8565b9150613dbf82614e0d565b604082019050919050565b6000613dd76021836143f8565b9150613de282614e5c565b604082019050919050565b6000613dfa601d836143f8565b9150613e0582614eab565b602082019050919050565b613e198161459d565b82525050565b6000613e2b82846138dd565b60148201915081905092915050565b6000613e468285613903565b602082019150613e568284613903565b6020820191508190509392505050565b6000613e72828561398c565b9150613e7e828461398c565b91508190509392505050565b6000613e9682846139bd565b915081905092915050565b6000613eac82613d61565b9150819050919050565b6000602082019050613ecb60008301846138ce565b92915050565b6000608082019050613ee660008301876138ce565b613ef360208301866138ce565b613f006040830185613e10565b8181036060830152613f12818461391a565b905095945050505050565b6000604082019050613f3260008301856138ce565b613f3f6020830184613e10565b9392505050565b6000602082019050613f5b60008301846138f4565b92915050565b60006020820190508181036000830152613f7b8184613953565b905092915050565b60006020820190508181036000830152613f9c81613a3c565b9050919050565b60006020820190508181036000830152613fbc81613a5f565b9050919050565b60006020820190508181036000830152613fdc81613a82565b9050919050565b60006020820190508181036000830152613ffc81613aa5565b9050919050565b6000602082019050818103600083015261401c81613ac8565b9050919050565b6000602082019050818103600083015261403c81613aeb565b9050919050565b6000602082019050818103600083015261405c81613b0e565b9050919050565b6000602082019050818103600083015261407c81613b31565b9050919050565b6000602082019050818103600083015261409c81613b54565b9050919050565b600060208201905081810360008301526140bc81613b77565b9050919050565b600060208201905081810360008301526140dc81613b9a565b9050919050565b600060208201905081810360008301526140fc81613bbd565b9050919050565b6000602082019050818103600083015261411c81613be0565b9050919050565b6000602082019050818103600083015261413c81613c03565b9050919050565b6000602082019050818103600083015261415c81613c26565b9050919050565b6000602082019050818103600083015261417c81613c49565b9050919050565b6000602082019050818103600083015261419c81613c6c565b9050919050565b600060208201905081810360008301526141bc81613c8f565b9050919050565b600060208201905081810360008301526141dc81613cb2565b9050919050565b600060208201905081810360008301526141fc81613cd5565b9050919050565b6000602082019050818103600083015261421c81613cf8565b9050919050565b6000602082019050818103600083015261423c81613d1b565b9050919050565b6000602082019050818103600083015261425c81613d3e565b9050919050565b6000602082019050818103600083015261427c81613d84565b9050919050565b6000602082019050818103600083015261429c81613da7565b9050919050565b600060208201905081810360008301526142bc81613dca565b9050919050565b600060208201905081810360008301526142dc81613ded565b9050919050565b60006020820190506142f86000830184613e10565b92915050565b6000614308614319565b90506143148282614645565b919050565b6000604051905090565b600067ffffffffffffffff82111561433e5761433d6147ab565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561436a576143696147ab565b5b614373826147da565b9050602081019050919050565b600067ffffffffffffffff82111561439b5761439a6147ab565b5b6143a4826147da565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061441f8261459d565b915061442a8361459d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561445f5761445e61471e565b5b828201905092915050565b60006144758261459d565b91506144808361459d565b9250826144905761448f61474d565b5b828204905092915050565b60006144a68261459d565b91506144b18361459d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144ea576144e961471e565b5b828202905092915050565b60006145008261459d565b915061450b8361459d565b92508282101561451e5761451d61471e565b5b828203905092915050565b60006145348261457d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145d45780820151818401526020810190506145b9565b838111156145e3576000848401525b50505050565b60006145f48261459d565b915060008214156146085761460761471e565b5b600182039050919050565b6000600282049050600182168061462b57607f821691505b6020821081141561463f5761463e61477c565b5b50919050565b61464e826147da565b810181811067ffffffffffffffff8211171561466d5761466c6147ab565b5b80604052505050565b60006146818261459d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146b4576146b361471e565b5b600182019050919050565b60006146ca826146db565b9050919050565b6000819050919050565b60006146e6826147eb565b9050919050565b60006146f88261459d565b91506147038361459d565b9250826147135761471261474d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742076616c756520666f72207075626c6963206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742076616c756520666f722070726573616c65206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726f6f66206973206e6f742076616c69640000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520737570706c79206973206578686175737465640000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f537570706c792069732065786861757374656400000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c6963206d696e74696e67206973206e6f742061637469766500000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420686f6c64696e6720616e7920457465726e616c20467261676d656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d696e74696e67206973206e6f7420616374697665000000600082015250565b614edd81614529565b8114614ee857600080fd5b50565b614ef48161453b565b8114614eff57600080fd5b50565b614f0b81614547565b8114614f1657600080fd5b50565b614f2281614551565b8114614f2d57600080fd5b50565b614f398161459d565b8114614f4457600080fd5b5056fea264697066735822122039fb6a9c7848f65e16201d53d96b72e316545182f57a49b5b3e94b4ba2e119c064736f6c63430008040033

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.