ETH Price: $3,350.27 (-3.92%)

Token

5KM Sneaker (5KMSneaker)
 

Overview

Max Total Supply

3,185 5KMSneaker

Holders

1,265

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 5KMSneaker
0x0ee947a63e139182bd213e58bec6d85b9910268a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FiveKMSneaker

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

contract FiveKMSneaker is ERC721A, Ownable {
    using ECDSA for bytes32;

    enum Status {
        Pending,
        PreSale,
        PublicSale,
        Finished
    }

    Status public status;
    string public baseURI;
    address private _signer;
    uint256 public constant MAX_MINT = 5;
    uint256 public SaleMaxSupply = 5000;
    uint256 public PresalePrice;
    uint256 public PublicPrice;

    mapping(address => bool) public publicMinted;

    event Minted(address minter, uint256 amount);
    event StatusChanged(Status status);
    event SignerChanged(address signer);
    event BaseURIChanged(string newBaseURI);
    event Incubate(address recipient, uint256 amount);

    constructor(
        string memory initBaseURI,
        address signer,
        uint256 initPresalePrice,
        uint256 initPublicPrice
    ) ERC721A("5KM Sneaker", "5KMSneaker")
    {
        baseURI = initBaseURI;
        _signer = signer;
        PresalePrice = initPresalePrice;
        PublicPrice = initPublicPrice;
    }

    function presaleMint(
        uint256 amount,
        string calldata salt,
        bytes calldata sig
    ) external payable {
        require(status == Status.PreSale, "5KM: Presale is not active.");
        require(
            tx.origin == msg.sender,
            "5KM: contract is not allowed to mint."
        );
        require(_verify(_hash(salt, msg.sender), sig), "5KM: invalid sig.");
        require(
            numberMinted(msg.sender) + amount <= MAX_MINT,
            "5KM: max mint amount per wallet exceeded."
        );
        require(
            totalSupply() + amount <= SaleMaxSupply,
            "5KM: max supply exceeded."
        );

        _safeMint(msg.sender, amount);
        refundIfOver(PresalePrice * amount);

        emit Minted(msg.sender, amount);
    }

    function mint(uint256 amount) external payable {
        require(status == Status.PublicSale, "5KM: Public sale is not active.");
        require(
            tx.origin == msg.sender,
            "5KM: contract is not allowed to mint."
        );
        require(
            !publicMinted[msg.sender],
            "5KM: The wallet has already minted during public sale."
        );
        require(
            numberMinted(msg.sender) + amount <= MAX_MINT,
            "5KM: max mint amount per wallet exceeded."
        );
        require(
            totalSupply() + amount <= SaleMaxSupply,
            "5KM: max supply exceeded."
        );

        _safeMint(msg.sender, amount);
        publicMinted[msg.sender] = true;
        refundIfOver(PublicPrice * amount);

        emit Minted(msg.sender, amount);
    }

    function genesisIncubate(address recipient, uint256 amount) external onlyOwner {
        require(status == Status.Finished, "5KM: sale not finished.");
        require(recipient != address(0), "5KM: zero address.");

        _safeMint(recipient, amount);
        emit Incubate(recipient, amount);
    }

    //for future public supply
    function update(
        uint256 presalePrice,
        uint256 publicPrice,
        uint256 maxSale
    ) external onlyOwner {
        PresalePrice = presalePrice;
        PublicPrice = publicPrice;
        SaleMaxSupply = maxSale;
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "5KM: need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "5KM: no balance to withdraw.");
        (bool ok, ) = payable(owner()).call{value: balance}("");

        require(ok, "Transfer failed.");
    }

    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
        emit BaseURIChanged(newBaseURI);
    }

    function setStatus(Status _status) external onlyOwner {
        status = _status;
        emit StatusChanged(_status);
    }

    function setSigner(address signer) external onlyOwner {
        _signer = signer;
        emit SignerChanged(signer);
    }

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

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

    function _hash(string calldata salt, address _address)
    internal
    view
    returns (bytes32)
    {
        return keccak256(abi.encodePacked(salt, address(this), _address));
    }

    function _verify(bytes32 hash, bytes memory sig)
    internal
    view
    returns (bool)
    {
        return (_recover(hash, sig) == _signer);
    }

    function _recover(bytes32 hash, bytes memory sig)
    internal
    pure
    returns (address)
    {
        return hash.toEthSignedMessageHash().recover(sig);
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"initPresalePrice","type":"uint256"},{"internalType":"uint256","name":"initPublicPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Incubate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":"signer","type":"address"}],"name":"SignerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum FiveKMSneaker.Status","name":"status","type":"uint8"}],"name":"StatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PresalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SaleMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"genesisIncubate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"salt","type":"string"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum FiveKMSneaker.Status","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum FiveKMSneaker.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presalePrice","type":"uint256"},{"internalType":"uint256","name":"publicPrice","type":"uint256"},{"internalType":"uint256","name":"maxSale","type":"uint256"}],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611388600b553480156200001757600080fd5b50604051620055663803806200556683398181016040528101906200003d9190620003a8565b6040518060400160405280600b81526020017f354b4d20536e65616b65720000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f354b4d536e65616b6572000000000000000000000000000000000000000000008152508160029080519060200190620000c192919062000258565b508060039080519060200190620000da92919062000258565b50620000eb6200018560201b60201c565b600081905550505062000113620001076200018a60201b60201c565b6200019260201b60201c565b83600990805190602001906200012b92919062000258565b5082600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c8190555080600d81905550505050506200060f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002669062000500565b90600052602060002090601f0160209004810192826200028a5760008555620002d6565b82601f10620002a557805160ff1916838001178555620002d6565b82800160010185558215620002d6579182015b82811115620002d5578251825591602001919060010190620002b8565b5b509050620002e59190620002e9565b5090565b5b8082111562000304576000816000905550600101620002ea565b5090565b60006200031f620003198462000456565b6200042d565b9050828152602081018484840111156200033857600080fd5b62000345848285620004ca565b509392505050565b6000815190506200035e81620005db565b92915050565b600082601f8301126200037657600080fd5b81516200038884826020860162000308565b91505092915050565b600081519050620003a281620005f5565b92915050565b60008060008060808587031215620003bf57600080fd5b600085015167ffffffffffffffff811115620003da57600080fd5b620003e88782880162000364565b9450506020620003fb878288016200034d565b93505060406200040e8782880162000391565b9250506060620004218782880162000391565b91505092959194509250565b6000620004396200044c565b905062000447828262000536565b919050565b6000604051905090565b600067ffffffffffffffff8211156200047457620004736200059b565b5b6200047f82620005ca565b9050602081019050919050565b60006200049982620004a0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620004ea578082015181840152602081019050620004cd565b83811115620004fa576000848401525b50505050565b600060028204905060018216806200051957607f821691505b6020821081141562000530576200052f6200056c565b5b50919050565b6200054182620005ca565b810181811067ffffffffffffffff821117156200056357620005626200059b565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005e6816200048c565b8114620005f257600080fd5b50565b6200060081620004c0565b81146200060c57600080fd5b50565b614f47806200061f6000396000f3fe6080604052600436106101ee5760003560e01c80636c0360eb1161010d578063ad4e3d9f116100a0578063d49930fe1161006f578063d49930fe146106b9578063dc33e681146106e4578063e985e9c514610721578063f0292a031461075e578063f2fde38b14610789576101ee565b8063ad4e3d9f1461060e578063b88d4fde14610637578063c87b56dd14610660578063d00e3a531461069d576101ee565b80638da5cb5b116100dc5780638da5cb5b1461057357806395d89b411461059e578063a0712d68146105c9578063a22cb465146105e5576101ee565b80636c0360eb146104cb5780636c19e783146104f657806370a082311461051f578063715018a61461055c576101ee565b80632e49d78b1161018557806355f804b31161015457806355f804b3146104115780635c0656001461043a5780636352211e146104655780636a054250146104a2576101ee565b80632e49d78b1461037d5780633ccfd60b146103a657806342842e0e146103bd57806348675f5a146103e6576101ee565b80631015805b116101c15780631015805b146102c157806318160ddd146102fe578063200d2ed21461032957806323b872dd14610354576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613ba0565b6107b2565b60405161022791906142c4565b60405180910390f35b34801561023c57600080fd5b50610245610894565b6040516102529190614363565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613c60565b610926565b60405161028f9190614234565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b64565b6109a2565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906139f9565b610aad565b6040516102f591906142c4565b60405180910390f35b34801561030a57600080fd5b50610313610acd565b60405161032091906145c5565b60405180910390f35b34801561033557600080fd5b5061033e610ae4565b60405161034b9190614324565b60405180910390f35b34801561036057600080fd5b5061037b60048036038101906103769190613a5e565b610af7565b005b34801561038957600080fd5b506103a4600480360381019061039f9190613bf2565b610b07565b005b3480156103b257600080fd5b506103bb610c0d565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613a5e565b610d88565b005b3480156103f257600080fd5b506103fb610da8565b60405161040891906145c5565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190613c1b565b610dae565b005b34801561044657600080fd5b5061044f610e79565b60405161045c91906145c5565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190613c60565b610e7f565b6040516104999190614234565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613d12565b610e95565b005b3480156104d757600080fd5b506104e0610f2b565b6040516104ed9190614363565b60405180910390f35b34801561050257600080fd5b5061051d600480360381019061051891906139f9565b610fb9565b005b34801561052b57600080fd5b50610546600480360381019061054191906139f9565b6110b0565b60405161055391906145c5565b60405180910390f35b34801561056857600080fd5b50610571611180565b005b34801561057f57600080fd5b50610588611208565b6040516105959190614234565b60405180910390f35b3480156105aa57600080fd5b506105b3611232565b6040516105c09190614363565b60405180910390f35b6105e360048036038101906105de9190613c60565b6112c4565b005b3480156105f157600080fd5b5061060c60048036038101906106079190613b28565b6115e3565b005b34801561061a57600080fd5b5061063560048036038101906106309190613b64565b61175b565b005b34801561064357600080fd5b5061065e60048036038101906106599190613aad565b61194f565b005b34801561066c57600080fd5b5061068760048036038101906106829190613c60565b6119cb565b6040516106949190614363565b60405180910390f35b6106b760048036038101906106b29190613c89565b611a6a565b005b3480156106c557600080fd5b506106ce611d3f565b6040516106db91906145c5565b60405180910390f35b3480156106f057600080fd5b5061070b600480360381019061070691906139f9565b611d45565b60405161071891906145c5565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613a22565b611d57565b60405161075591906142c4565b60405180910390f35b34801561076a57600080fd5b50610773611deb565b60405161078091906145c5565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab91906139f9565b611df0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088d575061088c82611ee8565b5b9050919050565b6060600280546108a39061488b565b80601f01602080910402602001604051908101604052809291908181526020018280546108cf9061488b565b801561091c5780601f106108f15761010080835404028352916020019161091c565b820191906000526020600020905b8154815290600101906020018083116108ff57829003601f168201915b5050505050905090565b600061093182611f52565b610967576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ad82610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a15576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a34611fa0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a665750610a6481610a5f611fa0565b611d57565b155b15610a9d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aa8838383611fa8565b505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000610ad761205a565b6001546000540303905090565b600860149054906101000a900460ff1681565b610b0283838361205f565b505050565b610b0f611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610b2d611208565b73ffffffffffffffffffffffffffffffffffffffff1614610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a906144a5565b60405180910390fd5b80600860146101000a81548160ff02191690836003811115610bce577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e81604051610c029190614324565b60405180910390a150565b610c15611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610c33611208565b73ffffffffffffffffffffffffffffffffffffffff1614610c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c80906144a5565b60405180910390fd5b600047905060008111610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614505565b60405180910390fd5b6000610cdb611208565b73ffffffffffffffffffffffffffffffffffffffff1682604051610cfe9061421f565b60006040518083038185875af1925050503d8060008114610d3b576040519150601f19603f3d011682016040523d82523d6000602084013e610d40565b606091505b5050905080610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90614545565b60405180910390fd5b5050565b610da38383836040518060200160405280600081525061194f565b505050565b600b5481565b610db6611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610dd4611208565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906144a5565b60405180910390fd5b818160099190610e3b929190613799565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610e6d92919061433f565b60405180910390a15050565b600d5481565b6000610e8a82612515565b600001519050919050565b610e9d611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610ebb611208565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f08906144a5565b60405180910390fd5b82600c8190555081600d8190555080600b81905550505050565b60098054610f389061488b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f649061488b565b8015610fb15780601f10610f8657610100808354040283529160200191610fb1565b820191906000526020600020905b815481529060010190602001808311610f9457829003601f168201915b505050505081565b610fc1611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610fdf611208565b73ffffffffffffffffffffffffffffffffffffffff1614611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906144a5565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f5719a5656c5cfdaafa148ecf366fd3b0a7fae06449ce2a46225977fb7417e29d816040516110a59190614234565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611118576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611188611fa0565b73ffffffffffffffffffffffffffffffffffffffff166111a6611208565b73ffffffffffffffffffffffffffffffffffffffff16146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906144a5565b60405180910390fd5b61120660006127a4565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546112419061488b565b80601f016020809104026020016040519081016040528092919081815260200182805461126d9061488b565b80156112ba5780601f1061128f576101008083540402835291602001916112ba565b820191906000526020600020905b81548152906001019060200180831161129d57829003601f168201915b5050505050905090565b600260038111156112fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611346577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137d906144c5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906144e5565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906143e5565b60405180910390fd5b60058161148d33611d45565b6114979190614684565b11156114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf90614445565b60405180910390fd5b600b54816114e4610acd565b6114ee9190614684565b111561152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152690614525565b60405180910390fd5b611539338261286a565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115a781600d546115a2919061470b565b612888565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516115d892919061429b565b60405180910390a150565b6115eb611fa0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611650576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061165d611fa0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661170a611fa0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174f91906142c4565b60405180910390a35050565b611763611fa0565b73ffffffffffffffffffffffffffffffffffffffff16611781611208565b73ffffffffffffffffffffffffffffffffffffffff16146117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce906144a5565b60405180910390fd5b600380811115611810577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611858577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906145a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90614405565b60405180910390fd5b611912828261286a565b7faf4148db7531eef9a0f61c22117ea94eaa5d2e1b76674e5ee2d4ce71fe19c2c9828260405161194392919061429b565b60405180910390a15050565b61195a84848461205f565b6119798373ffffffffffffffffffffffffffffffffffffffff16612929565b801561198e575061198c8484848461294c565b155b156119c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606119d682611f52565b611a0c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a16612aac565b9050600081511415611a375760405180602001604052806000815250611a62565b80611a4184612b3e565b604051602001611a529291906141d5565b6040516020818303038152906040525b915050919050565b60016003811115611aa4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611aec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2390614465565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b91906144e5565b60405180910390fd5b611bf2611ba8858533612ceb565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612d23565b611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614585565b60405180910390fd5b600585611c3d33611d45565b611c479190614684565b1115611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f90614445565b60405180910390fd5b600b5485611c94610acd565b611c9e9190614684565b1115611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690614525565b60405180910390fd5b611ce9338661286a565b611cff85600c54611cfa919061470b565b612888565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3386604051611d3092919061429b565b60405180910390a15050505050565b600c5481565b6000611d5082612d87565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611df8611fa0565b73ffffffffffffffffffffffffffffffffffffffff16611e16611208565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e63906144a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed3906143c5565b60405180910390fd5b611ee5816127a4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f5d61205a565b11158015611f6c575060005482105b8015611f99575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061206a82612515565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146120d5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166120f6611fa0565b73ffffffffffffffffffffffffffffffffffffffff16148061212557506121248561211f611fa0565b611d57565b5b8061216a5750612133611fa0565b73ffffffffffffffffffffffffffffffffffffffff1661215284610926565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121a3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561220a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122178585856001612df1565b61222360008487611fa8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124a35760005482146124a257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461250e8585856001612df7565b5050505050565b61251d61381f565b60008290508061252b61205a565b1115801561253a575060005481105b1561276d576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161276b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461264f57809250505061279f565b5b60011561276a57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461276557809250505061279f565b612650565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612884828260405180602001604052806000815250612dfd565b5050565b803410156128cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c290614565565b60405180910390fd5b80341115612926573373ffffffffffffffffffffffffffffffffffffffff166108fc82346128f99190614765565b9081150290604051600060405180830381858888f19350505050158015612924573d6000803e3d6000fd5b505b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612972611fa0565b8786866040518563ffffffff1660e01b8152600401612994949392919061424f565b602060405180830381600087803b1580156129ae57600080fd5b505af19250505080156129df57506040513d601f19601f820116820180604052508101906129dc9190613bc9565b60015b612a59573d8060008114612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b50600081511415612a51576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612abb9061488b565b80601f0160208091040260200160405190810160405280929190818152602001828054612ae79061488b565b8015612b345780601f10612b0957610100808354040283529160200191612b34565b820191906000526020600020905b815481529060010190602001808311612b1757829003601f168201915b5050505050905090565b60606000821415612b86576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ce6565b600082905060005b60008214612bb8578080612ba1906148ee565b915050600a82612bb191906146da565b9150612b8e565b60008167ffffffffffffffff811115612bfa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c2c5781602001600182028036833780820191505090505b5090505b60008514612cdf57600182612c459190614765565b9150600a85612c549190614965565b6030612c609190614684565b60f81b818381518110612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cd891906146da565b9450612c30565b8093505050505b919050565b600083833084604051602001612d04949392919061419a565b6040516020818303038152906040528051906020012090509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d688484612e0f565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612e0a8383836001612e34565b505050565b6000612e2c82612e1e85613202565b61323290919063ffffffff16565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ea1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612edc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ee96000868387612df1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156130b357506130b28773ffffffffffffffffffffffffffffffffffffffff16612929565b5b15613179575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613128600088848060010195508861294c565b61315e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156130b957826000541461317457600080fd5b6131e5565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561317a575b8160008190555050506131fb6000868387612df7565b5050505050565b60008160405160200161321591906141f9565b604051602081830303815290604052805190602001209050919050565b60008060006132418585613259565b9150915061324e816132dc565b819250505092915050565b60008060418351141561329b5760008060006020860151925060408601519150606086015160001a905061328f8782858561362d565b945094505050506132d5565b6040835114156132cc5760008060208501519150604085015190506132c186838361373a565b9350935050506132d5565b60006002915091505b9250929050565b60006004811115613316577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561334f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561335a5761362a565b60016004811115613394577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156133cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561340e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340590614385565b60405180910390fd5b60026004811115613448577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613481577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b9906143a5565b60405180910390fd5b600360048111156134fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356d90614425565b60405180910390fd5b6004808111156135af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362090614485565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613668576000600391509150613731565b601b8560ff16141580156136805750601c8560ff1614155b15613692576000600491509150613731565b6000600187878787604051600081526020016040526040516136b794939291906142df565b6020604051602081039080840390855afa1580156136d9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561372857600060019250925050613731565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61377d9190614684565b905061378b8782888561362d565b935093505050935093915050565b8280546137a59061488b565b90600052602060002090601f0160209004810192826137c7576000855561380e565b82601f106137e057803560ff191683800117855561380e565b8280016001018555821561380e579182015b8281111561380d5782358255916020019190600101906137f2565b5b50905061381b9190613862565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561387b576000816000905550600101613863565b5090565b600061389261388d84614605565b6145e0565b9050828152602081018484840111156138aa57600080fd5b6138b5848285614849565b509392505050565b6000813590506138cc81614ea5565b92915050565b6000813590506138e181614ebc565b92915050565b6000813590506138f681614ed3565b92915050565b60008151905061390b81614ed3565b92915050565b60008083601f84011261392357600080fd5b8235905067ffffffffffffffff81111561393c57600080fd5b60208301915083600182028301111561395457600080fd5b9250929050565b600082601f83011261396c57600080fd5b813561397c84826020860161387f565b91505092915050565b60008135905061399481614eea565b92915050565b60008083601f8401126139ac57600080fd5b8235905067ffffffffffffffff8111156139c557600080fd5b6020830191508360018202830111156139dd57600080fd5b9250929050565b6000813590506139f381614efa565b92915050565b600060208284031215613a0b57600080fd5b6000613a19848285016138bd565b91505092915050565b60008060408385031215613a3557600080fd5b6000613a43858286016138bd565b9250506020613a54858286016138bd565b9150509250929050565b600080600060608486031215613a7357600080fd5b6000613a81868287016138bd565b9350506020613a92868287016138bd565b9250506040613aa3868287016139e4565b9150509250925092565b60008060008060808587031215613ac357600080fd5b6000613ad1878288016138bd565b9450506020613ae2878288016138bd565b9350506040613af3878288016139e4565b925050606085013567ffffffffffffffff811115613b1057600080fd5b613b1c8782880161395b565b91505092959194509250565b60008060408385031215613b3b57600080fd5b6000613b49858286016138bd565b9250506020613b5a858286016138d2565b9150509250929050565b60008060408385031215613b7757600080fd5b6000613b85858286016138bd565b9250506020613b96858286016139e4565b9150509250929050565b600060208284031215613bb257600080fd5b6000613bc0848285016138e7565b91505092915050565b600060208284031215613bdb57600080fd5b6000613be9848285016138fc565b91505092915050565b600060208284031215613c0457600080fd5b6000613c1284828501613985565b91505092915050565b60008060208385031215613c2e57600080fd5b600083013567ffffffffffffffff811115613c4857600080fd5b613c548582860161399a565b92509250509250929050565b600060208284031215613c7257600080fd5b6000613c80848285016139e4565b91505092915050565b600080600080600060608688031215613ca157600080fd5b6000613caf888289016139e4565b955050602086013567ffffffffffffffff811115613ccc57600080fd5b613cd88882890161399a565b9450945050604086013567ffffffffffffffff811115613cf757600080fd5b613d0388828901613911565b92509250509295509295909350565b600080600060608486031215613d2757600080fd5b6000613d35868287016139e4565b9350506020613d46868287016139e4565b9250506040613d57868287016139e4565b9150509250925092565b613d6a81614799565b82525050565b613d81613d7c82614799565b614937565b82525050565b613d90816147ab565b82525050565b613d9f816147b7565b82525050565b613db6613db1826147b7565b614949565b82525050565b6000613dc782614636565b613dd1818561464c565b9350613de1818560208601614858565b613dea81614a81565b840191505092915050565b613dfe81614837565b82525050565b6000613e108385614668565b9350613e1d838584614849565b613e2683614a81565b840190509392505050565b6000613e3d8385614679565b9350613e4a838584614849565b82840190509392505050565b6000613e6182614641565b613e6b8185614668565b9350613e7b818560208601614858565b613e8481614a81565b840191505092915050565b6000613e9a82614641565b613ea48185614679565b9350613eb4818560208601614858565b80840191505092915050565b6000613ecd601883614668565b9150613ed882614a9f565b602082019050919050565b6000613ef0601f83614668565b9150613efb82614ac8565b602082019050919050565b6000613f13601c83614679565b9150613f1e82614af1565b601c82019050919050565b6000613f36602683614668565b9150613f4182614b1a565b604082019050919050565b6000613f59603683614668565b9150613f6482614b69565b604082019050919050565b6000613f7c601283614668565b9150613f8782614bb8565b602082019050919050565b6000613f9f602283614668565b9150613faa82614be1565b604082019050919050565b6000613fc2602983614668565b9150613fcd82614c30565b604082019050919050565b6000613fe5601b83614668565b9150613ff082614c7f565b602082019050919050565b6000614008602283614668565b915061401382614ca8565b604082019050919050565b600061402b602083614668565b915061403682614cf7565b602082019050919050565b600061404e601f83614668565b915061405982614d20565b602082019050919050565b6000614071602583614668565b915061407c82614d49565b604082019050919050565b6000614094601c83614668565b915061409f82614d98565b602082019050919050565b60006140b7601983614668565b91506140c282614dc1565b602082019050919050565b60006140da60008361465d565b91506140e582614dea565b600082019050919050565b60006140fd601083614668565b915061410882614ded565b602082019050919050565b6000614120601b83614668565b915061412b82614e16565b602082019050919050565b6000614143601183614668565b915061414e82614e3f565b602082019050919050565b6000614166601783614668565b915061417182614e68565b602082019050919050565b61418581614820565b82525050565b6141948161482a565b82525050565b60006141a7828688613e31565b91506141b38285613d70565b6014820191506141c38284613d70565b60148201915081905095945050505050565b60006141e18285613e8f565b91506141ed8284613e8f565b91508190509392505050565b600061420482613f06565b91506142108284613da5565b60208201915081905092915050565b600061422a826140cd565b9150819050919050565b60006020820190506142496000830184613d61565b92915050565b60006080820190506142646000830187613d61565b6142716020830186613d61565b61427e604083018561417c565b81810360608301526142908184613dbc565b905095945050505050565b60006040820190506142b06000830185613d61565b6142bd602083018461417c565b9392505050565b60006020820190506142d96000830184613d87565b92915050565b60006080820190506142f46000830187613d96565b614301602083018661418b565b61430e6040830185613d96565b61431b6060830184613d96565b95945050505050565b60006020820190506143396000830184613df5565b92915050565b6000602082019050818103600083015261435a818486613e04565b90509392505050565b6000602082019050818103600083015261437d8184613e56565b905092915050565b6000602082019050818103600083015261439e81613ec0565b9050919050565b600060208201905081810360008301526143be81613ee3565b9050919050565b600060208201905081810360008301526143de81613f29565b9050919050565b600060208201905081810360008301526143fe81613f4c565b9050919050565b6000602082019050818103600083015261441e81613f6f565b9050919050565b6000602082019050818103600083015261443e81613f92565b9050919050565b6000602082019050818103600083015261445e81613fb5565b9050919050565b6000602082019050818103600083015261447e81613fd8565b9050919050565b6000602082019050818103600083015261449e81613ffb565b9050919050565b600060208201905081810360008301526144be8161401e565b9050919050565b600060208201905081810360008301526144de81614041565b9050919050565b600060208201905081810360008301526144fe81614064565b9050919050565b6000602082019050818103600083015261451e81614087565b9050919050565b6000602082019050818103600083015261453e816140aa565b9050919050565b6000602082019050818103600083015261455e816140f0565b9050919050565b6000602082019050818103600083015261457e81614113565b9050919050565b6000602082019050818103600083015261459e81614136565b9050919050565b600060208201905081810360008301526145be81614159565b9050919050565b60006020820190506145da600083018461417c565b92915050565b60006145ea6145fb565b90506145f682826148bd565b919050565b6000604051905090565b600067ffffffffffffffff8211156146205761461f614a52565b5b61462982614a81565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061468f82614820565b915061469a83614820565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146cf576146ce614996565b5b828201905092915050565b60006146e582614820565b91506146f083614820565b925082614700576146ff6149c5565b5b828204905092915050565b600061471682614820565b915061472183614820565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561475a57614759614996565b5b828202905092915050565b600061477082614820565b915061477b83614820565b92508282101561478e5761478d614996565b5b828203905092915050565b60006147a482614800565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506147fb82614e91565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614842826147ed565b9050919050565b82818337600083830152505050565b60005b8381101561487657808201518184015260208101905061485b565b83811115614885576000848401525b50505050565b600060028204905060018216806148a357607f821691505b602082108114156148b7576148b6614a23565b5b50919050565b6148c682614a81565b810181811067ffffffffffffffff821117156148e5576148e4614a52565b5b80604052505050565b60006148f982614820565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561492c5761492b614996565b5b600182019050919050565b600061494282614953565b9050919050565b6000819050919050565b600061495e82614a92565b9050919050565b600061497082614820565b915061497b83614820565b92508261498b5761498a6149c5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a205468652077616c6c65742068617320616c7265616479206d696e7460008201527f656420647572696e67207075626c69632073616c652e00000000000000000000602082015250565b7f354b4d3a207a65726f20616464726573732e0000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a206d6178206d696e7420616d6f756e74207065722077616c6c65742060008201527f65786365656465642e0000000000000000000000000000000000000000000000602082015250565b7f354b4d3a2050726573616c65206973206e6f74206163746976652e0000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f354b4d3a205075626c69632073616c65206973206e6f74206163746976652e00600082015250565b7f354b4d3a20636f6e7472616374206973206e6f7420616c6c6f77656420746f2060008201527f6d696e742e000000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a206e6f2062616c616e636520746f2077697468647261772e00000000600082015250565b7f354b4d3a206d617820737570706c792065786365656465642e00000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f354b4d3a206e65656420746f2073656e64206d6f7265204554482e0000000000600082015250565b7f354b4d3a20696e76616c6964207369672e000000000000000000000000000000600082015250565b7f354b4d3a2073616c65206e6f742066696e69736865642e000000000000000000600082015250565b60048110614ea257614ea16149f4565b5b50565b614eae81614799565b8114614eb957600080fd5b50565b614ec5816147ab565b8114614ed057600080fd5b50565b614edc816147c1565b8114614ee757600080fd5b50565b60048110614ef757600080fd5b50565b614f0381614820565b8114614f0e57600080fd5b5056fea26469706673582212203e05fe2ba433ca8d3d85b95d51475742efed1f42d336a70f33f0bd93e7c6b3a064736f6c634300080400330000000000000000000000000000000000000000000000000000000000000080000000000000000000000000f6d7c1f002f7f1a15df08180c3490a61f59aa73c00000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000186cc6acd4b00000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d59566a7a4e32376e4153653764536d31664c39334d6a46324547544c3251695438504b465a3351584d4d62332f00000000000000000000

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80636c0360eb1161010d578063ad4e3d9f116100a0578063d49930fe1161006f578063d49930fe146106b9578063dc33e681146106e4578063e985e9c514610721578063f0292a031461075e578063f2fde38b14610789576101ee565b8063ad4e3d9f1461060e578063b88d4fde14610637578063c87b56dd14610660578063d00e3a531461069d576101ee565b80638da5cb5b116100dc5780638da5cb5b1461057357806395d89b411461059e578063a0712d68146105c9578063a22cb465146105e5576101ee565b80636c0360eb146104cb5780636c19e783146104f657806370a082311461051f578063715018a61461055c576101ee565b80632e49d78b1161018557806355f804b31161015457806355f804b3146104115780635c0656001461043a5780636352211e146104655780636a054250146104a2576101ee565b80632e49d78b1461037d5780633ccfd60b146103a657806342842e0e146103bd57806348675f5a146103e6576101ee565b80631015805b116101c15780631015805b146102c157806318160ddd146102fe578063200d2ed21461032957806323b872dd14610354576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613ba0565b6107b2565b60405161022791906142c4565b60405180910390f35b34801561023c57600080fd5b50610245610894565b6040516102529190614363565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613c60565b610926565b60405161028f9190614234565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b64565b6109a2565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906139f9565b610aad565b6040516102f591906142c4565b60405180910390f35b34801561030a57600080fd5b50610313610acd565b60405161032091906145c5565b60405180910390f35b34801561033557600080fd5b5061033e610ae4565b60405161034b9190614324565b60405180910390f35b34801561036057600080fd5b5061037b60048036038101906103769190613a5e565b610af7565b005b34801561038957600080fd5b506103a4600480360381019061039f9190613bf2565b610b07565b005b3480156103b257600080fd5b506103bb610c0d565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613a5e565b610d88565b005b3480156103f257600080fd5b506103fb610da8565b60405161040891906145c5565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190613c1b565b610dae565b005b34801561044657600080fd5b5061044f610e79565b60405161045c91906145c5565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190613c60565b610e7f565b6040516104999190614234565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613d12565b610e95565b005b3480156104d757600080fd5b506104e0610f2b565b6040516104ed9190614363565b60405180910390f35b34801561050257600080fd5b5061051d600480360381019061051891906139f9565b610fb9565b005b34801561052b57600080fd5b50610546600480360381019061054191906139f9565b6110b0565b60405161055391906145c5565b60405180910390f35b34801561056857600080fd5b50610571611180565b005b34801561057f57600080fd5b50610588611208565b6040516105959190614234565b60405180910390f35b3480156105aa57600080fd5b506105b3611232565b6040516105c09190614363565b60405180910390f35b6105e360048036038101906105de9190613c60565b6112c4565b005b3480156105f157600080fd5b5061060c60048036038101906106079190613b28565b6115e3565b005b34801561061a57600080fd5b5061063560048036038101906106309190613b64565b61175b565b005b34801561064357600080fd5b5061065e60048036038101906106599190613aad565b61194f565b005b34801561066c57600080fd5b5061068760048036038101906106829190613c60565b6119cb565b6040516106949190614363565b60405180910390f35b6106b760048036038101906106b29190613c89565b611a6a565b005b3480156106c557600080fd5b506106ce611d3f565b6040516106db91906145c5565b60405180910390f35b3480156106f057600080fd5b5061070b600480360381019061070691906139f9565b611d45565b60405161071891906145c5565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613a22565b611d57565b60405161075591906142c4565b60405180910390f35b34801561076a57600080fd5b50610773611deb565b60405161078091906145c5565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab91906139f9565b611df0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088d575061088c82611ee8565b5b9050919050565b6060600280546108a39061488b565b80601f01602080910402602001604051908101604052809291908181526020018280546108cf9061488b565b801561091c5780601f106108f15761010080835404028352916020019161091c565b820191906000526020600020905b8154815290600101906020018083116108ff57829003601f168201915b5050505050905090565b600061093182611f52565b610967576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ad82610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a15576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a34611fa0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a665750610a6481610a5f611fa0565b611d57565b155b15610a9d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aa8838383611fa8565b505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000610ad761205a565b6001546000540303905090565b600860149054906101000a900460ff1681565b610b0283838361205f565b505050565b610b0f611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610b2d611208565b73ffffffffffffffffffffffffffffffffffffffff1614610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a906144a5565b60405180910390fd5b80600860146101000a81548160ff02191690836003811115610bce577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e81604051610c029190614324565b60405180910390a150565b610c15611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610c33611208565b73ffffffffffffffffffffffffffffffffffffffff1614610c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c80906144a5565b60405180910390fd5b600047905060008111610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614505565b60405180910390fd5b6000610cdb611208565b73ffffffffffffffffffffffffffffffffffffffff1682604051610cfe9061421f565b60006040518083038185875af1925050503d8060008114610d3b576040519150601f19603f3d011682016040523d82523d6000602084013e610d40565b606091505b5050905080610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90614545565b60405180910390fd5b5050565b610da38383836040518060200160405280600081525061194f565b505050565b600b5481565b610db6611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610dd4611208565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906144a5565b60405180910390fd5b818160099190610e3b929190613799565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610e6d92919061433f565b60405180910390a15050565b600d5481565b6000610e8a82612515565b600001519050919050565b610e9d611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610ebb611208565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f08906144a5565b60405180910390fd5b82600c8190555081600d8190555080600b81905550505050565b60098054610f389061488b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f649061488b565b8015610fb15780601f10610f8657610100808354040283529160200191610fb1565b820191906000526020600020905b815481529060010190602001808311610f9457829003601f168201915b505050505081565b610fc1611fa0565b73ffffffffffffffffffffffffffffffffffffffff16610fdf611208565b73ffffffffffffffffffffffffffffffffffffffff1614611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906144a5565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f5719a5656c5cfdaafa148ecf366fd3b0a7fae06449ce2a46225977fb7417e29d816040516110a59190614234565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611118576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611188611fa0565b73ffffffffffffffffffffffffffffffffffffffff166111a6611208565b73ffffffffffffffffffffffffffffffffffffffff16146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906144a5565b60405180910390fd5b61120660006127a4565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546112419061488b565b80601f016020809104026020016040519081016040528092919081815260200182805461126d9061488b565b80156112ba5780601f1061128f576101008083540402835291602001916112ba565b820191906000526020600020905b81548152906001019060200180831161129d57829003601f168201915b5050505050905090565b600260038111156112fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611346577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137d906144c5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906144e5565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906143e5565b60405180910390fd5b60058161148d33611d45565b6114979190614684565b11156114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf90614445565b60405180910390fd5b600b54816114e4610acd565b6114ee9190614684565b111561152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152690614525565b60405180910390fd5b611539338261286a565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115a781600d546115a2919061470b565b612888565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33826040516115d892919061429b565b60405180910390a150565b6115eb611fa0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611650576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061165d611fa0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661170a611fa0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174f91906142c4565b60405180910390a35050565b611763611fa0565b73ffffffffffffffffffffffffffffffffffffffff16611781611208565b73ffffffffffffffffffffffffffffffffffffffff16146117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce906144a5565b60405180910390fd5b600380811115611810577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611858577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906145a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90614405565b60405180910390fd5b611912828261286a565b7faf4148db7531eef9a0f61c22117ea94eaa5d2e1b76674e5ee2d4ce71fe19c2c9828260405161194392919061429b565b60405180910390a15050565b61195a84848461205f565b6119798373ffffffffffffffffffffffffffffffffffffffff16612929565b801561198e575061198c8484848461294c565b155b156119c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606119d682611f52565b611a0c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a16612aac565b9050600081511415611a375760405180602001604052806000815250611a62565b80611a4184612b3e565b604051602001611a529291906141d5565b6040516020818303038152906040525b915050919050565b60016003811115611aa4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166003811115611aec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2390614465565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b91906144e5565b60405180910390fd5b611bf2611ba8858533612ceb565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612d23565b611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614585565b60405180910390fd5b600585611c3d33611d45565b611c479190614684565b1115611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f90614445565b60405180910390fd5b600b5485611c94610acd565b611c9e9190614684565b1115611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690614525565b60405180910390fd5b611ce9338661286a565b611cff85600c54611cfa919061470b565b612888565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3386604051611d3092919061429b565b60405180910390a15050505050565b600c5481565b6000611d5082612d87565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611df8611fa0565b73ffffffffffffffffffffffffffffffffffffffff16611e16611208565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e63906144a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed3906143c5565b60405180910390fd5b611ee5816127a4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f5d61205a565b11158015611f6c575060005482105b8015611f99575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061206a82612515565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146120d5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166120f6611fa0565b73ffffffffffffffffffffffffffffffffffffffff16148061212557506121248561211f611fa0565b611d57565b5b8061216a5750612133611fa0565b73ffffffffffffffffffffffffffffffffffffffff1661215284610926565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121a3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561220a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122178585856001612df1565b61222360008487611fa8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124a35760005482146124a257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461250e8585856001612df7565b5050505050565b61251d61381f565b60008290508061252b61205a565b1115801561253a575060005481105b1561276d576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161276b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461264f57809250505061279f565b5b60011561276a57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461276557809250505061279f565b612650565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612884828260405180602001604052806000815250612dfd565b5050565b803410156128cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c290614565565b60405180910390fd5b80341115612926573373ffffffffffffffffffffffffffffffffffffffff166108fc82346128f99190614765565b9081150290604051600060405180830381858888f19350505050158015612924573d6000803e3d6000fd5b505b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612972611fa0565b8786866040518563ffffffff1660e01b8152600401612994949392919061424f565b602060405180830381600087803b1580156129ae57600080fd5b505af19250505080156129df57506040513d601f19601f820116820180604052508101906129dc9190613bc9565b60015b612a59573d8060008114612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b50600081511415612a51576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612abb9061488b565b80601f0160208091040260200160405190810160405280929190818152602001828054612ae79061488b565b8015612b345780601f10612b0957610100808354040283529160200191612b34565b820191906000526020600020905b815481529060010190602001808311612b1757829003601f168201915b5050505050905090565b60606000821415612b86576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ce6565b600082905060005b60008214612bb8578080612ba1906148ee565b915050600a82612bb191906146da565b9150612b8e565b60008167ffffffffffffffff811115612bfa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c2c5781602001600182028036833780820191505090505b5090505b60008514612cdf57600182612c459190614765565b9150600a85612c549190614965565b6030612c609190614684565b60f81b818381518110612c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cd891906146da565b9450612c30565b8093505050505b919050565b600083833084604051602001612d04949392919061419a565b6040516020818303038152906040528051906020012090509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d688484612e0f565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612e0a8383836001612e34565b505050565b6000612e2c82612e1e85613202565b61323290919063ffffffff16565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ea1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612edc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ee96000868387612df1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156130b357506130b28773ffffffffffffffffffffffffffffffffffffffff16612929565b5b15613179575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613128600088848060010195508861294c565b61315e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156130b957826000541461317457600080fd5b6131e5565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561317a575b8160008190555050506131fb6000868387612df7565b5050505050565b60008160405160200161321591906141f9565b604051602081830303815290604052805190602001209050919050565b60008060006132418585613259565b9150915061324e816132dc565b819250505092915050565b60008060418351141561329b5760008060006020860151925060408601519150606086015160001a905061328f8782858561362d565b945094505050506132d5565b6040835114156132cc5760008060208501519150604085015190506132c186838361373a565b9350935050506132d5565b60006002915091505b9250929050565b60006004811115613316577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561334f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561335a5761362a565b60016004811115613394577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156133cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561340e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340590614385565b60405180910390fd5b60026004811115613448577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613481577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b9906143a5565b60405180910390fd5b600360048111156134fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356d90614425565b60405180910390fd5b6004808111156135af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362090614485565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613668576000600391509150613731565b601b8560ff16141580156136805750601c8560ff1614155b15613692576000600491509150613731565b6000600187878787604051600081526020016040526040516136b794939291906142df565b6020604051602081039080840390855afa1580156136d9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561372857600060019250925050613731565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61377d9190614684565b905061378b8782888561362d565b935093505050935093915050565b8280546137a59061488b565b90600052602060002090601f0160209004810192826137c7576000855561380e565b82601f106137e057803560ff191683800117855561380e565b8280016001018555821561380e579182015b8281111561380d5782358255916020019190600101906137f2565b5b50905061381b9190613862565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561387b576000816000905550600101613863565b5090565b600061389261388d84614605565b6145e0565b9050828152602081018484840111156138aa57600080fd5b6138b5848285614849565b509392505050565b6000813590506138cc81614ea5565b92915050565b6000813590506138e181614ebc565b92915050565b6000813590506138f681614ed3565b92915050565b60008151905061390b81614ed3565b92915050565b60008083601f84011261392357600080fd5b8235905067ffffffffffffffff81111561393c57600080fd5b60208301915083600182028301111561395457600080fd5b9250929050565b600082601f83011261396c57600080fd5b813561397c84826020860161387f565b91505092915050565b60008135905061399481614eea565b92915050565b60008083601f8401126139ac57600080fd5b8235905067ffffffffffffffff8111156139c557600080fd5b6020830191508360018202830111156139dd57600080fd5b9250929050565b6000813590506139f381614efa565b92915050565b600060208284031215613a0b57600080fd5b6000613a19848285016138bd565b91505092915050565b60008060408385031215613a3557600080fd5b6000613a43858286016138bd565b9250506020613a54858286016138bd565b9150509250929050565b600080600060608486031215613a7357600080fd5b6000613a81868287016138bd565b9350506020613a92868287016138bd565b9250506040613aa3868287016139e4565b9150509250925092565b60008060008060808587031215613ac357600080fd5b6000613ad1878288016138bd565b9450506020613ae2878288016138bd565b9350506040613af3878288016139e4565b925050606085013567ffffffffffffffff811115613b1057600080fd5b613b1c8782880161395b565b91505092959194509250565b60008060408385031215613b3b57600080fd5b6000613b49858286016138bd565b9250506020613b5a858286016138d2565b9150509250929050565b60008060408385031215613b7757600080fd5b6000613b85858286016138bd565b9250506020613b96858286016139e4565b9150509250929050565b600060208284031215613bb257600080fd5b6000613bc0848285016138e7565b91505092915050565b600060208284031215613bdb57600080fd5b6000613be9848285016138fc565b91505092915050565b600060208284031215613c0457600080fd5b6000613c1284828501613985565b91505092915050565b60008060208385031215613c2e57600080fd5b600083013567ffffffffffffffff811115613c4857600080fd5b613c548582860161399a565b92509250509250929050565b600060208284031215613c7257600080fd5b6000613c80848285016139e4565b91505092915050565b600080600080600060608688031215613ca157600080fd5b6000613caf888289016139e4565b955050602086013567ffffffffffffffff811115613ccc57600080fd5b613cd88882890161399a565b9450945050604086013567ffffffffffffffff811115613cf757600080fd5b613d0388828901613911565b92509250509295509295909350565b600080600060608486031215613d2757600080fd5b6000613d35868287016139e4565b9350506020613d46868287016139e4565b9250506040613d57868287016139e4565b9150509250925092565b613d6a81614799565b82525050565b613d81613d7c82614799565b614937565b82525050565b613d90816147ab565b82525050565b613d9f816147b7565b82525050565b613db6613db1826147b7565b614949565b82525050565b6000613dc782614636565b613dd1818561464c565b9350613de1818560208601614858565b613dea81614a81565b840191505092915050565b613dfe81614837565b82525050565b6000613e108385614668565b9350613e1d838584614849565b613e2683614a81565b840190509392505050565b6000613e3d8385614679565b9350613e4a838584614849565b82840190509392505050565b6000613e6182614641565b613e6b8185614668565b9350613e7b818560208601614858565b613e8481614a81565b840191505092915050565b6000613e9a82614641565b613ea48185614679565b9350613eb4818560208601614858565b80840191505092915050565b6000613ecd601883614668565b9150613ed882614a9f565b602082019050919050565b6000613ef0601f83614668565b9150613efb82614ac8565b602082019050919050565b6000613f13601c83614679565b9150613f1e82614af1565b601c82019050919050565b6000613f36602683614668565b9150613f4182614b1a565b604082019050919050565b6000613f59603683614668565b9150613f6482614b69565b604082019050919050565b6000613f7c601283614668565b9150613f8782614bb8565b602082019050919050565b6000613f9f602283614668565b9150613faa82614be1565b604082019050919050565b6000613fc2602983614668565b9150613fcd82614c30565b604082019050919050565b6000613fe5601b83614668565b9150613ff082614c7f565b602082019050919050565b6000614008602283614668565b915061401382614ca8565b604082019050919050565b600061402b602083614668565b915061403682614cf7565b602082019050919050565b600061404e601f83614668565b915061405982614d20565b602082019050919050565b6000614071602583614668565b915061407c82614d49565b604082019050919050565b6000614094601c83614668565b915061409f82614d98565b602082019050919050565b60006140b7601983614668565b91506140c282614dc1565b602082019050919050565b60006140da60008361465d565b91506140e582614dea565b600082019050919050565b60006140fd601083614668565b915061410882614ded565b602082019050919050565b6000614120601b83614668565b915061412b82614e16565b602082019050919050565b6000614143601183614668565b915061414e82614e3f565b602082019050919050565b6000614166601783614668565b915061417182614e68565b602082019050919050565b61418581614820565b82525050565b6141948161482a565b82525050565b60006141a7828688613e31565b91506141b38285613d70565b6014820191506141c38284613d70565b60148201915081905095945050505050565b60006141e18285613e8f565b91506141ed8284613e8f565b91508190509392505050565b600061420482613f06565b91506142108284613da5565b60208201915081905092915050565b600061422a826140cd565b9150819050919050565b60006020820190506142496000830184613d61565b92915050565b60006080820190506142646000830187613d61565b6142716020830186613d61565b61427e604083018561417c565b81810360608301526142908184613dbc565b905095945050505050565b60006040820190506142b06000830185613d61565b6142bd602083018461417c565b9392505050565b60006020820190506142d96000830184613d87565b92915050565b60006080820190506142f46000830187613d96565b614301602083018661418b565b61430e6040830185613d96565b61431b6060830184613d96565b95945050505050565b60006020820190506143396000830184613df5565b92915050565b6000602082019050818103600083015261435a818486613e04565b90509392505050565b6000602082019050818103600083015261437d8184613e56565b905092915050565b6000602082019050818103600083015261439e81613ec0565b9050919050565b600060208201905081810360008301526143be81613ee3565b9050919050565b600060208201905081810360008301526143de81613f29565b9050919050565b600060208201905081810360008301526143fe81613f4c565b9050919050565b6000602082019050818103600083015261441e81613f6f565b9050919050565b6000602082019050818103600083015261443e81613f92565b9050919050565b6000602082019050818103600083015261445e81613fb5565b9050919050565b6000602082019050818103600083015261447e81613fd8565b9050919050565b6000602082019050818103600083015261449e81613ffb565b9050919050565b600060208201905081810360008301526144be8161401e565b9050919050565b600060208201905081810360008301526144de81614041565b9050919050565b600060208201905081810360008301526144fe81614064565b9050919050565b6000602082019050818103600083015261451e81614087565b9050919050565b6000602082019050818103600083015261453e816140aa565b9050919050565b6000602082019050818103600083015261455e816140f0565b9050919050565b6000602082019050818103600083015261457e81614113565b9050919050565b6000602082019050818103600083015261459e81614136565b9050919050565b600060208201905081810360008301526145be81614159565b9050919050565b60006020820190506145da600083018461417c565b92915050565b60006145ea6145fb565b90506145f682826148bd565b919050565b6000604051905090565b600067ffffffffffffffff8211156146205761461f614a52565b5b61462982614a81565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061468f82614820565b915061469a83614820565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146cf576146ce614996565b5b828201905092915050565b60006146e582614820565b91506146f083614820565b925082614700576146ff6149c5565b5b828204905092915050565b600061471682614820565b915061472183614820565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561475a57614759614996565b5b828202905092915050565b600061477082614820565b915061477b83614820565b92508282101561478e5761478d614996565b5b828203905092915050565b60006147a482614800565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506147fb82614e91565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614842826147ed565b9050919050565b82818337600083830152505050565b60005b8381101561487657808201518184015260208101905061485b565b83811115614885576000848401525b50505050565b600060028204905060018216806148a357607f821691505b602082108114156148b7576148b6614a23565b5b50919050565b6148c682614a81565b810181811067ffffffffffffffff821117156148e5576148e4614a52565b5b80604052505050565b60006148f982614820565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561492c5761492b614996565b5b600182019050919050565b600061494282614953565b9050919050565b6000819050919050565b600061495e82614a92565b9050919050565b600061497082614820565b915061497b83614820565b92508261498b5761498a6149c5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a205468652077616c6c65742068617320616c7265616479206d696e7460008201527f656420647572696e67207075626c69632073616c652e00000000000000000000602082015250565b7f354b4d3a207a65726f20616464726573732e0000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a206d6178206d696e7420616d6f756e74207065722077616c6c65742060008201527f65786365656465642e0000000000000000000000000000000000000000000000602082015250565b7f354b4d3a2050726573616c65206973206e6f74206163746976652e0000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f354b4d3a205075626c69632073616c65206973206e6f74206163746976652e00600082015250565b7f354b4d3a20636f6e7472616374206973206e6f7420616c6c6f77656420746f2060008201527f6d696e742e000000000000000000000000000000000000000000000000000000602082015250565b7f354b4d3a206e6f2062616c616e636520746f2077697468647261772e00000000600082015250565b7f354b4d3a206d617820737570706c792065786365656465642e00000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f354b4d3a206e65656420746f2073656e64206d6f7265204554482e0000000000600082015250565b7f354b4d3a20696e76616c6964207369672e000000000000000000000000000000600082015250565b7f354b4d3a2073616c65206e6f742066696e69736865642e000000000000000000600082015250565b60048110614ea257614ea16149f4565b5b50565b614eae81614799565b8114614eb957600080fd5b50565b614ec5816147ab565b8114614ed057600080fd5b50565b614edc816147c1565b8114614ee757600080fd5b50565b60048110614ef757600080fd5b50565b614f0381614820565b8114614f0e57600080fd5b5056fea26469706673582212203e05fe2ba433ca8d3d85b95d51475742efed1f42d336a70f33f0bd93e7c6b3a064736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000f6d7c1f002f7f1a15df08180c3490a61f59aa73c00000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000186cc6acd4b00000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d59566a7a4e32376e4153653764536d31664c39334d6a46324547544c3251695438504b465a3351584d4d62332f00000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmYVjzN27nASe7dSm1fL93MjF2EGTL2QiT8PKFZ3QXMMb3/
Arg [1] : signer (address): 0xF6D7C1f002F7F1a15dF08180C3490a61f59aA73C
Arg [2] : initPresalePrice (uint256): 70000000000000000
Arg [3] : initPublicPrice (uint256): 110000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 000000000000000000000000f6d7c1f002f7f1a15df08180c3490a61f59aa73c
Arg [2] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [3] : 0000000000000000000000000000000000000000000000000186cc6acd4b0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d59566a7a4e32376e4153653764536d31664c39334d6a46
Arg [6] : 324547544c3251695438504b465a3351584d4d62332f00000000000000000000


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.