ETH Price: $2,292.20 (+1.23%)

Token

Theori Game Pass (TGP)
 

Overview

Max Total Supply

162 TGP

Holders

39

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TGP
0x2535314106f7a3e8390b847a918cc5d38d046f97
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:
GamePass

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : GamePass.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.15;

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

contract GamePass is ERC721, ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;
    uint256 public maxTokenSupply;

    uint256 public constant MAX_MINTS_PER_TXN = 5;
    uint256 public maxPresaleMintsPerWallet = 2;

    uint256 public mintPrice = 0.1 ether;

    bool public presaleIsActive = false;
    bool public saleIsActive = false;
    bool public holderOnlyMint = false;

    bool public isLocked = false;
    string public baseURI;
    string public provenance;

    address[4] private _shareholders;
    uint[4] private _shares;

    bytes32 public merkleRoot = 0x95bb47781dc6717785223071a83860ea94a8e8165f08e287bbf3178784858008;

    mapping (address => uint256) public presaleMints;

    event PaymentReleased(address to, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 maxSupply) ERC721(name, symbol) {
        maxTokenSupply = maxSupply;

        _shareholders[0] = 0x11Ab326ef535963412E252653b843Da29d572b47; // Theori wallet
        _shareholders[1] = 0xeC9e512fE7E90134d8ca7295329Ccb0a57C91ecB; // Max
        _shareholders[2] = 0xB834A304f6baccA631a12c19c2bE8140D36DA8AA; // Angel
        _shareholders[3] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure

        _shares[0] = 6400;
        _shares[1] = 1200;
        _shares[2] = 1200;
        _shares[3] = 1200;
    }

    function setMaxTokenSupply(uint256 maxSupply) external onlyOwner {
        require(!isLocked, "Locked");
        maxTokenSupply = maxSupply;
    }

    function setMaxMintsPerWallet(uint256 newPresaleLimit) external onlyOwner {
        maxPresaleMintsPerWallet = newPresaleLimit;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        mintPrice = newPrice;
    }

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

    /*
    * Pause sale if active, make active if paused.
    */
    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /*
    * Pause pre-sale if active, make active if paused.
    */
    function flipPreSaleState() external onlyOwner {
        presaleIsActive = !presaleIsActive;
    }

    /*
    * Pause holder only mint if active, make active if paused.
    */
    function flipHolderOnlyMint() external onlyOwner {
        holderOnlyMint = !holderOnlyMint;
    }

    function withdrawForGiveaway(uint256 amount, address payable to) external onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    function withdraw(uint256 amount) external onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        
        uint256 totalShares = 10000;
        for (uint256 i = 0; i < 4; i++) {
            uint256 payment = amount * _shares[i] / totalShares;

            Address.sendValue(payable(_shareholders[i]), payment);
            emit PaymentReleased(_shareholders[i], payment);
        }
    }

    /*
    * Mint NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {        
        _mintMultiple(reservedAmount, mintAddress);
    }

    function hashLeaf(address presaleAddress) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(
            presaleAddress
        ));
    }

    /*
    * Lock provenance, supply and base URI.
    */
    function lockProvenance() external onlyOwner {
        isLocked = true;
    }

    function publicMint(uint256 numTokens) external payable {
        require(saleIsActive, "Sale not live");
        require(numTokens <= MAX_MINTS_PER_TXN, "Exceeds max per txn");
        require(mintPrice * numTokens <= msg.value, "Incorrect ether value");

        if (holderOnlyMint) {
            require(balanceOf(msg.sender) > 0, "Holder only");
        }

        _mintMultiple(numTokens, msg.sender);
    }

    function presaleMint(uint256 numTokens, bytes32[] calldata merkleProof) external payable {
        require(presaleIsActive, "Presale not live");
        require(presaleMints[msg.sender] + numTokens <= maxPresaleMintsPerWallet, "Exceeds max per wallet");
        require(mintPrice * numTokens <= msg.value, "Incorrect ether value");

        // Compute the node and verify the merkle proof
        require(MerkleProof.verify(merkleProof, merkleRoot, hashLeaf(msg.sender)), "Invalid proof");

        presaleMints[msg.sender] += numTokens;

        _mintMultiple(numTokens, msg.sender);
    }

    function _mintMultiple(uint256 numTokens, address mintAddress) internal {
        require(_tokenIdCounter.current() + numTokens <= maxTokenSupply, "Exceeds max supply");

        for (uint256 i = 0; i < numTokens; i++) {
            _tokenIdCounter.increment();
            _safeMint(mintAddress, _tokenIdCounter.current());
        }
    }

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

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        require(!isLocked, "Locked");
        baseURI = newBaseURI;
    }

    /*
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) external onlyOwner {
        require(!isLocked, "Locked");
        provenance = provenanceHash;
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

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

pragma solidity ^0.8.0;

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

File 3 of 15 : 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 4 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

File 5 of 15 : 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 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 15 : 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 9 of 15 : 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 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 15 of 15 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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_MINTS_PER_TXN","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":[],"name":"flipHolderOnlyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":"presaleAddress","type":"address"}],"name":"hashLeaf","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"holderOnlyMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPresaleMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"newPresaleLimit","type":"uint256"}],"name":"setMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526002600d5567016345785d8a0000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055506000600f60036101000a81548160ff0219169083151502179055507f95bb47781dc6717785223071a83860ea94a8e8165f08e287bbf317878485800860001b601a55348015620000b557600080fd5b506040516200619f3803806200619f8339818101604052810190620000db919062000609565b82828160009081620000ee9190620008e4565b508060019081620001009190620008e4565b50505062000123620001176200036360201b60201c565b6200036b60201b60201c565b80600c819055507311ab326ef535963412e252653b843da29d572b476012600060048110620001575762000156620009cb565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ec9e512fe7e90134d8ca7295329ccb0a57c91ecb6012600160048110620001c357620001c2620009cb565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b834a304f6bacca631a12c19c2be8140d36da8aa60126002600481106200022f576200022e620009cb565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360126003600481106200029b576200029a620009cb565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119006016600060048110620002f557620002f4620009cb565b5b01819055506104b06016600160048110620003155762000314620009cb565b5b01819055506104b06016600260048110620003355762000334620009cb565b5b01819055506104b06016600360048110620003555762000354620009cb565b5b0181905550505050620009fa565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200049a826200044f565b810181811067ffffffffffffffff82111715620004bc57620004bb62000460565b5b80604052505050565b6000620004d162000431565b9050620004df82826200048f565b919050565b600067ffffffffffffffff82111562000502576200050162000460565b5b6200050d826200044f565b9050602081019050919050565b60005b838110156200053a5780820151818401526020810190506200051d565b838111156200054a576000848401525b50505050565b6000620005676200056184620004e4565b620004c5565b9050828152602081018484840111156200058657620005856200044a565b5b620005938482856200051a565b509392505050565b600082601f830112620005b357620005b262000445565b5b8151620005c584826020860162000550565b91505092915050565b6000819050919050565b620005e381620005ce565b8114620005ef57600080fd5b50565b6000815190506200060381620005d8565b92915050565b6000806000606084860312156200062557620006246200043b565b5b600084015167ffffffffffffffff81111562000646576200064562000440565b5b62000654868287016200059b565b935050602084015167ffffffffffffffff81111562000678576200067762000440565b5b62000686868287016200059b565b92505060406200069986828701620005f2565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006f657607f821691505b6020821081036200070c576200070b620006ae565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000737565b62000782868362000737565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007c5620007bf620007b984620005ce565b6200079a565b620005ce565b9050919050565b6000819050919050565b620007e183620007a4565b620007f9620007f082620007cc565b84845462000744565b825550505050565b600090565b6200081062000801565b6200081d818484620007d6565b505050565b5b8181101562000845576200083960008262000806565b60018101905062000823565b5050565b601f82111562000894576200085e8162000712565b620008698462000727565b8101602085101562000879578190505b62000891620008888562000727565b83018262000822565b50505b505050565b600082821c905092915050565b6000620008b96000198460080262000899565b1980831691505092915050565b6000620008d48383620008a6565b9150826002028217905092915050565b620008ef82620006a3565b67ffffffffffffffff8111156200090b576200090a62000460565b5b620009178254620006dd565b6200092482828562000849565b600060209050601f8311600181146200095c576000841562000947578287015190505b620009538582620008c6565b865550620009c3565b601f1984166200096c8662000712565b60005b8281101562000996578489015182556001820191506020850194506020810190506200096f565b86831015620009b65784890151620009b2601f891682620008a6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6157958062000a0a6000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a578063a4e2d634116100c1578063e985e9c51161007a578063e985e9c51461098a578063ea7523ee146109c7578063eb8d2444146109de578063f032554914610a09578063f2fde38b14610a20578063ff50188514610a4957610288565b8063a4e2d63414610889578063b07ed982146108b4578063b88d4fde146108dd578063c87b56dd14610906578063dfe93fa314610943578063e3e1e8ef1461096e57610288565b806386ffe1b51161011357806386ffe1b51461078d5780638da5cb5b146107b857806391b7f5ed146107e357806395d89b411461080c578063963c354614610837578063a22cb4651461086057610288565b80636352211e1461067d5780636817c76c146106ba5780636c0360eb146106e557806370a0823114610710578063715018a61461074d5780637cb647591461076457610288565b80632eb4a7ab116101fe5780634d7313a4116101b75780634d7313a4146105835780634f6ccce7146105ac5780635010f5a8146105e957806350f7c2041461060057806355f804b31461062b57806360b02f701461065457610288565b80632eb4a7ab146104855780632f35e11f146104b05780632f745c59146104db57806330f72cd41461051857806334918dfd1461054357806342842e0e1461055a57610288565b80631096952311610250578063109695231461038657806318160ddd146103af57806323b872dd146103da57806325e49541146104035780632db11544146104405780632e1a7d4d1461045c57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f7309e81461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613876565b610a86565b6040516102c191906138be565b60405180910390f35b3480156102d657600080fd5b506102df610a98565b6040516102ec9190613972565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906139ca565b610b2a565b6040516103299190613a38565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613a7f565b610baf565b005b34801561036757600080fd5b50610370610cc6565b60405161037d9190613972565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613bf4565b610d54565b005b3480156103bb57600080fd5b506103c4610e33565b6040516103d19190613c4c565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190613c67565b610e40565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613cba565b610ea0565b6040516104379190613d00565b60405180910390f35b61045a600480360381019061045591906139ca565b610ed0565b005b34801561046857600080fd5b50610483600480360381019061047e91906139ca565b611021565b005b34801561049157600080fd5b5061049a6111e9565b6040516104a79190613d00565b60405180910390f35b3480156104bc57600080fd5b506104c56111ef565b6040516104d29190613c4c565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613a7f565b6111f5565b60405161050f9190613c4c565b60405180910390f35b34801561052457600080fd5b5061052d61129a565b60405161053a91906138be565b60405180910390f35b34801561054f57600080fd5b506105586112ad565b005b34801561056657600080fd5b50610581600480360381019061057c9190613c67565b611355565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613d59565b611375565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906139ca565b611438565b6040516105e09190613c4c565b60405180910390f35b3480156105f557600080fd5b506105fe6114a9565b005b34801561060c57600080fd5b50610615611551565b6040516106229190613c4c565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d9190613bf4565b611557565b005b34801561066057600080fd5b5061067b60048036038101906106769190613d99565b611636565b005b34801561068957600080fd5b506106a4600480360381019061069f91906139ca565b6116c0565b6040516106b19190613a38565b60405180910390f35b3480156106c657600080fd5b506106cf611771565b6040516106dc9190613c4c565b60405180910390f35b3480156106f157600080fd5b506106fa611777565b6040516107079190613972565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613cba565b611805565b6040516107449190613c4c565b60405180910390f35b34801561075957600080fd5b506107626118bc565b005b34801561077057600080fd5b5061078b60048036038101906107869190613e05565b611944565b005b34801561079957600080fd5b506107a26119ca565b6040516107af91906138be565b60405180910390f35b3480156107c457600080fd5b506107cd6119dd565b6040516107da9190613a38565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906139ca565b611a07565b005b34801561081857600080fd5b50610821611a8d565b60405161082e9190613972565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906139ca565b611b1f565b005b34801561086c57600080fd5b5061088760048036038101906108829190613e5e565b611ba5565b005b34801561089557600080fd5b5061089e611bbb565b6040516108ab91906138be565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d691906139ca565b611bce565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613f3f565b611ca4565b005b34801561091257600080fd5b5061092d600480360381019061092891906139ca565b611d06565b60405161093a9190613972565b60405180910390f35b34801561094f57600080fd5b50610958611dad565b6040516109659190613c4c565b60405180910390f35b61098860048036038101906109839190614022565b611db2565b005b34801561099657600080fd5b506109b160048036038101906109ac9190614082565b611fda565b6040516109be91906138be565b60405180910390f35b3480156109d357600080fd5b506109dc61206e565b005b3480156109ea57600080fd5b506109f3612107565b604051610a0091906138be565b60405180910390f35b348015610a1557600080fd5b50610a1e61211a565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613cba565b6121c2565b005b348015610a5557600080fd5b50610a706004803603810190610a6b9190613cba565b6122b9565b604051610a7d9190613c4c565b60405180910390f35b6000610a91826122d1565b9050919050565b606060008054610aa7906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad3906140f1565b8015610b205780601f10610af557610100808354040283529160200191610b20565b820191906000526020600020905b815481529060010190602001808311610b0357829003601f168201915b5050505050905090565b6000610b358261234b565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b90614194565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bba826116c0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2190614226565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c496123b7565b73ffffffffffffffffffffffffffffffffffffffff161480610c785750610c7781610c726123b7565b611fda565b5b610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae906142b8565b60405180910390fd5b610cc183836123bf565b505050565b60118054610cd3906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610cff906140f1565b8015610d4c5780601f10610d2157610100808354040283529160200191610d4c565b820191906000526020600020905b815481529060010190602001808311610d2f57829003601f168201915b505050505081565b610d5c6123b7565b73ffffffffffffffffffffffffffffffffffffffff16610d7a6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614324565b60405180910390fd5b600f60039054906101000a900460ff1615610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614390565b60405180910390fd5b8060119081610e2f919061455c565b5050565b6000600880549050905090565b610e51610e4b6123b7565b82612478565b610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e87906146a0565b60405180910390fd5b610e9b838383612556565b505050565b600081604051602001610eb39190614708565b604051602081830303815290604052805190602001209050919050565b600f60019054906101000a900460ff16610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f169061476f565b60405180910390fd5b6005811115610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a906147db565b60405180910390fd5b3481600e54610f72919061482a565b1115610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa906148d0565b60405180910390fd5b600f60029054906101000a900460ff1615611014576000610fd333611805565b11611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100a9061493c565b60405180910390fd5b5b61101e81336127bc565b50565b6110296123b7565b73ffffffffffffffffffffffffffffffffffffffff166110476119dd565b73ffffffffffffffffffffffffffffffffffffffff161461109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614324565b60405180910390fd5b804710156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906149a8565b60405180910390fd5b6000612710905060005b60048110156111e4576000826016836004811061110a576111096149c8565b5b015485611117919061482a565b6111219190614a26565b90506111626012836004811061113a576111396149c8565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612855565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660128360048110611197576111966149c8565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111c8929190614a57565b60405180910390a15080806111dc90614a80565b9150506110ea565b505050565b601a5481565b600d5481565b600061120083611805565b8210611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614b3a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60009054906101000a900460ff1681565b6112b56123b7565b73ffffffffffffffffffffffffffffffffffffffff166112d36119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090614324565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b61137083838360405180602001604052806000815250611ca4565b505050565b61137d6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661139b6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614324565b60405180910390fd5b6113fb8183612855565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056818360405161142c929190614baf565b60405180910390a15050565b6000611442610e33565b8210611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614c4a565b60405180910390fd5b60088281548110611497576114966149c8565b5b90600052602060002001549050919050565b6114b16123b7565b73ffffffffffffffffffffffffffffffffffffffff166114cf6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90614324565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b600c5481565b61155f6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661157d6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614324565b60405180910390fd5b600f60039054906101000a900460ff1615611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614390565b60405180910390fd5b8060109081611632919061455c565b5050565b61163e6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661165c6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990614324565b60405180910390fd5b6116bc82826127bc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614cdc565b60405180910390fd5b80915050919050565b600e5481565b60108054611784906140f1565b80601f01602080910402602001604051908101604052809291908181526020018280546117b0906140f1565b80156117fd5780601f106117d2576101008083540402835291602001916117fd565b820191906000526020600020905b8154815290600101906020018083116117e057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c90614d6e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118c46123b7565b73ffffffffffffffffffffffffffffffffffffffff166118e26119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f90614324565b60405180910390fd5b6119426000612949565b565b61194c6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661196a6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790614324565b60405180910390fd5b80601a8190555050565b600f60029054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a0f6123b7565b73ffffffffffffffffffffffffffffffffffffffff16611a2d6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90614324565b60405180910390fd5b80600e8190555050565b606060018054611a9c906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac8906140f1565b8015611b155780601f10611aea57610100808354040283529160200191611b15565b820191906000526020600020905b815481529060010190602001808311611af857829003601f168201915b5050505050905090565b611b276123b7565b73ffffffffffffffffffffffffffffffffffffffff16611b456119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614324565b60405180910390fd5b80600d8190555050565b611bb7611bb06123b7565b8383612a0f565b5050565b600f60039054906101000a900460ff1681565b611bd66123b7565b73ffffffffffffffffffffffffffffffffffffffff16611bf46119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614324565b60405180910390fd5b600f60039054906101000a900460ff1615611c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9190614390565b60405180910390fd5b80600c8190555050565b611cb5611caf6123b7565b83612478565b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906146a0565b60405180910390fd5b611d0084848484612b7b565b50505050565b6060611d118261234b565b611d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4790614e00565b60405180910390fd5b6000611d5a612bd7565b90506000815111611d7a5760405180602001604052806000815250611da5565b80611d8484612c69565b604051602001611d95929190614e5c565b6040516020818303038152906040525b915050919050565b600581565b600f60009054906101000a900460ff16611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df890614ecc565b60405180910390fd5b600d5483601b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e4f9190614eec565b1115611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614f8e565b60405180910390fd5b3483600e54611e9f919061482a565b1115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906148d0565b60405180910390fd5b611f36828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601a54611f3133610ea0565b612dc9565b611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90614ffa565b60405180910390fd5b82601b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc49190614eec565b92505081905550611fd583336127bc565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120766123b7565b73ffffffffffffffffffffffffffffffffffffffff166120946119dd565b73ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614324565b60405180910390fd5b6001600f60036101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6121226123b7565b73ffffffffffffffffffffffffffffffffffffffff166121406119dd565b73ffffffffffffffffffffffffffffffffffffffff1614612196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218d90614324565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6121ca6123b7565b73ffffffffffffffffffffffffffffffffffffffff166121e86119dd565b73ffffffffffffffffffffffffffffffffffffffff161461223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614324565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a49061508c565b60405180910390fd5b6122b681612949565b50565b601b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612344575061234382612de0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612432836116c0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124838261234b565b6124c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b99061511e565b60405180910390fd5b60006124cd836116c0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061250f575061250e8185611fda565b5b8061254d57508373ffffffffffffffffffffffffffffffffffffffff1661253584610b2a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612576826116c0565b73ffffffffffffffffffffffffffffffffffffffff16146125cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c3906151b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290615242565b60405180910390fd5b612646838383612ec2565b6126516000826123bf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a19190615262565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f89190614eec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127b7838383612ed2565b505050565b600c54826127ca600b612ed7565b6127d49190614eec565b1115612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c906152e2565b60405180910390fd5b60005b828110156128505761282a600b612ee5565b61283d82612838600b612ed7565b612efb565b808061284890614a80565b915050612818565b505050565b80471015612898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288f9061534e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128be9061539f565b60006040518083038185875af1925050503d80600081146128fb576040519150601f19603f3d011682016040523d82523d6000602084013e612900565b606091505b5050905080612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b90615426565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7490615492565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b6e91906138be565b60405180910390a3505050565b612b86848484612556565b612b9284848484612f19565b612bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc890615524565b60405180910390fd5b50505050565b606060108054612be6906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054612c12906140f1565b8015612c5f5780601f10612c3457610100808354040283529160200191612c5f565b820191906000526020600020905b815481529060010190602001808311612c4257829003601f168201915b5050505050905090565b606060008203612cb0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc4565b600082905060005b60008214612ce2578080612ccb90614a80565b915050600a82612cdb9190614a26565b9150612cb8565b60008167ffffffffffffffff811115612cfe57612cfd613ac9565b5b6040519080825280601f01601f191660200182016040528015612d305781602001600182028036833780820191505090505b5090505b60008514612dbd57600182612d499190615262565b9150600a85612d589190615544565b6030612d649190614eec565b60f81b818381518110612d7a57612d796149c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db69190614a26565b9450612d34565b8093505050505b919050565b600082612dd685846130a0565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ebb5750612eba82613115565b5b9050919050565b612ecd83838361317f565b505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612f15828260405180602001604052806000815250613291565b5050565b6000612f3a8473ffffffffffffffffffffffffffffffffffffffff166132ec565b15613093578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f636123b7565b8786866040518563ffffffff1660e01b8152600401612f8594939291906155ca565b6020604051808303816000875af1925050508015612fc157506040513d601f19601f82011682018060405250810190612fbe919061562b565b60015b613043573d8060008114612ff1576040519150601f19603f3d011682016040523d82523d6000602084013e612ff6565b606091505b50600081510361303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303290615524565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613098565b600190505b949350505050565b60008082905060005b845181101561310a5760008582815181106130c7576130c66149c8565b5b602002602001015190508083116130e9576130e2838261330f565b92506130f6565b6130f3818461330f565b92505b50808061310290614a80565b9150506130a9565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318a838383613326565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131cc576131c78161332b565b61320b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461320a576132098382613374565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361324d57613248816134e1565b61328c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461328b5761328a82826135b2565b5b5b505050565b61329b8383613631565b6132a86000848484612f19565b6132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de90615524565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161338184611805565b61338b9190615262565b9050600060076000848152602001908152602001600020549050818114613470576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134f59190615262565b9050600060096000848152602001908152602001600020549050600060088381548110613525576135246149c8565b5b906000526020600020015490508060088381548110613547576135466149c8565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061359657613595615658565b5b6001900381819060005260206000200160009055905550505050565b60006135bd83611805565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613697906156d3565b60405180910390fd5b6136a98161234b565b156136e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e09061573f565b60405180910390fd5b6136f560008383612ec2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137459190614eec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461380660008383612ed2565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138538161381e565b811461385e57600080fd5b50565b6000813590506138708161384a565b92915050565b60006020828403121561388c5761388b613814565b5b600061389a84828501613861565b91505092915050565b60008115159050919050565b6138b8816138a3565b82525050565b60006020820190506138d360008301846138af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139135780820151818401526020810190506138f8565b83811115613922576000848401525b50505050565b6000601f19601f8301169050919050565b6000613944826138d9565b61394e81856138e4565b935061395e8185602086016138f5565b61396781613928565b840191505092915050565b6000602082019050818103600083015261398c8184613939565b905092915050565b6000819050919050565b6139a781613994565b81146139b257600080fd5b50565b6000813590506139c48161399e565b92915050565b6000602082840312156139e0576139df613814565b5b60006139ee848285016139b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a22826139f7565b9050919050565b613a3281613a17565b82525050565b6000602082019050613a4d6000830184613a29565b92915050565b613a5c81613a17565b8114613a6757600080fd5b50565b600081359050613a7981613a53565b92915050565b60008060408385031215613a9657613a95613814565b5b6000613aa485828601613a6a565b9250506020613ab5858286016139b5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0182613928565b810181811067ffffffffffffffff82111715613b2057613b1f613ac9565b5b80604052505050565b6000613b3361380a565b9050613b3f8282613af8565b919050565b600067ffffffffffffffff821115613b5f57613b5e613ac9565b5b613b6882613928565b9050602081019050919050565b82818337600083830152505050565b6000613b97613b9284613b44565b613b29565b905082815260208101848484011115613bb357613bb2613ac4565b5b613bbe848285613b75565b509392505050565b600082601f830112613bdb57613bda613abf565b5b8135613beb848260208601613b84565b91505092915050565b600060208284031215613c0a57613c09613814565b5b600082013567ffffffffffffffff811115613c2857613c27613819565b5b613c3484828501613bc6565b91505092915050565b613c4681613994565b82525050565b6000602082019050613c616000830184613c3d565b92915050565b600080600060608486031215613c8057613c7f613814565b5b6000613c8e86828701613a6a565b9350506020613c9f86828701613a6a565b9250506040613cb0868287016139b5565b9150509250925092565b600060208284031215613cd057613ccf613814565b5b6000613cde84828501613a6a565b91505092915050565b6000819050919050565b613cfa81613ce7565b82525050565b6000602082019050613d156000830184613cf1565b92915050565b6000613d26826139f7565b9050919050565b613d3681613d1b565b8114613d4157600080fd5b50565b600081359050613d5381613d2d565b92915050565b60008060408385031215613d7057613d6f613814565b5b6000613d7e858286016139b5565b9250506020613d8f85828601613d44565b9150509250929050565b60008060408385031215613db057613daf613814565b5b6000613dbe858286016139b5565b9250506020613dcf85828601613a6a565b9150509250929050565b613de281613ce7565b8114613ded57600080fd5b50565b600081359050613dff81613dd9565b92915050565b600060208284031215613e1b57613e1a613814565b5b6000613e2984828501613df0565b91505092915050565b613e3b816138a3565b8114613e4657600080fd5b50565b600081359050613e5881613e32565b92915050565b60008060408385031215613e7557613e74613814565b5b6000613e8385828601613a6a565b9250506020613e9485828601613e49565b9150509250929050565b600067ffffffffffffffff821115613eb957613eb8613ac9565b5b613ec282613928565b9050602081019050919050565b6000613ee2613edd84613e9e565b613b29565b905082815260208101848484011115613efe57613efd613ac4565b5b613f09848285613b75565b509392505050565b600082601f830112613f2657613f25613abf565b5b8135613f36848260208601613ecf565b91505092915050565b60008060008060808587031215613f5957613f58613814565b5b6000613f6787828801613a6a565b9450506020613f7887828801613a6a565b9350506040613f89878288016139b5565b925050606085013567ffffffffffffffff811115613faa57613fa9613819565b5b613fb687828801613f11565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613fe257613fe1613abf565b5b8235905067ffffffffffffffff811115613fff57613ffe613fc2565b5b60208301915083602082028301111561401b5761401a613fc7565b5b9250929050565b60008060006040848603121561403b5761403a613814565b5b6000614049868287016139b5565b935050602084013567ffffffffffffffff81111561406a57614069613819565b5b61407686828701613fcc565b92509250509250925092565b6000806040838503121561409957614098613814565b5b60006140a785828601613a6a565b92505060206140b885828601613a6a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061410957607f821691505b60208210810361411c5761411b6140c2565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061417e602c836138e4565b915061418982614122565b604082019050919050565b600060208201905081810360008301526141ad81614171565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006142106021836138e4565b915061421b826141b4565b604082019050919050565b6000602082019050818103600083015261423f81614203565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142a26038836138e4565b91506142ad82614246565b604082019050919050565b600060208201905081810360008301526142d181614295565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061430e6020836138e4565b9150614319826142d8565b602082019050919050565b6000602082019050818103600083015261433d81614301565b9050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b600061437a6006836138e4565b915061438582614344565b602082019050919050565b600060208201905081810360008301526143a98161436d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143d5565b61441c86836143d5565b95508019841693508086168417925050509392505050565b6000819050919050565b600061445961445461444f84613994565b614434565b613994565b9050919050565b6000819050919050565b6144738361443e565b61448761447f82614460565b8484546143e2565b825550505050565b600090565b61449c61448f565b6144a781848461446a565b505050565b5b818110156144cb576144c0600082614494565b6001810190506144ad565b5050565b601f821115614510576144e1816143b0565b6144ea846143c5565b810160208510156144f9578190505b61450d614505856143c5565b8301826144ac565b50505b505050565b600082821c905092915050565b600061453360001984600802614515565b1980831691505092915050565b600061454c8383614522565b9150826002028217905092915050565b614565826138d9565b67ffffffffffffffff81111561457e5761457d613ac9565b5b61458882546140f1565b6145938282856144cf565b600060209050601f8311600181146145c657600084156145b4578287015190505b6145be8582614540565b865550614626565b601f1984166145d4866143b0565b60005b828110156145fc578489015182556001820191506020850194506020810190506145d7565b868310156146195784890151614615601f891682614522565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061468a6031836138e4565b91506146958261462e565b604082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b60008160601b9050919050565b60006146d8826146c0565b9050919050565b60006146ea826146cd565b9050919050565b6147026146fd82613a17565b6146df565b82525050565b600061471482846146f1565b60148201915081905092915050565b7f53616c65206e6f74206c69766500000000000000000000000000000000000000600082015250565b6000614759600d836138e4565b915061476482614723565b602082019050919050565b600060208201905081810360008301526147888161474c565b9050919050565b7f45786365656473206d6178207065722074786e00000000000000000000000000600082015250565b60006147c56013836138e4565b91506147d08261478f565b602082019050919050565b600060208201905081810360008301526147f4816147b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061483582613994565b915061484083613994565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614879576148786147fb565b5b828202905092915050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b60006148ba6015836138e4565b91506148c582614884565b602082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b7f486f6c646572206f6e6c79000000000000000000000000000000000000000000600082015250565b6000614926600b836138e4565b9150614931826148f0565b602082019050919050565b6000602082019050818103600083015261495581614919565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006149926014836138e4565b915061499d8261495c565b602082019050919050565b600060208201905081810360008301526149c181614985565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a3182613994565b9150614a3c83613994565b925082614a4c57614a4b6149f7565b5b828204905092915050565b6000604082019050614a6c6000830185613a29565b614a796020830184613c3d565b9392505050565b6000614a8b82613994565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614abd57614abc6147fb565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614b24602b836138e4565b9150614b2f82614ac8565b604082019050919050565b60006020820190508181036000830152614b5381614b17565b9050919050565b6000614b75614b70614b6b846139f7565b614434565b6139f7565b9050919050565b6000614b8782614b5a565b9050919050565b6000614b9982614b7c565b9050919050565b614ba981614b8e565b82525050565b6000604082019050614bc46000830185614ba0565b614bd16020830184613c3d565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614c34602c836138e4565b9150614c3f82614bd8565b604082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614cc66029836138e4565b9150614cd182614c6a565b604082019050919050565b60006020820190508181036000830152614cf581614cb9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d58602a836138e4565b9150614d6382614cfc565b604082019050919050565b60006020820190508181036000830152614d8781614d4b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614dea602f836138e4565b9150614df582614d8e565b604082019050919050565b60006020820190508181036000830152614e1981614ddd565b9050919050565b600081905092915050565b6000614e36826138d9565b614e408185614e20565b9350614e508185602086016138f5565b80840191505092915050565b6000614e688285614e2b565b9150614e748284614e2b565b91508190509392505050565b7f50726573616c65206e6f74206c69766500000000000000000000000000000000600082015250565b6000614eb66010836138e4565b9150614ec182614e80565b602082019050919050565b60006020820190508181036000830152614ee581614ea9565b9050919050565b6000614ef782613994565b9150614f0283613994565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f3757614f366147fb565b5b828201905092915050565b7f45786365656473206d6178207065722077616c6c657400000000000000000000600082015250565b6000614f786016836138e4565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614fe4600d836138e4565b9150614fef82614fae565b602082019050919050565b6000602082019050818103600083015261501381614fd7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150766026836138e4565b91506150818261501a565b604082019050919050565b600060208201905081810360008301526150a581615069565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615108602c836138e4565b9150615113826150ac565b604082019050919050565b60006020820190508181036000830152615137816150fb565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061519a6025836138e4565b91506151a58261513e565b604082019050919050565b600060208201905081810360008301526151c98161518d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061522c6024836138e4565b9150615237826151d0565b604082019050919050565b6000602082019050818103600083015261525b8161521f565b9050919050565b600061526d82613994565b915061527883613994565b92508282101561528b5761528a6147fb565b5b828203905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006152cc6012836138e4565b91506152d782615296565b602082019050919050565b600060208201905081810360008301526152fb816152bf565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615338601d836138e4565b915061534382615302565b602082019050919050565b600060208201905081810360008301526153678161532b565b9050919050565b600081905092915050565b50565b600061538960008361536e565b915061539482615379565b600082019050919050565b60006153aa8261537c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615410603a836138e4565b915061541b826153b4565b604082019050919050565b6000602082019050818103600083015261543f81615403565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061547c6019836138e4565b915061548782615446565b602082019050919050565b600060208201905081810360008301526154ab8161546f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061550e6032836138e4565b9150615519826154b2565b604082019050919050565b6000602082019050818103600083015261553d81615501565b9050919050565b600061554f82613994565b915061555a83613994565b92508261556a576155696149f7565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061559c82615575565b6155a68185615580565b93506155b68185602086016138f5565b6155bf81613928565b840191505092915050565b60006080820190506155df6000830187613a29565b6155ec6020830186613a29565b6155f96040830185613c3d565b818103606083015261560b8184615591565b905095945050505050565b6000815190506156258161384a565b92915050565b60006020828403121561564157615640613814565b5b600061564f84828501615616565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006156bd6020836138e4565b91506156c882615687565b602082019050919050565b600060208201905081810360008301526156ec816156b0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615729601c836138e4565b9150615734826156f3565b602082019050919050565b600060208201905081810360008301526157588161571c565b905091905056fea2646970667358221220c54c54a781756f7af3d79bf1df805f05fa824f032fe3fc5bf27b0ded0b43cbb664736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000000105468656f72692047616d6520506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035447500000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636352211e1161015a578063a4e2d634116100c1578063e985e9c51161007a578063e985e9c51461098a578063ea7523ee146109c7578063eb8d2444146109de578063f032554914610a09578063f2fde38b14610a20578063ff50188514610a4957610288565b8063a4e2d63414610889578063b07ed982146108b4578063b88d4fde146108dd578063c87b56dd14610906578063dfe93fa314610943578063e3e1e8ef1461096e57610288565b806386ffe1b51161011357806386ffe1b51461078d5780638da5cb5b146107b857806391b7f5ed146107e357806395d89b411461080c578063963c354614610837578063a22cb4651461086057610288565b80636352211e1461067d5780636817c76c146106ba5780636c0360eb146106e557806370a0823114610710578063715018a61461074d5780637cb647591461076457610288565b80632eb4a7ab116101fe5780634d7313a4116101b75780634d7313a4146105835780634f6ccce7146105ac5780635010f5a8146105e957806350f7c2041461060057806355f804b31461062b57806360b02f701461065457610288565b80632eb4a7ab146104855780632f35e11f146104b05780632f745c59146104db57806330f72cd41461051857806334918dfd1461054357806342842e0e1461055a57610288565b80631096952311610250578063109695231461038657806318160ddd146103af57806323b872dd146103da57806325e49541146104035780632db11544146104405780632e1a7d4d1461045c57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f7309e81461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613876565b610a86565b6040516102c191906138be565b60405180910390f35b3480156102d657600080fd5b506102df610a98565b6040516102ec9190613972565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906139ca565b610b2a565b6040516103299190613a38565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613a7f565b610baf565b005b34801561036757600080fd5b50610370610cc6565b60405161037d9190613972565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613bf4565b610d54565b005b3480156103bb57600080fd5b506103c4610e33565b6040516103d19190613c4c565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190613c67565b610e40565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613cba565b610ea0565b6040516104379190613d00565b60405180910390f35b61045a600480360381019061045591906139ca565b610ed0565b005b34801561046857600080fd5b50610483600480360381019061047e91906139ca565b611021565b005b34801561049157600080fd5b5061049a6111e9565b6040516104a79190613d00565b60405180910390f35b3480156104bc57600080fd5b506104c56111ef565b6040516104d29190613c4c565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613a7f565b6111f5565b60405161050f9190613c4c565b60405180910390f35b34801561052457600080fd5b5061052d61129a565b60405161053a91906138be565b60405180910390f35b34801561054f57600080fd5b506105586112ad565b005b34801561056657600080fd5b50610581600480360381019061057c9190613c67565b611355565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613d59565b611375565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906139ca565b611438565b6040516105e09190613c4c565b60405180910390f35b3480156105f557600080fd5b506105fe6114a9565b005b34801561060c57600080fd5b50610615611551565b6040516106229190613c4c565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d9190613bf4565b611557565b005b34801561066057600080fd5b5061067b60048036038101906106769190613d99565b611636565b005b34801561068957600080fd5b506106a4600480360381019061069f91906139ca565b6116c0565b6040516106b19190613a38565b60405180910390f35b3480156106c657600080fd5b506106cf611771565b6040516106dc9190613c4c565b60405180910390f35b3480156106f157600080fd5b506106fa611777565b6040516107079190613972565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613cba565b611805565b6040516107449190613c4c565b60405180910390f35b34801561075957600080fd5b506107626118bc565b005b34801561077057600080fd5b5061078b60048036038101906107869190613e05565b611944565b005b34801561079957600080fd5b506107a26119ca565b6040516107af91906138be565b60405180910390f35b3480156107c457600080fd5b506107cd6119dd565b6040516107da9190613a38565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906139ca565b611a07565b005b34801561081857600080fd5b50610821611a8d565b60405161082e9190613972565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906139ca565b611b1f565b005b34801561086c57600080fd5b5061088760048036038101906108829190613e5e565b611ba5565b005b34801561089557600080fd5b5061089e611bbb565b6040516108ab91906138be565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d691906139ca565b611bce565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613f3f565b611ca4565b005b34801561091257600080fd5b5061092d600480360381019061092891906139ca565b611d06565b60405161093a9190613972565b60405180910390f35b34801561094f57600080fd5b50610958611dad565b6040516109659190613c4c565b60405180910390f35b61098860048036038101906109839190614022565b611db2565b005b34801561099657600080fd5b506109b160048036038101906109ac9190614082565b611fda565b6040516109be91906138be565b60405180910390f35b3480156109d357600080fd5b506109dc61206e565b005b3480156109ea57600080fd5b506109f3612107565b604051610a0091906138be565b60405180910390f35b348015610a1557600080fd5b50610a1e61211a565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613cba565b6121c2565b005b348015610a5557600080fd5b50610a706004803603810190610a6b9190613cba565b6122b9565b604051610a7d9190613c4c565b60405180910390f35b6000610a91826122d1565b9050919050565b606060008054610aa7906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad3906140f1565b8015610b205780601f10610af557610100808354040283529160200191610b20565b820191906000526020600020905b815481529060010190602001808311610b0357829003601f168201915b5050505050905090565b6000610b358261234b565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b90614194565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bba826116c0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2190614226565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c496123b7565b73ffffffffffffffffffffffffffffffffffffffff161480610c785750610c7781610c726123b7565b611fda565b5b610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae906142b8565b60405180910390fd5b610cc183836123bf565b505050565b60118054610cd3906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610cff906140f1565b8015610d4c5780601f10610d2157610100808354040283529160200191610d4c565b820191906000526020600020905b815481529060010190602001808311610d2f57829003601f168201915b505050505081565b610d5c6123b7565b73ffffffffffffffffffffffffffffffffffffffff16610d7a6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614324565b60405180910390fd5b600f60039054906101000a900460ff1615610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614390565b60405180910390fd5b8060119081610e2f919061455c565b5050565b6000600880549050905090565b610e51610e4b6123b7565b82612478565b610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e87906146a0565b60405180910390fd5b610e9b838383612556565b505050565b600081604051602001610eb39190614708565b604051602081830303815290604052805190602001209050919050565b600f60019054906101000a900460ff16610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f169061476f565b60405180910390fd5b6005811115610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a906147db565b60405180910390fd5b3481600e54610f72919061482a565b1115610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa906148d0565b60405180910390fd5b600f60029054906101000a900460ff1615611014576000610fd333611805565b11611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100a9061493c565b60405180910390fd5b5b61101e81336127bc565b50565b6110296123b7565b73ffffffffffffffffffffffffffffffffffffffff166110476119dd565b73ffffffffffffffffffffffffffffffffffffffff161461109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614324565b60405180910390fd5b804710156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906149a8565b60405180910390fd5b6000612710905060005b60048110156111e4576000826016836004811061110a576111096149c8565b5b015485611117919061482a565b6111219190614a26565b90506111626012836004811061113a576111396149c8565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612855565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660128360048110611197576111966149c8565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111c8929190614a57565b60405180910390a15080806111dc90614a80565b9150506110ea565b505050565b601a5481565b600d5481565b600061120083611805565b8210611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614b3a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60009054906101000a900460ff1681565b6112b56123b7565b73ffffffffffffffffffffffffffffffffffffffff166112d36119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090614324565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b61137083838360405180602001604052806000815250611ca4565b505050565b61137d6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661139b6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614324565b60405180910390fd5b6113fb8183612855565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056818360405161142c929190614baf565b60405180910390a15050565b6000611442610e33565b8210611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614c4a565b60405180910390fd5b60088281548110611497576114966149c8565b5b90600052602060002001549050919050565b6114b16123b7565b73ffffffffffffffffffffffffffffffffffffffff166114cf6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90614324565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b600c5481565b61155f6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661157d6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614324565b60405180910390fd5b600f60039054906101000a900460ff1615611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614390565b60405180910390fd5b8060109081611632919061455c565b5050565b61163e6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661165c6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990614324565b60405180910390fd5b6116bc82826127bc565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614cdc565b60405180910390fd5b80915050919050565b600e5481565b60108054611784906140f1565b80601f01602080910402602001604051908101604052809291908181526020018280546117b0906140f1565b80156117fd5780601f106117d2576101008083540402835291602001916117fd565b820191906000526020600020905b8154815290600101906020018083116117e057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c90614d6e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118c46123b7565b73ffffffffffffffffffffffffffffffffffffffff166118e26119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f90614324565b60405180910390fd5b6119426000612949565b565b61194c6123b7565b73ffffffffffffffffffffffffffffffffffffffff1661196a6119dd565b73ffffffffffffffffffffffffffffffffffffffff16146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790614324565b60405180910390fd5b80601a8190555050565b600f60029054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a0f6123b7565b73ffffffffffffffffffffffffffffffffffffffff16611a2d6119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90614324565b60405180910390fd5b80600e8190555050565b606060018054611a9c906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac8906140f1565b8015611b155780601f10611aea57610100808354040283529160200191611b15565b820191906000526020600020905b815481529060010190602001808311611af857829003601f168201915b5050505050905090565b611b276123b7565b73ffffffffffffffffffffffffffffffffffffffff16611b456119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614324565b60405180910390fd5b80600d8190555050565b611bb7611bb06123b7565b8383612a0f565b5050565b600f60039054906101000a900460ff1681565b611bd66123b7565b73ffffffffffffffffffffffffffffffffffffffff16611bf46119dd565b73ffffffffffffffffffffffffffffffffffffffff1614611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614324565b60405180910390fd5b600f60039054906101000a900460ff1615611c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9190614390565b60405180910390fd5b80600c8190555050565b611cb5611caf6123b7565b83612478565b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906146a0565b60405180910390fd5b611d0084848484612b7b565b50505050565b6060611d118261234b565b611d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4790614e00565b60405180910390fd5b6000611d5a612bd7565b90506000815111611d7a5760405180602001604052806000815250611da5565b80611d8484612c69565b604051602001611d95929190614e5c565b6040516020818303038152906040525b915050919050565b600581565b600f60009054906101000a900460ff16611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df890614ecc565b60405180910390fd5b600d5483601b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e4f9190614eec565b1115611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614f8e565b60405180910390fd5b3483600e54611e9f919061482a565b1115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906148d0565b60405180910390fd5b611f36828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601a54611f3133610ea0565b612dc9565b611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90614ffa565b60405180910390fd5b82601b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc49190614eec565b92505081905550611fd583336127bc565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120766123b7565b73ffffffffffffffffffffffffffffffffffffffff166120946119dd565b73ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614324565b60405180910390fd5b6001600f60036101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6121226123b7565b73ffffffffffffffffffffffffffffffffffffffff166121406119dd565b73ffffffffffffffffffffffffffffffffffffffff1614612196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218d90614324565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6121ca6123b7565b73ffffffffffffffffffffffffffffffffffffffff166121e86119dd565b73ffffffffffffffffffffffffffffffffffffffff161461223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614324565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a49061508c565b60405180910390fd5b6122b681612949565b50565b601b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612344575061234382612de0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612432836116c0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124838261234b565b6124c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b99061511e565b60405180910390fd5b60006124cd836116c0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061250f575061250e8185611fda565b5b8061254d57508373ffffffffffffffffffffffffffffffffffffffff1661253584610b2a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612576826116c0565b73ffffffffffffffffffffffffffffffffffffffff16146125cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c3906151b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290615242565b60405180910390fd5b612646838383612ec2565b6126516000826123bf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a19190615262565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f89190614eec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127b7838383612ed2565b505050565b600c54826127ca600b612ed7565b6127d49190614eec565b1115612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c906152e2565b60405180910390fd5b60005b828110156128505761282a600b612ee5565b61283d82612838600b612ed7565b612efb565b808061284890614a80565b915050612818565b505050565b80471015612898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288f9061534e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128be9061539f565b60006040518083038185875af1925050503d80600081146128fb576040519150601f19603f3d011682016040523d82523d6000602084013e612900565b606091505b5050905080612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b90615426565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7490615492565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b6e91906138be565b60405180910390a3505050565b612b86848484612556565b612b9284848484612f19565b612bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc890615524565b60405180910390fd5b50505050565b606060108054612be6906140f1565b80601f0160208091040260200160405190810160405280929190818152602001828054612c12906140f1565b8015612c5f5780601f10612c3457610100808354040283529160200191612c5f565b820191906000526020600020905b815481529060010190602001808311612c4257829003601f168201915b5050505050905090565b606060008203612cb0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc4565b600082905060005b60008214612ce2578080612ccb90614a80565b915050600a82612cdb9190614a26565b9150612cb8565b60008167ffffffffffffffff811115612cfe57612cfd613ac9565b5b6040519080825280601f01601f191660200182016040528015612d305781602001600182028036833780820191505090505b5090505b60008514612dbd57600182612d499190615262565b9150600a85612d589190615544565b6030612d649190614eec565b60f81b818381518110612d7a57612d796149c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db69190614a26565b9450612d34565b8093505050505b919050565b600082612dd685846130a0565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ebb5750612eba82613115565b5b9050919050565b612ecd83838361317f565b505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612f15828260405180602001604052806000815250613291565b5050565b6000612f3a8473ffffffffffffffffffffffffffffffffffffffff166132ec565b15613093578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f636123b7565b8786866040518563ffffffff1660e01b8152600401612f8594939291906155ca565b6020604051808303816000875af1925050508015612fc157506040513d601f19601f82011682018060405250810190612fbe919061562b565b60015b613043573d8060008114612ff1576040519150601f19603f3d011682016040523d82523d6000602084013e612ff6565b606091505b50600081510361303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303290615524565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613098565b600190505b949350505050565b60008082905060005b845181101561310a5760008582815181106130c7576130c66149c8565b5b602002602001015190508083116130e9576130e2838261330f565b92506130f6565b6130f3818461330f565b92505b50808061310290614a80565b9150506130a9565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318a838383613326565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131cc576131c78161332b565b61320b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461320a576132098382613374565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361324d57613248816134e1565b61328c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461328b5761328a82826135b2565b5b5b505050565b61329b8383613631565b6132a86000848484612f19565b6132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de90615524565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161338184611805565b61338b9190615262565b9050600060076000848152602001908152602001600020549050818114613470576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134f59190615262565b9050600060096000848152602001908152602001600020549050600060088381548110613525576135246149c8565b5b906000526020600020015490508060088381548110613547576135466149c8565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061359657613595615658565b5b6001900381819060005260206000200160009055905550505050565b60006135bd83611805565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613697906156d3565b60405180910390fd5b6136a98161234b565b156136e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e09061573f565b60405180910390fd5b6136f560008383612ec2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137459190614eec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461380660008383612ed2565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138538161381e565b811461385e57600080fd5b50565b6000813590506138708161384a565b92915050565b60006020828403121561388c5761388b613814565b5b600061389a84828501613861565b91505092915050565b60008115159050919050565b6138b8816138a3565b82525050565b60006020820190506138d360008301846138af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139135780820151818401526020810190506138f8565b83811115613922576000848401525b50505050565b6000601f19601f8301169050919050565b6000613944826138d9565b61394e81856138e4565b935061395e8185602086016138f5565b61396781613928565b840191505092915050565b6000602082019050818103600083015261398c8184613939565b905092915050565b6000819050919050565b6139a781613994565b81146139b257600080fd5b50565b6000813590506139c48161399e565b92915050565b6000602082840312156139e0576139df613814565b5b60006139ee848285016139b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a22826139f7565b9050919050565b613a3281613a17565b82525050565b6000602082019050613a4d6000830184613a29565b92915050565b613a5c81613a17565b8114613a6757600080fd5b50565b600081359050613a7981613a53565b92915050565b60008060408385031215613a9657613a95613814565b5b6000613aa485828601613a6a565b9250506020613ab5858286016139b5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0182613928565b810181811067ffffffffffffffff82111715613b2057613b1f613ac9565b5b80604052505050565b6000613b3361380a565b9050613b3f8282613af8565b919050565b600067ffffffffffffffff821115613b5f57613b5e613ac9565b5b613b6882613928565b9050602081019050919050565b82818337600083830152505050565b6000613b97613b9284613b44565b613b29565b905082815260208101848484011115613bb357613bb2613ac4565b5b613bbe848285613b75565b509392505050565b600082601f830112613bdb57613bda613abf565b5b8135613beb848260208601613b84565b91505092915050565b600060208284031215613c0a57613c09613814565b5b600082013567ffffffffffffffff811115613c2857613c27613819565b5b613c3484828501613bc6565b91505092915050565b613c4681613994565b82525050565b6000602082019050613c616000830184613c3d565b92915050565b600080600060608486031215613c8057613c7f613814565b5b6000613c8e86828701613a6a565b9350506020613c9f86828701613a6a565b9250506040613cb0868287016139b5565b9150509250925092565b600060208284031215613cd057613ccf613814565b5b6000613cde84828501613a6a565b91505092915050565b6000819050919050565b613cfa81613ce7565b82525050565b6000602082019050613d156000830184613cf1565b92915050565b6000613d26826139f7565b9050919050565b613d3681613d1b565b8114613d4157600080fd5b50565b600081359050613d5381613d2d565b92915050565b60008060408385031215613d7057613d6f613814565b5b6000613d7e858286016139b5565b9250506020613d8f85828601613d44565b9150509250929050565b60008060408385031215613db057613daf613814565b5b6000613dbe858286016139b5565b9250506020613dcf85828601613a6a565b9150509250929050565b613de281613ce7565b8114613ded57600080fd5b50565b600081359050613dff81613dd9565b92915050565b600060208284031215613e1b57613e1a613814565b5b6000613e2984828501613df0565b91505092915050565b613e3b816138a3565b8114613e4657600080fd5b50565b600081359050613e5881613e32565b92915050565b60008060408385031215613e7557613e74613814565b5b6000613e8385828601613a6a565b9250506020613e9485828601613e49565b9150509250929050565b600067ffffffffffffffff821115613eb957613eb8613ac9565b5b613ec282613928565b9050602081019050919050565b6000613ee2613edd84613e9e565b613b29565b905082815260208101848484011115613efe57613efd613ac4565b5b613f09848285613b75565b509392505050565b600082601f830112613f2657613f25613abf565b5b8135613f36848260208601613ecf565b91505092915050565b60008060008060808587031215613f5957613f58613814565b5b6000613f6787828801613a6a565b9450506020613f7887828801613a6a565b9350506040613f89878288016139b5565b925050606085013567ffffffffffffffff811115613faa57613fa9613819565b5b613fb687828801613f11565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613fe257613fe1613abf565b5b8235905067ffffffffffffffff811115613fff57613ffe613fc2565b5b60208301915083602082028301111561401b5761401a613fc7565b5b9250929050565b60008060006040848603121561403b5761403a613814565b5b6000614049868287016139b5565b935050602084013567ffffffffffffffff81111561406a57614069613819565b5b61407686828701613fcc565b92509250509250925092565b6000806040838503121561409957614098613814565b5b60006140a785828601613a6a565b92505060206140b885828601613a6a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061410957607f821691505b60208210810361411c5761411b6140c2565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061417e602c836138e4565b915061418982614122565b604082019050919050565b600060208201905081810360008301526141ad81614171565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006142106021836138e4565b915061421b826141b4565b604082019050919050565b6000602082019050818103600083015261423f81614203565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006142a26038836138e4565b91506142ad82614246565b604082019050919050565b600060208201905081810360008301526142d181614295565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061430e6020836138e4565b9150614319826142d8565b602082019050919050565b6000602082019050818103600083015261433d81614301565b9050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b600061437a6006836138e4565b915061438582614344565b602082019050919050565b600060208201905081810360008301526143a98161436d565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143d5565b61441c86836143d5565b95508019841693508086168417925050509392505050565b6000819050919050565b600061445961445461444f84613994565b614434565b613994565b9050919050565b6000819050919050565b6144738361443e565b61448761447f82614460565b8484546143e2565b825550505050565b600090565b61449c61448f565b6144a781848461446a565b505050565b5b818110156144cb576144c0600082614494565b6001810190506144ad565b5050565b601f821115614510576144e1816143b0565b6144ea846143c5565b810160208510156144f9578190505b61450d614505856143c5565b8301826144ac565b50505b505050565b600082821c905092915050565b600061453360001984600802614515565b1980831691505092915050565b600061454c8383614522565b9150826002028217905092915050565b614565826138d9565b67ffffffffffffffff81111561457e5761457d613ac9565b5b61458882546140f1565b6145938282856144cf565b600060209050601f8311600181146145c657600084156145b4578287015190505b6145be8582614540565b865550614626565b601f1984166145d4866143b0565b60005b828110156145fc578489015182556001820191506020850194506020810190506145d7565b868310156146195784890151614615601f891682614522565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061468a6031836138e4565b91506146958261462e565b604082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b60008160601b9050919050565b60006146d8826146c0565b9050919050565b60006146ea826146cd565b9050919050565b6147026146fd82613a17565b6146df565b82525050565b600061471482846146f1565b60148201915081905092915050565b7f53616c65206e6f74206c69766500000000000000000000000000000000000000600082015250565b6000614759600d836138e4565b915061476482614723565b602082019050919050565b600060208201905081810360008301526147888161474c565b9050919050565b7f45786365656473206d6178207065722074786e00000000000000000000000000600082015250565b60006147c56013836138e4565b91506147d08261478f565b602082019050919050565b600060208201905081810360008301526147f4816147b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061483582613994565b915061484083613994565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614879576148786147fb565b5b828202905092915050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b60006148ba6015836138e4565b91506148c582614884565b602082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b7f486f6c646572206f6e6c79000000000000000000000000000000000000000000600082015250565b6000614926600b836138e4565b9150614931826148f0565b602082019050919050565b6000602082019050818103600083015261495581614919565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006149926014836138e4565b915061499d8261495c565b602082019050919050565b600060208201905081810360008301526149c181614985565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a3182613994565b9150614a3c83613994565b925082614a4c57614a4b6149f7565b5b828204905092915050565b6000604082019050614a6c6000830185613a29565b614a796020830184613c3d565b9392505050565b6000614a8b82613994565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614abd57614abc6147fb565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614b24602b836138e4565b9150614b2f82614ac8565b604082019050919050565b60006020820190508181036000830152614b5381614b17565b9050919050565b6000614b75614b70614b6b846139f7565b614434565b6139f7565b9050919050565b6000614b8782614b5a565b9050919050565b6000614b9982614b7c565b9050919050565b614ba981614b8e565b82525050565b6000604082019050614bc46000830185614ba0565b614bd16020830184613c3d565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614c34602c836138e4565b9150614c3f82614bd8565b604082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614cc66029836138e4565b9150614cd182614c6a565b604082019050919050565b60006020820190508181036000830152614cf581614cb9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d58602a836138e4565b9150614d6382614cfc565b604082019050919050565b60006020820190508181036000830152614d8781614d4b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614dea602f836138e4565b9150614df582614d8e565b604082019050919050565b60006020820190508181036000830152614e1981614ddd565b9050919050565b600081905092915050565b6000614e36826138d9565b614e408185614e20565b9350614e508185602086016138f5565b80840191505092915050565b6000614e688285614e2b565b9150614e748284614e2b565b91508190509392505050565b7f50726573616c65206e6f74206c69766500000000000000000000000000000000600082015250565b6000614eb66010836138e4565b9150614ec182614e80565b602082019050919050565b60006020820190508181036000830152614ee581614ea9565b9050919050565b6000614ef782613994565b9150614f0283613994565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f3757614f366147fb565b5b828201905092915050565b7f45786365656473206d6178207065722077616c6c657400000000000000000000600082015250565b6000614f786016836138e4565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614fe4600d836138e4565b9150614fef82614fae565b602082019050919050565b6000602082019050818103600083015261501381614fd7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150766026836138e4565b91506150818261501a565b604082019050919050565b600060208201905081810360008301526150a581615069565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615108602c836138e4565b9150615113826150ac565b604082019050919050565b60006020820190508181036000830152615137816150fb565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061519a6025836138e4565b91506151a58261513e565b604082019050919050565b600060208201905081810360008301526151c98161518d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061522c6024836138e4565b9150615237826151d0565b604082019050919050565b6000602082019050818103600083015261525b8161521f565b9050919050565b600061526d82613994565b915061527883613994565b92508282101561528b5761528a6147fb565b5b828203905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006152cc6012836138e4565b91506152d782615296565b602082019050919050565b600060208201905081810360008301526152fb816152bf565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615338601d836138e4565b915061534382615302565b602082019050919050565b600060208201905081810360008301526153678161532b565b9050919050565b600081905092915050565b50565b600061538960008361536e565b915061539482615379565b600082019050919050565b60006153aa8261537c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615410603a836138e4565b915061541b826153b4565b604082019050919050565b6000602082019050818103600083015261543f81615403565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061547c6019836138e4565b915061548782615446565b602082019050919050565b600060208201905081810360008301526154ab8161546f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061550e6032836138e4565b9150615519826154b2565b604082019050919050565b6000602082019050818103600083015261553d81615501565b9050919050565b600061554f82613994565b915061555a83613994565b92508261556a576155696149f7565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061559c82615575565b6155a68185615580565b93506155b68185602086016138f5565b6155bf81613928565b840191505092915050565b60006080820190506155df6000830187613a29565b6155ec6020830186613a29565b6155f96040830185613c3d565b818103606083015261560b8184615591565b905095945050505050565b6000815190506156258161384a565b92915050565b60006020828403121561564157615640613814565b5b600061564f84828501615616565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006156bd6020836138e4565b91506156c882615687565b602082019050919050565b600060208201905081810360008301526156ec816156b0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615729601c836138e4565b9150615734826156f3565b602082019050919050565b600060208201905081810360008301526157588161571c565b905091905056fea2646970667358221220c54c54a781756f7af3d79bf1df805f05fa824f032fe3fc5bf27b0ded0b43cbb664736f6c634300080f0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000000105468656f72692047616d6520506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035447500000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Theori Game Pass
Arg [1] : symbol (string): TGP
Arg [2] : maxSupply (uint256): 1500

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 5468656f72692047616d65205061737300000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5447500000000000000000000000000000000000000000000000000000000000


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.