ETH Price: $3,889.41 (-0.60%)

Token

Shark Outlaw Squad (SHARK)
 

Overview

Max Total Supply

7,777 SHARK

Holders

2,422

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
thetechrabbi.eth
Balance
2 SHARK
0x5e899c41441243d2faca473a1ed2a71b694a9aa3
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

**Shark Outlaw Squad (SOS)** is a collection of **crime-themed shark NFT** featuring two opposing squads: **Justice** and **Outlaw**. Every SOS Genesis NFT can claim **SOS Meta ID** (Pixel) NFT in The Vault, and **SOS VX** to be played in The Sandbox Metaverse in Q1 2022 for *...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SharkOutlawSquad

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : SharkOutlawSquad.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract SharkOutlawSquad is Ownable, EIP712, ERC721Enumerable {
    using Strings for uint256;

    // Whitelist
    bytes32 public constant WHITELIST_TYPEHASH =
        keccak256("Whitelist(address buyer,uint256 signedQty)");
    address public whitelistSigner;

    // Specification
    uint256 public constant TOTAL_MAX_QTY = 7777;
    uint256 public constant GIFT_MAX_QTY = 77;
    uint256 public constant PRESALES_MAX_QTY = 3333;
    uint256 public constant PRESALES_MAX_QTY_PER_MINTER = 3;
    uint256 public constant PUBLIC_SALES_MAX_QTY_PER_TRANSACTION = 5;
    uint256 public constant PUBLIC_SALES_MAX_QTY_PER_MINTER = 10;

    // Remaining presale quantity can be purchase through public sale
    uint256 public constant PUBLIC_SALES_MAX_QTY = TOTAL_MAX_QTY - GIFT_MAX_QTY;
    uint256 public constant PRESALES_PRICE = 0.05 ether;
    uint256 public constant PUBLIC_SALES_PRICE = 0.06 ether;

    string private _contractURI;
    string private _tokenBaseURI;

    // Minter to token
    mapping(address => uint256) public presalesMinterToTokenQty;
    mapping(address => uint256) public publicSalesMinterToTokenQty;

    // Quantity minted
    uint256 public presalesMintedQty = 0;
    uint256 public publicSalesMintedQty = 0;
    uint256 public giftedQty = 0;

    // Sales status
    bool public isPresalesActivated;
    bool public isPublicSalesActivated;

    constructor()
        ERC721("Shark Outlaw Squad", "SHARK")
        EIP712("Shark Outlaw Squad", "1")
    {}

    function setWhitelistSigner(address _address) external onlyOwner {
        whitelistSigner = _address;
    }

    function getSigner(
        address _buyer,
        uint256 _signedQty,
        bytes memory _signature
    ) public view returns (address) {
        bytes32 digest = _hashTypedDataV4(
            keccak256(abi.encode(WHITELIST_TYPEHASH, _buyer, _signedQty))
        );
        return ECDSA.recover(digest, _signature);
    }

    function presalesMint(
        uint256 _mintQty,
        uint256 _signedQty,
        bytes memory _signature
    ) external payable {
        require(
            totalSupply() + _mintQty <= TOTAL_MAX_QTY,
            "Exceed total max limit"
        );
        require(isPresalesActivated, "Presales is closed");
        require(
            getSigner(msg.sender, _signedQty, _signature) == whitelistSigner,
            "Invalid signature"
        );
        require(
            presalesMintedQty + _mintQty <= PRESALES_MAX_QTY,
            "Exceed presales max limit"
        );
        require(
            presalesMinterToTokenQty[msg.sender] + _mintQty <=
                _signedQty,
            "Exceed presales signed quantity"
        );
        require(
            presalesMinterToTokenQty[msg.sender] + _mintQty <=
                PRESALES_MAX_QTY_PER_MINTER,
            "Exceed presales max quantity per minter"
        );
        require(msg.value >= PRESALES_PRICE * _mintQty, "Insufficient ETH");

        presalesMinterToTokenQty[msg.sender] += _mintQty;

        for (uint256 i = 0; i < _mintQty; i++) {
            presalesMintedQty++;
            _safeMint(msg.sender, totalSupply() + 1);
        }
    }

    function publicSalesMint(uint256 _mintQty) external payable {
        require(
            totalSupply() + _mintQty <= TOTAL_MAX_QTY,
            "Exceed total max limit"
        );
        require(isPublicSalesActivated, "Public sale is closed");
        require(
            presalesMintedQty + publicSalesMintedQty + _mintQty <= PUBLIC_SALES_MAX_QTY,
            "Exceed public sale max limit"
        );
        require(
            publicSalesMinterToTokenQty[msg.sender] + _mintQty <=
                PUBLIC_SALES_MAX_QTY_PER_MINTER,
            "Exceed public sales max quantity per minter"
        );
        require(
            _mintQty <= PUBLIC_SALES_MAX_QTY_PER_TRANSACTION,
            "Exceed public sales max quantity per transaction"
        );
        require(msg.value >= PUBLIC_SALES_PRICE * _mintQty, "Insufficient ETH");

        publicSalesMinterToTokenQty[msg.sender] += _mintQty;

        for (uint256 i = 0; i < _mintQty; i++) {
            publicSalesMintedQty++;
            _safeMint(msg.sender, totalSupply() + 1);
        }
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(
            totalSupply() + receivers.length <= TOTAL_MAX_QTY,
            "Exceed total max limit"
        );
        require(
            giftedQty + receivers.length <= GIFT_MAX_QTY,
            "Exceed gift max limit"
        );
        for (uint256 i = 0; i < receivers.length; i++) {
            giftedQty++;
            _safeMint(receivers[i], totalSupply() + 1);
        }
    }

    function withdrawAll() external onlyOwner {
        require(address(this).balance > 0, "No amount to withdraw");
        payable(msg.sender).transfer(address(this).balance);
    }

    function togglePresalesStatus() external onlyOwner {
        isPresalesActivated = !isPresalesActivated;
    }

    function togglePublicSalesStatus() external onlyOwner {
        isPublicSalesActivated = !isPublicSalesActivated;
    }

    function setContractURI(string calldata URI) external onlyOwner {
        _contractURI = URI;
    }

    // To support Opensea contract-level metadata
    // https://docs.opensea.io/docs/contract-level-metadata
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    function setBaseURI(string calldata URI) external onlyOwner {
        _tokenBaseURI = URI;
    }

    // To support Opensea token metadata
    // https://docs.opensea.io/docs/metadata-standards
    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        require(_exists(_tokenId), "Token not exist");

        return string(abi.encodePacked(_tokenBaseURI, _tokenId.toString()));
    }
}

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

pragma solidity ^0.8.0;

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

