ERC-721
Overview
Max Total Supply
5,555 CAVEMAN
Holders
2,080
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 CAVEMANLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CavemanNFT
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-05 */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) 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) { 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. /// @solidity memory-safe-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 { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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: contracts/ERC721A.sol pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/SmartContract.sol // Created by HashLips // The Nerdy Coder Clones pragma solidity ^0.8.0; contract CavemanNFT is ERC721A, IERC2981, Ownable, ReentrancyGuard { using Strings for uint256; using ECDSA for bytes32; string public baseURI; string public notRevealedUri; string public baseExtension = ".json"; uint256 public wlCost = 0.0099 ether; uint256 public cost = 0.0099 ether; uint256 public maxSupply = 5555; uint256 public maxMint = 3; uint256 public maxWLMint = 2; uint256 public freeMint = 1; uint256 public revealTokenId = 0; uint256 public maxWLTxn = 3555; uint256 public curWLTxn = 0; bool public paused = false; uint256 public wlStartTime = 1664978400; uint256 public publicStartTime = 1664985600; address public royaltyAddress; uint256 public royaltyPercent; bytes32 public wlMerkleRoot = 0x0b0bb9fe82a11cfc656681511ef2ed3048f5201f87208bf1d8919ac7cb42dc6a; mapping(address => bool) public wlMintInit; mapping(uint256 => bool) public cavemanStaked; mapping(address => bool) public cavemanSacrificed; constructor() ERC721A("Caveman NFT", "CAVEMAN", 200, maxSupply) { royaltyAddress = 0x29aF568493D19eCD9443826425bEbc10A746a28b; royaltyPercent = 10; setBaseURI(""); setNotRevealedURI( "ipfs://QmbM3pzF1HDabhLiYcHoGpJRszzix8eq3bDXmNi6hVMXGv/hidden.json" ); } modifier eoaOnly() { require(tx.origin == msg.sender, "EOA Only"); _; } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmt) public payable nonReentrant eoaOnly { uint256 supply = totalSupply(); require(!paused, "Mint Paused"); require(block.timestamp >= publicStartTime, "Mint Not Open Yet"); require(_mintAmt > 0, "Invalid Mint Amount"); require(_mintAmt <= maxMint, "Mint Amount Too High"); require(supply + _mintAmt <= maxSupply, "Not Enough NFT Left"); if (msg.sender != owner()) { require(msg.value >= cost * _mintAmt, "Value Not Match"); } _safeMint(msg.sender, _mintAmt); } function whitelistMint(uint256 _mintAmt, bytes32[] calldata _merkleProof) public payable nonReentrant eoaOnly { require( _whitelistVerify(_merkleProof, wlMerkleRoot), "Invalid merkle proof" ); require(!paused, "Mint Paused"); require(block.timestamp >= wlStartTime, "Mint Not Open Yet"); require(_mintAmt > 0, "Invalid Mint Amount"); require(_mintAmt <= maxWLMint, "Mint Amount Too High"); require(curWLTxn <= maxWLTxn, "Max Whitelist Transaction Reached"); require(totalSupply() + _mintAmt <= maxSupply, "Not Enough NFT Left"); require(!wlMintInit[msg.sender], "Wallet Already Minted"); if (msg.sender != owner()) { require( msg.value >= wlCost * (_mintAmt - freeMint), "Value Not Match" ); } if (!wlMintInit[msg.sender]) { wlMintInit[msg.sender] = true; } _safeMint(msg.sender, _mintAmt); curWLTxn = curWLTxn++; } function giveAwayMint(uint256 _mintAmt) public onlyOwner { require(_mintAmt > 0, "Invalid Mint Amount"); require(totalSupply() + _mintAmt <= maxSupply, "Not Enough NFT Left"); _safeMint(msg.sender, _mintAmt); } function gift(address[] calldata receivers) public onlyOwner { require( totalSupply() + receivers.length <= maxSupply, "Not Enough NFT Left" ); for (uint256 i = 0; i < receivers.length; i++) { _safeMint(receivers[i], 1); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (tokenId >= revealTokenId) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } function checkWhitelist(bytes32[] calldata _merkleProof) public view returns (bool) { return _whitelistVerify(_merkleProof, wlMerkleRoot); } function _whitelistVerify(bytes32[] memory _proof, bytes32 _root) internal view returns (bool) { return MerkleProof.verify( _proof, _root, keccak256(abi.encodePacked(msg.sender)) ); } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Non-existent token"); return (royaltyAddress, (salePrice * royaltyPercent) / 100); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function SacrificeRitual(uint256 tokenId) public virtual { require(ownerOf(tokenId) == msg.sender, "You do not own the NFT"); cavemanSacrificed[msg.sender] = true; safeTransferFrom( msg.sender, 0x000000000000000000000000000000000000dEaD, tokenId ); } function stakeCaveman(uint256 tokenId) public virtual { require(ownerOf(tokenId) == msg.sender, "You do not own the NFT"); require(cavemanStaked[tokenId] == false, "NFT is Staked"); cavemanStaked[tokenId] = true; } function unstakeCaveman(uint256 tokenId) public virtual { require(ownerOf(tokenId) == msg.sender, "You do not own the NFT"); require(cavemanStaked[tokenId] == true, "NFT is Not Staked"); cavemanStaked[tokenId] = false; } function _beforeTokenTransfers( address, address, uint256 startTokenId, uint256 quantity ) internal view override { uint256 tokenId = startTokenId; for (uint256 end = tokenId + quantity; tokenId < end; ++tokenId) { require(cavemanStaked[tokenId] == false, "Nft Staked"); } } //only owner function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setWLCost(uint256 _newWLCost) public onlyOwner { wlCost = _newWLCost; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setRevealTokenId(uint256 _revealTokenId) public onlyOwner { revealTokenId = _revealTokenId; } function pause(bool _state) public onlyOwner { paused = _state; } function setWhitelistRoot(bytes32 _wlMerkleRoot) external onlyOwner { wlMerkleRoot = _wlMerkleRoot; } function setwlStartTime(uint256 _wlStartTime) external onlyOwner { wlStartTime = _wlStartTime; } function setpublicStartTime(uint256 _publicStartTime) external onlyOwner { publicStartTime = _publicStartTime; } function withdraw() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } // ======== Royalties ========= function setRoyaltyReceiver(address royaltyReceiver) public onlyOwner { royaltyAddress = royaltyReceiver; } function setRoyaltyPercentage(uint256 royaltyPercentage) public onlyOwner { royaltyPercent = royaltyPercentage; } function serverNow() public view returns (uint256 currenttimeStamp) { return block.timestamp; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SacrificeRitual","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cavemanSacrificed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cavemanStaked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curWLTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmt","type":"uint256"}],"name":"giveAwayMint","outputs":[],"stateMutability":"nonpayable","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":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmt","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"serverNow","outputs":[{"internalType":"uint256","name":"currenttimeStamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealTokenId","type":"uint256"}],"name":"setRevealTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWLCost","type":"uint256"}],"name":"setWLCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlMerkleRoot","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicStartTime","type":"uint256"}],"name":"setpublicStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlStartTime","type":"uint256"}],"name":"setwlStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stakeCaveman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unstakeCaveman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmt","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMintInit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6000808055600755610100604052600560c081905264173539b7b760d91b60e09081526200003191600c919062000374565b5066232bff5f46c000600d819055600e556115b3600f5560036010556002601155600160125560006013819055610de36014556015556016805460ff1916905563633d8de060175563633daa006018557f0b0bb9fe82a11cfc656681511ef2ed3048f5201f87208bf1d8919ac7cb42dc6a601b55348015620000b257600080fd5b506040518060400160405280600b81526020016a10d85d995b585b8813919560aa1b8152506040518060400160405280600781526020016621a0ab22a6a0a760c91b81525060c8600f5460008111620001695760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001cb5760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000160565b8351620001e090600190602087019062000374565b508251620001f690600290602086019062000374565b5060a091909152608052506200020e90503362000282565b6001600955601980546001600160a01b0319167329af568493d19ecd9443826425bebc10a746a28b179055600a601a556040805160208101909152600081526200025890620002d4565b6200027c6040518060800160405280604181526020016200393e60419139620002f7565b62000457565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002de62000316565b8051620002f390600a90602084019062000374565b5050565b6200030162000316565b8051620002f390600b90602084019062000374565b6008546001600160a01b03163314620003725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000160565b565b82805462000382906200041a565b90600052602060002090601f016020900481019282620003a65760008555620003f1565b82601f10620003c157805160ff1916838001178555620003f1565b82800160010185558215620003f1579182015b82811115620003f1578251825591602001919060010190620003d4565b50620003ff92915062000403565b5090565b5b80821115620003ff576000815560010162000404565b600181811c908216806200042f57607f821691505b602082108114156200045157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516134b662000488600039600081816124610152818161248b01526128f50152600050506134b66000f3fe6080604052600436106103ce5760003560e01c80636352211e116101fd578063b88d4fde11610118578063d2cab056116100ab578063da3ef23f1161007a578063da3ef23f14610ad9578063e985e9c514610af9578063f2c4ce1e14610b42578063f2fde38b14610b62578063f5aa406d14610b8257600080fd5b8063d2cab05614610a84578063d5abeb0114610a97578063d70a28d114610aad578063d7224ba014610ac357600080fd5b8063c87b56dd116100e7578063c87b56dd14610a04578063c933fc7c14610a24578063ca1e63ee14610a44578063d1d1921314610a6457600080fd5b8063b88d4fde14610999578063b8dde112146109b9578063be9feb30146109d9578063c6682862146109ef57600080fd5b80638dc251e311610190578063a22cb4651161015f578063a22cb46514610919578063a85b990514610939578063acf2dfc914610959578063ad2f852a1461097957600080fd5b80638dc251e3146108bb57806395d89b41146108db5780639f67756d146108f0578063a0712d681461090657600080fd5b8063715018a6116101cc578063715018a6146108425780637501f7411461085757806377b9016f1461086d5780638da5cb5b1461089d57600080fd5b80636352211e146107da5780636b3416a2146107fa5780636c0360eb1461080d57806370a082311461082257600080fd5b80632f745c59116102ed578063542dfa57116102805780635b70ea9f1161024f5780635b70ea9f146107745780635c975abb1461078a5780635fd1bbc4146107a457806361ba27da146107ba57600080fd5b8063542dfa571461071257806354c06aee1461072857806355f804b31461073e57806359dca7c91461075e57600080fd5b806344a0d68a116102bc57806344a0d68a146106825780634650b459146106a25780634c739afe146106d25780634f6ccce7146106f257600080fd5b80632f745c591461060d5780633ccfd60b1461062d57806342842e0e14610635578063438b63001461065557600080fd5b806318160ddd11610365578063241241e911610334578063241241e9146105785780632a3a1925146105985780632a55205a146105ae5780632bd2cf45146105ed57600080fd5b806318160ddd146104fd5780631cbea6a214610512578063233da0e01461054257806323b872dd1461055857600080fd5b8063081c8c44116103a1578063081c8c4414610484578063095ea7b31461049957806313faede6146104b9578063163e1e61146104dd57600080fd5b806301ffc9a7146103d357806302329a291461040857806306fdde031461042a578063081812fc1461044c575b600080fd5b3480156103df57600080fd5b506103f36103ee366004612f60565b610ba2565b60405190151581526020015b60405180910390f35b34801561041457600080fd5b50610428610423366004612f2c565b610c0f565b005b34801561043657600080fd5b5061043f610c2a565b6040516103ff91906131c0565b34801561045857600080fd5b5061046c610467366004612f47565b610cbc565b6040516001600160a01b0390911681526020016103ff565b34801561049057600080fd5b5061043f610d4c565b3480156104a557600080fd5b506104286104b4366004612ec1565b610dda565b3480156104c557600080fd5b506104cf600e5481565b6040519081526020016103ff565b3480156104e957600080fd5b506104286104f8366004612eeb565b610ef2565b34801561050957600080fd5b506000546104cf565b34801561051e57600080fd5b506103f361052d366004612d92565b601c6020526000908152604090205460ff1681565b34801561054e57600080fd5b506104cf60145481565b34801561056457600080fd5b50610428610573366004612de0565b610f7d565b34801561058457600080fd5b50610428610593366004612f47565b610f88565b3480156105a457600080fd5b506104cf60135481565b3480156105ba57600080fd5b506105ce6105c936600461302d565b611027565b604080516001600160a01b0390931683526020830191909152016103ff565b3480156105f957600080fd5b50610428610608366004612f47565b6110ab565b34801561061957600080fd5b506104cf610628366004612ec1565b6110b8565b610428611225565b34801561064157600080fd5b50610428610650366004612de0565b611253565b34801561066157600080fd5b50610675610670366004612d92565b61126e565b6040516103ff919061317c565b34801561068e57600080fd5b5061042861069d366004612f47565b61130f565b3480156106ae57600080fd5b506103f36106bd366004612d92565b601e6020526000908152604090205460ff1681565b3480156106de57600080fd5b506104286106ed366004612f47565b61131c565b3480156106fe57600080fd5b506104cf61070d366004612f47565b611329565b34801561071e57600080fd5b506104cf60155481565b34801561073457600080fd5b506104cf601b5481565b34801561074a57600080fd5b50610428610759366004612f9a565b61138b565b34801561076a57600080fd5b506104cf60115481565b34801561078057600080fd5b506104cf60125481565b34801561079657600080fd5b506016546103f39060ff1681565b3480156107b057600080fd5b506104cf60185481565b3480156107c657600080fd5b506104286107d5366004612f47565b6113aa565b3480156107e657600080fd5b5061046c6107f5366004612f47565b6113b7565b34801561080657600080fd5b50426104cf565b34801561081957600080fd5b5061043f6113c9565b34801561082e57600080fd5b506104cf61083d366004612d92565b6113d6565b34801561084e57600080fd5b50610428611467565b34801561086357600080fd5b506104cf60105481565b34801561087957600080fd5b506103f3610888366004612f47565b601d6020526000908152604090205460ff1681565b3480156108a957600080fd5b506008546001600160a01b031661046c565b3480156108c757600080fd5b506104286108d6366004612d92565b611479565b3480156108e757600080fd5b5061043f6114a3565b3480156108fc57600080fd5b506104cf601a5481565b610428610914366004612f47565b6114b2565b34801561092557600080fd5b50610428610934366004612e97565b6116d6565b34801561094557600080fd5b50610428610954366004612f47565b61179b565b34801561096557600080fd5b50610428610974366004612f47565b6117a8565b34801561098557600080fd5b5060195461046c906001600160a01b031681565b3480156109a557600080fd5b506104286109b4366004612e1c565b611802565b3480156109c557600080fd5b506103f36109d4366004612eeb565b61183b565b3480156109e557600080fd5b506104cf60175481565b3480156109fb57600080fd5b5061043f611884565b348015610a1057600080fd5b5061043f610a1f366004612f47565b611891565b348015610a3057600080fd5b50610428610a3f366004612f47565b6119fb565b348015610a5057600080fd5b50610428610a5f366004612f47565b611a95565b348015610a7057600080fd5b50610428610a7f366004612f47565b611afc565b610428610a92366004612fe2565b611b09565b348015610aa357600080fd5b506104cf600f5481565b348015610ab957600080fd5b506104cf600d5481565b348015610acf57600080fd5b506104cf60075481565b348015610ae557600080fd5b50610428610af4366004612f9a565b611ec3565b348015610b0557600080fd5b506103f3610b14366004612dad565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610b4e57600080fd5b50610428610b5d366004612f9a565b611ede565b348015610b6e57600080fd5b50610428610b7d366004612d92565b611ef9565b348015610b8e57600080fd5b50610428610b9d366004612f47565b611f6f565b60006001600160e01b031982166380ac58cd60e01b1480610bd357506001600160e01b03198216635b5e139f60e01b145b80610bee57506001600160e01b0319821663780e9d6360e01b145b80610c0957506301ffc9a760e01b6001600160e01b03198316145b92915050565b610c17611f7c565b6016805460ff1916911515919091179055565b606060018054610c39906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906133a8565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b5050505050905090565b6000610cc9826000541190565b610d305760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600b8054610d59906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d85906133a8565b8015610dd25780601f10610da757610100808354040283529160200191610dd2565b820191906000526020600020905b815481529060010190602001808311610db557829003601f168201915b505050505081565b6000610de5826113b7565b9050806001600160a01b0316836001600160a01b03161415610e545760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610d27565b336001600160a01b0382161480610e705750610e708133610b14565b610ee25760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d27565b610eed838383611fd6565b505050565b610efa611f7c565b600f5481610f0760005490565b610f1191906132db565b1115610f2f5760405162461bcd60e51b8152600401610d2790613200565b60005b81811015610eed57610f6b838383818110610f4f57610f4f61343e565b9050602002016020810190610f649190612d92565b6001612032565b80610f75816133e3565b915050610f32565b610eed83838361204c565b33610f92826113b7565b6001600160a01b031614610fb85760405162461bcd60e51b8152600401610d2790613280565b6000818152601d602052604090205460ff16151560011461100f5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc8139bdd0814dd185ad959607a1b6044820152606401610d27565b6000908152601d60205260409020805460ff19169055565b600080611035846000541190565b6110765760405162461bcd60e51b81526020600482015260126024820152712737b716b2bc34b9ba32b73a103a37b5b2b760711b6044820152606401610d27565b601954601a546001600160a01b03909116906064906110959086613307565b61109f91906132f3565b915091505b9250929050565b6110b3611f7c565b601755565b60006110c3836113d6565b821061111c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610d27565b600080549080805b838110156111c5576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561117657805192505b876001600160a01b0316836001600160a01b031614156111b257868414156111a457509350610c0992505050565b836111ae816133e3565b9450505b50806111bd816133e3565b915050611124565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610d27565b61122d611f7c565b60405133904780156108fc02916000818181858888f1935050505061125157600080fd5b565b610eed83838360405180602001604052806000815250611802565b6060600061127b836113d6565b90506000816001600160401b0381111561129757611297613454565b6040519080825280602002602001820160405280156112c0578160200160208202803683370190505b50905060005b82811015611307576112d885826110b8565b8282815181106112ea576112ea61343e565b6020908102919091010152806112ff816133e3565b9150506112c6565b509392505050565b611317611f7c565b600e55565b611324611f7c565b601855565b6000805482106113875760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610d27565b5090565b611393611f7c565b80516113a690600a906020840190612c1d565b5050565b6113b2611f7c565b601a55565b60006113c2826123df565b5192915050565b600a8054610d59906133a8565b60006001600160a01b0382166114425760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610d27565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b61146f611f7c565b6112516000612588565b611481611f7c565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610c39906133a8565b600260095414156115055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d27565b60026009553233146115445760405162461bcd60e51b8152602060048201526008602482015267454f41204f6e6c7960c01b6044820152606401610d27565b60005460165460ff16156115885760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d0814185d5cd95960aa1b6044820152606401610d27565b6018544210156115ce5760405162461bcd60e51b8152602060048201526011602482015270135a5b9d08139bdd0813dc195b8816595d607a1b6044820152606401610d27565b600082116115ee5760405162461bcd60e51b8152600401610d27906131d3565b6010548211156116375760405162461bcd60e51b815260206004820152601460248201527309ad2dce84082dadeeadce840a8dede4090d2ced60631b6044820152606401610d27565b600f5461164483836132db565b11156116625760405162461bcd60e51b8152600401610d2790613200565b6008546001600160a01b031633146116c35781600e546116829190613307565b3410156116c35760405162461bcd60e51b815260206004820152600f60248201526e0acc2d8eaca409cdee8409ac2e8c6d608b1b6044820152606401610d27565b6116cd3383612032565b50506001600955565b6001600160a01b03821633141561172f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d27565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117a3611f7c565b601355565b336117b2826113b7565b6001600160a01b0316146117d85760405162461bcd60e51b8152600401610d2790613280565b336000818152601e60205260409020805460ff191660011790556117ff9061dead83611253565b50565b61180d84848461204c565b611819848484846125da565b6118355760405162461bcd60e51b8152600401610d279061322d565b50505050565b600061187d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b5491506126e89050565b9392505050565b600c8054610d59906133a8565b606061189e826000541190565b6119025760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d27565b601354821061199d57600b8054611918906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611944906133a8565b80156119915780601f1061196657610100808354040283529160200191611991565b820191906000526020600020905b81548152906001019060200180831161197457829003601f168201915b50505050509050919050565b60006119a761272c565b905060008151116119c7576040518060200160405280600081525061187d565b806119d18461273b565b600c6040516020016119e59392919061307b565b6040516020818303038152906040529392505050565b33611a05826113b7565b6001600160a01b031614611a2b5760405162461bcd60e51b8152600401610d2790613280565b6000818152601d602052604090205460ff1615611a7a5760405162461bcd60e51b815260206004820152600d60248201526c139195081a5cc814dd185ad959609a1b6044820152606401610d27565b6000908152601d60205260409020805460ff19166001179055565b611a9d611f7c565b60008111611abd5760405162461bcd60e51b8152600401610d27906131d3565b600f5481611aca60005490565b611ad491906132db565b1115611af25760405162461bcd60e51b8152600401610d2790613200565b6117ff3382612032565b611b04611f7c565b600d55565b60026009541415611b5c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d27565b6002600955323314611b9b5760405162461bcd60e51b8152602060048201526008602482015267454f41204f6e6c7960c01b6044820152606401610d27565b611bdb82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b5491506126e89050565b611c1e5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610d27565b60165460ff1615611c5f5760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d0814185d5cd95960aa1b6044820152606401610d27565b601754421015611ca55760405162461bcd60e51b8152602060048201526011602482015270135a5b9d08139bdd0813dc195b8816595d607a1b6044820152606401610d27565b60008311611cc55760405162461bcd60e51b8152600401610d27906131d3565b601154831115611d0e5760405162461bcd60e51b815260206004820152601460248201527309ad2dce84082dadeeadce840a8dede4090d2ced60631b6044820152606401610d27565b6014546015541115611d6c5760405162461bcd60e51b815260206004820152602160248201527f4d61782057686974656c697374205472616e73616374696f6e205265616368656044820152601960fa1b6064820152608401610d27565b600f5483611d7960005490565b611d8391906132db565b1115611da15760405162461bcd60e51b8152600401610d2790613200565b336000908152601c602052604090205460ff1615611df95760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d08105b1c9958591e48135a5b9d1959605a1b6044820152606401610d27565b6008546001600160a01b03163314611e6657601254611e18908461334e565b600d54611e259190613307565b341015611e665760405162461bcd60e51b815260206004820152600f60248201526e0acc2d8eaca409cdee8409ac2e8c6d608b1b6044820152606401610d27565b336000908152601c602052604090205460ff16611e9857336000908152601c60205260409020805460ff191660011790555b611ea23384612032565b60158054906000611eb2836133e3565b909155506015555050600160095550565b611ecb611f7c565b80516113a690600c906020840190612c1d565b611ee6611f7c565b80516113a690600b906020840190612c1d565b611f01611f7c565b6001600160a01b038116611f665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d27565b6117ff81612588565b611f77611f7c565b601b55565b6008546001600160a01b031633146112515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d27565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6113a6828260405180602001604052806000815250612838565b6000612057826123df565b80519091506000906001600160a01b0316336001600160a01b0316148061208e57503361208384610cbc565b6001600160a01b0316145b806120a0575081516120a09033610b14565b90508061210a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610d27565b846001600160a01b031682600001516001600160a01b03161461217e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610d27565b6001600160a01b0384166121e25760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610d27565b6121ef8585856001612b1f565b6121ff6000848460000151611fd6565b6001600160a01b03851660009081526004602052604081208054600192906122319084906001600160801b0316613326565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261227d918591166132b0565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556123048460016132db565b6000818152600360205260409020549091506001600160a01b03166123955761232e816000541190565b156123955760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051808201909152600080825260208201526123fe826000541190565b61245d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610d27565b60007f000000000000000000000000000000000000000000000000000000000000000083106124be576124b07f00000000000000000000000000000000000000000000000000000000000000008461334e565b6124bb9060016132db565b90505b825b818110612527576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561251457949350505050565b508061251f81613391565b9150506124c0565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610d27565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156126dc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061261e90339089908890889060040161313f565b602060405180830381600087803b15801561263857600080fd5b505af1925050508015612668575060408051601f3d908101601f1916820190925261266591810190612f7d565b60015b6126c2573d808015612696576040519150601f19603f3d011682016040523d82523d6000602084013e61269b565b606091505b5080516126ba5760405162461bcd60e51b8152600401610d279061322d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126e0565b5060015b949350505050565b6040516bffffffffffffffffffffffff193360601b16602082015260009061187d908490849060340160405160208183030381529060405280519060200120612b93565b6060600a8054610c39906133a8565b60608161275f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156127895780612773816133e3565b91506127829050600a836132f3565b9150612763565b6000816001600160401b038111156127a3576127a3613454565b6040519080825280601f01601f1916602001820160405280156127cd576020820181803683370190505b5090505b84156126e0576127e260018361334e565b91506127ef600a866133fe565b6127fa9060306132db565b60f81b81838151811061280f5761280f61343e565b60200101906001600160f81b031916908160001a905350612831600a866132f3565b94506127d1565b6000546001600160a01b03841661289b5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610d27565b6128a6816000541190565b156128f35760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d27565b7f000000000000000000000000000000000000000000000000000000000000000083111561296e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610d27565b61297b6000858386612b1f565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906129d79087906132b0565b6001600160801b031681526020018583602001516129f591906132b0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612b145760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612ad860008884886125da565b612af45760405162461bcd60e51b8152600401610d279061322d565b81612afe816133e3565b9250508080612b0c906133e3565b915050612a8b565b5060008190556123d7565b816000612b2c83836132db565b90505b808210156123d7576000828152601d602052604090205460ff1615612b835760405162461bcd60e51b815260206004820152600a60248201526913999d0814dd185ad95960b21b6044820152606401610d27565b612b8c826133e3565b9150612b2f565b600082612ba08584612ba9565b14949350505050565b600081815b845181101561130757612bda82868381518110612bcd57612bcd61343e565b6020026020010151612bee565b915080612be6816133e3565b915050612bae565b6000818310612c0a57600082815260208490526040902061187d565b600083815260208390526040902061187d565b828054612c29906133a8565b90600052602060002090601f016020900481019282612c4b5760008555612c91565b82601f10612c6457805160ff1916838001178555612c91565b82800160010185558215612c91579182015b82811115612c91578251825591602001919060010190612c76565b506113879291505b808211156113875760008155600101612c99565b60006001600160401b0380841115612cc757612cc7613454565b604051601f8501601f19908116603f01168101908282118183101715612cef57612cef613454565b81604052809350858152868686011115612d0857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612d3957600080fd5b919050565b60008083601f840112612d5057600080fd5b5081356001600160401b03811115612d6757600080fd5b6020830191508360208260051b85010111156110a457600080fd5b80358015158114612d3957600080fd5b600060208284031215612da457600080fd5b61187d82612d22565b60008060408385031215612dc057600080fd5b612dc983612d22565b9150612dd760208401612d22565b90509250929050565b600080600060608486031215612df557600080fd5b612dfe84612d22565b9250612e0c60208501612d22565b9150604084013590509250925092565b60008060008060808587031215612e3257600080fd5b612e3b85612d22565b9350612e4960208601612d22565b92506040850135915060608501356001600160401b03811115612e6b57600080fd5b8501601f81018713612e7c57600080fd5b612e8b87823560208401612cad565b91505092959194509250565b60008060408385031215612eaa57600080fd5b612eb383612d22565b9150612dd760208401612d82565b60008060408385031215612ed457600080fd5b612edd83612d22565b946020939093013593505050565b60008060208385031215612efe57600080fd5b82356001600160401b03811115612f1457600080fd5b612f2085828601612d3e565b90969095509350505050565b600060208284031215612f3e57600080fd5b61187d82612d82565b600060208284031215612f5957600080fd5b5035919050565b600060208284031215612f7257600080fd5b813561187d8161346a565b600060208284031215612f8f57600080fd5b815161187d8161346a565b600060208284031215612fac57600080fd5b81356001600160401b03811115612fc257600080fd5b8201601f81018413612fd357600080fd5b6126e084823560208401612cad565b600080600060408486031215612ff757600080fd5b8335925060208401356001600160401b0381111561301457600080fd5b61302086828701612d3e565b9497909650939450505050565b6000806040838503121561304057600080fd5b50508035926020909101359150565b60008151808452613067816020860160208601613365565b601f01601f19169290920160200192915050565b60008451602061308e8285838a01613365565b8551918401916130a18184848a01613365565b8554920191600090600181811c90808316806130be57607f831692505b8583108114156130dc57634e487b7160e01b85526022600452602485fd5b8080156130f057600181146131015761312e565b60ff1985168852838801955061312e565b60008b81526020902060005b858110156131265781548a82015290840190880161310d565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131729083018461304f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156131b457835183529284019291840191600101613198565b50909695505050505050565b60208152600061187d602083018461304f565b602080825260139082015272125b9d985b1a5908135a5b9d08105b5bdd5b9d606a1b604082015260600190565b602080825260139082015272139bdd08115b9bdd59da08139195081319599d606a1b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b602080825260169082015275165bdd48191bc81b9bdd081bdddb881d1a194813919560521b604082015260600190565b60006001600160801b038083168185168083038211156132d2576132d2613412565b01949350505050565b600082198211156132ee576132ee613412565b500190565b60008261330257613302613428565b500490565b600081600019048311821515161561332157613321613412565b500290565b60006001600160801b038381169083168181101561334657613346613412565b039392505050565b60008282101561336057613360613412565b500390565b60005b83811015613380578181015183820152602001613368565b838111156118355750506000910152565b6000816133a0576133a0613412565b506000190190565b600181811c908216806133bc57607f821691505b602082108114156133dd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133f7576133f7613412565b5060010190565b60008261340d5761340d613428565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117ff57600080fdfea26469706673582212207ed0ccc655860ac3655a6e2d900f7f0e8cc1c95d2225102b83848b50ce058a4a64736f6c63430008070033697066733a2f2f516d624d33707a463148446162684c695963486f47704a52737a7a6978386571336244586d4e693668564d5847762f68696464656e2e6a736f6e
Deployed Bytecode
0x6080604052600436106103ce5760003560e01c80636352211e116101fd578063b88d4fde11610118578063d2cab056116100ab578063da3ef23f1161007a578063da3ef23f14610ad9578063e985e9c514610af9578063f2c4ce1e14610b42578063f2fde38b14610b62578063f5aa406d14610b8257600080fd5b8063d2cab05614610a84578063d5abeb0114610a97578063d70a28d114610aad578063d7224ba014610ac357600080fd5b8063c87b56dd116100e7578063c87b56dd14610a04578063c933fc7c14610a24578063ca1e63ee14610a44578063d1d1921314610a6457600080fd5b8063b88d4fde14610999578063b8dde112146109b9578063be9feb30146109d9578063c6682862146109ef57600080fd5b80638dc251e311610190578063a22cb4651161015f578063a22cb46514610919578063a85b990514610939578063acf2dfc914610959578063ad2f852a1461097957600080fd5b80638dc251e3146108bb57806395d89b41146108db5780639f67756d146108f0578063a0712d681461090657600080fd5b8063715018a6116101cc578063715018a6146108425780637501f7411461085757806377b9016f1461086d5780638da5cb5b1461089d57600080fd5b80636352211e146107da5780636b3416a2146107fa5780636c0360eb1461080d57806370a082311461082257600080fd5b80632f745c59116102ed578063542dfa57116102805780635b70ea9f1161024f5780635b70ea9f146107745780635c975abb1461078a5780635fd1bbc4146107a457806361ba27da146107ba57600080fd5b8063542dfa571461071257806354c06aee1461072857806355f804b31461073e57806359dca7c91461075e57600080fd5b806344a0d68a116102bc57806344a0d68a146106825780634650b459146106a25780634c739afe146106d25780634f6ccce7146106f257600080fd5b80632f745c591461060d5780633ccfd60b1461062d57806342842e0e14610635578063438b63001461065557600080fd5b806318160ddd11610365578063241241e911610334578063241241e9146105785780632a3a1925146105985780632a55205a146105ae5780632bd2cf45146105ed57600080fd5b806318160ddd146104fd5780631cbea6a214610512578063233da0e01461054257806323b872dd1461055857600080fd5b8063081c8c44116103a1578063081c8c4414610484578063095ea7b31461049957806313faede6146104b9578063163e1e61146104dd57600080fd5b806301ffc9a7146103d357806302329a291461040857806306fdde031461042a578063081812fc1461044c575b600080fd5b3480156103df57600080fd5b506103f36103ee366004612f60565b610ba2565b60405190151581526020015b60405180910390f35b34801561041457600080fd5b50610428610423366004612f2c565b610c0f565b005b34801561043657600080fd5b5061043f610c2a565b6040516103ff91906131c0565b34801561045857600080fd5b5061046c610467366004612f47565b610cbc565b6040516001600160a01b0390911681526020016103ff565b34801561049057600080fd5b5061043f610d4c565b3480156104a557600080fd5b506104286104b4366004612ec1565b610dda565b3480156104c557600080fd5b506104cf600e5481565b6040519081526020016103ff565b3480156104e957600080fd5b506104286104f8366004612eeb565b610ef2565b34801561050957600080fd5b506000546104cf565b34801561051e57600080fd5b506103f361052d366004612d92565b601c6020526000908152604090205460ff1681565b34801561054e57600080fd5b506104cf60145481565b34801561056457600080fd5b50610428610573366004612de0565b610f7d565b34801561058457600080fd5b50610428610593366004612f47565b610f88565b3480156105a457600080fd5b506104cf60135481565b3480156105ba57600080fd5b506105ce6105c936600461302d565b611027565b604080516001600160a01b0390931683526020830191909152016103ff565b3480156105f957600080fd5b50610428610608366004612f47565b6110ab565b34801561061957600080fd5b506104cf610628366004612ec1565b6110b8565b610428611225565b34801561064157600080fd5b50610428610650366004612de0565b611253565b34801561066157600080fd5b50610675610670366004612d92565b61126e565b6040516103ff919061317c565b34801561068e57600080fd5b5061042861069d366004612f47565b61130f565b3480156106ae57600080fd5b506103f36106bd366004612d92565b601e6020526000908152604090205460ff1681565b3480156106de57600080fd5b506104286106ed366004612f47565b61131c565b3480156106fe57600080fd5b506104cf61070d366004612f47565b611329565b34801561071e57600080fd5b506104cf60155481565b34801561073457600080fd5b506104cf601b5481565b34801561074a57600080fd5b50610428610759366004612f9a565b61138b565b34801561076a57600080fd5b506104cf60115481565b34801561078057600080fd5b506104cf60125481565b34801561079657600080fd5b506016546103f39060ff1681565b3480156107b057600080fd5b506104cf60185481565b3480156107c657600080fd5b506104286107d5366004612f47565b6113aa565b3480156107e657600080fd5b5061046c6107f5366004612f47565b6113b7565b34801561080657600080fd5b50426104cf565b34801561081957600080fd5b5061043f6113c9565b34801561082e57600080fd5b506104cf61083d366004612d92565b6113d6565b34801561084e57600080fd5b50610428611467565b34801561086357600080fd5b506104cf60105481565b34801561087957600080fd5b506103f3610888366004612f47565b601d6020526000908152604090205460ff1681565b3480156108a957600080fd5b506008546001600160a01b031661046c565b3480156108c757600080fd5b506104286108d6366004612d92565b611479565b3480156108e757600080fd5b5061043f6114a3565b3480156108fc57600080fd5b506104cf601a5481565b610428610914366004612f47565b6114b2565b34801561092557600080fd5b50610428610934366004612e97565b6116d6565b34801561094557600080fd5b50610428610954366004612f47565b61179b565b34801561096557600080fd5b50610428610974366004612f47565b6117a8565b34801561098557600080fd5b5060195461046c906001600160a01b031681565b3480156109a557600080fd5b506104286109b4366004612e1c565b611802565b3480156109c557600080fd5b506103f36109d4366004612eeb565b61183b565b3480156109e557600080fd5b506104cf60175481565b3480156109fb57600080fd5b5061043f611884565b348015610a1057600080fd5b5061043f610a1f366004612f47565b611891565b348015610a3057600080fd5b50610428610a3f366004612f47565b6119fb565b348015610a5057600080fd5b50610428610a5f366004612f47565b611a95565b348015610a7057600080fd5b50610428610a7f366004612f47565b611afc565b610428610a92366004612fe2565b611b09565b348015610aa357600080fd5b506104cf600f5481565b348015610ab957600080fd5b506104cf600d5481565b348015610acf57600080fd5b506104cf60075481565b348015610ae557600080fd5b50610428610af4366004612f9a565b611ec3565b348015610b0557600080fd5b506103f3610b14366004612dad565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610b4e57600080fd5b50610428610b5d366004612f9a565b611ede565b348015610b6e57600080fd5b50610428610b7d366004612d92565b611ef9565b348015610b8e57600080fd5b50610428610b9d366004612f47565b611f6f565b60006001600160e01b031982166380ac58cd60e01b1480610bd357506001600160e01b03198216635b5e139f60e01b145b80610bee57506001600160e01b0319821663780e9d6360e01b145b80610c0957506301ffc9a760e01b6001600160e01b03198316145b92915050565b610c17611f7c565b6016805460ff1916911515919091179055565b606060018054610c39906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906133a8565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b5050505050905090565b6000610cc9826000541190565b610d305760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600b8054610d59906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d85906133a8565b8015610dd25780601f10610da757610100808354040283529160200191610dd2565b820191906000526020600020905b815481529060010190602001808311610db557829003601f168201915b505050505081565b6000610de5826113b7565b9050806001600160a01b0316836001600160a01b03161415610e545760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610d27565b336001600160a01b0382161480610e705750610e708133610b14565b610ee25760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d27565b610eed838383611fd6565b505050565b610efa611f7c565b600f5481610f0760005490565b610f1191906132db565b1115610f2f5760405162461bcd60e51b8152600401610d2790613200565b60005b81811015610eed57610f6b838383818110610f4f57610f4f61343e565b9050602002016020810190610f649190612d92565b6001612032565b80610f75816133e3565b915050610f32565b610eed83838361204c565b33610f92826113b7565b6001600160a01b031614610fb85760405162461bcd60e51b8152600401610d2790613280565b6000818152601d602052604090205460ff16151560011461100f5760405162461bcd60e51b8152602060048201526011602482015270139195081a5cc8139bdd0814dd185ad959607a1b6044820152606401610d27565b6000908152601d60205260409020805460ff19169055565b600080611035846000541190565b6110765760405162461bcd60e51b81526020600482015260126024820152712737b716b2bc34b9ba32b73a103a37b5b2b760711b6044820152606401610d27565b601954601a546001600160a01b03909116906064906110959086613307565b61109f91906132f3565b915091505b9250929050565b6110b3611f7c565b601755565b60006110c3836113d6565b821061111c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610d27565b600080549080805b838110156111c5576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561117657805192505b876001600160a01b0316836001600160a01b031614156111b257868414156111a457509350610c0992505050565b836111ae816133e3565b9450505b50806111bd816133e3565b915050611124565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610d27565b61122d611f7c565b60405133904780156108fc02916000818181858888f1935050505061125157600080fd5b565b610eed83838360405180602001604052806000815250611802565b6060600061127b836113d6565b90506000816001600160401b0381111561129757611297613454565b6040519080825280602002602001820160405280156112c0578160200160208202803683370190505b50905060005b82811015611307576112d885826110b8565b8282815181106112ea576112ea61343e565b6020908102919091010152806112ff816133e3565b9150506112c6565b509392505050565b611317611f7c565b600e55565b611324611f7c565b601855565b6000805482106113875760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610d27565b5090565b611393611f7c565b80516113a690600a906020840190612c1d565b5050565b6113b2611f7c565b601a55565b60006113c2826123df565b5192915050565b600a8054610d59906133a8565b60006001600160a01b0382166114425760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610d27565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b61146f611f7c565b6112516000612588565b611481611f7c565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610c39906133a8565b600260095414156115055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d27565b60026009553233146115445760405162461bcd60e51b8152602060048201526008602482015267454f41204f6e6c7960c01b6044820152606401610d27565b60005460165460ff16156115885760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d0814185d5cd95960aa1b6044820152606401610d27565b6018544210156115ce5760405162461bcd60e51b8152602060048201526011602482015270135a5b9d08139bdd0813dc195b8816595d607a1b6044820152606401610d27565b600082116115ee5760405162461bcd60e51b8152600401610d27906131d3565b6010548211156116375760405162461bcd60e51b815260206004820152601460248201527309ad2dce84082dadeeadce840a8dede4090d2ced60631b6044820152606401610d27565b600f5461164483836132db565b11156116625760405162461bcd60e51b8152600401610d2790613200565b6008546001600160a01b031633146116c35781600e546116829190613307565b3410156116c35760405162461bcd60e51b815260206004820152600f60248201526e0acc2d8eaca409cdee8409ac2e8c6d608b1b6044820152606401610d27565b6116cd3383612032565b50506001600955565b6001600160a01b03821633141561172f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d27565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117a3611f7c565b601355565b336117b2826113b7565b6001600160a01b0316146117d85760405162461bcd60e51b8152600401610d2790613280565b336000818152601e60205260409020805460ff191660011790556117ff9061dead83611253565b50565b61180d84848461204c565b611819848484846125da565b6118355760405162461bcd60e51b8152600401610d279061322d565b50505050565b600061187d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b5491506126e89050565b9392505050565b600c8054610d59906133a8565b606061189e826000541190565b6119025760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d27565b601354821061199d57600b8054611918906133a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611944906133a8565b80156119915780601f1061196657610100808354040283529160200191611991565b820191906000526020600020905b81548152906001019060200180831161197457829003601f168201915b50505050509050919050565b60006119a761272c565b905060008151116119c7576040518060200160405280600081525061187d565b806119d18461273b565b600c6040516020016119e59392919061307b565b6040516020818303038152906040529392505050565b33611a05826113b7565b6001600160a01b031614611a2b5760405162461bcd60e51b8152600401610d2790613280565b6000818152601d602052604090205460ff1615611a7a5760405162461bcd60e51b815260206004820152600d60248201526c139195081a5cc814dd185ad959609a1b6044820152606401610d27565b6000908152601d60205260409020805460ff19166001179055565b611a9d611f7c565b60008111611abd5760405162461bcd60e51b8152600401610d27906131d3565b600f5481611aca60005490565b611ad491906132db565b1115611af25760405162461bcd60e51b8152600401610d2790613200565b6117ff3382612032565b611b04611f7c565b600d55565b60026009541415611b5c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d27565b6002600955323314611b9b5760405162461bcd60e51b8152602060048201526008602482015267454f41204f6e6c7960c01b6044820152606401610d27565b611bdb82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b5491506126e89050565b611c1e5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610d27565b60165460ff1615611c5f5760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d0814185d5cd95960aa1b6044820152606401610d27565b601754421015611ca55760405162461bcd60e51b8152602060048201526011602482015270135a5b9d08139bdd0813dc195b8816595d607a1b6044820152606401610d27565b60008311611cc55760405162461bcd60e51b8152600401610d27906131d3565b601154831115611d0e5760405162461bcd60e51b815260206004820152601460248201527309ad2dce84082dadeeadce840a8dede4090d2ced60631b6044820152606401610d27565b6014546015541115611d6c5760405162461bcd60e51b815260206004820152602160248201527f4d61782057686974656c697374205472616e73616374696f6e205265616368656044820152601960fa1b6064820152608401610d27565b600f5483611d7960005490565b611d8391906132db565b1115611da15760405162461bcd60e51b8152600401610d2790613200565b336000908152601c602052604090205460ff1615611df95760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d08105b1c9958591e48135a5b9d1959605a1b6044820152606401610d27565b6008546001600160a01b03163314611e6657601254611e18908461334e565b600d54611e259190613307565b341015611e665760405162461bcd60e51b815260206004820152600f60248201526e0acc2d8eaca409cdee8409ac2e8c6d608b1b6044820152606401610d27565b336000908152601c602052604090205460ff16611e9857336000908152601c60205260409020805460ff191660011790555b611ea23384612032565b60158054906000611eb2836133e3565b909155506015555050600160095550565b611ecb611f7c565b80516113a690600c906020840190612c1d565b611ee6611f7c565b80516113a690600b906020840190612c1d565b611f01611f7c565b6001600160a01b038116611f665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d27565b6117ff81612588565b611f77611f7c565b601b55565b6008546001600160a01b031633146112515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d27565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6113a6828260405180602001604052806000815250612838565b6000612057826123df565b80519091506000906001600160a01b0316336001600160a01b0316148061208e57503361208384610cbc565b6001600160a01b0316145b806120a0575081516120a09033610b14565b90508061210a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610d27565b846001600160a01b031682600001516001600160a01b03161461217e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610d27565b6001600160a01b0384166121e25760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610d27565b6121ef8585856001612b1f565b6121ff6000848460000151611fd6565b6001600160a01b03851660009081526004602052604081208054600192906122319084906001600160801b0316613326565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261227d918591166132b0565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556123048460016132db565b6000818152600360205260409020549091506001600160a01b03166123955761232e816000541190565b156123955760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051808201909152600080825260208201526123fe826000541190565b61245d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610d27565b60007f00000000000000000000000000000000000000000000000000000000000000c883106124be576124b07f00000000000000000000000000000000000000000000000000000000000000c88461334e565b6124bb9060016132db565b90505b825b818110612527576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561251457949350505050565b508061251f81613391565b9150506124c0565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610d27565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156126dc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061261e90339089908890889060040161313f565b602060405180830381600087803b15801561263857600080fd5b505af1925050508015612668575060408051601f3d908101601f1916820190925261266591810190612f7d565b60015b6126c2573d808015612696576040519150601f19603f3d011682016040523d82523d6000602084013e61269b565b606091505b5080516126ba5760405162461bcd60e51b8152600401610d279061322d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126e0565b5060015b949350505050565b6040516bffffffffffffffffffffffff193360601b16602082015260009061187d908490849060340160405160208183030381529060405280519060200120612b93565b6060600a8054610c39906133a8565b60608161275f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156127895780612773816133e3565b91506127829050600a836132f3565b9150612763565b6000816001600160401b038111156127a3576127a3613454565b6040519080825280601f01601f1916602001820160405280156127cd576020820181803683370190505b5090505b84156126e0576127e260018361334e565b91506127ef600a866133fe565b6127fa9060306132db565b60f81b81838151811061280f5761280f61343e565b60200101906001600160f81b031916908160001a905350612831600a866132f3565b94506127d1565b6000546001600160a01b03841661289b5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610d27565b6128a6816000541190565b156128f35760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d27565b7f00000000000000000000000000000000000000000000000000000000000000c883111561296e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610d27565b61297b6000858386612b1f565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906129d79087906132b0565b6001600160801b031681526020018583602001516129f591906132b0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612b145760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612ad860008884886125da565b612af45760405162461bcd60e51b8152600401610d279061322d565b81612afe816133e3565b9250508080612b0c906133e3565b915050612a8b565b5060008190556123d7565b816000612b2c83836132db565b90505b808210156123d7576000828152601d602052604090205460ff1615612b835760405162461bcd60e51b815260206004820152600a60248201526913999d0814dd185ad95960b21b6044820152606401610d27565b612b8c826133e3565b9150612b2f565b600082612ba08584612ba9565b14949350505050565b600081815b845181101561130757612bda82868381518110612bcd57612bcd61343e565b6020026020010151612bee565b915080612be6816133e3565b915050612bae565b6000818310612c0a57600082815260208490526040902061187d565b600083815260208390526040902061187d565b828054612c29906133a8565b90600052602060002090601f016020900481019282612c4b5760008555612c91565b82601f10612c6457805160ff1916838001178555612c91565b82800160010185558215612c91579182015b82811115612c91578251825591602001919060010190612c76565b506113879291505b808211156113875760008155600101612c99565b60006001600160401b0380841115612cc757612cc7613454565b604051601f8501601f19908116603f01168101908282118183101715612cef57612cef613454565b81604052809350858152868686011115612d0857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612d3957600080fd5b919050565b60008083601f840112612d5057600080fd5b5081356001600160401b03811115612d6757600080fd5b6020830191508360208260051b85010111156110a457600080fd5b80358015158114612d3957600080fd5b600060208284031215612da457600080fd5b61187d82612d22565b60008060408385031215612dc057600080fd5b612dc983612d22565b9150612dd760208401612d22565b90509250929050565b600080600060608486031215612df557600080fd5b612dfe84612d22565b9250612e0c60208501612d22565b9150604084013590509250925092565b60008060008060808587031215612e3257600080fd5b612e3b85612d22565b9350612e4960208601612d22565b92506040850135915060608501356001600160401b03811115612e6b57600080fd5b8501601f81018713612e7c57600080fd5b612e8b87823560208401612cad565b91505092959194509250565b60008060408385031215612eaa57600080fd5b612eb383612d22565b9150612dd760208401612d82565b60008060408385031215612ed457600080fd5b612edd83612d22565b946020939093013593505050565b60008060208385031215612efe57600080fd5b82356001600160401b03811115612f1457600080fd5b612f2085828601612d3e565b90969095509350505050565b600060208284031215612f3e57600080fd5b61187d82612d82565b600060208284031215612f5957600080fd5b5035919050565b600060208284031215612f7257600080fd5b813561187d8161346a565b600060208284031215612f8f57600080fd5b815161187d8161346a565b600060208284031215612fac57600080fd5b81356001600160401b03811115612fc257600080fd5b8201601f81018413612fd357600080fd5b6126e084823560208401612cad565b600080600060408486031215612ff757600080fd5b8335925060208401356001600160401b0381111561301457600080fd5b61302086828701612d3e565b9497909650939450505050565b6000806040838503121561304057600080fd5b50508035926020909101359150565b60008151808452613067816020860160208601613365565b601f01601f19169290920160200192915050565b60008451602061308e8285838a01613365565b8551918401916130a18184848a01613365565b8554920191600090600181811c90808316806130be57607f831692505b8583108114156130dc57634e487b7160e01b85526022600452602485fd5b8080156130f057600181146131015761312e565b60ff1985168852838801955061312e565b60008b81526020902060005b858110156131265781548a82015290840190880161310d565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131729083018461304f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156131b457835183529284019291840191600101613198565b50909695505050505050565b60208152600061187d602083018461304f565b602080825260139082015272125b9d985b1a5908135a5b9d08105b5bdd5b9d606a1b604082015260600190565b602080825260139082015272139bdd08115b9bdd59da08139195081319599d606a1b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b602080825260169082015275165bdd48191bc81b9bdd081bdddb881d1a194813919560521b604082015260600190565b60006001600160801b038083168185168083038211156132d2576132d2613412565b01949350505050565b600082198211156132ee576132ee613412565b500190565b60008261330257613302613428565b500490565b600081600019048311821515161561332157613321613412565b500290565b60006001600160801b038381169083168181101561334657613346613412565b039392505050565b60008282101561336057613360613412565b500390565b60005b83811015613380578181015183820152602001613368565b838111156118355750506000910152565b6000816133a0576133a0613412565b506000190190565b600181811c908216806133bc57607f821691505b602082108114156133dd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133f7576133f7613412565b5060010190565b60008261340d5761340d613428565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117ff57600080fdfea26469706673582212207ed0ccc655860ac3655a6e2d900f7f0e8cc1c95d2225102b83848b50ce058a4a64736f6c63430008070033
Deployed Bytecode Sourcemap
61995:8836:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49557:370;;;;;;;;;;-1:-1:-1;49557:370:0;;;;;:::i;:::-;;:::i;:::-;;;10314:14:1;;10307:22;10289:41;;10277:2;10262:18;49557:370:0;;;;;;;;69826:79;;;;;;;;;;-1:-1:-1;69826:79:0;;;;;:::i;:::-;;:::i;:::-;;51283:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;52808:204::-;;;;;;;;;;-1:-1:-1;52808:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8696:32:1;;;8678:51;;8666:2;8651:18;52808:204:0;8532:203:1;62161:28:0;;;;;;;;;;;;;:::i;52371:379::-;;;;;;;;;;-1:-1:-1;52371:379:0;;;;;:::i;:::-;;:::i;62283:34::-;;;;;;;;;;;;;;;;;;;10487:25:1;;;10475:2;10460:18;62283:34:0;10341:177:1;65590:304:0;;;;;;;;;;-1:-1:-1;65590:304:0;;;;;:::i;:::-;;:::i;48118:94::-;;;;;;;;;;-1:-1:-1;48171:7:0;48194:12;48118:94;;62897:42;;;;;;;;;;-1:-1:-1;62897:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;62505:30;;;;;;;;;;;;;;;;53658:142;;;;;;;;;;-1:-1:-1;53658:142:0;;;;;:::i;:::-;;:::i;68455:252::-;;;;;;;;;;-1:-1:-1;68455:252:0;;;;;:::i;:::-;;:::i;62466:32::-;;;;;;;;;;;;;;;;67150:307;;;;;;;;;;-1:-1:-1;67150:307:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9425:32:1;;;9407:51;;9489:2;9474:18;;9467:34;;;;9380:18;67150:307:0;9233:274:1;70036:110:0;;;;;;;;;;-1:-1:-1;70036:110:0;;;;;:::i;:::-;;:::i;48749:744::-;;;;;;;;;;-1:-1:-1;48749:744:0;;;;;:::i;:::-;;:::i;70288:120::-;;;:::i;53863:157::-;;;;;;;;;;-1:-1:-1;53863:157:0;;;;;:::i;:::-;;:::i;67465:390::-;;;;;;;;;;-1:-1:-1;67465:390:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;69101:86::-;;;;;;;;;;-1:-1:-1;69101:86:0;;;;;:::i;:::-;;:::i;62998:49::-;;;;;;;;;;-1:-1:-1;62998:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;70154:126;;;;;;;;;;-1:-1:-1;70154:126:0;;;;;:::i;:::-;;:::i;48281:177::-;;;;;;;;;;-1:-1:-1;48281:177:0;;;;;:::i;:::-;;:::i;62542:27::-;;;;;;;;;;;;;;;;62783:105;;;;;;;;;;;;;;;;69297:104;;;;;;;;;;-1:-1:-1;69297:104:0;;;;;:::i;:::-;;:::i;62397:28::-;;;;;;;;;;;;;;;;62432:27;;;;;;;;;;;;;;;;62576:26;;;;;;;;;;-1:-1:-1;62576:26:0;;;;;;;;62657:43;;;;;;;;;;;;;;;;70584:127;;;;;;;;;;-1:-1:-1;70584:127:0;;;;;:::i;:::-;;:::i;51106:118::-;;;;;;;;;;-1:-1:-1;51106:118:0;;;;;:::i;:::-;;:::i;70719:109::-;;;;;;;;;;-1:-1:-1;70805:15:0;70719:109;;62133:21;;;;;;;;;;;;;:::i;49983:211::-;;;;;;;;;;-1:-1:-1;49983:211:0;;;;;:::i;:::-;;:::i;25767:103::-;;;;;;;;;;;;;:::i;62364:26::-;;;;;;;;;;;;;;;;62946:45;;;;;;;;;;-1:-1:-1;62946:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;25119:87;;;;;;;;;;-1:-1:-1;25192:6:0;;-1:-1:-1;;;;;25192:6:0;25119:87;;70455:121;;;;;;;;;;-1:-1:-1;70455:121:0;;;;;:::i;:::-;;:::i;51438:98::-;;;;;;;;;;;;;:::i;62745:29::-;;;;;;;;;;;;;;;;63632:591;;;;;;:::i;:::-;;:::i;53076:274::-;;;;;;;;;;-1:-1:-1;53076:274:0;;;;;:::i;:::-;;:::i;69702:116::-;;;;;;;;;;-1:-1:-1;69702:116:0;;;;;:::i;:::-;;:::i;67863:330::-;;;;;;;;;;-1:-1:-1;67863:330:0;;;;;:::i;:::-;;:::i;62709:29::-;;;;;;;;;;-1:-1:-1;62709:29:0;;;;-1:-1:-1;;;;;62709:29:0;;;54083:311;;;;;;;;;;-1:-1:-1;54083:311:0;;;;;:::i;:::-;;:::i;66642:186::-;;;;;;;;;;-1:-1:-1;66642:186:0;;;;;:::i;:::-;;:::i;62611:39::-;;;;;;;;;;;;;;;;62196:37;;;;;;;;;;;;;:::i;65902:732::-;;;;;;;;;;-1:-1:-1;65902:732:0;;;;;:::i;:::-;;:::i;68201:246::-;;;;;;;;;;-1:-1:-1;68201:246:0;;;;;:::i;:::-;;:::i;65340:242::-;;;;;;;;;;-1:-1:-1;65340:242:0;;;;;:::i;:::-;;:::i;69195:94::-;;;;;;;;;;-1:-1:-1;69195:94:0;;;;;:::i;:::-;;:::i;64231:1101::-;;;;;;:::i;:::-;;:::i;62326:31::-;;;;;;;;;;;;;;;;62240:36;;;;;;;;;;;;;;;;58498:43;;;;;;;;;;;;;;;;69543:151;;;;;;;;;;-1:-1:-1;69543:151:0;;;;;:::i;:::-;;:::i;53413:186::-;;;;;;;;;;-1:-1:-1;53413:186:0;;;;;:::i;:::-;-1:-1:-1;;;;;53558:25:0;;;53535:4;53558:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;53413:186;69409:126;;;;;;;;;;-1:-1:-1;69409:126:0;;;;;:::i;:::-;;:::i;26025:201::-;;;;;;;;;;-1:-1:-1;26025:201:0;;;;;:::i;:::-;;:::i;69913:115::-;;;;;;;;;;-1:-1:-1;69913:115:0;;;;;:::i;:::-;;:::i;49557:370::-;49684:4;-1:-1:-1;;;;;;49714:40:0;;-1:-1:-1;;;49714:40:0;;:99;;-1:-1:-1;;;;;;;49765:48:0;;-1:-1:-1;;;49765:48:0;49714:99;:160;;;-1:-1:-1;;;;;;;49824:50:0;;-1:-1:-1;;;49824:50:0;49714:160;:207;;;-1:-1:-1;;;;;;;;;;38980:40:0;;;49885:36;49700:221;49557:370;-1:-1:-1;;49557:370:0:o;69826:79::-;25005:13;:11;:13::i;:::-;69882:6:::1;:15:::0;;-1:-1:-1;;69882:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;69826:79::o;51283:94::-;51337:13;51366:5;51359:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51283:94;:::o;52808:204::-;52876:7;52900:16;52908:7;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;52900:16;52892:74;;;;-1:-1:-1;;;52892:74:0;;23787:2:1;52892:74:0;;;23769:21:1;23826:2;23806:18;;;23799:30;23865:34;23845:18;;;23838:62;-1:-1:-1;;;23916:18:1;;;23909:43;23969:19;;52892:74:0;;;;;;;;;-1:-1:-1;52982:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;52982:24:0;;52808:204::o;62161:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52371:379::-;52440:13;52456:24;52472:7;52456:15;:24::i;:::-;52440:40;;52501:5;-1:-1:-1;;;;;52495:11:0;:2;-1:-1:-1;;;;;52495:11:0;;;52487:58;;;;-1:-1:-1;;;52487:58:0;;20662:2:1;52487:58:0;;;20644:21:1;20701:2;20681:18;;;20674:30;20740:34;20720:18;;;20713:62;-1:-1:-1;;;20791:18:1;;;20784:32;20833:19;;52487:58:0;20460:398:1;52487:58:0;23750:10;-1:-1:-1;;;;;52570:21:0;;;;:62;;-1:-1:-1;52595:37:0;52612:5;23750:10;53413:186;:::i;52595:37::-;52554:153;;;;-1:-1:-1;;;52554:153:0;;16426:2:1;52554:153:0;;;16408:21:1;16465:2;16445:18;;;16438:30;16504:34;16484:18;;;16477:62;16575:27;16555:18;;;16548:55;16620:19;;52554:153:0;16224:421:1;52554:153:0;52716:28;52725:2;52729:7;52738:5;52716:8;:28::i;:::-;52433:317;52371:379;;:::o;65590:304::-;25005:13;:11;:13::i;:::-;65720:9:::1;::::0;65700;65684:13:::1;48171:7:::0;48194:12;;48118:94;65684:13:::1;:32;;;;:::i;:::-;:45;;65662:114;;;;-1:-1:-1::0;;;65662:114:0::1;;;;;;;:::i;:::-;65792:9;65787:100;65807:20:::0;;::::1;65787:100;;;65849:26;65859:9;;65869:1;65859:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;65873:1;65849:9;:26::i;:::-;65829:3:::0;::::1;::::0;::::1;:::i;:::-;;;;65787:100;;53658:142:::0;53766:28;53776:4;53782:2;53786:7;53766:9;:28::i;68455:252::-;68550:10;68530:16;68538:7;68530;:16::i;:::-;-1:-1:-1;;;;;68530:30:0;;68522:65;;;;-1:-1:-1;;;68522:65:0;;;;;;;:::i;:::-;68606:22;;;;:13;:22;;;;;;;;:30;;:22;:30;68598:60;;;;-1:-1:-1;;;68598:60:0;;11692:2:1;68598:60:0;;;11674:21:1;11731:2;11711:18;;;11704:30;-1:-1:-1;;;11750:18:1;;;11743:47;11807:18;;68598:60:0;11490:341:1;68598:60:0;68694:5;68669:22;;;:13;:22;;;;;:30;;-1:-1:-1;;68669:30:0;;;68455:252::o;67150:307::-;67275:16;67293:21;67340:16;67348:7;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;67340:16;67332:47;;;;-1:-1:-1;;;67332:47:0;;17254:2:1;67332:47:0;;;17236:21:1;17293:2;17273:18;;;17266:30;-1:-1:-1;;;17312:18:1;;;17305:48;17370:18;;67332:47:0;17052:342:1;67332:47:0;67398:14;;67427;;-1:-1:-1;;;;;67398:14:0;;;;67445:3;;67415:26;;:9;:26;:::i;:::-;67414:34;;;;:::i;:::-;67390:59;;;;67150:307;;;;;;:::o;70036:110::-;25005:13;:11;:13::i;:::-;70112:11:::1;:26:::0;70036:110::o;48749:744::-;48858:7;48893:16;48903:5;48893:9;:16::i;:::-;48885:5;:24;48877:71;;;;-1:-1:-1;;;48877:71:0;;10949:2:1;48877:71:0;;;10931:21:1;10988:2;10968:18;;;10961:30;11027:34;11007:18;;;11000:62;-1:-1:-1;;;11078:18:1;;;11071:32;11120:19;;48877:71:0;10747:398:1;48877:71:0;48955:22;48194:12;;;48955:22;;49075:350;49099:14;49095:1;:18;49075:350;;;49129:31;49163:14;;;:11;:14;;;;;;;;;49129:48;;;;;;;;;-1:-1:-1;;;;;49129:48:0;;;;;-1:-1:-1;;;49129:48:0;;;-1:-1:-1;;;;;49129:48:0;;;;;;;;49190:28;49186:89;;49251:14;;;-1:-1:-1;49186:89:0;49308:5;-1:-1:-1;;;;;49287:26:0;:17;-1:-1:-1;;;;;49287:26:0;;49283:135;;;49345:5;49330:11;:20;49326:59;;;-1:-1:-1;49372:1:0;-1:-1:-1;49365:8:0;;-1:-1:-1;;;49365:8:0;49326:59;49395:13;;;;:::i;:::-;;;;49283:135;-1:-1:-1;49115:3:0;;;;:::i;:::-;;;;49075:350;;;-1:-1:-1;49431:56:0;;-1:-1:-1;;;49431:56:0;;22596:2:1;49431:56:0;;;22578:21:1;22635:2;22615:18;;;22608:30;22674:34;22654:18;;;22647:62;-1:-1:-1;;;22725:18:1;;;22718:44;22779:19;;49431:56:0;22394:410:1;70288:120:0;25005:13;:11;:13::i;:::-;70352:47:::1;::::0;70360:10:::1;::::0;70377:21:::1;70352:47:::0;::::1;;;::::0;::::1;::::0;;;70377:21;70360:10;70352:47;::::1;;;;;;70344:56;;;::::0;::::1;;70288:120::o:0;53863:157::-;53975:39;53992:4;53998:2;54002:7;53975:39;;;;;;;;;;;;:16;:39::i;67465:390::-;67552:16;67586:23;67612:17;67622:6;67612:9;:17::i;:::-;67586:43;;67640:25;67682:15;-1:-1:-1;;;;;67668:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67668:30:0;;67640:58;;67714:9;67709:113;67729:15;67725:1;:19;67709:113;;;67780:30;67800:6;67808:1;67780:19;:30::i;:::-;67766:8;67775:1;67766:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;67746:3;;;;:::i;:::-;;;;67709:113;;;-1:-1:-1;67839:8:0;67465:390;-1:-1:-1;;;67465:390:0:o;69101:86::-;25005:13;:11;:13::i;:::-;69164:4:::1;:15:::0;69101:86::o;70154:126::-;25005:13;:11;:13::i;:::-;70238:15:::1;:34:::0;70154:126::o;48281:177::-;48348:7;48194:12;;48372:5;:21;48364:69;;;;-1:-1:-1;;;48364:69:0;;13899:2:1;48364:69:0;;;13881:21:1;13938:2;13918:18;;;13911:30;13977:34;13957:18;;;13950:62;-1:-1:-1;;;14028:18:1;;;14021:33;14071:19;;48364:69:0;13697:399:1;48364:69:0;-1:-1:-1;48447:5:0;48281:177::o;69297:104::-;25005:13;:11;:13::i;:::-;69372:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;69297:104:::0;:::o;70584:127::-;25005:13;:11;:13::i;:::-;70669:14:::1;:34:::0;70584:127::o;51106:118::-;51170:7;51193:20;51205:7;51193:11;:20::i;:::-;:25;;51106:118;-1:-1:-1;;51106:118:0:o;62133:21::-;;;;;;;:::i;49983:211::-;50047:7;-1:-1:-1;;;;;50071:19:0;;50063:75;;;;-1:-1:-1;;;50063:75:0;;17601:2:1;50063:75:0;;;17583:21:1;17640:2;17620:18;;;17613:30;17679:34;17659:18;;;17652:62;-1:-1:-1;;;17730:18:1;;;17723:41;17781:19;;50063:75:0;17399:407:1;50063:75:0;-1:-1:-1;;;;;;50160:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;50160:27:0;;49983:211::o;25767:103::-;25005:13;:11;:13::i;:::-;25832:30:::1;25859:1;25832:18;:30::i;70455:121::-:0;25005:13;:11;:13::i;:::-;70536:14:::1;:32:::0;;-1:-1:-1;;;;;;70536:32:0::1;-1:-1:-1::0;;;;;70536:32:0;;;::::1;::::0;;;::::1;::::0;;70455:121::o;51438:98::-;51494:13;51523:7;51516:14;;;;;:::i;63632:591::-;10574:1;11172:7;;:19;;11164:63;;;;-1:-1:-1;;;11164:63:0;;23011:2:1;11164:63:0;;;22993:21:1;23050:2;23030:18;;;23023:30;23089:33;23069:18;;;23062:61;23140:18;;11164:63:0;22809:355:1;11164:63:0;10574:1;11305:7;:18;63420:9:::1;63433:10;63420:23;63412:44;;;::::0;-1:-1:-1;;;63412:44:0;;15057:2:1;63412:44:0::1;::::0;::::1;15039:21:1::0;15096:1;15076:18;;;15069:29;-1:-1:-1;;;15114:18:1;;;15107:38;15162:18;;63412:44:0::1;14855:331:1::0;63412:44:0::1;63711:14:::2;48194:12:::0;63761:6:::2;::::0;::::2;;63760:7;63752:31;;;::::0;-1:-1:-1;;;63752:31:0;;11352:2:1;63752:31:0::2;::::0;::::2;11334:21:1::0;11391:2;11371:18;;;11364:30;-1:-1:-1;;;11410:18:1;;;11403:41;11461:18;;63752:31:0::2;11150:335:1::0;63752:31:0::2;63821:15;;63802;:34;;63794:64;;;::::0;-1:-1:-1;;;63794:64:0;;16080:2:1;63794:64:0::2;::::0;::::2;16062:21:1::0;16119:2;16099:18;;;16092:30;-1:-1:-1;;;16138:18:1;;;16131:47;16195:18;;63794:64:0::2;15878:341:1::0;63794:64:0::2;63888:1;63877:8;:12;63869:44;;;;-1:-1:-1::0;;;63869:44:0::2;;;;;;;:::i;:::-;63944:7;;63932:8;:19;;63924:52;;;::::0;-1:-1:-1;;;63924:52:0;;12382:2:1;63924:52:0::2;::::0;::::2;12364:21:1::0;12421:2;12401:18;;;12394:30;-1:-1:-1;;;12440:18:1;;;12433:50;12500:18;;63924:52:0::2;12180:344:1::0;63924:52:0::2;64016:9;::::0;63995:17:::2;64004:8:::0;63995:6;:17:::2;:::i;:::-;:30;;63987:62;;;;-1:-1:-1::0;;;63987:62:0::2;;;;;;;:::i;:::-;25192:6:::0;;-1:-1:-1;;;;;25192:6:0;64066:10:::2;:21;64062:110;;64132:8;64125:4;;:15;;;;:::i;:::-;64112:9;:28;;64104:56;;;::::0;-1:-1:-1;;;64104:56:0;;12038:2:1;64104:56:0::2;::::0;::::2;12020:21:1::0;12077:2;12057:18;;;12050:30;-1:-1:-1;;;12096:18:1;;;12089:45;12151:18;;64104:56:0::2;11836:339:1::0;64104:56:0::2;64184:31;64194:10;64206:8;64184:9;:31::i;:::-;-1:-1:-1::0;;10530:1:0;11484:7;:22;63632:591::o;53076:274::-;-1:-1:-1;;;;;53167:24:0;;23750:10;53167:24;;53159:63;;;;-1:-1:-1;;;53159:63:0;;19546:2:1;53159:63:0;;;19528:21:1;19585:2;19565:18;;;19558:30;19624:28;19604:18;;;19597:56;19670:18;;53159:63:0;19344:350:1;53159:63:0;23750:10;53231:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;53231:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;53231:53:0;;;;;;;;;;53296:48;;10289:41:1;;;53231:42:0;;23750:10;53296:48;;10262:18:1;53296:48:0;;;;;;;53076:274;;:::o;69702:116::-;25005:13;:11;:13::i;:::-;69780::::1;:30:::0;69702:116::o;67863:330::-;67959:10;67939:16;67947:7;67939;:16::i;:::-;-1:-1:-1;;;;;67939:30:0;;67931:65;;;;-1:-1:-1;;;67931:65:0;;;;;;;:::i;:::-;68025:10;68007:29;;;;:17;:29;;;;;:36;;-1:-1:-1;;68007:36:0;68039:4;68007:36;;;68054:131;;68110:42;68167:7;68054:16;:131::i;:::-;67863:330;:::o;54083:311::-;54220:28;54230:4;54236:2;54240:7;54220:9;:28::i;:::-;54271:48;54294:4;54300:2;54304:7;54313:5;54271:22;:48::i;:::-;54255:133;;;;-1:-1:-1;;;54255:133:0;;;;;;;:::i;:::-;54083:311;;;;:::o;66642:186::-;66747:4;66776:44;66793:12;;66776:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66807:12:0;;;-1:-1:-1;66776:16:0;;-1:-1:-1;66776:44:0:i;:::-;66769:51;66642:186;-1:-1:-1;;;66642:186:0:o;62196:37::-;;;;;;;:::i;65902:732::-;66020:13;66073:16;66081:7;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;66073:16;66051:113;;;;-1:-1:-1;;;66051:113:0;;19130:2:1;66051:113:0;;;19112:21:1;19169:2;19149:18;;;19142:30;19208:34;19188:18;;;19181:62;-1:-1:-1;;;19259:18:1;;;19252:45;19314:19;;66051:113:0;18928:411:1;66051:113:0;66192:13;;66181:7;:24;66177:78;;66229:14;66222:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65902:732;;;:::o;66177:78::-;66267:28;66298:10;:8;:10::i;:::-;66267:41;;66370:1;66345:14;66339:28;:32;:287;;;;;;;;;;;;;;;;;66463:14;66504:18;:7;:16;:18::i;:::-;66549:13;66420:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66319:307;65902:732;-1:-1:-1;;;65902:732:0:o;68201:246::-;68294:10;68274:16;68282:7;68274;:16::i;:::-;-1:-1:-1;;;;;68274:30:0;;68266:65;;;;-1:-1:-1;;;68266:65:0;;;;;;;:::i;:::-;68350:22;;;;:13;:22;;;;;;;;:31;68342:57;;;;-1:-1:-1;;;68342:57:0;;20320:2:1;68342:57:0;;;20302:21:1;20359:2;20339:18;;;20332:30;-1:-1:-1;;;20378:18:1;;;20371:43;20431:18;;68342:57:0;20118:337:1;68342:57:0;68410:22;;;;:13;:22;;;;;:29;;-1:-1:-1;;68410:29:0;68435:4;68410:29;;;68201:246::o;65340:242::-;25005:13;:11;:13::i;:::-;65427:1:::1;65416:8;:12;65408:44;;;;-1:-1:-1::0;;;65408:44:0::1;;;;;;;:::i;:::-;65499:9;;65487:8;65471:13;48171:7:::0;48194:12;;48118:94;65471:13:::1;:24;;;;:::i;:::-;:37;;65463:69;;;;-1:-1:-1::0;;;65463:69:0::1;;;;;;;:::i;:::-;65543:31;65553:10;65565:8;65543:9;:31::i;69195:94::-:0;25005:13;:11;:13::i;:::-;69262:6:::1;:19:::0;69195:94::o;64231:1101::-;10574:1;11172:7;;:19;;11164:63;;;;-1:-1:-1;;;11164:63:0;;23011:2:1;11164:63:0;;;22993:21:1;23050:2;23030:18;;;23023:30;23089:33;23069:18;;;23062:61;23140:18;;11164:63:0;22809:355:1;11164:63:0;10574:1;11305:7;:18;63420:9:::1;63433:10;63420:23;63412:44;;;::::0;-1:-1:-1;;;63412:44:0;;15057:2:1;63412:44:0::1;::::0;::::1;15039:21:1::0;15096:1;15076:18;;;15069:29;-1:-1:-1;;;15114:18:1;;;15107:38;15162:18;;63412:44:0::1;14855:331:1::0;63412:44:0::1;64415::::2;64432:12;;64415:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;64446:12:0::2;::::0;;-1:-1:-1;64415:16:0::2;::::0;-1:-1:-1;64415:44:0:i:2;:::-;64393:114;;;::::0;-1:-1:-1;;;64393:114:0;;18781:2:1;64393:114:0::2;::::0;::::2;18763:21:1::0;18820:2;18800:18;;;18793:30;-1:-1:-1;;;18839:18:1;;;18832:50;18899:18;;64393:114:0::2;18579:344:1::0;64393:114:0::2;64527:6;::::0;::::2;;64526:7;64518:31;;;::::0;-1:-1:-1;;;64518:31:0;;11352:2:1;64518:31:0::2;::::0;::::2;11334:21:1::0;11391:2;11371:18;;;11364:30;-1:-1:-1;;;11410:18:1;;;11403:41;11461:18;;64518:31:0::2;11150:335:1::0;64518:31:0::2;64587:11;;64568:15;:30;;64560:60;;;::::0;-1:-1:-1;;;64560:60:0;;16080:2:1;64560:60:0::2;::::0;::::2;16062:21:1::0;16119:2;16099:18;;;16092:30;-1:-1:-1;;;16138:18:1;;;16131:47;16195:18;;64560:60:0::2;15878:341:1::0;64560:60:0::2;64650:1;64639:8;:12;64631:44;;;;-1:-1:-1::0;;;64631:44:0::2;;;;;;;:::i;:::-;64706:9;;64694:8;:21;;64686:54;;;::::0;-1:-1:-1;;;64686:54:0;;12382:2:1;64686:54:0::2;::::0;::::2;12364:21:1::0;12421:2;12401:18;;;12394:30;-1:-1:-1;;;12440:18:1;;;12433:50;12500:18;;64686:54:0::2;12180:344:1::0;64686:54:0::2;64771:8;;64759;;:20;;64751:66;;;::::0;-1:-1:-1;;;64751:66:0;;16852:2:1;64751:66:0::2;::::0;::::2;16834:21:1::0;16891:2;16871:18;;;16864:30;16930:34;16910:18;;;16903:62;-1:-1:-1;;;16981:18:1;;;16974:31;17022:19;;64751:66:0::2;16650:397:1::0;64751:66:0::2;64864:9;;64852:8;64836:13;48171:7:::0;48194:12;;48118:94;64836:13:::2;:24;;;;:::i;:::-;:37;;64828:69;;;;-1:-1:-1::0;;;64828:69:0::2;;;;;;;:::i;:::-;64928:10;64917:22;::::0;;;:10:::2;:22;::::0;;;;;::::2;;64916:23;64908:57;;;::::0;-1:-1:-1;;;64908:57:0;;13549:2:1;64908:57:0::2;::::0;::::2;13531:21:1::0;13588:2;13568:18;;;13561:30;-1:-1:-1;;;13607:18:1;;;13600:51;13668:18;;64908:57:0::2;13347:345:1::0;64908:57:0::2;25192:6:::0;;-1:-1:-1;;;;;25192:6:0;64982:10:::2;:21;64978:174;;65080:8;::::0;65069:19:::2;::::0;:8;:19:::2;:::i;:::-;65059:6;;:30;;;;:::i;:::-;65046:9;:43;;65020:120;;;::::0;-1:-1:-1;;;65020:120:0;;12038:2:1;65020:120:0::2;::::0;::::2;12020:21:1::0;12077:2;12057:18;;;12050:30;-1:-1:-1;;;12096:18:1;;;12089:45;12151:18;;65020:120:0::2;11836:339:1::0;65020:120:0::2;65180:10;65169:22;::::0;;;:10:::2;:22;::::0;;;;;::::2;;65164:85;;65219:10;65208:22;::::0;;;:10:::2;:22;::::0;;;;:29;;-1:-1:-1;;65208:29:0::2;65233:4;65208:29;::::0;;65164:85:::2;65261:31;65271:10;65283:8;65261:9;:31::i;:::-;65314:8;:10:::0;;;:8:::2;:10;::::0;::::2;:::i;:::-;::::0;;;-1:-1:-1;65303:8:0::2;:21:::0;-1:-1:-1;;10530:1:0;11484:7;:22;-1:-1:-1;64231:1101:0:o;69543:151::-;25005:13;:11;:13::i;:::-;69653:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;69409:126::-:0;25005:13;:11;:13::i;:::-;69495:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;26025:201::-:0;25005:13;:11;:13::i;:::-;-1:-1:-1;;;;;26114:22:0;::::1;26106:73;;;::::0;-1:-1:-1;;;26106:73:0;;12731:2:1;26106:73:0::1;::::0;::::1;12713:21:1::0;12770:2;12750:18;;;12743:30;12809:34;12789:18;;;12782:62;-1:-1:-1;;;12860:18:1;;;12853:36;12906:19;;26106:73:0::1;12529:402:1::0;26106:73:0::1;26190:28;26209:8;26190:18;:28::i;69913:115::-:0;25005:13;:11;:13::i;:::-;69992:12:::1;:28:::0;69913:115::o;25284:132::-;25192:6;;-1:-1:-1;;;;;25192:6:0;23750:10;25348:23;25340:68;;;;-1:-1:-1;;;25340:68:0;;18420:2:1;25340:68:0;;;18402:21:1;;;18439:18;;;18432:30;18498:34;18478:18;;;18471:62;18550:18;;25340:68:0;18218:356:1;58320:172:0;58417:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;58417:29:0;-1:-1:-1;;;;;58417:29:0;;;;;;;;;58458:28;;58417:24;;58458:28;;;;;;;58320:172;;;:::o;54744:98::-;54809:27;54819:2;54823:8;54809:27;;;;;;;;;;;;:9;:27::i;56685:1529::-;56782:35;56820:20;56832:7;56820:11;:20::i;:::-;56891:18;;56782:58;;-1:-1:-1;56849:22:0;;-1:-1:-1;;;;;56875:34:0;23750:10;-1:-1:-1;;;;;56875:34:0;;:81;;;-1:-1:-1;23750:10:0;56920:20;56932:7;56920:11;:20::i;:::-;-1:-1:-1;;;;;56920:36:0;;56875:81;:142;;;-1:-1:-1;56984:18:0;;56967:50;;23750:10;53413:186;:::i;56967:50::-;56849:169;;57043:17;57027:101;;;;-1:-1:-1;;;57027:101:0;;19901:2:1;57027:101:0;;;19883:21:1;19940:2;19920:18;;;19913:30;19979:34;19959:18;;;19952:62;-1:-1:-1;;;20030:18:1;;;20023:48;20088:19;;57027:101:0;19699:414:1;57027:101:0;57175:4;-1:-1:-1;;;;;57153:26:0;:13;:18;;;-1:-1:-1;;;;;57153:26:0;;57137:98;;;;-1:-1:-1;;;57137:98:0;;18013:2:1;57137:98:0;;;17995:21:1;18052:2;18032:18;;;18025:30;18091:34;18071:18;;;18064:62;-1:-1:-1;;;18142:18:1;;;18135:36;18188:19;;57137:98:0;17811:402:1;57137:98:0;-1:-1:-1;;;;;57250:16:0;;57242:66;;;;-1:-1:-1;;;57242:66:0;;14303:2:1;57242:66:0;;;14285:21:1;14342:2;14322:18;;;14315:30;14381:34;14361:18;;;14354:62;-1:-1:-1;;;14432:18:1;;;14425:35;14477:19;;57242:66:0;14101:401:1;57242:66:0;57317:43;57339:4;57345:2;57349:7;57358:1;57317:21;:43::i;:::-;57417:49;57434:1;57438:7;57447:13;:18;;;57417:8;:49::i;:::-;-1:-1:-1;;;;;57475:18:0;;;;;;:12;:18;;;;;:31;;57505:1;;57475:18;:31;;57505:1;;-1:-1:-1;;;;;57475:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;57475:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;57513:16:0;;-1:-1:-1;57513:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;57513:16:0;;:29;;-1:-1:-1;;57513:29:0;;:::i;:::-;;;-1:-1:-1;;;;;57513:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57572:43:0;;;;;;;;-1:-1:-1;;;;;57572:43:0;;;;;-1:-1:-1;;;;;57598:15:0;57572:43;;;;;;;;;-1:-1:-1;57549:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;57549:66:0;-1:-1:-1;;;;;;57549:66:0;;;;;;;;;;;57865:11;57561:7;-1:-1:-1;57865:11:0;:::i;:::-;57928:1;57887:24;;;:11;:24;;;;;:29;57843:33;;-1:-1:-1;;;;;;57887:29:0;57883:236;;57945:20;57953:11;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;57945:20;57941:171;;;58005:97;;;;;;;;58032:18;;-1:-1:-1;;;;;58005:97:0;;;;;;58063:28;;;;-1:-1:-1;;;;;58005:97:0;;;;;;;;;-1:-1:-1;57978:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;57978:124:0;-1:-1:-1;;;;;;57978:124:0;;;;;;;;;;;;57941:171;58151:7;58147:2;-1:-1:-1;;;;;58132:27:0;58141:4;-1:-1:-1;;;;;58132:27:0;;;;;;;;;;;58166:42;56775:1439;;;56685:1529;;;:::o;50446:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;50563:16:0;50571:7;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;50563:16;50555:71;;;;-1:-1:-1;;;50555:71:0;;13138:2:1;50555:71:0;;;13120:21:1;13177:2;13157:18;;;13150:30;13216:34;13196:18;;;13189:62;-1:-1:-1;;;13267:18:1;;;13260:40;13317:19;;50555:71:0;12936:406:1;50555:71:0;50635:26;50683:12;50672:7;:23;50668:93;;50727:22;50737:12;50727:7;:22;:::i;:::-;:26;;50752:1;50727:26;:::i;:::-;50706:47;;50668:93;50789:7;50769:212;50806:18;50798:4;:26;50769:212;;50843:31;50877:17;;;:11;:17;;;;;;;;;50843:51;;;;;;;;;-1:-1:-1;;;;;50843:51:0;;;;;-1:-1:-1;;;50843:51:0;;;-1:-1:-1;;;;;50843:51:0;;;;;;;;50907:28;50903:71;;50955:9;50446:606;-1:-1:-1;;;;50446:606:0:o;50903:71::-;-1:-1:-1;50826:6:0;;;;:::i;:::-;;;;50769:212;;;-1:-1:-1;50989:57:0;;-1:-1:-1;;;50989:57:0;;23371:2:1;50989:57:0;;;23353:21:1;23410:2;23390:18;;;23383:30;23449:34;23429:18;;;23422:62;-1:-1:-1;;;23500:18:1;;;23493:45;23555:19;;50989:57:0;23169:411:1;26386:191:0;26479:6;;;-1:-1:-1;;;;;26496:17:0;;;-1:-1:-1;;;;;;26496:17:0;;;;;;;26529:40;;26479:6;;;26496:17;26479:6;;26529:40;;26460:16;;26529:40;26449:128;26386:191;:::o;60035:690::-;60172:4;-1:-1:-1;;;;;60189:13:0;;28112:19;:23;60185:535;;60228:72;;-1:-1:-1;;;60228:72:0;;-1:-1:-1;;;;;60228:36:0;;;;;:72;;23750:10;;60279:4;;60285:7;;60294:5;;60228:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60228:72:0;;;;;;;;-1:-1:-1;;60228:72:0;;;;;;;;;;;;:::i;:::-;;;60215:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60459:13:0;;60455:215;;60492:61;;-1:-1:-1;;;60492:61:0;;;;;;;:::i;60455:215::-;60638:6;60632:13;60623:6;60619:2;60615:15;60608:38;60215:464;-1:-1:-1;;;;;;60350:55:0;-1:-1:-1;;;60350:55:0;;-1:-1:-1;60343:62:0;;60185:535;-1:-1:-1;60708:4:0;60185:535;60035:690;;;;;;:::o;66836:306::-;67090:28;;-1:-1:-1;;67107:10:0;6915:2:1;6911:15;6907:53;67090:28:0;;;6895:66:1;66952:4:0;;66994:140;;67031:6;;67056:5;;6977:12:1;;67090:28:0;;;;;;;;;;;;67080:39;;;;;;66994:18;:140::i;63501:108::-;63561:13;63594:7;63587:14;;;;;:::i;11951:723::-;12007:13;12228:10;12224:53;;-1:-1:-1;;12255:10:0;;;;;;;;;;;;-1:-1:-1;;;12255:10:0;;;;;11951:723::o;12224:53::-;12302:5;12287:12;12343:78;12350:9;;12343:78;;12376:8;;;;:::i;:::-;;-1:-1:-1;12399:10:0;;-1:-1:-1;12407:2:0;12399:10;;:::i;:::-;;;12343:78;;;12431:19;12463:6;-1:-1:-1;;;;;12453:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12453:17:0;;12431:39;;12481:154;12488:10;;12481:154;;12515:11;12525:1;12515:11;;:::i;:::-;;-1:-1:-1;12584:10:0;12592:2;12584:5;:10;:::i;:::-;12571:24;;:2;:24;:::i;:::-;12558:39;;12541:6;12548;12541:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;12541:56:0;;;;;;;;-1:-1:-1;12612:11:0;12621:2;12612:11;;:::i;:::-;;;12481:154;;55181:1272;55286:20;55309:12;-1:-1:-1;;;;;55336:16:0;;55328:62;;;;-1:-1:-1;;;55328:62:0;;22194:2:1;55328:62:0;;;22176:21:1;22233:2;22213:18;;;22206:30;22272:34;22252:18;;;22245:62;-1:-1:-1;;;22323:18:1;;;22316:31;22364:19;;55328:62:0;21992:397:1;55328:62:0;55527:21;55535:12;54690:4;54720:12;-1:-1:-1;54710:22:0;54633:105;55527:21;55526:22;55518:64;;;;-1:-1:-1;;;55518:64:0;;21836:2:1;55518:64:0;;;21818:21:1;21875:2;21855:18;;;21848:30;21914:31;21894:18;;;21887:59;21963:18;;55518:64:0;21634:353:1;55518:64:0;55609:12;55597:8;:24;;55589:71;;;;-1:-1:-1;;;55589:71:0;;24201:2:1;55589:71:0;;;24183:21:1;24240:2;24220:18;;;24213:30;24279:34;24259:18;;;24252:62;-1:-1:-1;;;24330:18:1;;;24323:32;24372:19;;55589:71:0;23999:398:1;55589:71:0;55669:61;55699:1;55703:2;55707:12;55721:8;55669:21;:61::i;:::-;-1:-1:-1;;;;;55772:16:0;;55739:30;55772:16;;;:12;:16;;;;;;;;;55739:49;;;;;;;;;-1:-1:-1;;;;;55739:49:0;;;;;-1:-1:-1;;;55739:49:0;;;;;;;;;;;55814:119;;;;;;;;55834:19;;55739:49;;55814:119;;;55834:39;;55864:8;;55834:39;:::i;:::-;-1:-1:-1;;;;;55814:119:0;;;;;55917:8;55882:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;55814:119:0;;;;;;-1:-1:-1;;;;;55795:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;55795:138:0;;;;;;;;;;;;55968:43;;;;;;;;;;-1:-1:-1;;;;;55994:15:0;55968:43;;;;;;;;55940:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;55940:71:0;-1:-1:-1;;;;;;55940:71:0;;;;;;;;;;;;;;;;;;55952:12;;56064:281;56088:8;56084:1;:12;56064:281;;;56117:38;;56142:12;;-1:-1:-1;;;;;56117:38:0;;;56134:1;;56117:38;;56134:1;;56117:38;56182:59;56213:1;56217:2;56221:12;56235:5;56182:22;:59::i;:::-;56164:150;;;;-1:-1:-1;;;56164:150:0;;;;;;;:::i;:::-;56323:14;;;;:::i;:::-;;;;56098:3;;;;;:::i;:::-;;;;56064:281;;;-1:-1:-1;56353:12:0;:27;;;56387:60;54083:311;68715:360;68899:12;68881:15;68941:18;68951:8;68899:12;68941:18;:::i;:::-;68927:32;;68922:146;68971:3;68961:7;:13;68922:146;;;69010:22;;;;:13;:22;;;;;;;;:31;69002:54;;;;-1:-1:-1;;;69002:54:0;;15741:2:1;69002:54:0;;;15723:21:1;15780:2;15760:18;;;15753:30;-1:-1:-1;;;15799:18:1;;;15792:40;15849:18;;69002:54:0;15539:334:1;69002:54:0;68976:9;;;:::i;:::-;;;68922:146;;1256:190;1381:4;1434;1405:25;1418:5;1425:4;1405:12;:25::i;:::-;:33;;1256:190;-1:-1:-1;;;;1256:190:0:o;2123:296::-;2206:7;2249:4;2206:7;2264:118;2288:5;:12;2284:1;:16;2264:118;;;2337:33;2347:12;2361:5;2367:1;2361:8;;;;;;;;:::i;:::-;;;;;;;2337:9;:33::i;:::-;2322:48;-1:-1:-1;2302:3:0;;;;:::i;:::-;;;;2264:118;;8330:149;8393:7;8424:1;8420;:5;:51;;8555:13;8649:15;;;8685:4;8678:15;;;8732:4;8716:21;;8420:51;;;8555:13;8649:15;;;8685:4;8678:15;;;8732:4;8716:21;;8428:20;8487:268;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;-1:-1:-1;;;;;149:2:1;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:367::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:1;;-1:-1:-1;;;;;1028:30:1;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1200:160;1265:20;;1321:13;;1314:21;1304:32;;1294:60;;1350:1;1347;1340:12;1365:186;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;1516:29;1535:9;1516:29;:::i;1556:260::-;1624:6;1632;1685:2;1673:9;1664:7;1660:23;1656:32;1653:52;;;1701:1;1698;1691:12;1653:52;1724:29;1743:9;1724:29;:::i;:::-;1714:39;;1772:38;1806:2;1795:9;1791:18;1772:38;:::i;:::-;1762:48;;1556:260;;;;;:::o;1821:328::-;1898:6;1906;1914;1967:2;1955:9;1946:7;1942:23;1938:32;1935:52;;;1983:1;1980;1973:12;1935:52;2006:29;2025:9;2006:29;:::i;:::-;1996:39;;2054:38;2088:2;2077:9;2073:18;2054:38;:::i;:::-;2044:48;;2139:2;2128:9;2124:18;2111:32;2101:42;;1821:328;;;;;:::o;2154:666::-;2249:6;2257;2265;2273;2326:3;2314:9;2305:7;2301:23;2297:33;2294:53;;;2343:1;2340;2333:12;2294:53;2366:29;2385:9;2366:29;:::i;:::-;2356:39;;2414:38;2448:2;2437:9;2433:18;2414:38;:::i;:::-;2404:48;;2499:2;2488:9;2484:18;2471:32;2461:42;;2554:2;2543:9;2539:18;2526:32;-1:-1:-1;;;;;2573:6:1;2570:30;2567:50;;;2613:1;2610;2603:12;2567:50;2636:22;;2689:4;2681:13;;2677:27;-1:-1:-1;2667:55:1;;2718:1;2715;2708:12;2667:55;2741:73;2806:7;2801:2;2788:16;2783:2;2779;2775:11;2741:73;:::i;:::-;2731:83;;;2154:666;;;;;;;:::o;2825:254::-;2890:6;2898;2951:2;2939:9;2930:7;2926:23;2922:32;2919:52;;;2967:1;2964;2957:12;2919:52;2990:29;3009:9;2990:29;:::i;:::-;2980:39;;3038:35;3069:2;3058:9;3054:18;3038:35;:::i;3084:254::-;3152:6;3160;3213:2;3201:9;3192:7;3188:23;3184:32;3181:52;;;3229:1;3226;3219:12;3181:52;3252:29;3271:9;3252:29;:::i;:::-;3242:39;3328:2;3313:18;;;;3300:32;;-1:-1:-1;;;3084:254:1:o;3343:437::-;3429:6;3437;3490:2;3478:9;3469:7;3465:23;3461:32;3458:52;;;3506:1;3503;3496:12;3458:52;3546:9;3533:23;-1:-1:-1;;;;;3571:6:1;3568:30;3565:50;;;3611:1;3608;3601:12;3565:50;3650:70;3712:7;3703:6;3692:9;3688:22;3650:70;:::i;:::-;3739:8;;3624:96;;-1:-1:-1;3343:437:1;-1:-1:-1;;;;3343:437:1:o;4227:180::-;4283:6;4336:2;4324:9;4315:7;4311:23;4307:32;4304:52;;;4352:1;4349;4342:12;4304:52;4375:26;4391:9;4375:26;:::i;4412:180::-;4471:6;4524:2;4512:9;4503:7;4499:23;4495:32;4492:52;;;4540:1;4537;4530:12;4492:52;-1:-1:-1;4563:23:1;;4412:180;-1:-1:-1;4412:180:1:o;4597:245::-;4655:6;4708:2;4696:9;4687:7;4683:23;4679:32;4676:52;;;4724:1;4721;4714:12;4676:52;4763:9;4750:23;4782:30;4806:5;4782:30;:::i;4847:249::-;4916:6;4969:2;4957:9;4948:7;4944:23;4940:32;4937:52;;;4985:1;4982;4975:12;4937:52;5017:9;5011:16;5036:30;5060:5;5036:30;:::i;5101:450::-;5170:6;5223:2;5211:9;5202:7;5198:23;5194:32;5191:52;;;5239:1;5236;5229:12;5191:52;5279:9;5266:23;-1:-1:-1;;;;;5304:6:1;5301:30;5298:50;;;5344:1;5341;5334:12;5298:50;5367:22;;5420:4;5412:13;;5408:27;-1:-1:-1;5398:55:1;;5449:1;5446;5439:12;5398:55;5472:73;5537:7;5532:2;5519:16;5514:2;5510;5506:11;5472:73;:::i;5741:505::-;5836:6;5844;5852;5905:2;5893:9;5884:7;5880:23;5876:32;5873:52;;;5921:1;5918;5911:12;5873:52;5957:9;5944:23;5934:33;;6018:2;6007:9;6003:18;5990:32;-1:-1:-1;;;;;6037:6:1;6034:30;6031:50;;;6077:1;6074;6067:12;6031:50;6116:70;6178:7;6169:6;6158:9;6154:22;6116:70;:::i;:::-;5741:505;;6205:8;;-1:-1:-1;6090:96:1;;-1:-1:-1;;;;5741:505:1:o;6251:248::-;6319:6;6327;6380:2;6368:9;6359:7;6355:23;6351:32;6348:52;;;6396:1;6393;6386:12;6348:52;-1:-1:-1;;6419:23:1;;;6489:2;6474:18;;;6461:32;;-1:-1:-1;6251:248:1:o;6504:257::-;6545:3;6583:5;6577:12;6610:6;6605:3;6598:19;6626:63;6682:6;6675:4;6670:3;6666:14;6659:4;6652:5;6648:16;6626:63;:::i;:::-;6743:2;6722:15;-1:-1:-1;;6718:29:1;6709:39;;;;6750:4;6705:50;;6504:257;-1:-1:-1;;6504:257:1:o;7000:1527::-;7224:3;7262:6;7256:13;7288:4;7301:51;7345:6;7340:3;7335:2;7327:6;7323:15;7301:51;:::i;:::-;7415:13;;7374:16;;;;7437:55;7415:13;7374:16;7459:15;;;7437:55;:::i;:::-;7581:13;;7514:20;;;7554:1;;7641;7663:18;;;;7716;;;;7743:93;;7821:4;7811:8;7807:19;7795:31;;7743:93;7884:2;7874:8;7871:16;7851:18;7848:40;7845:167;;;-1:-1:-1;;;7911:33:1;;7967:4;7964:1;7957:15;7997:4;7918:3;7985:17;7845:167;8028:18;8055:110;;;;8179:1;8174:328;;;;8021:481;;8055:110;-1:-1:-1;;8090:24:1;;8076:39;;8135:20;;;;-1:-1:-1;8055:110:1;;8174:328;24657:1;24650:14;;;24694:4;24681:18;;8269:1;8283:169;8297:8;8294:1;8291:15;8283:169;;;8379:14;;8364:13;;;8357:37;8422:16;;;;8314:10;;8283:169;;;8287:3;;8483:8;8476:5;8472:20;8465:27;;8021:481;-1:-1:-1;8518:3:1;;7000:1527;-1:-1:-1;;;;;;;;;;;7000:1527:1:o;8740:488::-;-1:-1:-1;;;;;9009:15:1;;;8991:34;;9061:15;;9056:2;9041:18;;9034:43;9108:2;9093:18;;9086:34;;;9156:3;9151:2;9136:18;;9129:31;;;8934:4;;9177:45;;9202:19;;9194:6;9177:45;:::i;:::-;9169:53;8740:488;-1:-1:-1;;;;;;8740:488:1:o;9512:632::-;9683:2;9735:21;;;9805:13;;9708:18;;;9827:22;;;9654:4;;9683:2;9906:15;;;;9880:2;9865:18;;;9654:4;9949:169;9963:6;9960:1;9957:13;9949:169;;;10024:13;;10012:26;;10093:15;;;;10058:12;;;;9985:1;9978:9;9949:169;;;-1:-1:-1;10135:3:1;;9512:632;-1:-1:-1;;;;;;9512:632:1:o;10523:219::-;10672:2;10661:9;10654:21;10635:4;10692:44;10732:2;10721:9;10717:18;10709:6;10692:44;:::i;14507:343::-;14709:2;14691:21;;;14748:2;14728:18;;;14721:30;-1:-1:-1;;;14782:2:1;14767:18;;14760:49;14841:2;14826:18;;14507:343::o;15191:::-;15393:2;15375:21;;;15432:2;15412:18;;;15405:30;-1:-1:-1;;;15466:2:1;15451:18;;15444:49;15525:2;15510:18;;15191:343::o;20863:415::-;21065:2;21047:21;;;21104:2;21084:18;;;21077:30;21143:34;21138:2;21123:18;;21116:62;-1:-1:-1;;;21209:2:1;21194:18;;21187:49;21268:3;21253:19;;20863:415::o;21283:346::-;21485:2;21467:21;;;21524:2;21504:18;;;21497:30;-1:-1:-1;;;21558:2:1;21543:18;;21536:52;21620:2;21605:18;;21283:346::o;24710:253::-;24750:3;-1:-1:-1;;;;;24839:2:1;24836:1;24832:10;24869:2;24866:1;24862:10;24900:3;24896:2;24892:12;24887:3;24884:21;24881:47;;;24908:18;;:::i;:::-;24944:13;;24710:253;-1:-1:-1;;;;24710:253:1:o;24968:128::-;25008:3;25039:1;25035:6;25032:1;25029:13;25026:39;;;25045:18;;:::i;:::-;-1:-1:-1;25081:9:1;;24968:128::o;25101:120::-;25141:1;25167;25157:35;;25172:18;;:::i;:::-;-1:-1:-1;25206:9:1;;25101:120::o;25226:168::-;25266:7;25332:1;25328;25324:6;25320:14;25317:1;25314:21;25309:1;25302:9;25295:17;25291:45;25288:71;;;25339:18;;:::i;:::-;-1:-1:-1;25379:9:1;;25226:168::o;25399:246::-;25439:4;-1:-1:-1;;;;;25552:10:1;;;;25522;;25574:12;;;25571:38;;;25589:18;;:::i;:::-;25626:13;;25399:246;-1:-1:-1;;;25399:246:1:o;25650:125::-;25690:4;25718:1;25715;25712:8;25709:34;;;25723:18;;:::i;:::-;-1:-1:-1;25760:9:1;;25650:125::o;25780:258::-;25852:1;25862:113;25876:6;25873:1;25870:13;25862:113;;;25952:11;;;25946:18;25933:11;;;25926:39;25898:2;25891:10;25862:113;;;25993:6;25990:1;25987:13;25984:48;;;-1:-1:-1;;26028:1:1;26010:16;;26003:27;25780:258::o;26043:136::-;26082:3;26110:5;26100:39;;26119:18;;:::i;:::-;-1:-1:-1;;;26155:18:1;;26043:136::o;26184:380::-;26263:1;26259:12;;;;26306;;;26327:61;;26381:4;26373:6;26369:17;26359:27;;26327:61;26434:2;26426:6;26423:14;26403:18;26400:38;26397:161;;;26480:10;26475:3;26471:20;26468:1;26461:31;26515:4;26512:1;26505:15;26543:4;26540:1;26533:15;26397:161;;26184:380;;;:::o;26569:135::-;26608:3;-1:-1:-1;;26629:17:1;;26626:43;;;26649:18;;:::i;:::-;-1:-1:-1;26696:1:1;26685:13;;26569:135::o;26709:112::-;26741:1;26767;26757:35;;26772:18;;:::i;:::-;-1:-1:-1;26806:9:1;;26709:112::o;26826:127::-;26887:10;26882:3;26878:20;26875:1;26868:31;26918:4;26915:1;26908:15;26942:4;26939:1;26932:15;26958:127;27019:10;27014:3;27010:20;27007:1;27000:31;27050:4;27047:1;27040:15;27074:4;27071:1;27064:15;27090:127;27151:10;27146:3;27142:20;27139:1;27132:31;27182:4;27179:1;27172:15;27206:4;27203:1;27196:15;27222:127;27283:10;27278:3;27274:20;27271:1;27264:31;27314:4;27311:1;27304:15;27338:4;27335:1;27328:15;27354:131;-1:-1:-1;;;;;;27428:32:1;;27418:43;;27408:71;;27475:1;27472;27465:12
Swarm Source
ipfs://7ed0ccc655860ac3655a6e2d900f7f0e8cc1c95d2225102b83848b50ce058a4a
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.