ETH Price: $2,421.28 (+0.14%)

Token

DESIDER SPACE RANGERS (DSR)
 

Overview

Max Total Supply

2,019 DSR

Holders

319

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 DSR
0xabfc52803b5a6de238a0fa2b27836ba57fc673f6
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:
SpaceRanger

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : SpaceRanger.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
import "../node_modules/@openzeppelin/contracts/utils/Counters.sol";
import "./DesiderNft.sol";
import "./DesiderOG.sol";

contract SpaceRanger is DesiderNft {
    using Strings for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    bool public _revealed = false;

    // Constants
    uint256 public constant MAX_SUPPLY = 5500;
    uint256 public constant wlPrice = 0.023 ether;
    uint256 public constant pubPrice = 0.033 ether;
    uint256 public constant maxBalance = 5;
    // time setting
    uint256 private constant pubStart = 1677118980;

    string public baseURI;
    string public notRevealedUri;

    //Merkle
    bytes32 private saleMerkleRoot;

    // record og mint 
    mapping(address => uint256) private _ogmint;
    // record whitelist mint 
    mapping(address => uint256) private _wlmint;

    constructor(address _owner) ERC721("DESIDER SPACE RANGERS", "DSR")
    {
        transferOwnership(_owner);
    }

    function ownerMint(uint256 tokenQuantity, address to) external onlyOwner {
        require(
            totalSupply() + tokenQuantity <= MAX_SUPPLY,
            "Sale would exceed max supply"
        );

        _mintNft(tokenQuantity, to);
    }

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function ogMint() external {
        require(block.timestamp > pubStart, "mint not start");
        uint256 num = _ogmint[msg.sender];
        require(num == 0, "one og can only use once");
        require(totalSupply() + 1 <= MAX_SUPPLY, "Sale would exceed max supply");
        require(balanceOf(msg.sender) + 1 <= maxBalance, "Sale would exceed max balance");

        uint256 ogcheck = DesiderOG(0xAfa3CA7A79091CEbb035f490a51C6bfD45Cb4FC8).balanceOf(msg.sender);
        require(ogcheck >= 1,
            "only og can use this mint"
        );
        _ogmint[msg.sender] = 1;

        _mintNft(1, msg.sender);
    }

    function wlMint(uint256 tokenQuantity, bytes32[] calldata merkleProof) external payable {
        require(block.timestamp > pubStart, "mint not start");
        uint256 num = _wlmint[msg.sender];
        //check max supply
        require(totalSupply() + tokenQuantity <= MAX_SUPPLY, "Sale would exceed max supply");
        //check whitelist mint total limit
        require(num + tokenQuantity <= maxBalance, "one whitelist can only use once");
        //check balance
        require(balanceOf(msg.sender) + tokenQuantity <= maxBalance, "Sale would exceed max balance");
        //check enough eth
        require(tokenQuantity * wlPrice <= msg.value, "Not enough ether sent");

        _wlmint[msg.sender] = _wlmint[msg.sender] +tokenQuantity ;
        _mintWithProof(tokenQuantity, merkleProof, saleMerkleRoot);
    }

    function pubMint(uint256 tokenQuantity) external payable {
        require(block.timestamp > pubStart, "mint not start");
        //check max supply
        require(totalSupply() + tokenQuantity <= MAX_SUPPLY, "Sale would exceed max supply");
        //check balance
        require( balanceOf(msg.sender) + tokenQuantity <= maxBalance, "Sale would exceed max balance");
        //check enough eth
        require(tokenQuantity * pubPrice <= msg.value, "Not enough ether sent");

        _mintNft(tokenQuantity, msg.sender);
    }

    function _mintWithProof(uint256 tokenQuantity, bytes32[] calldata merkleProof, bytes32 merkleRoot) internal isValidMerkleProof(merkleProof, merkleRoot) {
        _mintNft(tokenQuantity, msg.sender);
    }

    function _mintNft(uint256 tokenQuantity, address to) internal {
        for (uint256 i = 0; i < tokenQuantity; i++) {
            // 
            uint256 mintIndex = totalSupply();
            if (mintIndex < MAX_SUPPLY) {
                _tokenIdCounter.increment();
                initTokenId(mintIndex);
                _safeMint(to, mintIndex);
            }
        }
    }

    function ogMintedNum(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _ogmint[owner];
    }

    function wlMintedNum(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _wlmint[owner];
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        if (_revealed == false) {
            return notRevealedUri;
        }

        string memory _tokenURI = _getTokenUri(tokenId);
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString(), ".json"));
    }

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

    function flipReveal() external onlyOwner {
        _revealed = !_revealed;
    }

    function setNotRevealedURI(string memory _notRevealedURI) external onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function withdraw(address to) external onlyOwner {
        uint256 balance = address(this).balance;
        payable(to).transfer(balance);
    }

    function setSaleMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        saleMerkleRoot = merkleRoot;
    }

}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 6 of 18 : 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 18 : 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 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

File 12 of 18 : 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 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token 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: caller is not token 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) {
        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 an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    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 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 16 of 18 : IStarknetCore.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.13;

interface IStarknetCore {
    /**
      Sends a message to an L2 contract.

      Returns the hash of the message.
    */
    function sendMessageToL2(
        uint256 toAddress,
        uint256 selector,
        uint256[] calldata payload
    ) external returns (bytes32);

    /**
      Consumes a message that was sent from an L2 contract.

      Returns the hash of the message.
    */
    function consumeMessageFromL2(uint256 fromAddress, uint256[] calldata payload)
        external
        returns (bytes32);
}

File 17 of 18 : DesiderOG.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol)
pragma solidity ^0.8.0;

import "../node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";

contract DesiderOG is ERC721, Ownable {
    using Strings for uint256;

    string public baseURI;

    uint public constant MAX_SUPPLY = 300;

    uint private mintedNum = 0;

    uint private autoNum = 10;

    error SoulboundTokenNoSafeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes data
    );

    error SoulboundTokenNoSetApprovalForAll(address operator, bool approved);
    error SoulboundTokenNoIsApprovedForAll(address account, address operator);
    error SoulboundTokenNotApproved(address to, uint256 tokenId);
    error SoulboundTokenTransfer(address from, address to, uint256 tokenId);

    constructor(address _owner) ERC721("DESIDER OG", "DOG")
    {
         transferOwnership(_owner);
    }

    function totalSupply() public view returns (uint256) {
        return mintedNum;
    }

    function mulMint(address[] memory addrs) external onlyOwner {
        uint256 addrCount = addrs.length;
        require(
            totalSupply() + addrCount <= MAX_SUPPLY,
            "Sale would exceed max supply"
        );

        uint i = 0;
        while (i < addrCount) {
            require(balanceOf(addrs[i]) < 1, "everyone can only have one");
            uint256 mintIndex = autoNum;
            if (_exists(mintIndex)) {
                autoNum ++;
                continue;
            }
            if (totalSupply() < MAX_SUPPLY) {
                mintedNum ++;
                autoNum ++;

                _safeMint(addrs[i], mintIndex);
            }
            i ++;
        }
    }

    function specifyMint(address[] memory to, uint256[] memory tokenIds) external onlyOwner {
        uint256 addrCount = to.length;
        require(
            totalSupply() + addrCount <= MAX_SUPPLY,
            "Sale would exceed max supply"
        );
        for(uint i = 0; i < addrCount; i ++) {
            require(balanceOf(to[i]) < 1, "everyone can only have one");
            mintedNum ++;
            _safeMint(to[i], tokenIds[i]);
        }

    } 

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        revert SoulboundTokenNoSafeTransferFrom(from, to, tokenId, data);
    }

    /** 
     * @notice will revert. Soulbound tokens cannot be transferred.
    */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        revert SoulboundTokenNoSetApprovalForAll(operator, approved);
    }

    /** 
     * @notice will revert. Soulbound tokens cannot be transferred.
    */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        revert SoulboundTokenNoIsApprovedForAll(owner, operator);
    }

    function approve(address to, uint256 tokenId) public virtual override {
        revert SoulboundTokenNotApproved(to, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        revert SoulboundTokenTransfer(from, to, tokenId);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        return string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json"));
    }

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

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

}