File 3 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 15 : draft-EIP712.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 5 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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":[],"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":"GIFT_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALES_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALES_MAX_QTY_PER_MINTER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALES_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALES_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALES_MAX_QTY_PER_MINTER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALES_MAX_QTY_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALES_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"uint256","name":"_signedQty","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giftedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintQty","type":"uint256"},{"internalType":"uint256","name":"_signedQty","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalesMintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presalesMinterToTokenQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintQty","type":"uint256"}],"name":"publicSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalesMintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSalesMinterToTokenQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWhitelistSigner","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":[],"name":"togglePresalesStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSalesStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040526000601055600060115560006012553480156200002157600080fd5b506040518060400160405280601281526020017f536861726b204f75746c617720537175616400000000000000000000000000008152506040518060400160405280600581526020017f534841524b0000000000000000000000000000000000000000000000000000008152506040518060400160405280601281526020017f536861726b204f75746c617720537175616400000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506200011a6200010e620001d160201b60201c565b620001d960201b60201c565b60008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a08181525050620001828184846200029d60201b60201c565b6080818152505080610100818152505050505050508160019080519060200190620001af929190620002d9565b508060029080519060200190620001c8929190620002d9565b505050620004c6565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008383834630604051602001620002ba95949392919062000404565b6040516020818303038152906040528051906020012090509392505050565b828054620002e79062000490565b90600052602060002090601f0160209004810192826200030b576000855562000357565b82601f106200032657805160ff191683800117855562000357565b8280016001018555821562000357579182015b828111156200035657825182559160200191906001019062000339565b5b5090506200036691906200036a565b5090565b5b80821115620003855760008160009055506001016200036b565b5090565b6000819050919050565b6200039e8162000389565b82525050565b6000819050919050565b620003b981620003a4565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ec82620003bf565b9050919050565b620003fe81620003df565b82525050565b600060a0820190506200041b600083018862000393565b6200042a602083018762000393565b62000439604083018662000393565b620004486060830185620003ae565b620004576080830184620003f3565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a957607f821691505b60208210811415620004c057620004bf62000461565b5b50919050565b60805160a05160c05160e05161010051615a5d6200050b6000396000612e9f01526000612ee101526000612ec001526000612e4c01526000612e740152615a5d6000f3fe6080604052600436106102935760003560e01c8063895259b71161015a578063d3381438116100c1578063e985e9c51161007a578063e985e9c5146109c8578063ed764ecf14610a05578063ef81b4d414610a42578063f2fde38b14610a6d578063f8293dc014610a96578063fba1779214610ac157610293565b8063d3381438146108dc578063d6eec46a14610905578063dba7242b14610930578063dce3a2bf14610947578063dee816e614610972578063e8a3d4851461099d57610293565b8063a22cb46511610113578063a22cb465146107e0578063ae4384f114610809578063b0897d1814610834578063b88d4fde1461084b578063bd34fc5714610874578063c87b56dd1461089f57610293565b8063895259b7146106ce5780638da5cb5b146106f95780638f7be8f214610724578063938e3d7b1461076157806395d89b411461078a5780639c123661146107b557610293565b806347fc6e76116101fe5780636301dccf116101b75780636301dccf146105d05780636352211e146105fb5780636458563e1461063857806370a0823114610663578063715018a6146106a0578063853828b6146106b757610293565b806347fc6e76146104bb5780634d192b83146104e65780634f6ccce71461050257806355f804b31461053f5780635858aa261461056857806359c09529146105a557610293565b806318160ddd1161025057806318160ddd146103ba57806323b872dd146103e557806324123cc41461040e5780632f745c591461042a5780633354fe341461046757806342842e0e1461049257610293565b806301ffc9a7146102985780630532096a146102d557806306fdde0314610300578063081812fc1461032b578063095ea7b314610368578063163e1e6114610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613abd565b610aec565b6040516102cc9190613b05565b60405180910390f35b3480156102e157600080fd5b506102ea610b66565b6040516102f79190613b39565b60405180910390f35b34801561030c57600080fd5b50610315610b6b565b6040516103229190613bed565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190613c3b565b610bfd565b60405161035f9190613ca9565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a9190613cf0565b610c82565b005b34801561039d57600080fd5b506103b860048036038101906103b39190613d95565b610d9a565b005b3480156103c657600080fd5b506103cf610f46565b6040516103dc9190613b39565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190613de2565b610f53565b005b61042860048036038101906104239190613f65565b610fb3565b005b34801561043657600080fd5b50610451600480360381019061044c9190613cf0565b611364565b60405161045e9190613b39565b60405180910390f35b34801561047357600080fd5b5061047c611409565b6040516104899190613b39565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b49190613de2565b61140e565b005b3480156104c757600080fd5b506104d061142e565b6040516104dd9190613b39565b60405180910390f35b61050060048036038101906104fb9190613c3b565b611434565b005b34801561050e57600080fd5b5061052960048036038101906105249190613c3b565b611719565b6040516105369190613b39565b60405180910390f35b34801561054b57600080fd5b506105666004803603810190610561919061402a565b61178a565b005b34801561057457600080fd5b5061058f600480360381019061058a9190614077565b61181c565b60405161059c9190613ca9565b60405180910390f35b3480156105b157600080fd5b506105ba611888565b6040516105c79190613b05565b60405180910390f35b3480156105dc57600080fd5b506105e561189b565b6040516105f291906140ff565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d9190613c3b565b6118bf565b60405161062f9190613ca9565b60405180910390f35b34801561064457600080fd5b5061064d611971565b60405161065a9190613b39565b60405180910390f35b34801561066f57600080fd5b5061068a6004803603810190610685919061411a565b611983565b6040516106979190613b39565b60405180910390f35b3480156106ac57600080fd5b506106b5611a3b565b005b3480156106c357600080fd5b506106cc611ac3565b005b3480156106da57600080fd5b506106e3611bcb565b6040516106f09190613b39565b60405180910390f35b34801561070557600080fd5b5061070e611bd0565b60405161071b9190613ca9565b60405180910390f35b34801561073057600080fd5b5061074b6004803603810190610746919061411a565b611bf9565b6040516107589190613b39565b60405180910390f35b34801561076d57600080fd5b506107886004803603810190610783919061402a565b611c11565b005b34801561079657600080fd5b5061079f611ca3565b6040516107ac9190613bed565b60405180910390f35b3480156107c157600080fd5b506107ca611d35565b6040516107d79190613b39565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190614173565b611d3b565b005b34801561081557600080fd5b5061081e611ebc565b60405161082b9190613b05565b60405180910390f35b34801561084057600080fd5b50610849611ecf565b005b34801561085757600080fd5b50610872600480360381019061086d91906141b3565b611f77565b005b34801561088057600080fd5b50610889611fd9565b6040516108969190613b39565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c19190613c3b565b611fdf565b6040516108d39190613bed565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe919061411a565b61205b565b005b34801561091157600080fd5b5061091a61211b565b6040516109279190613b39565b60405180910390f35b34801561093c57600080fd5b50610945612126565b005b34801561095357600080fd5b5061095c6121ce565b6040516109699190613b39565b60405180910390f35b34801561097e57600080fd5b506109876121d4565b6040516109949190613b39565b60405180910390f35b3480156109a957600080fd5b506109b26121da565b6040516109bf9190613bed565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190614236565b61226c565b6040516109fc9190613b05565b60405180910390f35b348015610a1157600080fd5b50610a2c6004803603810190610a27919061411a565b612300565b604051610a399190613b39565b60405180910390f35b348015610a4e57600080fd5b50610a57612318565b604051610a649190613ca9565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f919061411a565b61233e565b005b348015610aa257600080fd5b50610aab612436565b604051610ab89190613b39565b60405180910390f35b348015610acd57600080fd5b50610ad6612441565b604051610ae39190613b39565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5f5750610b5e82612446565b5b9050919050565b600381565b606060018054610b7a906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba6906142a5565b8015610bf35780601f10610bc857610100808354040283529160200191610bf3565b820191906000526020600020905b815481529060010190602001808311610bd657829003601f168201915b5050505050905090565b6000610c0882612528565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614349565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8d826118bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf5906143db565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d1d612594565b73ffffffffffffffffffffffffffffffffffffffff161480610d4c5750610d4b81610d46612594565b61226c565b5b610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d829061446d565b60405180910390fd5b610d95838361259c565b505050565b610da2612594565b73ffffffffffffffffffffffffffffffffffffffff16610dc0611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906144d9565b60405180910390fd5b611e6182829050610e25610f46565b610e2f9190614528565b1115610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e67906145ca565b60405180910390fd5b604d82829050601254610e839190614528565b1115610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90614636565b60405180910390fd5b60005b82829050811015610f415760126000815480929190610ee590614656565b9190505550610f2e838383818110610f0057610eff61469f565b5b9050602002016020810190610f15919061411a565b6001610f1f610f46565b610f299190614528565b612655565b8080610f3990614656565b915050610ec7565b505050565b6000600980549050905090565b610f64610f5e612594565b82612673565b610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90614740565b60405180910390fd5b610fae838383612751565b505050565b611e6183610fbf610f46565b610fc99190614528565b111561100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906145ca565b60405180910390fd5b601360009054906101000a900460ff16611059576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611050906147ac565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661109d33848461181c565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614818565b60405180910390fd5b610d05836010546111049190614528565b1115611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c90614884565b60405180910390fd5b8183600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111919190614528565b11156111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906148f0565b60405180910390fd5b600383600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f9190614528565b1115611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790614982565b60405180910390fd5b8266b1a2bc2ec5000061127391906149a2565b3410156112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac90614a48565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113049190614528565b9250508190555060005b8381101561135e576010600081548092919061132990614656565b919050555061134b33600161133c610f46565b6113469190614528565b612655565b808061135690614656565b91505061130e565b50505050565b600061136f83611983565b82106113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614ada565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b604d81565b61142983838360405180602001604052806000815250611f77565b505050565b610d0581565b611e6181611440610f46565b61144a9190614528565b111561148b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611482906145ca565b60405180910390fd5b601360019054906101000a900460ff166114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614b46565b60405180910390fd5b604d611e616114e99190614b66565b816011546010546114fa9190614528565b6115049190614528565b1115611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c90614be6565b60405180910390fd5b600a81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115929190614528565b11156115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614c78565b60405180910390fd5b6005811115611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90614d0a565b60405180910390fd5b8066d529ae9e86000061162a91906149a2565b34101561166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390614a48565b60405180910390fd5b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bb9190614528565b9250508190555060005b8181101561171557601160008154809291906116e090614656565b91905055506117023360016116f3610f46565b6116fd9190614528565b612655565b808061170d90614656565b9150506116c5565b5050565b6000611723610f46565b8210611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90614d9c565b60405180910390fd5b600982815481106117785761177761469f565b5b90600052602060002001549050919050565b611792612594565b73ffffffffffffffffffffffffffffffffffffffff166117b0611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd906144d9565b60405180910390fd5b8181600d91906118179291906139ae565b505050565b6000806118727f680b772c0ec4675960b688c733903d940dd27ba2084c6a2e2d98c8b8e1d67390868660405160200161185793929190614dbc565b604051602081830303815290604052805190602001206129ad565b905061187e81846129c7565b9150509392505050565b601360009054906101000a900460ff1681565b7f680b772c0ec4675960b688c733903d940dd27ba2084c6a2e2d98c8b8e1d6739081565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90614e65565b60405180910390fd5b80915050919050565b604d611e616119809190614b66565b81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90614ef7565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a43612594565b73ffffffffffffffffffffffffffffffffffffffff16611a61611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aae906144d9565b60405180910390fd5b611ac160006129ee565b565b611acb612594565b73ffffffffffffffffffffffffffffffffffffffff16611ae9611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b36906144d9565b60405180910390fd5b60004711611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990614f63565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611bc8573d6000803e3d6000fd5b50565b600a81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915090505481565b611c19612594565b73ffffffffffffffffffffffffffffffffffffffff16611c37611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906144d9565b60405180910390fd5b8181600c9190611c9e9291906139ae565b505050565b606060028054611cb2906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611cde906142a5565b8015611d2b5780601f10611d0057610100808354040283529160200191611d2b565b820191906000526020600020905b815481529060010190602001808311611d0e57829003601f168201915b5050505050905090565b60115481565b611d43612594565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da890614fcf565b60405180910390fd5b8060066000611dbe612594565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e6b612594565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eb09190613b05565b60405180910390a35050565b601360019054906101000a900460ff1681565b611ed7612594565b73ffffffffffffffffffffffffffffffffffffffff16611ef5611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906144d9565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b611f88611f82612594565b83612673565b611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614740565b60405180910390fd5b611fd384848484612ab2565b50505050565b60125481565b6060611fea82612528565b612029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120209061503b565b60405180910390fd5b600d61203483612b0e565b60405160200161204592919061512b565b6040516020818303038152906040529050919050565b612063612594565b73ffffffffffffffffffffffffffffffffffffffff16612081611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce906144d9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b66d529ae9e86000081565b61212e612594565b73ffffffffffffffffffffffffffffffffffffffff1661214c611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146121a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612199906144d9565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b60105481565b611e6181565b6060600c80546121e9906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054612215906142a5565b80156122625780601f1061223757610100808354040283529160200191612262565b820191906000526020600020905b81548152906001019060200180831161224557829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612346612594565b73ffffffffffffffffffffffffffffffffffffffff16612364611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b1906144d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612421906151c1565b60405180910390fd5b612433816129ee565b50565b66b1a2bc2ec5000081565b600581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061251157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612521575061252082612c6f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661260f836118bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61266f828260405180602001604052806000815250612cd9565b5050565b600061267e82612528565b6126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490615253565b60405180910390fd5b60006126c8836118bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273757508373ffffffffffffffffffffffffffffffffffffffff1661271f84610bfd565b73ffffffffffffffffffffffffffffffffffffffff16145b806127485750612747818561226c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612771826118bf565b73ffffffffffffffffffffffffffffffffffffffff16146127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be906152e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90615377565b60405180910390fd5b612842838383612d34565b61284d60008261259c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289d9190614b66565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f49190614528565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129c06129ba612e48565b83612f0b565b9050919050565b60008060006129d68585612f3e565b915091506129e381612fc1565b819250505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612abd848484612751565b612ac984848484613196565b612b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aff90615409565b60405180910390fd5b50505050565b60606000821415612b56576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c6a565b600082905060005b60008214612b88578080612b7190614656565b915050600a82612b819190615458565b9150612b5e565b60008167ffffffffffffffff811115612ba457612ba3613e3a565b5b6040519080825280601f01601f191660200182016040528015612bd65781602001600182028036833780820191505090505b5090505b60008514612c6357600182612bef9190614b66565b9150600a85612bfe9190615489565b6030612c0a9190614528565b60f81b818381518110612c2057612c1f61469f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c5c9190615458565b9450612bda565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ce3838361332d565b612cf06000848484613196565b612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2690615409565b60405180910390fd5b505050565b612d3f8383836134fb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d8257612d7d81613500565b612dc1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dc057612dbf8382613549565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e0457612dff816136b6565b612e43565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e4257612e418282613787565b5b5b505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415612e9a577f00000000000000000000000000000000000000000000000000000000000000009050612f08565b612f057f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613806565b90505b90565b60008282604051602001612f20929190615527565b60405160208183030381529060405280519060200120905092915050565b600080604183511415612f805760008060006020860151925060408601519150606086015160001a9050612f7487828585613840565b94509450505050612fba565b604083511415612fb1576000806020850151915060408501519050612fa686838361394d565b935093505050612fba565b60006002915091505b9250929050565b60006004811115612fd557612fd461555e565b5b816004811115612fe857612fe761555e565b5b1415612ff357613193565b600160048111156130075761300661555e565b5b81600481111561301a5761301961555e565b5b141561305b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613052906155d9565b60405180910390fd5b6002600481111561306f5761306e61555e565b5b8160048111156130825761308161555e565b5b14156130c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ba90615645565b60405180910390fd5b600360048111156130d7576130d661555e565b5b8160048111156130ea576130e961555e565b5b141561312b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613122906156d7565b60405180910390fd5b60048081111561313e5761313d61555e565b5b8160048111156131515761315061555e565b5b1415613192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318990615769565b60405180910390fd5b5b50565b60006131b78473ffffffffffffffffffffffffffffffffffffffff1661399b565b15613320578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131e0612594565b8786866040518563ffffffff1660e01b815260040161320294939291906157de565b602060405180830381600087803b15801561321c57600080fd5b505af192505050801561324d57506040513d601f19601f8201168201806040525081019061324a919061583f565b60015b6132d0573d806000811461327d576040519150601f19603f3d011682016040523d82523d6000602084013e613282565b606091505b506000815114156132c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bf90615409565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613325565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613394906158b8565b60405180910390fd5b6133a681612528565b156133e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dd90615924565b60405180910390fd5b6133f260008383612d34565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134429190614528565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355684611983565b6135609190614b66565b9050600060086000848152602001908152602001600020549050818114613645576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506136ca9190614b66565b90506000600a60008481526020019081526020016000205490506000600983815481106136fa576136f961469f565b5b90600052602060002001549050806009838154811061371c5761371b61469f565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061376b5761376a615944565b5b6001900381819060005260206000200160009055905550505050565b600061379283611983565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60008383834630604051602001613821959493929190615973565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561387b576000600391509150613944565b601b8560ff16141580156138935750601c8560ff1614155b156138a5576000600491509150613944565b6000600187878787604051600081526020016040526040516138ca94939291906159e2565b6020604051602081039080840390855afa1580156138ec573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561393b57600060019250925050613944565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061398d87828885613840565b935093505050935093915050565b600080823b905060008111915050919050565b8280546139ba906142a5565b90600052602060002090601f0160209004810192826139dc5760008555613a23565b82601f106139f557803560ff1916838001178555613a23565b82800160010185558215613a23579182015b82811115613a22578235825591602001919060010190613a07565b5b509050613a309190613a34565b5090565b5b80821115613a4d576000816000905550600101613a35565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a9a81613a65565b8114613aa557600080fd5b50565b600081359050613ab781613a91565b92915050565b600060208284031215613ad357613ad2613a5b565b5b6000613ae184828501613aa8565b91505092915050565b60008115159050919050565b613aff81613aea565b82525050565b6000602082019050613b1a6000830184613af6565b92915050565b6000819050919050565b613b3381613b20565b82525050565b6000602082019050613b4e6000830184613b2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b8e578082015181840152602081019050613b73565b83811115613b9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bbf82613b54565b613bc98185613b5f565b9350613bd9818560208601613b70565b613be281613ba3565b840191505092915050565b60006020820190508181036000830152613c078184613bb4565b905092915050565b613c1881613b20565b8114613c2357600080fd5b50565b600081359050613c3581613c0f565b92915050565b600060208284031215613c5157613c50613a5b565b5b6000613c5f84828501613c26565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c9382613c68565b9050919050565b613ca381613c88565b82525050565b6000602082019050613cbe6000830184613c9a565b92915050565b613ccd81613c88565b8114613cd857600080fd5b50565b600081359050613cea81613cc4565b92915050565b60008060408385031215613d0757613d06613a5b565b5b6000613d1585828601613cdb565b9250506020613d2685828601613c26565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d5557613d54613d30565b5b8235905067ffffffffffffffff811115613d7257613d71613d35565b5b602083019150836020820283011115613d8e57613d8d613d3a565b5b9250929050565b60008060208385031215613dac57613dab613a5b565b5b600083013567ffffffffffffffff811115613dca57613dc9613a60565b5b613dd685828601613d3f565b92509250509250929050565b600080600060608486031215613dfb57613dfa613a5b565b5b6000613e0986828701613cdb565b9350506020613e1a86828701613cdb565b9250506040613e2b86828701613c26565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e7282613ba3565b810181811067ffffffffffffffff82111715613e9157613e90613e3a565b5b80604052505050565b6000613ea4613a51565b9050613eb08282613e69565b919050565b600067ffffffffffffffff821115613ed057613ecf613e3a565b5b613ed982613ba3565b9050602081019050919050565b82818337600083830152505050565b6000613f08613f0384613eb5565b613e9a565b905082815260208101848484011115613f2457613f23613e35565b5b613f2f848285613ee6565b509392505050565b600082601f830112613f4c57613f4b613d30565b5b8135613f5c848260208601613ef5565b91505092915050565b600080600060608486031215613f7e57613f7d613a5b565b5b6000613f8c86828701613c26565b9350506020613f9d86828701613c26565b925050604084013567ffffffffffffffff811115613fbe57613fbd613a60565b5b613fca86828701613f37565b9150509250925092565b60008083601f840112613fea57613fe9613d30565b5b8235905067ffffffffffffffff81111561400757614006613d35565b5b60208301915083600182028301111561402357614022613d3a565b5b9250929050565b6000806020838503121561404157614040613a5b565b5b600083013567ffffffffffffffff81111561405f5761405e613a60565b5b61406b85828601613fd4565b92509250509250929050565b6000806000606084860312156140905761408f613a5b565b5b600061409e86828701613cdb565b93505060206140af86828701613c26565b925050604084013567ffffffffffffffff8111156140d0576140cf613a60565b5b6140dc86828701613f37565b9150509250925092565b6000819050919050565b6140f9816140e6565b82525050565b600060208201905061411460008301846140f0565b92915050565b6000602082840312156141305761412f613a5b565b5b600061413e84828501613cdb565b91505092915050565b61415081613aea565b811461415b57600080fd5b50565b60008135905061416d81614147565b92915050565b6000806040838503121561418a57614189613a5b565b5b600061419885828601613cdb565b92505060206141a98582860161415e565b9150509250929050565b600080600080608085870312156141cd576141cc613a5b565b5b60006141db87828801613cdb565b94505060206141ec87828801613cdb565b93505060406141fd87828801613c26565b925050606085013567ffffffffffffffff81111561421e5761421d613a60565b5b61422a87828801613f37565b91505092959194509250565b6000806040838503121561424d5761424c613a5b565b5b600061425b85828601613cdb565b925050602061426c85828601613cdb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bd57607f821691505b602082108114156142d1576142d0614276565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614333602c83613b5f565b915061433e826142d7565b604082019050919050565b6000602082019050818103600083015261436281614326565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143c5602183613b5f565b91506143d082614369565b604082019050919050565b600060208201905081810360008301526143f4816143b8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614457603883613b5f565b9150614462826143fb565b604082019050919050565b600060208201905081810360008301526144868161444a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144c3602083613b5f565b91506144ce8261448d565b602082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061453382613b20565b915061453e83613b20565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614573576145726144f9565b5b828201905092915050565b7f45786365656420746f74616c206d6178206c696d697400000000000000000000600082015250565b60006145b4601683613b5f565b91506145bf8261457e565b602082019050919050565b600060208201905081810360008301526145e3816145a7565b9050919050565b7f4578636565642067696674206d6178206c696d69740000000000000000000000600082015250565b6000614620601583613b5f565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b600061466182613b20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614694576146936144f9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061472a603183613b5f565b9150614735826146ce565b604082019050919050565b600060208201905081810360008301526147598161471d565b9050919050565b7f50726573616c657320697320636c6f7365640000000000000000000000000000600082015250565b6000614796601283613b5f565b91506147a182614760565b602082019050919050565b600060208201905081810360008301526147c581614789565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000614802601183613b5f565b915061480d826147cc565b602082019050919050565b60006020820190508181036000830152614831816147f5565b9050919050565b7f4578636565642070726573616c6573206d6178206c696d697400000000000000600082015250565b600061486e601983613b5f565b915061487982614838565b602082019050919050565b6000602082019050818103600083015261489d81614861565b9050919050565b7f4578636565642070726573616c6573207369676e6564207175616e7469747900600082015250565b60006148da601f83613b5f565b91506148e5826148a4565b602082019050919050565b60006020820190508181036000830152614909816148cd565b9050919050565b7f4578636565642070726573616c6573206d6178207175616e746974792070657260008201527f206d696e74657200000000000000000000000000000000000000000000000000602082015250565b600061496c602783613b5f565b915061497782614910565b604082019050919050565b6000602082019050818103600083015261499b8161495f565b9050919050565b60006149ad82613b20565b91506149b883613b20565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f1576149f06144f9565b5b828202905092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000614a32601083613b5f565b9150614a3d826149fc565b602082019050919050565b60006020820190508181036000830152614a6181614a25565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ac4602b83613b5f565b9150614acf82614a68565b604082019050919050565b60006020820190508181036000830152614af381614ab7565b9050919050565b7f5075626c69632073616c6520697320636c6f7365640000000000000000000000600082015250565b6000614b30601583613b5f565b9150614b3b82614afa565b602082019050919050565b60006020820190508181036000830152614b5f81614b23565b9050919050565b6000614b7182613b20565b9150614b7c83613b20565b925082821015614b8f57614b8e6144f9565b5b828203905092915050565b7f457863656564207075626c69632073616c65206d6178206c696d697400000000600082015250565b6000614bd0601c83613b5f565b9150614bdb82614b9a565b602082019050919050565b60006020820190508181036000830152614bff81614bc3565b9050919050565b7f457863656564207075626c69632073616c6573206d6178207175616e7469747960008201527f20706572206d696e746572000000000000000000000000000000000000000000602082015250565b6000614c62602b83613b5f565b9150614c6d82614c06565b604082019050919050565b60006020820190508181036000830152614c9181614c55565b9050919050565b7f457863656564207075626c69632073616c6573206d6178207175616e7469747960008201527f20706572207472616e73616374696f6e00000000000000000000000000000000602082015250565b6000614cf4603083613b5f565b9150614cff82614c98565b604082019050919050565b60006020820190508181036000830152614d2381614ce7565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d86602c83613b5f565b9150614d9182614d2a565b604082019050919050565b60006020820190508181036000830152614db581614d79565b9050919050565b6000606082019050614dd160008301866140f0565b614dde6020830185613c9a565b614deb6040830184613b2a565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614e4f602983613b5f565b9150614e5a82614df3565b604082019050919050565b60006020820190508181036000830152614e7e81614e42565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ee1602a83613b5f565b9150614eec82614e85565b604082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b7f4e6f20616d6f756e7420746f2077697468647261770000000000000000000000600082015250565b6000614f4d601583613b5f565b9150614f5882614f17565b602082019050919050565b60006020820190508181036000830152614f7c81614f40565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fb9601983613b5f565b9150614fc482614f83565b602082019050919050565b60006020820190508181036000830152614fe881614fac565b9050919050565b7f546f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b6000615025600f83613b5f565b915061503082614fef565b602082019050919050565b6000602082019050818103600083015261505481615018565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615088816142a5565b615092818661505b565b945060018216600081146150ad57600181146150be576150f1565b60ff198316865281860193506150f1565b6150c785615066565b60005b838110156150e9578154818901526001820191506020810190506150ca565b838801955050505b50505092915050565b600061510582613b54565b61510f818561505b565b935061511f818560208601613b70565b80840191505092915050565b6000615137828561507b565b915061514382846150fa565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151ab602683613b5f565b91506151b68261514f565b604082019050919050565b600060208201905081810360008301526151da8161519e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061523d602c83613b5f565b9150615248826151e1565b604082019050919050565b6000602082019050818103600083015261526c81615230565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006152cf602983613b5f565b91506152da82615273565b604082019050919050565b600060208201905081810360008301526152fe816152c2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615361602483613b5f565b915061536c82615305565b604082019050919050565b6000602082019050818103600083015261539081615354565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153f3603283613b5f565b91506153fe82615397565b604082019050919050565b60006020820190508181036000830152615422816153e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061546382613b20565b915061546e83613b20565b92508261547e5761547d615429565b5b828204905092915050565b600061549482613b20565b915061549f83613b20565b9250826154af576154ae615429565b5b828206905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006154f060028361505b565b91506154fb826154ba565b600282019050919050565b6000819050919050565b61552161551c826140e6565b615506565b82525050565b6000615532826154e3565b915061553e8285615510565b60208201915061554e8284615510565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006155c3601883613b5f565b91506155ce8261558d565b602082019050919050565b600060208201905081810360008301526155f2816155b6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061562f601f83613b5f565b915061563a826155f9565b602082019050919050565b6000602082019050818103600083015261565e81615622565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156c1602283613b5f565b91506156cc82615665565b604082019050919050565b600060208201905081810360008301526156f0816156b4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615753602283613b5f565b915061575e826156f7565b604082019050919050565b6000602082019050818103600083015261578281615746565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006157b082615789565b6157ba8185615794565b93506157ca818560208601613b70565b6157d381613ba3565b840191505092915050565b60006080820190506157f36000830187613c9a565b6158006020830186613c9a565b61580d6040830185613b2a565b818103606083015261581f81846157a5565b905095945050505050565b60008151905061583981613a91565b92915050565b60006020828403121561585557615854613a5b565b5b60006158638482850161582a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006158a2602083613b5f565b91506158ad8261586c565b602082019050919050565b600060208201905081810360008301526158d181615895565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061590e601c83613b5f565b9150615919826158d8565b602082019050919050565b6000602082019050818103600083015261593d81615901565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060a08201905061598860008301886140f0565b61599560208301876140f0565b6159a260408301866140f0565b6159af6060830185613b2a565b6159bc6080830184613c9a565b9695505050505050565b600060ff82169050919050565b6159dc816159c6565b82525050565b60006080820190506159f760008301876140f0565b615a0460208301866159d3565b615a1160408301856140f0565b615a1e60608301846140f0565b9594505050505056fea264697066735822122034e594282258e40ca967e8960151b5dbedb2aa380334c468ed3ba296cc7d7bf764736f6c63430008090033