File 18 of 18 : DesiderNft.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./IStarknetCore.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
import "../node_modules/@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "../node_modules/@openzeppelin/contracts/utils/Address.sol";

abstract contract DesiderNft is ERC721, ERC721Burnable, Ownable {
    using Address for address;
    using Strings for uint256;


    mapping(address => bool) private whitelist;

    mapping(uint256 => uint256) private _tokenLucky;

    mapping(uint256 => uint256) private _token_earn_tm;

    mapping(uint256 => string) private _tokenURIs;

    uint256 constant EARN_INTERNAL = 86400;
    
    function addWhitelist(address _newEntry) external onlyOwner {
        require (_newEntry.isContract(), "only set contract");

        whitelist[_newEntry] = true;
    }

    function initTokenId(uint256 tokenId) internal {
        _tokenLucky[tokenId] = 0;
        _token_earn_tm[tokenId] = block.timestamp;
    }

    modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address does not exist in list"
        );
        _;
    }

    function upgradeLuck(uint256 tokenId) external {
        require(whitelist[msg.sender], "Not in whitelist");

        _tokenLucky[tokenId] += 1;
        _tokenURIs[tokenId] = string.concat(tokenId.toString(), "-", _tokenLucky[tokenId].toString(), ".json");
    }


    function onlyTokenIdUri(uint256 tokenId) public view returns (string memory) {
        string memory _tokenURI = _tokenURIs[tokenId];

        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string.concat(tokenId.toString(), ".json");
    }

    function touchToEarn(uint256 tokenId) external {
        require(whitelist[msg.sender], "Not in whitelist");

        uint256 lastEarnTm = _token_earn_tm[tokenId];
        require(block.timestamp - lastEarnTm > EARN_INTERNAL, "please wait for more time");

        _token_earn_tm[tokenId] = block.timestamp;
    }

    function getLucky(uint256 tokenId) public view virtual returns (uint256 lucky) {
        require(ERC721._exists(tokenId), "tokenId not exist");

        return _tokenLucky[tokenId];
    }

    function getLastEarnTm(uint256 tokenId) public view virtual returns (uint256 lucky) {
        require(ERC721._exists(tokenId), "tokenId not exist");

        return _token_earn_tm[tokenId];
    }

    function _getTokenUri(uint256 tokenId) internal view returns (string memory) {
        return _tokenURIs[tokenId];
    }

    function burnForTransferToL2(uint256 tokenId) public virtual {
        require(whitelist[msg.sender], "Not in whitelist");

        super._burn(tokenId);
        delete _tokenURIs[tokenId];
    }


    function receiveFromL1ReMint(address to, uint256 tokenId, uint256 lucky, uint256 earn_tm) public virtual {
        require(whitelist[msg.sender], "Not in whitelist");

        _safeMint(to, tokenId);
        _tokenLucky[tokenId] = lucky;
        if (lucky == 1) {
            _tokenURIs[tokenId] = string.concat(tokenId.toString(), ".json");
        } else {
            _tokenURIs[tokenId] = string.concat(tokenId.toString(), "-", lucky.toString(), ".json");
        }
        _token_earn_tm[tokenId] = earn_tm;
        emit Transfer(address(0), to, tokenId);
    }

}

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":"address","name":"_owner","type":"address"}],"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":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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newEntry","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnForTransferToL2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipReveal","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getLastEarnTm","outputs":[{"internalType":"uint256","name":"lucky","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLucky","outputs":[{"internalType":"uint256","name":"lucky","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBalance","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":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ogMintedNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"onlyTokenIdUri","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":"tokenQuantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pubPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"lucky","type":"uint256"},{"internalType":"uint256","name":"earn_tm","type":"uint256"}],"name":"receiveFromL1ReMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"touchToEarn","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"upgradeLuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"wlMintedNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000600c60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200584c3803806200584c833981810160405281019062000052919062000463565b6040518060400160405280601581526020017f444553494445522053504143452052414e4745525300000000000000000000008152506040518060400160405280600381526020017f44535200000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d692919062000349565b508060019080519060200190620000ef92919062000349565b50505062000112620001066200012a60201b60201c565b6200013260201b60201c565b6200012381620001f860201b60201c565b5062000614565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002086200028e60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200027a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000271906200051c565b60405180910390fd5b6200028b816200013260201b60201c565b50565b6200029e6200012a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002c46200031f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200031d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000314906200058e565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200035790620005df565b90600052602060002090601f0160209004810192826200037b5760008555620003c7565b82601f106200039657805160ff1916838001178555620003c7565b82800160010185558215620003c7579182015b82811115620003c6578251825591602001919060010190620003a9565b5b509050620003d69190620003da565b5090565b5b80821115620003f5576000816000905550600101620003db565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042b82620003fe565b9050919050565b6200043d816200041e565b81146200044957600080fd5b50565b6000815190506200045d8162000432565b92915050565b6000602082840312156200047c576200047b620003f9565b5b60006200048c848285016200044c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006200050460268362000495565b91506200051182620004a6565b604082019050919050565b600060208201905081810360008301526200053781620004f5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200057660208362000495565b915062000583826200053e565b602082019050919050565b60006020820190508181036000830152620005a98162000567565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005f857607f821691505b6020821081036200060e576200060d620005b0565b5b50919050565b61522880620006246000396000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063c0bf9f9a116100b6578063e1b357221161007a578063e1b35722146108fc578063e985e9c514610939578063f2c4ce1e14610976578063f2fde38b1461099f578063f80f5dd5146109c8578063f91eb630146109f157610267565b8063c0bf9f9a14610812578063c1d9df8d1461084f578063c7f8d01a1461086b578063c87b56dd14610896578063d52c57e0146108d357610267565b80638da5cb5b116101085780638da5cb5b1461071657806395d89b4114610741578063a22cb4651461076c578063af42b63014610795578063b88d4fde146107be578063bddb7be7146107e757610267565b806370a0823114610631578063715018a61461066e57806373ad468a146106855780637b5d36fb146106b05780638583ad00146106d957610267565b80633b84d9c6116101dd57806355f804b3116101a157806355f804b31461050f57806358ef72da146105385780635e2a94bc146105615780636352211e1461059e5780636c0360eb146105db5780636ebeac851461060657610267565b80633b84d9c6146104615780633ef0d36d1461047857806342842e0e1461049457806342966c68146104bd57806351cff8d9146104e657610267565b806318160ddd1161022f57806318160ddd146103655780631a2bea851461039057806323b872dd146103a75780632756fea0146103d05780632ecf8ccd146103f957806332cb6b0c1461043657610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063081c8c4414610311578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613807565b610a1a565b6040516102a0919061384f565b60405180910390f35b3480156102b557600080fd5b506102be610afc565b6040516102cb9190613903565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061395b565b610b8e565b60405161030891906139c9565b60405180910390f35b34801561031d57600080fd5b50610326610bd4565b6040516103339190613903565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190613a10565b610c62565b005b34801561037157600080fd5b5061037a610d79565b6040516103879190613a5f565b60405180910390f35b34801561039c57600080fd5b506103a5610d8a565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613a7a565b611031565b005b3480156103dc57600080fd5b506103f760048036038101906103f2919061395b565b611091565b005b34801561040557600080fd5b50610420600480360381019061041b919061395b565b6111a1565b60405161042d9190613903565b60405180910390f35b34801561044257600080fd5b5061044b611287565b6040516104589190613a5f565b60405180910390f35b34801561046d57600080fd5b5061047661128d565b005b610492600480360381019061048d9190613b32565b6112c1565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613a7a565b61153f565b005b3480156104c957600080fd5b506104e460048036038101906104df919061395b565b61155f565b005b3480156104f257600080fd5b5061050d60048036038101906105089190613b92565b6115bb565b005b34801561051b57600080fd5b5061053660048036038101906105319190613cef565b611613565b005b34801561054457600080fd5b5061055f600480360381019061055a9190613d38565b611635565b005b34801561056d57600080fd5b506105886004803603810190610583919061395b565b611813565b6040516105959190613a5f565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c0919061395b565b611878565b6040516105d291906139c9565b60405180910390f35b3480156105e757600080fd5b506105f0611929565b6040516105fd9190613903565b60405180910390f35b34801561061257600080fd5b5061061b6119b7565b604051610628919061384f565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613b92565b6119ca565b6040516106659190613a5f565b60405180910390f35b34801561067a57600080fd5b50610683611a81565b005b34801561069157600080fd5b5061069a611a95565b6040516106a79190613a5f565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d2919061395b565b611a9a565b005b3480156106e557600080fd5b5061070060048036038101906106fb9190613b92565b611b51565b60405161070d9190613a5f565b60405180910390f35b34801561072257600080fd5b5061072b611c08565b60405161073891906139c9565b60405180910390f35b34801561074d57600080fd5b50610756611c32565b6040516107639190613903565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613dcb565b611cc4565b005b3480156107a157600080fd5b506107bc60048036038101906107b7919061395b565b611cda565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613eac565b611e00565b005b3480156107f357600080fd5b506107fc611e62565b6040516108099190613a5f565b60405180910390f35b34801561081e57600080fd5b506108396004803603810190610834919061395b565b611e6d565b6040516108469190613a5f565b60405180910390f35b6108696004803603810190610864919061395b565b611ed2565b005b34801561087757600080fd5b50610880612028565b60405161088d9190613a5f565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061395b565b612033565b6040516108ca9190613903565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190613f2f565b6121bf565b005b34801561090857600080fd5b50610923600480360381019061091e9190613b92565b61222c565b6040516109309190613a5f565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613f6f565b6122e3565b60405161096d919061384f565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613cef565b612377565b005b3480156109ab57600080fd5b506109c660048036038101906109c19190613b92565b612399565b005b3480156109d457600080fd5b506109ef60048036038101906109ea9190613b92565b61241c565b005b3480156109fd57600080fd5b50610a186004803603810190610a139190613fe5565b6124dd565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af55750610af4826124ef565b5b9050919050565b606060008054610b0b90614041565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790614041565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050905090565b6000610b9982612559565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610be190614041565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0d90614041565b8015610c5a5780601f10610c2f57610100808354040283529160200191610c5a565b820191906000526020600020905b815481529060010190602001808311610c3d57829003601f168201915b505050505081565b6000610c6d82611878565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd4906140e4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfc6125a4565b73ffffffffffffffffffffffffffffffffffffffff161480610d2b5750610d2a81610d256125a4565b6122e3565b5b610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190614176565b60405180910390fd5b610d7483836125ac565b505050565b6000610d85600b612665565b905090565b6363f6ce044211610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc7906141e2565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008114610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e9061424e565b60405180910390fd5b61157c6001610e64610d79565b610e6e919061429d565b1115610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea69061433f565b60405180910390fd5b60056001610ebc336119ca565b610ec6919061429d565b1115610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe906143ab565b60405180910390fd5b600073afa3ca7a79091cebb035f490a51c6bfd45cb4fc873ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f5691906139c9565b602060405180830381865afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9791906143e0565b90506001811015610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd490614459565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061102d600133612673565b5050565b61104261103c6125a4565b826126cb565b611081576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611078906144eb565b60405180910390fd5b61108c838383612760565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490614557565b60405180910390fd5b6000600960008381526020019081526020016000205490506201518081426111459190614577565b11611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906145f7565b60405180910390fd5b4260096000848152602001908152602001600020819055505050565b60606000600a600084815260200190815260200160002080546111c390614041565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90614041565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b505050505090506000815111156112565780915050611282565b61125f836129c6565b60405160200161126f9190614679565b6040516020818303038152906040529150505b919050565b61157c81565b611295612b26565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6363f6ce044211611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe906141e2565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061157c84611357610d79565b611361919061429d565b11156113a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113999061433f565b60405180910390fd5b600584826113b0919061429d565b11156113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906146eb565b60405180910390fd5b6005846113fd336119ca565b611407919061429d565b1115611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f906143ab565b60405180910390fd5b346651b660cdd580008561145c919061470b565b111561149d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611494906147b1565b60405180910390fd5b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114e8919061429d565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611539848484600f54612ba4565b50505050565b61155a83838360405180602001604052806000815250611e00565b505050565b61157061156a6125a4565b826126cb565b6115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906144eb565b60405180910390fd5b6115b881612c6b565b50565b6115c3612b26565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561160e573d6000803e3d6000fd5b505050565b61161b612b26565b80600d90805190602001906116319291906136b8565b5050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614557565b60405180910390fd5b6116cb8484612d88565b8160086000858152602001908152602001600020819055506001820361173f576116f4836129c6565b6040516020016117049190614679565b604051602081830303815290604052600a600085815260200190815260200160002090805190602001906117399291906136b8565b50611799565b611748836129c6565b611751836129c6565b6040516020016117629291906147f7565b604051602081830303815290604052600a600085815260200190815260200160002090805190602001906117979291906136b8565b505b806009600085815260200190815260200160002081905550828473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600061181e82612da6565b61185d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185490614885565b60405180910390fd5b60096000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611917906148f1565b60405180910390fd5b80915050919050565b600d805461193690614041565b80601f016020809104026020016040519081016040528092919081815260200182805461196290614041565b80156119af5780601f10611984576101008083540402835291602001916119af565b820191906000526020600020905b81548152906001019060200180831161199257829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3190614983565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a89612b26565b611a936000612e12565b565b600581565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d90614557565b60405180910390fd5b611b2f81612c6b565b600a60008281526020019081526020016000206000611b4e919061373e565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614983565b60405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c4190614041565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6d90614041565b8015611cba5780601f10611c8f57610100808354040283529160200191611cba565b820191906000526020600020905b815481529060010190602001808311611c9d57829003601f168201915b5050505050905090565b611cd6611ccf6125a4565b8383612ed8565b5050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90614557565b60405180910390fd5b6001600860008381526020019081526020016000206000828254611d8a919061429d565b92505081905550611d9a816129c6565b611db660086000848152602001908152602001600020546129c6565b604051602001611dc79291906147f7565b604051602081830303815290604052600a60008381526020019081526020016000209080519060200190611dfc9291906136b8565b5050565b611e11611e0b6125a4565b836126cb565b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e47906144eb565b60405180910390fd5b611e5c84848484613044565b50505050565b66753d533d96800081565b6000611e7882612da6565b611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614885565b60405180910390fd5b60086000838152602001908152602001600020549050919050565b6363f6ce044211611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f906141e2565b60405180910390fd5b61157c81611f24610d79565b611f2e919061429d565b1115611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f669061433f565b60405180910390fd5b600581611f7b336119ca565b611f85919061429d565b1115611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd906143ab565b60405180910390fd5b3466753d533d96800082611fda919061470b565b111561201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906147b1565b60405180910390fd5b6120258133612673565b50565b6651b660cdd5800081565b606061203e82612da6565b61207d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207490614a15565b60405180910390fd5b60001515600c60009054906101000a900460ff1615150361212a57600e80546120a590614041565b80601f01602080910402602001604051908101604052809291908181526020018280546120d190614041565b801561211e5780601f106120f35761010080835404028352916020019161211e565b820191906000526020600020905b81548152906001019060200180831161210157829003601f168201915b505050505090506121ba565b6000612135836130a0565b90506000612141613145565b905060008151036121565781925050506121ba565b60008251111561218b578082604051602001612173929190614a35565b604051602081830303815290604052925050506121ba565b80612195856129c6565b6040516020016121a6929190614aa5565b604051602081830303815290604052925050505b919050565b6121c7612b26565b61157c826121d3610d79565b6121dd919061429d565b111561221e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122159061433f565b60405180910390fd5b6122288282612673565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390614983565b60405180910390fd5b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61237f612b26565b80600e90805190602001906123959291906136b8565b5050565b6123a1612b26565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240790614b46565b60405180910390fd5b61241981612e12565b50565b612424612b26565b6124438173ffffffffffffffffffffffffffffffffffffffff166131d7565b612482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247990614bb2565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6124e5612b26565b80600f8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61256281612da6565b6125a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612598906148f1565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661261f83611878565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60005b828110156126c6576000612688610d79565b905061157c8110156126b25761269e600b6131fa565b6126a781613210565b6126b18382612d88565b5b5080806126be90614bd2565b915050612676565b505050565b6000806126d783611878565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612719575061271881856122e3565b5b8061275757508373ffffffffffffffffffffffffffffffffffffffff1661273f84610b8e565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661278082611878565b73ffffffffffffffffffffffffffffffffffffffff16146127d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cd90614c8c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614d1e565b60405180910390fd5b612850838383613244565b61285b6000826125ac565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ab9190614577565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612902919061429d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129c1838383613249565b505050565b606060008203612a0d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b21565b600082905060005b60008214612a3f578080612a2890614bd2565b915050600a82612a389190614d6d565b9150612a15565b60008167ffffffffffffffff811115612a5b57612a5a613bc4565b5b6040519080825280601f01601f191660200182016040528015612a8d5781602001600182028036833780820191505090505b5090505b60008514612b1a57600182612aa69190614577565b9150600a85612ab59190614d9e565b6030612ac1919061429d565b60f81b818381518110612ad757612ad6614dcf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b139190614d6d565b9450612a91565b8093505050505b919050565b612b2e6125a4565b73ffffffffffffffffffffffffffffffffffffffff16612b4c611c08565b73ffffffffffffffffffffffffffffffffffffffff1614612ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9990614e4a565b60405180910390fd5b565b828282612c19838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001612bfe9190614eb2565b6040516020818303038152906040528051906020012061324e565b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90614f19565b60405180910390fd5b612c628733612673565b50505050505050565b6000612c7682611878565b9050612c8481600084613244565b612c8f6000836125ac565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cdf9190614577565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8481600084613249565b5050565b612da2828260405180602001604052806000815250613265565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614f85565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613037919061384f565b60405180910390a3505050565b61304f848484612760565b61305b848484846132c0565b61309a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309190615017565b60405180910390fd5b50505050565b6060600a600083815260200190815260200160002080546130c090614041565b80601f01602080910402602001604051908101604052809291908181526020018280546130ec90614041565b80156131395780601f1061310e57610100808354040283529160200191613139565b820191906000526020600020905b81548152906001019060200180831161311c57829003601f168201915b50505050509050919050565b6060600d805461315490614041565b80601f016020809104026020016040519081016040528092919081815260200182805461318090614041565b80156131cd5780601f106131a2576101008083540402835291602001916131cd565b820191906000526020600020905b8154815290600101906020018083116131b057829003601f168201915b5050505050905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6001816000016000828254019250508190555050565b6000600860008381526020019081526020016000208190555042600960008381526020019081526020016000208190555050565b505050565b505050565b60008261325b8584613447565b1490509392505050565b61326f838361349d565b61327c60008484846132c0565b6132bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b290615017565b60405180910390fd5b505050565b60006132e18473ffffffffffffffffffffffffffffffffffffffff166131d7565b1561343a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330a6125a4565b8786866040518563ffffffff1660e01b815260040161332c949392919061508c565b6020604051808303816000875af192505050801561336857506040513d601f19601f8201168201806040525081019061336591906150ed565b60015b6133ea573d8060008114613398576040519150601f19603f3d011682016040523d82523d6000602084013e61339d565b606091505b5060008151036133e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d990615017565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061343f565b600190505b949350505050565b60008082905060005b84518110156134925761347d828683815181106134705761346f614dcf565b5b6020026020010151613676565b9150808061348a90614bd2565b915050613450565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390615166565b60405180910390fd5b61351581612da6565b15613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c906151d2565b60405180910390fd5b61356160008383613244565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135b1919061429d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461367260008383613249565b5050565b600081831061368e5761368982846136a1565b613699565b61369883836136a1565b5b905092915050565b600082600052816020526040600020905092915050565b8280546136c490614041565b90600052602060002090601f0160209004810192826136e6576000855561372d565b82601f106136ff57805160ff191683800117855561372d565b8280016001018555821561372d579182015b8281111561372c578251825591602001919060010190613711565b5b50905061373a919061377e565b5090565b50805461374a90614041565b6000825580601f1061375c575061377b565b601f01602090049060005260206000209081019061377a919061377e565b5b50565b5b8082111561379757600081600090555060010161377f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137e4816137af565b81146137ef57600080fd5b50565b600081359050613801816137db565b92915050565b60006020828403121561381d5761381c6137a5565b5b600061382b848285016137f2565b91505092915050565b60008115159050919050565b61384981613834565b82525050565b60006020820190506138646000830184613840565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138a4578082015181840152602081019050613889565b838111156138b3576000848401525b50505050565b6000601f19601f8301169050919050565b60006138d58261386a565b6138df8185613875565b93506138ef818560208601613886565b6138f8816138b9565b840191505092915050565b6000602082019050818103600083015261391d81846138ca565b905092915050565b6000819050919050565b61393881613925565b811461394357600080fd5b50565b6000813590506139558161392f565b92915050565b600060208284031215613971576139706137a5565b5b600061397f84828501613946565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139b382613988565b9050919050565b6139c3816139a8565b82525050565b60006020820190506139de60008301846139ba565b92915050565b6139ed816139a8565b81146139f857600080fd5b50565b600081359050613a0a816139e4565b92915050565b60008060408385031215613a2757613a266137a5565b5b6000613a35858286016139fb565b9250506020613a4685828601613946565b9150509250929050565b613a5981613925565b82525050565b6000602082019050613a746000830184613a50565b92915050565b600080600060608486031215613a9357613a926137a5565b5b6000613aa1868287016139fb565b9350506020613ab2868287016139fb565b9250506040613ac386828701613946565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613af257613af1613acd565b5b8235905067ffffffffffffffff811115613b0f57613b0e613ad2565b5b602083019150836020820283011115613b2b57613b2a613ad7565b5b9250929050565b600080600060408486031215613b4b57613b4a6137a5565b5b6000613b5986828701613946565b935050602084013567ffffffffffffffff811115613b7a57613b796137aa565b5b613b8686828701613adc565b92509250509250925092565b600060208284031215613ba857613ba76137a5565b5b6000613bb6848285016139fb565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bfc826138b9565b810181811067ffffffffffffffff82111715613c1b57613c1a613bc4565b5b80604052505050565b6000613c2e61379b565b9050613c3a8282613bf3565b919050565b600067ffffffffffffffff821115613c5a57613c59613bc4565b5b613c63826138b9565b9050602081019050919050565b82818337600083830152505050565b6000613c92613c8d84613c3f565b613c24565b905082815260208101848484011115613cae57613cad613bbf565b5b613cb9848285613c70565b509392505050565b600082601f830112613cd657613cd5613acd565b5b8135613ce6848260208601613c7f565b91505092915050565b600060208284031215613d0557613d046137a5565b5b600082013567ffffffffffffffff811115613d2357613d226137aa565b5b613d2f84828501613cc1565b91505092915050565b60008060008060808587031215613d5257613d516137a5565b5b6000613d60878288016139fb565b9450506020613d7187828801613946565b9350506040613d8287828801613946565b9250506060613d9387828801613946565b91505092959194509250565b613da881613834565b8114613db357600080fd5b50565b600081359050613dc581613d9f565b92915050565b60008060408385031215613de257613de16137a5565b5b6000613df0858286016139fb565b9250506020613e0185828601613db6565b9150509250929050565b600067ffffffffffffffff821115613e2657613e25613bc4565b5b613e2f826138b9565b9050602081019050919050565b6000613e4f613e4a84613e0b565b613c24565b905082815260208101848484011115613e6b57613e6a613bbf565b5b613e76848285613c70565b509392505050565b600082601f830112613e9357613e92613acd565b5b8135613ea3848260208601613e3c565b91505092915050565b60008060008060808587031215613ec657613ec56137a5565b5b6000613ed4878288016139fb565b9450506020613ee5878288016139fb565b9350506040613ef687828801613946565b925050606085013567ffffffffffffffff811115613f1757613f166137aa565b5b613f2387828801613e7e565b91505092959194509250565b60008060408385031215613f4657613f456137a5565b5b6000613f5485828601613946565b9250506020613f65858286016139fb565b9150509250929050565b60008060408385031215613f8657613f856137a5565b5b6000613f94858286016139fb565b9250506020613fa5858286016139fb565b9150509250929050565b6000819050919050565b613fc281613faf565b8114613fcd57600080fd5b50565b600081359050613fdf81613fb9565b92915050565b600060208284031215613ffb57613ffa6137a5565b5b600061400984828501613fd0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061405957607f821691505b60208210810361406c5761406b614012565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140ce602183613875565b91506140d982614072565b604082019050919050565b600060208201905081810360008301526140fd816140c1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614160603e83613875565b915061416b82614104565b604082019050919050565b6000602082019050818103600083015261418f81614153565b9050919050565b7f6d696e74206e6f74207374617274000000000000000000000000000000000000600082015250565b60006141cc600e83613875565b91506141d782614196565b602082019050919050565b600060208201905081810360008301526141fb816141bf565b9050919050565b7f6f6e65206f672063616e206f6e6c7920757365206f6e63650000000000000000600082015250565b6000614238601883613875565b915061424382614202565b602082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a882613925565b91506142b383613925565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142e8576142e761426e565b5b828201905092915050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000614329601c83613875565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f53616c6520776f756c6420657863656564206d61782062616c616e6365000000600082015250565b6000614395601d83613875565b91506143a08261435f565b602082019050919050565b600060208201905081810360008301526143c481614388565b9050919050565b6000815190506143da8161392f565b92915050565b6000602082840312156143f6576143f56137a5565b5b6000614404848285016143cb565b91505092915050565b7f6f6e6c79206f672063616e207573652074686973206d696e7400000000000000600082015250565b6000614443601983613875565b915061444e8261440d565b602082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006144d5602e83613875565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b6000614541601083613875565b915061454c8261450b565b602082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b600061458282613925565b915061458d83613925565b9250828210156145a05761459f61426e565b5b828203905092915050565b7f706c65617365207761697420666f72206d6f72652074696d6500000000000000600082015250565b60006145e1601983613875565b91506145ec826145ab565b602082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b600081905092915050565b600061462d8261386a565b6146378185614617565b9350614647818560208601613886565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b60006146858284614622565b915061469082614653565b60058201915081905092915050565b7f6f6e652077686974656c6973742063616e206f6e6c7920757365206f6e636500600082015250565b60006146d5601f83613875565b91506146e08261469f565b602082019050919050565b60006020820190508181036000830152614704816146c8565b9050919050565b600061471682613925565b915061472183613925565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561475a5761475961426e565b5b828202905092915050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b600061479b601583613875565b91506147a682614765565b602082019050919050565b600060208201905081810360008301526147ca8161478e565b9050919050565b7f2d00000000000000000000000000000000000000000000000000000000000000815250565b60006148038285614622565b915061480e826147d1565b60018201915061481e8284614622565b915061482982614653565b6005820191508190509392505050565b7f746f6b656e4964206e6f74206578697374000000000000000000000000000000600082015250565b600061486f601183613875565b915061487a82614839565b602082019050919050565b6000602082019050818103600083015261489e81614862565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148db601883613875565b91506148e6826148a5565b602082019050919050565b6000602082019050818103600083015261490a816148ce565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061496d602983613875565b915061497882614911565b604082019050919050565b6000602082019050818103600083015261499c81614960565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006149ff602f83613875565b9150614a0a826149a3565b604082019050919050565b60006020820190508181036000830152614a2e816149f2565b9050919050565b6000614a418285614622565b9150614a4d8284614622565b91508190509392505050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614a8f600583614617565b9150614a9a82614a59565b600582019050919050565b6000614ab18285614622565b9150614abd8284614622565b9150614ac882614a82565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b30602683613875565b9150614b3b82614ad4565b604082019050919050565b60006020820190508181036000830152614b5f81614b23565b9050919050565b7f6f6e6c792073657420636f6e7472616374000000000000000000000000000000600082015250565b6000614b9c601183613875565b9150614ba782614b66565b602082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b6000614bdd82613925565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c0f57614c0e61426e565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c76602583613875565b9150614c8182614c1a565b604082019050919050565b60006020820190508181036000830152614ca581614c69565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d08602483613875565b9150614d1382614cac565b604082019050919050565b60006020820190508181036000830152614d3781614cfb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d7882613925565b9150614d8383613925565b925082614d9357614d92614d3e565b5b828204905092915050565b6000614da982613925565b9150614db483613925565b925082614dc457614dc3614d3e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e34602083613875565b9150614e3f82614dfe565b602082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b60008160601b9050919050565b6000614e8282614e6a565b9050919050565b6000614e9482614e77565b9050919050565b614eac614ea7826139a8565b614e89565b82525050565b6000614ebe8284614e9b565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b6000614f03601e83613875565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f6f601983613875565b9150614f7a82614f39565b602082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615001603283613875565b915061500c82614fa5565b604082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061505e82615037565b6150688185615042565b9350615078818560208601613886565b615081816138b9565b840191505092915050565b60006080820190506150a160008301876139ba565b6150ae60208301866139ba565b6150bb6040830185613a50565b81810360608301526150cd8184615053565b905095945050505050565b6000815190506150e7816137db565b92915050565b600060208284031215615103576151026137a5565b5b6000615111848285016150d8565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615150602083613875565b915061515b8261511a565b602082019050919050565b6000602082019050818103600083015261517f81615143565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006151bc601c83613875565b91506151c782615186565b602082019050919050565b600060208201905081810360008301526151eb816151af565b905091905056fea264697066735822122047e10a71465a2ae5ed9c9b2f8684b8c06447271663d5983ec8fae1beb49b6a3164736f6c634300080d0033000000000000000000000000ef8c5a3fbd7bd6fb1ae18814df51bda852734214

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063c0bf9f9a116100b6578063e1b357221161007a578063e1b35722146108fc578063e985e9c514610939578063f2c4ce1e14610976578063f2fde38b1461099f578063f80f5dd5146109c8578063f91eb630146109f157610267565b8063c0bf9f9a14610812578063c1d9df8d1461084f578063c7f8d01a1461086b578063c87b56dd14610896578063d52c57e0146108d357610267565b80638da5cb5b116101085780638da5cb5b1461071657806395d89b4114610741578063a22cb4651461076c578063af42b63014610795578063b88d4fde146107be578063bddb7be7146107e757610267565b806370a0823114610631578063715018a61461066e57806373ad468a146106855780637b5d36fb146106b05780638583ad00146106d957610267565b80633b84d9c6116101dd57806355f804b3116101a157806355f804b31461050f57806358ef72da146105385780635e2a94bc146105615780636352211e1461059e5780636c0360eb146105db5780636ebeac851461060657610267565b80633b84d9c6146104615780633ef0d36d1461047857806342842e0e1461049457806342966c68146104bd57806351cff8d9146104e657610267565b806318160ddd1161022f57806318160ddd146103655780631a2bea851461039057806323b872dd146103a75780632756fea0146103d05780632ecf8ccd146103f957806332cb6b0c1461043657610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063081c8c4414610311578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613807565b610a1a565b6040516102a0919061384f565b60405180910390f35b3480156102b557600080fd5b506102be610afc565b6040516102cb9190613903565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061395b565b610b8e565b60405161030891906139c9565b60405180910390f35b34801561031d57600080fd5b50610326610bd4565b6040516103339190613903565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190613a10565b610c62565b005b34801561037157600080fd5b5061037a610d79565b6040516103879190613a5f565b60405180910390f35b34801561039c57600080fd5b506103a5610d8a565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613a7a565b611031565b005b3480156103dc57600080fd5b506103f760048036038101906103f2919061395b565b611091565b005b34801561040557600080fd5b50610420600480360381019061041b919061395b565b6111a1565b60405161042d9190613903565b60405180910390f35b34801561044257600080fd5b5061044b611287565b6040516104589190613a5f565b60405180910390f35b34801561046d57600080fd5b5061047661128d565b005b610492600480360381019061048d9190613b32565b6112c1565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613a7a565b61153f565b005b3480156104c957600080fd5b506104e460048036038101906104df919061395b565b61155f565b005b3480156104f257600080fd5b5061050d60048036038101906105089190613b92565b6115bb565b005b34801561051b57600080fd5b5061053660048036038101906105319190613cef565b611613565b005b34801561054457600080fd5b5061055f600480360381019061055a9190613d38565b611635565b005b34801561056d57600080fd5b506105886004803603810190610583919061395b565b611813565b6040516105959190613a5f565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c0919061395b565b611878565b6040516105d291906139c9565b60405180910390f35b3480156105e757600080fd5b506105f0611929565b6040516105fd9190613903565b60405180910390f35b34801561061257600080fd5b5061061b6119b7565b604051610628919061384f565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613b92565b6119ca565b6040516106659190613a5f565b60405180910390f35b34801561067a57600080fd5b50610683611a81565b005b34801561069157600080fd5b5061069a611a95565b6040516106a79190613a5f565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d2919061395b565b611a9a565b005b3480156106e557600080fd5b5061070060048036038101906106fb9190613b92565b611b51565b60405161070d9190613a5f565b60405180910390f35b34801561072257600080fd5b5061072b611c08565b60405161073891906139c9565b60405180910390f35b34801561074d57600080fd5b50610756611c32565b6040516107639190613903565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613dcb565b611cc4565b005b3480156107a157600080fd5b506107bc60048036038101906107b7919061395b565b611cda565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613eac565b611e00565b005b3480156107f357600080fd5b506107fc611e62565b6040516108099190613a5f565b60405180910390f35b34801561081e57600080fd5b506108396004803603810190610834919061395b565b611e6d565b6040516108469190613a5f565b60405180910390f35b6108696004803603810190610864919061395b565b611ed2565b005b34801561087757600080fd5b50610880612028565b60405161088d9190613a5f565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061395b565b612033565b6040516108ca9190613903565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f59190613f2f565b6121bf565b005b34801561090857600080fd5b50610923600480360381019061091e9190613b92565b61222c565b6040516109309190613a5f565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613f6f565b6122e3565b60405161096d919061384f565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613cef565b612377565b005b3480156109ab57600080fd5b506109c660048036038101906109c19190613b92565b612399565b005b3480156109d457600080fd5b506109ef60048036038101906109ea9190613b92565b61241c565b005b3480156109fd57600080fd5b50610a186004803603810190610a139190613fe5565b6124dd565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af55750610af4826124ef565b5b9050919050565b606060008054610b0b90614041565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790614041565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050905090565b6000610b9982612559565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610be190614041565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0d90614041565b8015610c5a5780601f10610c2f57610100808354040283529160200191610c5a565b820191906000526020600020905b815481529060010190602001808311610c3d57829003601f168201915b505050505081565b6000610c6d82611878565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd4906140e4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfc6125a4565b73ffffffffffffffffffffffffffffffffffffffff161480610d2b5750610d2a81610d256125a4565b6122e3565b5b610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190614176565b60405180910390fd5b610d7483836125ac565b505050565b6000610d85600b612665565b905090565b6363f6ce044211610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc7906141e2565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008114610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e9061424e565b60405180910390fd5b61157c6001610e64610d79565b610e6e919061429d565b1115610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea69061433f565b60405180910390fd5b60056001610ebc336119ca565b610ec6919061429d565b1115610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe906143ab565b60405180910390fd5b600073afa3ca7a79091cebb035f490a51c6bfd45cb4fc873ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f5691906139c9565b602060405180830381865afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9791906143e0565b90506001811015610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd490614459565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061102d600133612673565b5050565b61104261103c6125a4565b826126cb565b611081576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611078906144eb565b60405180910390fd5b61108c838383612760565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490614557565b60405180910390fd5b6000600960008381526020019081526020016000205490506201518081426111459190614577565b11611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906145f7565b60405180910390fd5b4260096000848152602001908152602001600020819055505050565b60606000600a600084815260200190815260200160002080546111c390614041565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90614041565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b505050505090506000815111156112565780915050611282565b61125f836129c6565b60405160200161126f9190614679565b6040516020818303038152906040529150505b919050565b61157c81565b611295612b26565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6363f6ce044211611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe906141e2565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061157c84611357610d79565b611361919061429d565b11156113a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113999061433f565b60405180910390fd5b600584826113b0919061429d565b11156113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906146eb565b60405180910390fd5b6005846113fd336119ca565b611407919061429d565b1115611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f906143ab565b60405180910390fd5b346651b660cdd580008561145c919061470b565b111561149d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611494906147b1565b60405180910390fd5b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114e8919061429d565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611539848484600f54612ba4565b50505050565b61155a83838360405180602001604052806000815250611e00565b505050565b61157061156a6125a4565b826126cb565b6115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906144eb565b60405180910390fd5b6115b881612c6b565b50565b6115c3612b26565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561160e573d6000803e3d6000fd5b505050565b61161b612b26565b80600d90805190602001906116319291906136b8565b5050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614557565b60405180910390fd5b6116cb8484612d88565b8160086000858152602001908152602001600020819055506001820361173f576116f4836129c6565b6040516020016117049190614679565b604051602081830303815290604052600a600085815260200190815260200160002090805190602001906117399291906136b8565b50611799565b611748836129c6565b611751836129c6565b6040516020016117629291906147f7565b604051602081830303815290604052600a600085815260200190815260200160002090805190602001906117979291906136b8565b505b806009600085815260200190815260200160002081905550828473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600061181e82612da6565b61185d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185490614885565b60405180910390fd5b60096000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611917906148f1565b60405180910390fd5b80915050919050565b600d805461193690614041565b80601f016020809104026020016040519081016040528092919081815260200182805461196290614041565b80156119af5780601f10611984576101008083540402835291602001916119af565b820191906000526020600020905b81548152906001019060200180831161199257829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3190614983565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a89612b26565b611a936000612e12565b565b600581565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d90614557565b60405180910390fd5b611b2f81612c6b565b600a60008281526020019081526020016000206000611b4e919061373e565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614983565b60405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c4190614041565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6d90614041565b8015611cba5780601f10611c8f57610100808354040283529160200191611cba565b820191906000526020600020905b815481529060010190602001808311611c9d57829003601f168201915b5050505050905090565b611cd6611ccf6125a4565b8383612ed8565b5050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90614557565b60405180910390fd5b6001600860008381526020019081526020016000206000828254611d8a919061429d565b92505081905550611d9a816129c6565b611db660086000848152602001908152602001600020546129c6565b604051602001611dc79291906147f7565b604051602081830303815290604052600a60008381526020019081526020016000209080519060200190611dfc9291906136b8565b5050565b611e11611e0b6125a4565b836126cb565b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e47906144eb565b60405180910390fd5b611e5c84848484613044565b50505050565b66753d533d96800081565b6000611e7882612da6565b611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614885565b60405180910390fd5b60086000838152602001908152602001600020549050919050565b6363f6ce044211611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f906141e2565b60405180910390fd5b61157c81611f24610d79565b611f2e919061429d565b1115611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f669061433f565b60405180910390fd5b600581611f7b336119ca565b611f85919061429d565b1115611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd906143ab565b60405180910390fd5b3466753d533d96800082611fda919061470b565b111561201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906147b1565b60405180910390fd5b6120258133612673565b50565b6651b660cdd5800081565b606061203e82612da6565b61207d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207490614a15565b60405180910390fd5b60001515600c60009054906101000a900460ff1615150361212a57600e80546120a590614041565b80601f01602080910402602001604051908101604052809291908181526020018280546120d190614041565b801561211e5780601f106120f35761010080835404028352916020019161211e565b820191906000526020600020905b81548152906001019060200180831161210157829003601f168201915b505050505090506121ba565b6000612135836130a0565b90506000612141613145565b905060008151036121565781925050506121ba565b60008251111561218b578082604051602001612173929190614a35565b604051602081830303815290604052925050506121ba565b80612195856129c6565b6040516020016121a6929190614aa5565b604051602081830303815290604052925050505b919050565b6121c7612b26565b61157c826121d3610d79565b6121dd919061429d565b111561221e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122159061433f565b60405180910390fd5b6122288282612673565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390614983565b60405180910390fd5b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61237f612b26565b80600e90805190602001906123959291906136b8565b5050565b6123a1612b26565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240790614b46565b60405180910390fd5b61241981612e12565b50565b612424612b26565b6124438173ffffffffffffffffffffffffffffffffffffffff166131d7565b612482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247990614bb2565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6124e5612b26565b80600f8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61256281612da6565b6125a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612598906148f1565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661261f83611878565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60005b828110156126c6576000612688610d79565b905061157c8110156126b25761269e600b6131fa565b6126a781613210565b6126b18382612d88565b5b5080806126be90614bd2565b915050612676565b505050565b6000806126d783611878565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612719575061271881856122e3565b5b8061275757508373ffffffffffffffffffffffffffffffffffffffff1661273f84610b8e565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661278082611878565b73ffffffffffffffffffffffffffffffffffffffff16146127d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cd90614c8c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614d1e565b60405180910390fd5b612850838383613244565b61285b6000826125ac565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ab9190614577565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612902919061429d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129c1838383613249565b505050565b606060008203612a0d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b21565b600082905060005b60008214612a3f578080612a2890614bd2565b915050600a82612a389190614d6d565b9150612a15565b60008167ffffffffffffffff811115612a5b57612a5a613bc4565b5b6040519080825280601f01601f191660200182016040528015612a8d5781602001600182028036833780820191505090505b5090505b60008514612b1a57600182612aa69190614577565b9150600a85612ab59190614d9e565b6030612ac1919061429d565b60f81b818381518110612ad757612ad6614dcf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b139190614d6d565b9450612a91565b8093505050505b919050565b612b2e6125a4565b73ffffffffffffffffffffffffffffffffffffffff16612b4c611c08565b73ffffffffffffffffffffffffffffffffffffffff1614612ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9990614e4a565b60405180910390fd5b565b828282612c19838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001612bfe9190614eb2565b6040516020818303038152906040528051906020012061324e565b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90614f19565b60405180910390fd5b612c628733612673565b50505050505050565b6000612c7682611878565b9050612c8481600084613244565b612c8f6000836125ac565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cdf9190614577565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8481600084613249565b5050565b612da2828260405180602001604052806000815250613265565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614f85565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613037919061384f565b60405180910390a3505050565b61304f848484612760565b61305b848484846132c0565b61309a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309190615017565b60405180910390fd5b50505050565b6060600a600083815260200190815260200160002080546130c090614041565b80601f01602080910402602001604051908101604052809291908181526020018280546130ec90614041565b80156131395780601f1061310e57610100808354040283529160200191613139565b820191906000526020600020905b81548152906001019060200180831161311c57829003601f168201915b50505050509050919050565b6060600d805461315490614041565b80601f016020809104026020016040519081016040528092919081815260200182805461318090614041565b80156131cd5780601f106131a2576101008083540402835291602001916131cd565b820191906000526020600020905b8154815290600101906020018083116131b057829003601f168201915b5050505050905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6001816000016000828254019250508190555050565b6000600860008381526020019081526020016000208190555042600960008381526020019081526020016000208190555050565b505050565b505050565b60008261325b8584613447565b1490509392505050565b61326f838361349d565b61327c60008484846132c0565b6132bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b290615017565b60405180910390fd5b505050565b60006132e18473ffffffffffffffffffffffffffffffffffffffff166131d7565b1561343a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330a6125a4565b8786866040518563ffffffff1660e01b815260040161332c949392919061508c565b6020604051808303816000875af192505050801561336857506040513d601f19601f8201168201806040525081019061336591906150ed565b60015b6133ea573d8060008114613398576040519150601f19603f3d011682016040523d82523d6000602084013e61339d565b606091505b5060008151036133e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d990615017565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061343f565b600190505b949350505050565b60008082905060005b84518110156134925761347d828683815181106134705761346f614dcf565b5b6020026020010151613676565b9150808061348a90614bd2565b915050613450565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390615166565b60405180910390fd5b61351581612da6565b15613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c906151d2565b60405180910390fd5b61356160008383613244565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135b1919061429d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461367260008383613249565b5050565b600081831061368e5761368982846136a1565b613699565b61369883836136a1565b5b905092915050565b600082600052816020526040600020905092915050565b8280546136c490614041565b90600052602060002090601f0160209004810192826136e6576000855561372d565b82601f106136ff57805160ff191683800117855561372d565b8280016001018555821561372d579182015b8281111561372c578251825591602001919060010190613711565b5b50905061373a919061377e565b5090565b50805461374a90614041565b6000825580601f1061375c575061377b565b601f01602090049060005260206000209081019061377a919061377e565b5b50565b5b8082111561379757600081600090555060010161377f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137e4816137af565b81146137ef57600080fd5b50565b600081359050613801816137db565b92915050565b60006020828403121561381d5761381c6137a5565b5b600061382b848285016137f2565b91505092915050565b60008115159050919050565b61384981613834565b82525050565b60006020820190506138646000830184613840565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138a4578082015181840152602081019050613889565b838111156138b3576000848401525b50505050565b6000601f19601f8301169050919050565b60006138d58261386a565b6138df8185613875565b93506138ef818560208601613886565b6138f8816138b9565b840191505092915050565b6000602082019050818103600083015261391d81846138ca565b905092915050565b6000819050919050565b61393881613925565b811461394357600080fd5b50565b6000813590506139558161392f565b92915050565b600060208284031215613971576139706137a5565b5b600061397f84828501613946565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139b382613988565b9050919050565b6139c3816139a8565b82525050565b60006020820190506139de60008301846139ba565b92915050565b6139ed816139a8565b81146139f857600080fd5b50565b600081359050613a0a816139e4565b92915050565b60008060408385031215613a2757613a266137a5565b5b6000613a35858286016139fb565b9250506020613a4685828601613946565b9150509250929050565b613a5981613925565b82525050565b6000602082019050613a746000830184613a50565b92915050565b600080600060608486031215613a9357613a926137a5565b5b6000613aa1868287016139fb565b9350506020613ab2868287016139fb565b9250506040613ac386828701613946565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613af257613af1613acd565b5b8235905067ffffffffffffffff811115613b0f57613b0e613ad2565b5b602083019150836020820283011115613b2b57613b2a613ad7565b5b9250929050565b600080600060408486031215613b4b57613b4a6137a5565b5b6000613b5986828701613946565b935050602084013567ffffffffffffffff811115613b7a57613b796137aa565b5b613b8686828701613adc565b92509250509250925092565b600060208284031215613ba857613ba76137a5565b5b6000613bb6848285016139fb565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bfc826138b9565b810181811067ffffffffffffffff82111715613c1b57613c1a613bc4565b5b80604052505050565b6000613c2e61379b565b9050613c3a8282613bf3565b919050565b600067ffffffffffffffff821115613c5a57613c59613bc4565b5b613c63826138b9565b9050602081019050919050565b82818337600083830152505050565b6000613c92613c8d84613c3f565b613c24565b905082815260208101848484011115613cae57613cad613bbf565b5b613cb9848285613c70565b509392505050565b600082601f830112613cd657613cd5613acd565b5b8135613ce6848260208601613c7f565b91505092915050565b600060208284031215613d0557613d046137a5565b5b600082013567ffffffffffffffff811115613d2357613d226137aa565b5b613d2f84828501613cc1565b91505092915050565b60008060008060808587031215613d5257613d516137a5565b5b6000613d60878288016139fb565b9450506020613d7187828801613946565b9350506040613d8287828801613946565b9250506060613d9387828801613946565b91505092959194509250565b613da881613834565b8114613db357600080fd5b50565b600081359050613dc581613d9f565b92915050565b60008060408385031215613de257613de16137a5565b5b6000613df0858286016139fb565b9250506020613e0185828601613db6565b9150509250929050565b600067ffffffffffffffff821115613e2657613e25613bc4565b5b613e2f826138b9565b9050602081019050919050565b6000613e4f613e4a84613e0b565b613c24565b905082815260208101848484011115613e6b57613e6a613bbf565b5b613e76848285613c70565b509392505050565b600082601f830112613e9357613e92613acd565b5b8135613ea3848260208601613e3c565b91505092915050565b60008060008060808587031215613ec657613ec56137a5565b5b6000613ed4878288016139fb565b9450506020613ee5878288016139fb565b9350506040613ef687828801613946565b925050606085013567ffffffffffffffff811115613f1757613f166137aa565b5b613f2387828801613e7e565b91505092959194509250565b60008060408385031215613f4657613f456137a5565b5b6000613f5485828601613946565b9250506020613f65858286016139fb565b9150509250929050565b60008060408385031215613f8657613f856137a5565b5b6000613f94858286016139fb565b9250506020613fa5858286016139fb565b9150509250929050565b6000819050919050565b613fc281613faf565b8114613fcd57600080fd5b50565b600081359050613fdf81613fb9565b92915050565b600060208284031215613ffb57613ffa6137a5565b5b600061400984828501613fd0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061405957607f821691505b60208210810361406c5761406b614012565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140ce602183613875565b91506140d982614072565b604082019050919050565b600060208201905081810360008301526140fd816140c1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614160603e83613875565b915061416b82614104565b604082019050919050565b6000602082019050818103600083015261418f81614153565b9050919050565b7f6d696e74206e6f74207374617274000000000000000000000000000000000000600082015250565b60006141cc600e83613875565b91506141d782614196565b602082019050919050565b600060208201905081810360008301526141fb816141bf565b9050919050565b7f6f6e65206f672063616e206f6e6c7920757365206f6e63650000000000000000600082015250565b6000614238601883613875565b915061424382614202565b602082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a882613925565b91506142b383613925565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142e8576142e761426e565b5b828201905092915050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000614329601c83613875565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f53616c6520776f756c6420657863656564206d61782062616c616e6365000000600082015250565b6000614395601d83613875565b91506143a08261435f565b602082019050919050565b600060208201905081810360008301526143c481614388565b9050919050565b6000815190506143da8161392f565b92915050565b6000602082840312156143f6576143f56137a5565b5b6000614404848285016143cb565b91505092915050565b7f6f6e6c79206f672063616e207573652074686973206d696e7400000000000000600082015250565b6000614443601983613875565b915061444e8261440d565b602082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006144d5602e83613875565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b6000614541601083613875565b915061454c8261450b565b602082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b600061458282613925565b915061458d83613925565b9250828210156145a05761459f61426e565b5b828203905092915050565b7f706c65617365207761697420666f72206d6f72652074696d6500000000000000600082015250565b60006145e1601983613875565b91506145ec826145ab565b602082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b600081905092915050565b600061462d8261386a565b6146378185614617565b9350614647818560208601613886565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b60006146858284614622565b915061469082614653565b60058201915081905092915050565b7f6f6e652077686974656c6973742063616e206f6e6c7920757365206f6e636500600082015250565b60006146d5601f83613875565b91506146e08261469f565b602082019050919050565b60006020820190508181036000830152614704816146c8565b9050919050565b600061471682613925565b915061472183613925565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561475a5761475961426e565b5b828202905092915050565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b600061479b601583613875565b91506147a682614765565b602082019050919050565b600060208201905081810360008301526147ca8161478e565b9050919050565b7f2d00000000000000000000000000000000000000000000000000000000000000815250565b60006148038285614622565b915061480e826147d1565b60018201915061481e8284614622565b915061482982614653565b6005820191508190509392505050565b7f746f6b656e4964206e6f74206578697374000000000000000000000000000000600082015250565b600061486f601183613875565b915061487a82614839565b602082019050919050565b6000602082019050818103600083015261489e81614862565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148db601883613875565b91506148e6826148a5565b602082019050919050565b6000602082019050818103600083015261490a816148ce565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061496d602983613875565b915061497882614911565b604082019050919050565b6000602082019050818103600083015261499c81614960565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006149ff602f83613875565b9150614a0a826149a3565b604082019050919050565b60006020820190508181036000830152614a2e816149f2565b9050919050565b6000614a418285614622565b9150614a4d8284614622565b91508190509392505050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614a8f600583614617565b9150614a9a82614a59565b600582019050919050565b6000614ab18285614622565b9150614abd8284614622565b9150614ac882614a82565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b30602683613875565b9150614b3b82614ad4565b604082019050919050565b60006020820190508181036000830152614b5f81614b23565b9050919050565b7f6f6e6c792073657420636f6e7472616374000000000000000000000000000000600082015250565b6000614b9c601183613875565b9150614ba782614b66565b602082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b6000614bdd82613925565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c0f57614c0e61426e565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c76602583613875565b9150614c8182614c1a565b604082019050919050565b60006020820190508181036000830152614ca581614c69565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d08602483613875565b9150614d1382614cac565b604082019050919050565b60006020820190508181036000830152614d3781614cfb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d7882613925565b9150614d8383613925565b925082614d9357614d92614d3e565b5b828204905092915050565b6000614da982613925565b9150614db483613925565b925082614dc457614dc3614d3e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e34602083613875565b9150614e3f82614dfe565b602082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b60008160601b9050919050565b6000614e8282614e6a565b9050919050565b6000614e9482614e77565b9050919050565b614eac614ea7826139a8565b614e89565b82525050565b6000614ebe8284614e9b565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b6000614f03601e83613875565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f6f601983613875565b9150614f7a82614f39565b602082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615001603283613875565b915061500c82614fa5565b604082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061505e82615037565b6150688185615042565b9350615078818560208601613886565b615081816138b9565b840191505092915050565b60006080820190506150a160008301876139ba565b6150ae60208301866139ba565b6150bb6040830185613a50565b81810360608301526150cd8184615053565b905095945050505050565b6000815190506150e7816137db565b92915050565b600060208284031215615103576151026137a5565b5b6000615111848285016150d8565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615150602083613875565b915061515b8261511a565b602082019050919050565b6000602082019050818103600083015261517f81615143565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006151bc601c83613875565b91506151c782615186565b602082019050919050565b600060208201905081810360008301526151eb816151af565b905091905056fea264697066735822122047e10a71465a2ae5ed9c9b2f8684b8c06447271663d5983ec8fae1beb49b6a3164736f6c634300080d0033

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

000000000000000000000000ef8c5a3fbd7bd6fb1ae18814df51bda852734214

-----Decoded View---------------
Arg [0] : _owner (address): 0xEF8C5A3fbD7BD6fB1AE18814df51bda852734214

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ef8c5a3fbd7bd6fb1ae18814df51bda852734214


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.