Deployed Bytecode

0x6080604052600436106102935760003560e01c8063895259b71161015a578063d3381438116100c1578063e985e9c51161007a578063e985e9c5146109c8578063ed764ecf14610a05578063ef81b4d414610a42578063f2fde38b14610a6d578063f8293dc014610a96578063fba1779214610ac157610293565b8063d3381438146108dc578063d6eec46a14610905578063dba7242b14610930578063dce3a2bf14610947578063dee816e614610972578063e8a3d4851461099d57610293565b8063a22cb46511610113578063a22cb465146107e0578063ae4384f114610809578063b0897d1814610834578063b88d4fde1461084b578063bd34fc5714610874578063c87b56dd1461089f57610293565b8063895259b7146106ce5780638da5cb5b146106f95780638f7be8f214610724578063938e3d7b1461076157806395d89b411461078a5780639c123661146107b557610293565b806347fc6e76116101fe5780636301dccf116101b75780636301dccf146105d05780636352211e146105fb5780636458563e1461063857806370a0823114610663578063715018a6146106a0578063853828b6146106b757610293565b806347fc6e76146104bb5780634d192b83146104e65780634f6ccce71461050257806355f804b31461053f5780635858aa261461056857806359c09529146105a557610293565b806318160ddd1161025057806318160ddd146103ba57806323b872dd146103e557806324123cc41461040e5780632f745c591461042a5780633354fe341461046757806342842e0e1461049257610293565b806301ffc9a7146102985780630532096a146102d557806306fdde0314610300578063081812fc1461032b578063095ea7b314610368578063163e1e6114610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613abd565b610aec565b6040516102cc9190613b05565b60405180910390f35b3480156102e157600080fd5b506102ea610b66565b6040516102f79190613b39565b60405180910390f35b34801561030c57600080fd5b50610315610b6b565b6040516103229190613bed565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190613c3b565b610bfd565b60405161035f9190613ca9565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a9190613cf0565b610c82565b005b34801561039d57600080fd5b506103b860048036038101906103b39190613d95565b610d9a565b005b3480156103c657600080fd5b506103cf610f46565b6040516103dc9190613b39565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190613de2565b610f53565b005b61042860048036038101906104239190613f65565b610fb3565b005b34801561043657600080fd5b50610451600480360381019061044c9190613cf0565b611364565b60405161045e9190613b39565b60405180910390f35b34801561047357600080fd5b5061047c611409565b6040516104899190613b39565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b49190613de2565b61140e565b005b3480156104c757600080fd5b506104d061142e565b6040516104dd9190613b39565b60405180910390f35b61050060048036038101906104fb9190613c3b565b611434565b005b34801561050e57600080fd5b5061052960048036038101906105249190613c3b565b611719565b6040516105369190613b39565b60405180910390f35b34801561054b57600080fd5b506105666004803603810190610561919061402a565b61178a565b005b34801561057457600080fd5b5061058f600480360381019061058a9190614077565b61181c565b60405161059c9190613ca9565b60405180910390f35b3480156105b157600080fd5b506105ba611888565b6040516105c79190613b05565b60405180910390f35b3480156105dc57600080fd5b506105e561189b565b6040516105f291906140ff565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d9190613c3b565b6118bf565b60405161062f9190613ca9565b60405180910390f35b34801561064457600080fd5b5061064d611971565b60405161065a9190613b39565b60405180910390f35b34801561066f57600080fd5b5061068a6004803603810190610685919061411a565b611983565b6040516106979190613b39565b60405180910390f35b3480156106ac57600080fd5b506106b5611a3b565b005b3480156106c357600080fd5b506106cc611ac3565b005b3480156106da57600080fd5b506106e3611bcb565b6040516106f09190613b39565b60405180910390f35b34801561070557600080fd5b5061070e611bd0565b60405161071b9190613ca9565b60405180910390f35b34801561073057600080fd5b5061074b6004803603810190610746919061411a565b611bf9565b6040516107589190613b39565b60405180910390f35b34801561076d57600080fd5b506107886004803603810190610783919061402a565b611c11565b005b34801561079657600080fd5b5061079f611ca3565b6040516107ac9190613bed565b60405180910390f35b3480156107c157600080fd5b506107ca611d35565b6040516107d79190613b39565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190614173565b611d3b565b005b34801561081557600080fd5b5061081e611ebc565b60405161082b9190613b05565b60405180910390f35b34801561084057600080fd5b50610849611ecf565b005b34801561085757600080fd5b50610872600480360381019061086d91906141b3565b611f77565b005b34801561088057600080fd5b50610889611fd9565b6040516108969190613b39565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c19190613c3b565b611fdf565b6040516108d39190613bed565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe919061411a565b61205b565b005b34801561091157600080fd5b5061091a61211b565b6040516109279190613b39565b60405180910390f35b34801561093c57600080fd5b50610945612126565b005b34801561095357600080fd5b5061095c6121ce565b6040516109699190613b39565b60405180910390f35b34801561097e57600080fd5b506109876121d4565b6040516109949190613b39565b60405180910390f35b3480156109a957600080fd5b506109b26121da565b6040516109bf9190613bed565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190614236565b61226c565b6040516109fc9190613b05565b60405180910390f35b348015610a1157600080fd5b50610a2c6004803603810190610a27919061411a565b612300565b604051610a399190613b39565b60405180910390f35b348015610a4e57600080fd5b50610a57612318565b604051610a649190613ca9565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f919061411a565b61233e565b005b348015610aa257600080fd5b50610aab612436565b604051610ab89190613b39565b60405180910390f35b348015610acd57600080fd5b50610ad6612441565b604051610ae39190613b39565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5f5750610b5e82612446565b5b9050919050565b600381565b606060018054610b7a906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba6906142a5565b8015610bf35780601f10610bc857610100808354040283529160200191610bf3565b820191906000526020600020905b815481529060010190602001808311610bd657829003601f168201915b5050505050905090565b6000610c0882612528565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614349565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8d826118bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf5906143db565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d1d612594565b73ffffffffffffffffffffffffffffffffffffffff161480610d4c5750610d4b81610d46612594565b61226c565b5b610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d829061446d565b60405180910390fd5b610d95838361259c565b505050565b610da2612594565b73ffffffffffffffffffffffffffffffffffffffff16610dc0611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906144d9565b60405180910390fd5b611e6182829050610e25610f46565b610e2f9190614528565b1115610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e67906145ca565b60405180910390fd5b604d82829050601254610e839190614528565b1115610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90614636565b60405180910390fd5b60005b82829050811015610f415760126000815480929190610ee590614656565b9190505550610f2e838383818110610f0057610eff61469f565b5b9050602002016020810190610f15919061411a565b6001610f1f610f46565b610f299190614528565b612655565b8080610f3990614656565b915050610ec7565b505050565b6000600980549050905090565b610f64610f5e612594565b82612673565b610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90614740565b60405180910390fd5b610fae838383612751565b505050565b611e6183610fbf610f46565b610fc99190614528565b111561100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906145ca565b60405180910390fd5b601360009054906101000a900460ff16611059576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611050906147ac565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661109d33848461181c565b73ffffffffffffffffffffffffffffffffffffffff16146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614818565b60405180910390fd5b610d05836010546111049190614528565b1115611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c90614884565b60405180910390fd5b8183600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111919190614528565b11156111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906148f0565b60405180910390fd5b600383600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f9190614528565b1115611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790614982565b60405180910390fd5b8266b1a2bc2ec5000061127391906149a2565b3410156112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac90614a48565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113049190614528565b9250508190555060005b8381101561135e576010600081548092919061132990614656565b919050555061134b33600161133c610f46565b6113469190614528565b612655565b808061135690614656565b91505061130e565b50505050565b600061136f83611983565b82106113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614ada565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b604d81565b61142983838360405180602001604052806000815250611f77565b505050565b610d0581565b611e6181611440610f46565b61144a9190614528565b111561148b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611482906145ca565b60405180910390fd5b601360019054906101000a900460ff166114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614b46565b60405180910390fd5b604d611e616114e99190614b66565b816011546010546114fa9190614528565b6115049190614528565b1115611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c90614be6565b60405180910390fd5b600a81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115929190614528565b11156115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614c78565b60405180910390fd5b6005811115611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90614d0a565b60405180910390fd5b8066d529ae9e86000061162a91906149a2565b34101561166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390614a48565b60405180910390fd5b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bb9190614528565b9250508190555060005b8181101561171557601160008154809291906116e090614656565b91905055506117023360016116f3610f46565b6116fd9190614528565b612655565b808061170d90614656565b9150506116c5565b5050565b6000611723610f46565b8210611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90614d9c565b60405180910390fd5b600982815481106117785761177761469f565b5b90600052602060002001549050919050565b611792612594565b73ffffffffffffffffffffffffffffffffffffffff166117b0611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd906144d9565b60405180910390fd5b8181600d91906118179291906139ae565b505050565b6000806118727f680b772c0ec4675960b688c733903d940dd27ba2084c6a2e2d98c8b8e1d67390868660405160200161185793929190614dbc565b604051602081830303815290604052805190602001206129ad565b905061187e81846129c7565b9150509392505050565b601360009054906101000a900460ff1681565b7f680b772c0ec4675960b688c733903d940dd27ba2084c6a2e2d98c8b8e1d6739081565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90614e65565b60405180910390fd5b80915050919050565b604d611e616119809190614b66565b81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90614ef7565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a43612594565b73ffffffffffffffffffffffffffffffffffffffff16611a61611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aae906144d9565b60405180910390fd5b611ac160006129ee565b565b611acb612594565b73ffffffffffffffffffffffffffffffffffffffff16611ae9611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b36906144d9565b60405180910390fd5b60004711611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990614f63565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611bc8573d6000803e3d6000fd5b50565b600a81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915090505481565b611c19612594565b73ffffffffffffffffffffffffffffffffffffffff16611c37611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906144d9565b60405180910390fd5b8181600c9190611c9e9291906139ae565b505050565b606060028054611cb2906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611cde906142a5565b8015611d2b5780601f10611d0057610100808354040283529160200191611d2b565b820191906000526020600020905b815481529060010190602001808311611d0e57829003601f168201915b5050505050905090565b60115481565b611d43612594565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da890614fcf565b60405180910390fd5b8060066000611dbe612594565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e6b612594565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eb09190613b05565b60405180910390a35050565b601360019054906101000a900460ff1681565b611ed7612594565b73ffffffffffffffffffffffffffffffffffffffff16611ef5611bd0565b73ffffffffffffffffffffffffffffffffffffffff1614611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906144d9565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b611f88611f82612594565b83612673565b611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614740565b60405180910390fd5b611fd384848484612ab2565b50505050565b60125481565b6060611fea82612528565b612029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120209061503b565b60405180910390fd5b600d61203483612b0e565b60405160200161204592919061512b565b6040516020818303038152906040529050919050565b612063612594565b73ffffffffffffffffffffffffffffffffffffffff16612081611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce906144d9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b66d529ae9e86000081565b61212e612594565b73ffffffffffffffffffffffffffffffffffffffff1661214c611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146121a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612199906144d9565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b60105481565b611e6181565b6060600c80546121e9906142a5565b80601f0160208091040260200160405190810160405280929190818152602001828054612215906142a5565b80156122625780601f1061223757610100808354040283529160200191612262565b820191906000526020600020905b81548152906001019060200180831161224557829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612346612594565b73ffffffffffffffffffffffffffffffffffffffff16612364611bd0565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b1906144d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612421906151c1565b60405180910390fd5b612433816129ee565b50565b66b1a2bc2ec5000081565b600581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061251157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612521575061252082612c6f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661260f836118bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61266f828260405180602001604052806000815250612cd9565b5050565b600061267e82612528565b6126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490615253565b60405180910390fd5b60006126c8836118bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273757508373ffffffffffffffffffffffffffffffffffffffff1661271f84610bfd565b73ffffffffffffffffffffffffffffffffffffffff16145b806127485750612747818561226c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612771826118bf565b73ffffffffffffffffffffffffffffffffffffffff16146127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be906152e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90615377565b60405180910390fd5b612842838383612d34565b61284d60008261259c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289d9190614b66565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f49190614528565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129c06129ba612e48565b83612f0b565b9050919050565b60008060006129d68585612f3e565b915091506129e381612fc1565b819250505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612abd848484612751565b612ac984848484613196565b612b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aff90615409565b60405180910390fd5b50505050565b60606000821415612b56576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c6a565b600082905060005b60008214612b88578080612b7190614656565b915050600a82612b819190615458565b9150612b5e565b60008167ffffffffffffffff811115612ba457612ba3613e3a565b5b6040519080825280601f01601f191660200182016040528015612bd65781602001600182028036833780820191505090505b5090505b60008514612c6357600182612bef9190614b66565b9150600a85612bfe9190615489565b6030612c0a9190614528565b60f81b818381518110612c2057612c1f61469f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c5c9190615458565b9450612bda565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ce3838361332d565b612cf06000848484613196565b612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2690615409565b60405180910390fd5b505050565b612d3f8383836134fb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d8257612d7d81613500565b612dc1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dc057612dbf8382613549565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e0457612dff816136b6565b612e43565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e4257612e418282613787565b5b5b505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415612e9a577f488885d209bc09608dfd060fc93a3b555083a07130801ee59f9e6157ff2b46329050612f08565b612f057f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f20a6d80086f0657d34885c9cf2abd16132be29a19ec5d3640437e2e76debdb407fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613806565b90505b90565b60008282604051602001612f20929190615527565b60405160208183030381529060405280519060200120905092915050565b600080604183511415612f805760008060006020860151925060408601519150606086015160001a9050612f7487828585613840565b94509450505050612fba565b604083511415612fb1576000806020850151915060408501519050612fa686838361394d565b935093505050612fba565b60006002915091505b9250929050565b60006004811115612fd557612fd461555e565b5b816004811115612fe857612fe761555e565b5b1415612ff357613193565b600160048111156130075761300661555e565b5b81600481111561301a5761301961555e565b5b141561305b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613052906155d9565b60405180910390fd5b6002600481111561306f5761306e61555e565b5b8160048111156130825761308161555e565b5b14156130c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ba90615645565b60405180910390fd5b600360048111156130d7576130d661555e565b5b8160048111156130ea576130e961555e565b5b141561312b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613122906156d7565b60405180910390fd5b60048081111561313e5761313d61555e565b5b8160048111156131515761315061555e565b5b1415613192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318990615769565b60405180910390fd5b5b50565b60006131b78473ffffffffffffffffffffffffffffffffffffffff1661399b565b15613320578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131e0612594565b8786866040518563ffffffff1660e01b815260040161320294939291906157de565b602060405180830381600087803b15801561321c57600080fd5b505af192505050801561324d57506040513d601f19601f8201168201806040525081019061324a919061583f565b60015b6132d0573d806000811461327d576040519150601f19603f3d011682016040523d82523d6000602084013e613282565b606091505b506000815114156132c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bf90615409565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613325565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613394906158b8565b60405180910390fd5b6133a681612528565b156133e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dd90615924565b60405180910390fd5b6133f260008383612d34565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134429190614528565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355684611983565b6135609190614b66565b9050600060086000848152602001908152602001600020549050818114613645576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506136ca9190614b66565b90506000600a60008481526020019081526020016000205490506000600983815481106136fa576136f961469f565b5b90600052602060002001549050806009838154811061371c5761371b61469f565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061376b5761376a615944565b5b6001900381819060005260206000200160009055905550505050565b600061379283611983565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60008383834630604051602001613821959493929190615973565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561387b576000600391509150613944565b601b8560ff16141580156138935750601c8560ff1614155b156138a5576000600491509150613944565b6000600187878787604051600081526020016040526040516138ca94939291906159e2565b6020604051602081039080840390855afa1580156138ec573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561393b57600060019250925050613944565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061398d87828885613840565b935093505050935093915050565b600080823b905060008111915050919050565b8280546139ba906142a5565b90600052602060002090601f0160209004810192826139dc5760008555613a23565b82601f106139f557803560ff1916838001178555613a23565b82800160010185558215613a23579182015b82811115613a22578235825591602001919060010190613a07565b5b509050613a309190613a34565b5090565b5b80821115613a4d576000816000905550600101613a35565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a9a81613a65565b8114613aa557600080fd5b50565b600081359050613ab781613a91565b92915050565b600060208284031215613ad357613ad2613a5b565b5b6000613ae184828501613aa8565b91505092915050565b60008115159050919050565b613aff81613aea565b82525050565b6000602082019050613b1a6000830184613af6565b92915050565b6000819050919050565b613b3381613b20565b82525050565b6000602082019050613b4e6000830184613b2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b8e578082015181840152602081019050613b73565b83811115613b9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bbf82613b54565b613bc98185613b5f565b9350613bd9818560208601613b70565b613be281613ba3565b840191505092915050565b60006020820190508181036000830152613c078184613bb4565b905092915050565b613c1881613b20565b8114613c2357600080fd5b50565b600081359050613c3581613c0f565b92915050565b600060208284031215613c5157613c50613a5b565b5b6000613c5f84828501613c26565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c9382613c68565b9050919050565b613ca381613c88565b82525050565b6000602082019050613cbe6000830184613c9a565b92915050565b613ccd81613c88565b8114613cd857600080fd5b50565b600081359050613cea81613cc4565b92915050565b60008060408385031215613d0757613d06613a5b565b5b6000613d1585828601613cdb565b9250506020613d2685828601613c26565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d5557613d54613d30565b5b8235905067ffffffffffffffff811115613d7257613d71613d35565b5b602083019150836020820283011115613d8e57613d8d613d3a565b5b9250929050565b60008060208385031215613dac57613dab613a5b565b5b600083013567ffffffffffffffff811115613dca57613dc9613a60565b5b613dd685828601613d3f565b92509250509250929050565b600080600060608486031215613dfb57613dfa613a5b565b5b6000613e0986828701613cdb565b9350506020613e1a86828701613cdb565b9250506040613e2b86828701613c26565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e7282613ba3565b810181811067ffffffffffffffff82111715613e9157613e90613e3a565b5b80604052505050565b6000613ea4613a51565b9050613eb08282613e69565b919050565b600067ffffffffffffffff821115613ed057613ecf613e3a565b5b613ed982613ba3565b9050602081019050919050565b82818337600083830152505050565b6000613f08613f0384613eb5565b613e9a565b905082815260208101848484011115613f2457613f23613e35565b5b613f2f848285613ee6565b509392505050565b600082601f830112613f4c57613f4b613d30565b5b8135613f5c848260208601613ef5565b91505092915050565b600080600060608486031215613f7e57613f7d613a5b565b5b6000613f8c86828701613c26565b9350506020613f9d86828701613c26565b925050604084013567ffffffffffffffff811115613fbe57613fbd613a60565b5b613fca86828701613f37565b9150509250925092565b60008083601f840112613fea57613fe9613d30565b5b8235905067ffffffffffffffff81111561400757614006613d35565b5b60208301915083600182028301111561402357614022613d3a565b5b9250929050565b6000806020838503121561404157614040613a5b565b5b600083013567ffffffffffffffff81111561405f5761405e613a60565b5b61406b85828601613fd4565b92509250509250929050565b6000806000606084860312156140905761408f613a5b565b5b600061409e86828701613cdb565b93505060206140af86828701613c26565b925050604084013567ffffffffffffffff8111156140d0576140cf613a60565b5b6140dc86828701613f37565b9150509250925092565b6000819050919050565b6140f9816140e6565b82525050565b600060208201905061411460008301846140f0565b92915050565b6000602082840312156141305761412f613a5b565b5b600061413e84828501613cdb565b91505092915050565b61415081613aea565b811461415b57600080fd5b50565b60008135905061416d81614147565b92915050565b6000806040838503121561418a57614189613a5b565b5b600061419885828601613cdb565b92505060206141a98582860161415e565b9150509250929050565b600080600080608085870312156141cd576141cc613a5b565b5b60006141db87828801613cdb565b94505060206141ec87828801613cdb565b93505060406141fd87828801613c26565b925050606085013567ffffffffffffffff81111561421e5761421d613a60565b5b61422a87828801613f37565b91505092959194509250565b6000806040838503121561424d5761424c613a5b565b5b600061425b85828601613cdb565b925050602061426c85828601613cdb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bd57607f821691505b602082108114156142d1576142d0614276565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614333602c83613b5f565b915061433e826142d7565b604082019050919050565b6000602082019050818103600083015261436281614326565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143c5602183613b5f565b91506143d082614369565b604082019050919050565b600060208201905081810360008301526143f4816143b8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614457603883613b5f565b9150614462826143fb565b604082019050919050565b600060208201905081810360008301526144868161444a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144c3602083613b5f565b91506144ce8261448d565b602082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061453382613b20565b915061453e83613b20565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614573576145726144f9565b5b828201905092915050565b7f45786365656420746f74616c206d6178206c696d697400000000000000000000600082015250565b60006145b4601683613b5f565b91506145bf8261457e565b602082019050919050565b600060208201905081810360008301526145e3816145a7565b9050919050565b7f4578636565642067696674206d6178206c696d69740000000000000000000000600082015250565b6000614620601583613b5f565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b600061466182613b20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614694576146936144f9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061472a603183613b5f565b9150614735826146ce565b604082019050919050565b600060208201905081810360008301526147598161471d565b9050919050565b7f50726573616c657320697320636c6f7365640000000000000000000000000000600082015250565b6000614796601283613b5f565b91506147a182614760565b602082019050919050565b600060208201905081810360008301526147c581614789565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000614802601183613b5f565b915061480d826147cc565b602082019050919050565b60006020820190508181036000830152614831816147f5565b9050919050565b7f4578636565642070726573616c6573206d6178206c696d697400000000000000600082015250565b600061486e601983613b5f565b915061487982614838565b602082019050919050565b6000602082019050818103600083015261489d81614861565b9050919050565b7f4578636565642070726573616c6573207369676e6564207175616e7469747900600082015250565b60006148da601f83613b5f565b91506148e5826148a4565b602082019050919050565b60006020820190508181036000830152614909816148cd565b9050919050565b7f4578636565642070726573616c6573206d6178207175616e746974792070657260008201527f206d696e74657200000000000000000000000000000000000000000000000000602082015250565b600061496c602783613b5f565b915061497782614910565b604082019050919050565b6000602082019050818103600083015261499b8161495f565b9050919050565b60006149ad82613b20565b91506149b883613b20565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f1576149f06144f9565b5b828202905092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000614a32601083613b5f565b9150614a3d826149fc565b602082019050919050565b60006020820190508181036000830152614a6181614a25565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ac4602b83613b5f565b9150614acf82614a68565b604082019050919050565b60006020820190508181036000830152614af381614ab7565b9050919050565b7f5075626c69632073616c6520697320636c6f7365640000000000000000000000600082015250565b6000614b30601583613b5f565b9150614b3b82614afa565b602082019050919050565b60006020820190508181036000830152614b5f81614b23565b9050919050565b6000614b7182613b20565b9150614b7c83613b20565b925082821015614b8f57614b8e6144f9565b5b828203905092915050565b7f457863656564207075626c69632073616c65206d6178206c696d697400000000600082015250565b6000614bd0601c83613b5f565b9150614bdb82614b9a565b602082019050919050565b60006020820190508181036000830152614bff81614bc3565b9050919050565b7f457863656564207075626c69632073616c6573206d6178207175616e7469747960008201527f20706572206d696e746572000000000000000000000000000000000000000000602082015250565b6000614c62602b83613b5f565b9150614c6d82614c06565b604082019050919050565b60006020820190508181036000830152614c9181614c55565b9050919050565b7f457863656564207075626c69632073616c6573206d6178207175616e7469747960008201527f20706572207472616e73616374696f6e00000000000000000000000000000000602082015250565b6000614cf4603083613b5f565b9150614cff82614c98565b604082019050919050565b60006020820190508181036000830152614d2381614ce7565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d86602c83613b5f565b9150614d9182614d2a565b604082019050919050565b60006020820190508181036000830152614db581614d79565b9050919050565b6000606082019050614dd160008301866140f0565b614dde6020830185613c9a565b614deb6040830184613b2a565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614e4f602983613b5f565b9150614e5a82614df3565b604082019050919050565b60006020820190508181036000830152614e7e81614e42565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ee1602a83613b5f565b9150614eec82614e85565b604082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b7f4e6f20616d6f756e7420746f2077697468647261770000000000000000000000600082015250565b6000614f4d601583613b5f565b9150614f5882614f17565b602082019050919050565b60006020820190508181036000830152614f7c81614f40565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fb9601983613b5f565b9150614fc482614f83565b602082019050919050565b60006020820190508181036000830152614fe881614fac565b9050919050565b7f546f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b6000615025600f83613b5f565b915061503082614fef565b602082019050919050565b6000602082019050818103600083015261505481615018565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615088816142a5565b615092818661505b565b945060018216600081146150ad57600181146150be576150f1565b60ff198316865281860193506150f1565b6150c785615066565b60005b838110156150e9578154818901526001820191506020810190506150ca565b838801955050505b50505092915050565b600061510582613b54565b61510f818561505b565b935061511f818560208601613b70565b80840191505092915050565b6000615137828561507b565b915061514382846150fa565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151ab602683613b5f565b91506151b68261514f565b604082019050919050565b600060208201905081810360008301526151da8161519e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061523d602c83613b5f565b9150615248826151e1565b604082019050919050565b6000602082019050818103600083015261526c81615230565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006152cf602983613b5f565b91506152da82615273565b604082019050919050565b600060208201905081810360008301526152fe816152c2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615361602483613b5f565b915061536c82615305565b604082019050919050565b6000602082019050818103600083015261539081615354565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153f3603283613b5f565b91506153fe82615397565b604082019050919050565b60006020820190508181036000830152615422816153e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061546382613b20565b915061546e83613b20565b92508261547e5761547d615429565b5b828204905092915050565b600061549482613b20565b915061549f83613b20565b9250826154af576154ae615429565b5b828206905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006154f060028361505b565b91506154fb826154ba565b600282019050919050565b6000819050919050565b61552161551c826140e6565b615506565b82525050565b6000615532826154e3565b915061553e8285615510565b60208201915061554e8284615510565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006155c3601883613b5f565b91506155ce8261558d565b602082019050919050565b600060208201905081810360008301526155f2816155b6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061562f601f83613b5f565b915061563a826155f9565b602082019050919050565b6000602082019050818103600083015261565e81615622565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156c1602283613b5f565b91506156cc82615665565b604082019050919050565b600060208201905081810360008301526156f0816156b4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615753602283613b5f565b915061575e826156f7565b604082019050919050565b6000602082019050818103600083015261578281615746565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006157b082615789565b6157ba8185615794565b93506157ca818560208601613b70565b6157d381613ba3565b840191505092915050565b60006080820190506157f36000830187613c9a565b6158006020830186613c9a565b61580d6040830185613b2a565b818103606083015261581f81846157a5565b905095945050505050565b60008151905061583981613a91565b92915050565b60006020828403121561585557615854613a5b565b5b60006158638482850161582a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006158a2602083613b5f565b91506158ad8261586c565b602082019050919050565b600060208201905081810360008301526158d181615895565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061590e601c83613b5f565b9150615919826158d8565b602082019050919050565b6000602082019050818103600083015261593d81615901565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060a08201905061598860008301886140f0565b61599560208301876140f0565b6159a260408301866140f0565b6159af6060830185613b2a565b6159bc6080830184613c9a565b9695505050505050565b600060ff82169050919050565b6159dc816159c6565b82525050565b60006080820190506159f760008301876140f0565b615a0460208301866159d3565b615a1160408301856140f0565b615a1e60608301846140f0565b9594505050505056fea264697066735822122034e594282258e40ca967e8960151b5dbedb2aa380334c468ed3ba296cc7d7bf764736f6c63430008090033

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.