Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,280 SJC
Holders
748
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SJCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SurfJunkie
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-20 */ //File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; //File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } //File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } //File: @openzeppelin/[email protected]/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } //File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } //File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } //File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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/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/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/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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/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/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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/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: @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/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } //File: @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } //File: @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: https://github.com/ErickQueiroz93/solidity/blob/main/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721 { using Address for address; using Strings for uint256; mapping(address => uint256[]) public _addressLastMintedTokenIds; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) internal _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId, string memory baseExtension) public view virtual returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), baseExtension)) : ''; } /** * @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 virtual { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); delete _addressLastMintedTokenIds[msg.sender]; // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { _addressLastMintedTokenIds[msg.sender].push(updatedIndex); emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } //File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } //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: fs://dec2d85c93724763b5c2b4fe69b265d4/SurfJunkie.sol pragma solidity >=0.7.0 <0.9.0; pragma abicoder v2; contract SurfJunkie is DefaultOperatorFilterer, ERC721A, Ownable { using Address for address; using Strings for uint256; string private baseURI; //Deve ser a URL do json do pinata: string private baseExtension = ".json"; string private notRevealedUri = ""; uint256 private maxSupply = 4000; uint256 public maxMintAmount = 6; uint256 public maxMintAmountWaitList = 10; bool private paused = false; mapping(uint256 => uint) private _availableTokens; uint256 private _numAvailableTokens; string private _contractUri; address _contractOwner; uint256 private _royalties = 7; mapping(address => uint256) private _addressLastMintedTokenId; uint256 public _nftEtherValue = 2000000000000000; uint256 public _nftEtherValueWaitList = 1000000000000000; uint256 private royalties = 7; uint256 private royaltiesOne = 44; uint256 private royaltiesTwo = 28; uint256 private royaltiesThree = 28; address private wSplit = 0xdaC531b352a67C49E9a9268C44A72Bb54D83dCFE; address private wOwnerOne = 0xfe2fe58dB4F0875937d38647B5b8431444851D3d; address private wOwnerTwo = 0x16aD40534Ce1Ad71586b2aD56BC3915c6d3D0646; address private wOwnerThree = 0x850656E615c3aCfD1e3afC8AF9d7bB28ddC9E59D; uint256 private statusPhase = 0; uint256[] tokenIds; bytes32 public root; bytes32[] public merkleProof; uint256 private initSaleWaitList; uint256 private endSaleWaitList; uint256 private endSalePublic; constructor( bytes32 _root, uint256 _initSaleWaitList, uint256 _endSaleWaitList, uint256 _endSalePublic ) ERC721A("SurfJunkies", "SJC") { setBaseURI("https://gateway.pinata.cloud/ipfs/QmNMC2v1g3ZzHNEUfKyya4KkQYb8Zc7oC9zUHSEVjPvuLK/"); _contractUri = ""; _contractOwner = msg.sender; root = _root; initSaleWaitList = _initSaleWaitList; endSaleWaitList = _endSaleWaitList; endSalePublic = _endSalePublic; } function phase() public view returns (uint256) { if (block.timestamp >= initSaleWaitList && block.timestamp <= endSaleWaitList) { return 0; //For WaitList } if (block.timestamp >= endSaleWaitList && block.timestamp <= endSalePublic) { return 1; //For Public } return 2; //Not Sale Available } function conditionPrice() public view returns (uint256) { uint256 phaseTemp = phase(); if (phaseTemp == 0) { return _nftEtherValueWaitList; } if (phaseTemp == 1 || phaseTemp == 2) { return _nftEtherValue; } } function setNewTimesSales(uint256 _initSaleWaitList, uint256 _endSaleWaitList, uint256 _endSalePublic) public onlyOwner { require(_endSaleWaitList > _initSaleWaitList, "Data Inicial de venda publica deve ser menor que da data de venda da WaitList"); require(_endSalePublic > _endSaleWaitList, "Data Final de venda publica deve ser menor que da data final de venda da WaitList"); initSaleWaitList = _initSaleWaitList; endSaleWaitList = _endSaleWaitList; endSalePublic = _endSalePublic; } function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, root, leaf); } function setRootKey(bytes32 _newRootKey) public onlyOwner { root = _newRootKey; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner { maxMintAmount = _maxMintAmount; } function pause(bool _state) public onlyOwner { paused = _state; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setNftEtherValue(uint256 nftEtherValue) public onlyOwner { _nftEtherValue = nftEtherValue; } function setNftEtherValueWaitList(uint256 _nftEtherValue) public onlyOwner { _nftEtherValueWaitList = _nftEtherValue; } function getQtdAvailableTokens() public view returns (uint256) { if(_numAvailableTokens > 0) { return _numAvailableTokens; } return maxSupply; } function getMaxSupply() public view returns (uint) { return maxSupply; } function getNftEtherValue() public view returns (uint256) { return _nftEtherValue; } function getAddressLastMintedTokenId(address wallet) public view returns (uint256) { return _addressLastMintedTokenId[wallet]; } function getMaxMintAmount() public view returns (uint256) { return maxMintAmount; } function getBaseURI() public view returns (string memory) { return baseURI; } function getNFTURI(uint256 tokenId) public view returns(string memory) { return string(abi.encodePacked(baseURI, Strings.toString(tokenId), baseExtension)); } function isPaused() public view returns (bool) { return paused; } function mintPublic( uint256 _mintAmount, address payable endUser ) public payable { require(phase() == 1, "Mint Public desativado"); require(!paused, "O contrato pausado"); uint256 supply = totalSupply(); require(_mintAmount > 0, "Precisa mintar pelo menos 1 NFT"); require(_mintAmount + balanceOf(endUser) <= maxMintAmount, "Quantidade limite de mint por carteira excedida"); require(supply + _mintAmount <= maxSupply, "Quantidade limite de NFT excedida"); split(_mintAmount); uint256 updatedNumAvailableTokens = maxSupply - totalSupply(); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(endUser, 1); uint256 newIdToken = supply + 1; tokenURI(newIdToken); --updatedNumAvailableTokens; _addressLastMintedTokenId[endUser] = i; } _numAvailableTokens = updatedNumAvailableTokens; } function mintWaitlist( uint256 _mintAmount, address payable endUser, bytes32[] memory proof ) public payable { require(phase() == 0, "Mint WaitList desativado"); require(!paused, "O contrato pausado"); uint256 supply = totalSupply(); require(_mintAmount > 0, "Precisa mintar pelo menos 1 NFT"); require(_mintAmount + balanceOf(endUser) <= maxMintAmountWaitList, "Quantidade limite de mint por carteira excedida"); require(supply + _mintAmount <= maxSupply, "Quantidade limite de NFT excedida"); require(isValid(proof, keccak256(abi.encodePacked(endUser))), "Voce nao esta na WaitList"); split(_mintAmount); uint256 updatedNumAvailableTokens = maxSupply - totalSupply(); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(endUser, 1); uint256 newIdToken = supply + 1; tokenURI(newIdToken); --updatedNumAvailableTokens; _addressLastMintedTokenId[endUser] = i; } _numAvailableTokens = updatedNumAvailableTokens; } function AirDrop( address[] memory endUser, uint256[] memory amount ) public onlyOwner { require(!paused, "O contrato pausado"); require(endUser.length == amount.length, "Matrizes invalidas"); tokenIds = new uint256[](endUser.length); uint256 updatedNumAvailableTokens = maxSupply - totalSupply(); for (uint i = 0; i < endUser.length; i++) { uint256 supply = totalSupply(); _safeMint(endUser[i], 1); uint256 newIdToken = supply + 1; tokenURI(newIdToken); --updatedNumAvailableTokens; _addressLastMintedTokenId[endUser[i]] = i; } } function contractURI() external view returns (string memory) { return _contractUri; } function setContractURI(string memory contractURI_) external onlyOwner { _contractUri = contractURI_; } function tokenURI(uint256 tokenId) public view virtual returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } function split(uint256 _mintAmount) public payable { uint256 _nftEtherValueTemp = conditionPrice(); require(msg.value >= (_nftEtherValueTemp * _mintAmount), "Valor da mintagem diferente do valor definido no contrato"); payable(wSplit).transfer(address(this).balance); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function destroy() public onlyOwner { require(msg.sender == _contractOwner, "Only the owner can destroy the contract"); selfdestruct(payable(_contractOwner)); } function burn(uint256 _tokenId) external { require(ownerOf(_tokenId) == msg.sender || msg.sender == _contractOwner, "You can't revoke this token"); _burn(_tokenId); } fallback() external payable { revert(); } receive() external payable { uint256 amountRoyaltiesOne = msg.value * royaltiesOne / 100; payable(wOwnerOne).transfer(amountRoyaltiesOne); uint256 amountRoyaltiesTwo = msg.value * royaltiesTwo / 100; payable(wOwnerTwo).transfer(amountRoyaltiesTwo); payable(wOwnerThree).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint256","name":"_initSaleWaitList","type":"uint256"},{"internalType":"uint256","name":"_endSaleWaitList","type":"uint256"},{"internalType":"uint256","name":"_endSalePublic","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address[]","name":"endUser","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"AirDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_addressLastMintedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_nftEtherValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_nftEtherValueWaitList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"conditionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getAddressLastMintedTokenId","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":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNFTURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNftEtherValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getQtdAvailableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountWaitList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"merkleProof","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address payable","name":"endUser","type":"address"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address payable","name":"endUser","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWaitlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_initSaleWaitList","type":"uint256"},{"internalType":"uint256","name":"_endSaleWaitList","type":"uint256"},{"internalType":"uint256","name":"_endSalePublic","type":"uint256"}],"name":"setNewTimesSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftEtherValue","type":"uint256"}],"name":"setNftEtherValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftEtherValue","type":"uint256"}],"name":"setNftEtherValueWaitList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newRootKey","type":"bytes32"}],"name":"setRootKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"split","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"baseExtension","type":"string"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600b90620000269082620004f3565b50604080516020810190915260008152600c90620000459082620004f3565b50610fa0600d556006600e55600a600f556010805460ff191690556007601581905566071afd498d000060175566038d7ea4c68000601855601955602c601a55601c601b8190558055601d80546001600160a01b031990811673dac531b352a67c49e9a9268c44a72bb54d83dcfe17909155601e8054821673fe2fe58db4f0875937d38647b5b8431444851d3d179055601f805482167316ad40534ce1ad71586b2ad56bc3915c6d3d06461790556020805490911673850656e615c3acfd1e3afc8af9d7bb28ddc9e59d17905560006021553480156200012457600080fd5b5060405162003763380380620037638339810160408190526200014791620005bf565b604080518082018252600b81526a537572664a756e6b69657360a81b60208083019190915282518084019093526003835262534a4360e81b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620002e05780156200022e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200020f57600080fd5b505af115801562000224573d6000803e3d6000fd5b50505050620002e0565b6001600160a01b038216156200027f5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001f4565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002c657600080fd5b505af1158015620002db573d6000803e3d6000fd5b505050505b5060039050620002f18382620004f3565b506004620003008282620004f3565b5050600180555062000312336200037f565b620003366040518060800160405280605181526020016200371260519139620003d1565b604080516020810190915260008152601390620003549082620004f3565b50601480546001600160a01b03191633179055602393909355602591909155602655602755620005f6565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003db620003ed565b600a620003e98282620004f3565b5050565b6009546001600160a01b031633146200044c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200047957607f821691505b6020821081036200049a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004ee57600081815260208120601f850160051c81016020861015620004c95750805b601f850160051c820191505b81811015620004ea57828155600101620004d5565b5050505b505050565b81516001600160401b038111156200050f576200050f6200044e565b620005278162000520845462000464565b84620004a0565b602080601f8311600181146200055f5760008415620005465750858301515b600019600386901b1c1916600185901b178555620004ea565b600085815260208120601f198616915b8281101562000590578886015182559484019460019091019084016200056f565b5085821015620005af5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060008060808587031215620005d657600080fd5b505082516020840151604085015160609095015191969095509092509050565b61310c80620006066000396000f3fe60806040526004361061031d5760003560e01c8063715018a6116101ab578063c87b56dd116100f7578063e8a3d48511610095578063f07c2c9f1161006f578063f07c2c9f146109d7578063f1763ebf146109ed578063f2fde38b14610a0d578063fa9a309d14610a2d57600080fd5b8063e8a3d48514610963578063e985e9c514610978578063ebf0c717146109c157600080fd5b8063d5507007116100d1578063d550700714610906578063d6e7b8e41461091b578063dbceb00514610930578063e0fa65591461094357600080fd5b8063c87b56dd146108b1578063d03be3ec146108d1578063d1df402a146108e657600080fd5b8063a1d8bd7e11610164578063b1c9fe6e1161013e578063b1c9fe6e14610847578063b4ed16b31461085c578063b88d4fde14610871578063b8a20ed01461089157600080fd5b8063a1d8bd7e146107ef578063a22cb4651461080f578063b187bd261461082f57600080fd5b8063715018a61461075f57806383197ef01461077457806385aa9436146107895780638da5cb5b1461079c578063938e3d7b146107ba57806395d89b41146107da57600080fd5b806342842e0e1161026a5780636352211e116102235780636e17f797116101fd5780636e17f797146106ea5780636f8b44b01461070a57806370a082311461072a578063714c53981461074a57600080fd5b80636352211e1461067e57806369473f891461069e5780636c21fb00146106b457600080fd5b806342842e0e146105d357806342966c68146105f35780634c0f38c2146106135780634f0a23091461062857806351524e5b1461063e57806355f804b31461065e57600080fd5b8063088a4ed0116102d7578063239c70ae116102b1578063239c70ae1461055b57806323b872dd1461057157806341dcf4541461059157806341f43434146105b157600080fd5b8063088a4ed0146104f8578063095ea7b31461051857806318160ddd1461053857600080fd5b8062621fda1461041257806301ffc9a71461044857806302329a291461047857806306af73121461049857806306fdde03146104ab578063081812fc146104c057600080fd5b3661040d5760006064601a543461033491906126c0565b61033e91906126d7565b601e546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610379573d6000803e3d6000fd5b5060006064601b543461038c91906126c0565b61039691906126d7565b601f546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156103d1573d6000803e3d6000fd5b506020546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561040b573d6000803e3d6000fd5b005b600080fd5b34801561041e57600080fd5b5061043261042d3660046126f9565b610a4d565b60405161043f9190612762565b60405180910390f35b34801561045457600080fd5b5061046861046336600461278b565b610a84565b604051901515815260200161043f565b34801561048457600080fd5b5061040b6104933660046127b6565b610ad6565b61040b6104a63660046128bc565b610af1565b3480156104b757600080fd5b50610432610d49565b3480156104cc57600080fd5b506104e06104db3660046126f9565b610ddb565b6040516001600160a01b03909116815260200161043f565b34801561050457600080fd5b5061040b6105133660046126f9565b610e1f565b34801561052457600080fd5b5061040b610533366004612914565b610e2c565b34801561054457600080fd5b5061054d610e45565b60405190815260200161043f565b34801561056757600080fd5b5061054d600e5481565b34801561057d57600080fd5b5061040b61058c366004612940565b610e53565b34801561059d57600080fd5b506104326105ac3660046129f8565b610e7e565b3480156105bd57600080fd5b506104e06daaeb6d7670e522a718067333cd4e81565b3480156105df57600080fd5b5061040b6105ee366004612940565b610f05565b3480156105ff57600080fd5b5061040b61060e3660046126f9565b610f2a565b34801561061f57600080fd5b50600d5461054d565b34801561063457600080fd5b5061054d600f5481565b34801561064a57600080fd5b5061040b610659366004612a3e565b610fab565b34801561066a57600080fd5b5061040b610679366004612af5565b611145565b34801561068a57600080fd5b506104e06106993660046126f9565b61115d565b3480156106aa57600080fd5b5061054d60175481565b3480156106c057600080fd5b5061054d6106cf366004612b29565b6001600160a01b031660009081526016602052604090205490565b3480156106f657600080fd5b5061040b6107053660046126f9565b61116f565b34801561071657600080fd5b5061040b6107253660046126f9565b61117c565b34801561073657600080fd5b5061054d610745366004612b29565b611189565b34801561075657600080fd5b506104326111d7565b34801561076b57600080fd5b5061040b6111e6565b34801561078057600080fd5b5061040b6111fa565b61040b610797366004612b46565b61127a565b3480156107a857600080fd5b506009546001600160a01b03166104e0565b3480156107c657600080fd5b5061040b6107d5366004612af5565b61143b565b3480156107e657600080fd5b5061043261144f565b3480156107fb57600080fd5b5061054d61080a366004612914565b61145e565b34801561081b57600080fd5b5061040b61082a366004612b76565b61148f565b34801561083b57600080fd5b5060105460ff16610468565b34801561085357600080fd5b5061054d6114a3565b34801561086857600080fd5b5061054d6114e9565b34801561087d57600080fd5b5061040b61088c366004612ba4565b611502565b34801561089d57600080fd5b506104686108ac366004612c23565b61152f565b3480156108bd57600080fd5b506104326108cc3660046126f9565b611545565b3480156108dd57600080fd5b5060175461054d565b3480156108f257600080fd5b5061040b610901366004612c67565b611612565b34801561091257600080fd5b5061054d611742565b34801561092757600080fd5b50600e5461054d565b61040b61093e3660046126f9565b61177f565b34801561094f57600080fd5b5061040b61095e3660046126f9565b611843565b34801561096f57600080fd5b50610432611850565b34801561098457600080fd5b50610468610993366004612c93565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156109cd57600080fd5b5061054d60235481565b3480156109e357600080fd5b5061054d60185481565b3480156109f957600080fd5b5061040b610a083660046126f9565b61185f565b348015610a1957600080fd5b5061040b610a28366004612b29565b61186c565b348015610a3957600080fd5b5061054d610a483660046126f9565b6118e2565b6060600a610a5a83611903565b600b604051602001610a6e93929190612d6e565b6040516020818303038152906040529050919050565b60006001600160e01b031982166380ac58cd60e01b1480610ab557506001600160e01b03198216635b5e139f60e01b145b80610ad057506301ffc9a760e01b6001600160e01b03198316145b92915050565b610ade611995565b6010805460ff1916911515919091179055565b610af96114a3565b15610b4b5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420576169744c697374206465736174697661646f000000000000000060448201526064015b60405180910390fd5b60105460ff1615610b6e5760405162461bcd60e51b8152600401610b4290612da1565b6000610b78610e45565b905060008411610bca5760405162461bcd60e51b815260206004820152601f60248201527f50726563697361206d696e7461722070656c6f206d656e6f732031204e4654006044820152606401610b42565b600f54610bd684611189565b610be09086612dcd565b1115610bfe5760405162461bcd60e51b8152600401610b4290612de0565b600d54610c0b8583612dcd565b1115610c295760405162461bcd60e51b8152600401610b4290612e2f565b6040516bffffffffffffffffffffffff19606085901b166020820152610c699083906034016040516020818303038152906040528051906020012061152f565b610cb55760405162461bcd60e51b815260206004820152601960248201527f566f6365206e616f2065737461206e6120576169744c697374000000000000006044820152606401610b42565b610cbe8461177f565b6000610cc8610e45565b600d54610cd59190612e70565b905060015b858111610d3f57610cec8560016119ef565b6000610cf9846001612dcd565b9050610d0481611545565b50610d0e83612e83565b6001600160a01b03871660009081526016602052604090208390559250819050610d3781612e9a565b915050610cda565b5060125550505050565b606060038054610d5890612cc1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8490612cc1565b8015610dd15780601f10610da657610100808354040283529160200191610dd1565b820191906000526020600020905b815481529060010190602001808311610db457829003601f168201915b5050505050905090565b6000610de682611a09565b610e03576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b610e27611995565b600e55565b81610e3681611a42565b610e408383611afb565b505050565b600254600154036000190190565b826001600160a01b0381163314610e6d57610e6d33611a42565b610e78848484611b83565b50505050565b6060610e8983611a09565b610ea657604051630a14c4b560e41b815260040160405180910390fd5b6000610eb06111d7565b90508051600003610ed05760405180602001604052806000815250610efd565b80610eda85611903565b84604051602001610eed93929190612eb3565b6040516020818303038152906040525b949350505050565b826001600160a01b0381163314610f1f57610f1f33611a42565b610e78848484611b8e565b33610f348261115d565b6001600160a01b03161480610f5357506014546001600160a01b031633145b610f9f5760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e2774207265766f6b65207468697320746f6b656e00000000006044820152606401610b42565b610fa881611ba9565b50565b610fb3611995565b60105460ff1615610fd65760405162461bcd60e51b8152600401610b4290612da1565b805182511461101c5760405162461bcd60e51b81526020600482015260126024820152714d617472697a657320696e76616c6964617360701b6044820152606401610b42565b81516001600160401b03811115611035576110356127e8565b60405190808252806020026020018201604052801561105e578160200160208202803683370190505b50805161107391602291602090910190612634565b50600061107e610e45565b600d5461108b9190612e70565b905060005b8351811015610e785760006110a3610e45565b90506110c98583815181106110ba576110ba612ef6565b602002602001015160016119ef565b60006110d6826001612dcd565b90506110e181611545565b506110eb84612e83565b9350826016600088868151811061110457611104612ef6565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055505050808061113d90612e9a565b915050611090565b61114d611995565b600a6111598282612f5a565b5050565b600061116882611bb4565b5192915050565b611177611995565b601755565b611184611995565b600d55565b60006001600160a01b0382166111b2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6060600a8054610d5890612cc1565b6111ee611995565b6111f86000611cdb565b565b611202611995565b6014546001600160a01b0316331461126c5760405162461bcd60e51b815260206004820152602760248201527f4f6e6c7920746865206f776e65722063616e2064657374726f792074686520636044820152661bdb9d1c9858dd60ca1b6064820152608401610b42565b6014546001600160a01b0316ff5b6112826114a3565b6001146112ca5760405162461bcd60e51b81526020600482015260166024820152754d696e74205075626c6963206465736174697661646f60501b6044820152606401610b42565b60105460ff16156112ed5760405162461bcd60e51b8152600401610b4290612da1565b60006112f7610e45565b9050600083116113495760405162461bcd60e51b815260206004820152601f60248201527f50726563697361206d696e7461722070656c6f206d656e6f732031204e4654006044820152606401610b42565b600e5461135583611189565b61135f9085612dcd565b111561137d5760405162461bcd60e51b8152600401610b4290612de0565b600d5461138a8483612dcd565b11156113a85760405162461bcd60e51b8152600401610b4290612e2f565b6113b18361177f565b60006113bb610e45565b600d546113c89190612e70565b905060015b848111611432576113df8460016119ef565b60006113ec846001612dcd565b90506113f781611545565b5061140183612e83565b6001600160a01b0386166000908152601660205260409020839055925081905061142a81612e9a565b9150506113cd565b50601255505050565b611443611995565b60136111598282612f5a565b606060048054610d5890612cc1565b6000602052816000526040600020818154811061147a57600080fd5b90600052602060002001600091509150505481565b8161149981611a42565b610e408383611d2d565b600060255442101580156114b957506026544211155b156114c45750600090565b60265442101580156114d857506027544211155b156114e35750600190565b50600290565b601254600090156114fb575060125490565b50600d5490565b836001600160a01b038116331461151c5761151c33611a42565b61152885858585611dc2565b5050505050565b600061153e8360235484611e0d565b9392505050565b606061155082611a09565b6115b45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b42565b60006115be6111d7565b905060008151116115de576040518060200160405280600081525061153e565b806115e884611903565b600b6040516020016115fc93929190613019565b6040516020818303038152906040529392505050565b61161a611995565b8282116116a55760405162461bcd60e51b815260206004820152604d60248201527f4461746120496e696369616c2064652076656e6461207075626c69636120646560448201527f766520736572206d656e6f722071756520646120646174612064652076656e6460648201526c184819184815d85a5d131a5cdd609a1b608482015260a401610b42565b8181116117345760405162461bcd60e51b815260206004820152605160248201527f446174612046696e616c2064652076656e6461207075626c696361206465766560448201527f20736572206d656e6f722071756520646120646174612066696e616c206465206064820152701d995b99184819184815d85a5d131a5cdd607a1b608482015260a401610b42565b602592909255602655602755565b60008061174d6114a3565b90508060000361175f57505060185490565b806001148061176e5750806002145b1561177b57505060175490565b5090565b6000611789611742565b905061179582826126c0565b34101561180a5760405162461bcd60e51b815260206004820152603960248201527f56616c6f72206461206d696e746167656d206469666572656e746520646f207660448201527f616c6f7220646566696e69646f206e6f20636f6e747261746f000000000000006064820152608401610b42565b601d546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610e40573d6000803e3d6000fd5b61184b611995565b601855565b606060138054610d5890612cc1565b611867611995565b602355565b611874611995565b6001600160a01b0381166118d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b610fa881611cdb565b602481815481106118f257600080fd5b600091825260209091200154905081565b6060600061191083611e23565b60010190506000816001600160401b0381111561192f5761192f6127e8565b6040519080825280601f01601f191660200182016040528015611959576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461196357509392505050565b6009546001600160a01b031633146111f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b42565b611159828260405180602001604052806000815250611efb565b600081600111158015611a1d575060015482105b8015610ad0575050600090815260056020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b15610fa857604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad3919061303f565b610fa857604051633b79c77360e21b81526001600160a01b0382166004820152602401610b42565b6000611b068261115d565b9050806001600160a01b0316836001600160a01b031603611b3a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590611b5a5750611b588133610993565b155b15611b78576040516367d9dca160e11b815260040160405180910390fd5b610e40838383611f08565b610e40838383611f64565b610e4083838360405180602001604052806000815250611502565b610fa881600061213d565b60408051606081018252600080825260208201819052918101919091528180600111158015611be4575060015481105b15611cc257600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cc05780516001600160a01b031615611c57579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cbb579392505050565b611c57565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b03831603611d565760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611dcd848484611f64565b6001600160a01b0383163b15158015611def5750611ded848484846122f1565b155b15610e78576040516368d2bf6b60e11b815260040160405180910390fd5b600082611e1a85846123dc565b14949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611e625772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611e8e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611eac57662386f26fc10000830492506010015b6305f5e1008310611ec4576305f5e100830492506008015b6127108310611ed857612710830492506004015b60648310611eea576064830492506002015b600a8310610ad05760010192915050565b610e408383836001612450565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611f6f82611bb4565b9050836001600160a01b031681600001516001600160a01b031614611fa65760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611fc45750611fc48533610993565b80611fdf575033611fd484610ddb565b6001600160a01b0316145b905080611fff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661202657604051633a954ecd60e21b815260040160405180910390fd5b61203260008487611f08565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661210657600154821461210657805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03166000805160206130b783398151915260405160405180910390a4611528565b600061214883611bb4565b805190915082156121ae576000336001600160a01b038316148061217157506121718233610993565b8061218c57503361218186610ddb565b6001600160a01b0316145b9050806121ac57604051632ce44b5f60e11b815260040160405180910390fd5b505b6121ba60008583611f08565b6001600160a01b0380821660008181526006602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526005909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166122b85760015482146122b857805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416906000805160206130b7833981519152908390a450506002805460010190555050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061232690339089908890889060040161305c565b6020604051808303816000875af1925050508015612361575060408051601f3d908101601f1916820190925261235e91810190613099565b60015b6123bf573d80801561238f576040519150601f19603f3d011682016040523d82523d6000602084013e612394565b606091505b5080516000036123b7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b84518110156124485760008582815181106123fe576123fe612ef6565b602002602001015190508083116124245760008381526020829052604090209250612435565b600081815260208490526040902092505b508061244081612e9a565b9150506123e1565b509392505050565b6001546001600160a01b03851661247957604051622e076360e81b815260040160405180910390fd5b8360000361249a5760405163b562e8dd60e01b815260040160405180910390fd5b3360009081526020819052604081206124b29161267b565b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561256357506001600160a01b0387163b15155b156125d9575b60405182906001600160a01b038916906000906000805160206130b7833981519152908290a46125a260008884806001019550886122f1565b6125bf576040516368d2bf6b60e11b815260040160405180910390fd5b8082036125695782600154146125d457600080fd5b61262b565b5b336000908152602081815260408083208054600181810183559185529284209092018590555190840193916001600160a01b038a16916000805160206130b7833981519152908290a48082036125da575b50600155611528565b82805482825590600052602060002090810192821561266f579160200282015b8281111561266f578251825591602001919060010190612654565b5061177b929150612695565b5080546000825590600052602060002090810190610fa891905b5b8082111561177b5760008155600101612696565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ad057610ad06126aa565b6000826126f457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561270b57600080fd5b5035919050565b60005b8381101561272d578181015183820152602001612715565b50506000910152565b6000815180845261274e816020860160208601612712565b601f01601f19169290920160200192915050565b60208152600061153e6020830184612736565b6001600160e01b031981168114610fa857600080fd5b60006020828403121561279d57600080fd5b813561153e81612775565b8015158114610fa857600080fd5b6000602082840312156127c857600080fd5b813561153e816127a8565b6001600160a01b0381168114610fa857600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612826576128266127e8565b604052919050565b60006001600160401b03821115612847576128476127e8565b5060051b60200190565b600082601f83011261286257600080fd5b813560206128776128728361282e565b6127fe565b82815260059290921b8401810191818101908684111561289657600080fd5b8286015b848110156128b1578035835291830191830161289a565b509695505050505050565b6000806000606084860312156128d157600080fd5b8335925060208401356128e3816127d3565b915060408401356001600160401b038111156128fe57600080fd5b61290a86828701612851565b9150509250925092565b6000806040838503121561292757600080fd5b8235612932816127d3565b946020939093013593505050565b60008060006060848603121561295557600080fd5b8335612960816127d3565b92506020840135612970816127d3565b929592945050506040919091013590565b60006001600160401b0383111561299a5761299a6127e8565b6129ad601f8401601f19166020016127fe565b90508281528383830111156129c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126129e957600080fd5b61153e83833560208501612981565b60008060408385031215612a0b57600080fd5b8235915060208301356001600160401b03811115612a2857600080fd5b612a34858286016129d8565b9150509250929050565b60008060408385031215612a5157600080fd5b82356001600160401b0380821115612a6857600080fd5b818501915085601f830112612a7c57600080fd5b81356020612a8c6128728361282e565b82815260059290921b84018101918181019089841115612aab57600080fd5b948201945b83861015612ad2578535612ac3816127d3565b82529482019490820190612ab0565b96505086013592505080821115612ae857600080fd5b50612a3485828601612851565b600060208284031215612b0757600080fd5b81356001600160401b03811115612b1d57600080fd5b610efd848285016129d8565b600060208284031215612b3b57600080fd5b813561153e816127d3565b60008060408385031215612b5957600080fd5b823591506020830135612b6b816127d3565b809150509250929050565b60008060408385031215612b8957600080fd5b8235612b94816127d3565b91506020830135612b6b816127a8565b60008060008060808587031215612bba57600080fd5b8435612bc5816127d3565b93506020850135612bd5816127d3565b92506040850135915060608501356001600160401b03811115612bf757600080fd5b8501601f81018713612c0857600080fd5b612c1787823560208401612981565b91505092959194509250565b60008060408385031215612c3657600080fd5b82356001600160401b03811115612c4c57600080fd5b612c5885828601612851565b95602094909401359450505050565b600080600060608486031215612c7c57600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612ca657600080fd5b8235612cb1816127d3565b91506020830135612b6b816127d3565b600181811c90821680612cd557607f821691505b602082108103612cf557634e487b7160e01b600052602260045260246000fd5b50919050565b60008154612d0881612cc1565b60018281168015612d205760018114612d3557612d64565b60ff1984168752821515830287019450612d64565b8560005260208060002060005b85811015612d5b5781548a820152908401908201612d42565b50505082870194505b5050505092915050565b6000612d7a8286612cfb565b8451612d8a818360208901612712565b612d9681830186612cfb565b979650505050505050565b6020808252601290820152714f20636f6e747261746f207061757361646f60701b604082015260600190565b80820180821115610ad057610ad06126aa565b6020808252602f908201527f5175616e746964616465206c696d697465206465206d696e7420706f7220636160408201526e72746569726120657863656469646160881b606082015260800190565b60208082526021908201527f5175616e746964616465206c696d697465206465204e465420657863656469646040820152606160f81b606082015260800190565b81810381811115610ad057610ad06126aa565b600081612e9257612e926126aa565b506000190190565b600060018201612eac57612eac6126aa565b5060010190565b60008451612ec5818460208901612712565b845190830190612ed9818360208901612712565b8451910190612eec818360208801612712565b0195945050505050565b634e487b7160e01b600052603260045260246000fd5b601f821115610e4057600081815260208120601f850160051c81016020861015612f335750805b601f850160051c820191505b81811015612f5257828155600101612f3f565b505050505050565b81516001600160401b03811115612f7357612f736127e8565b612f8781612f818454612cc1565b84612f0c565b602080601f831160018114612fbc5760008415612fa45750858301515b600019600386901b1c1916600185901b178555612f52565b600085815260208120601f198616915b82811015612feb57888601518255948401946001909101908401612fcc565b50858210156130095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845161302b818460208901612712565b845190830190612d8a818360208901612712565b60006020828403121561305157600080fd5b815161153e816127a8565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061308f90830184612736565b9695505050505050565b6000602082840312156130ab57600080fd5b815161153e8161277556feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b45ac9367fcfbec33a27fb166a5a6e8a2f465479df56edcc41598f7d91911e1164736f6c6343000811003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e4d4332763167335a7a484e4555664b797961344b6b515962385a63376f43397a55485345566a5076754c4b2f9e0264985babf721c164c0269b70095a4b568e631b24620a9c3ab7bd1781c8e8000000000000000000000000000000000000000000000000000000006419c67000000000000000000000000000000000000000000000000000000000641b17f00000000000000000000000000000000000000000000000000000000071462370
Deployed Bytecode
0x60806040526004361061031d5760003560e01c8063715018a6116101ab578063c87b56dd116100f7578063e8a3d48511610095578063f07c2c9f1161006f578063f07c2c9f146109d7578063f1763ebf146109ed578063f2fde38b14610a0d578063fa9a309d14610a2d57600080fd5b8063e8a3d48514610963578063e985e9c514610978578063ebf0c717146109c157600080fd5b8063d5507007116100d1578063d550700714610906578063d6e7b8e41461091b578063dbceb00514610930578063e0fa65591461094357600080fd5b8063c87b56dd146108b1578063d03be3ec146108d1578063d1df402a146108e657600080fd5b8063a1d8bd7e11610164578063b1c9fe6e1161013e578063b1c9fe6e14610847578063b4ed16b31461085c578063b88d4fde14610871578063b8a20ed01461089157600080fd5b8063a1d8bd7e146107ef578063a22cb4651461080f578063b187bd261461082f57600080fd5b8063715018a61461075f57806383197ef01461077457806385aa9436146107895780638da5cb5b1461079c578063938e3d7b146107ba57806395d89b41146107da57600080fd5b806342842e0e1161026a5780636352211e116102235780636e17f797116101fd5780636e17f797146106ea5780636f8b44b01461070a57806370a082311461072a578063714c53981461074a57600080fd5b80636352211e1461067e57806369473f891461069e5780636c21fb00146106b457600080fd5b806342842e0e146105d357806342966c68146105f35780634c0f38c2146106135780634f0a23091461062857806351524e5b1461063e57806355f804b31461065e57600080fd5b8063088a4ed0116102d7578063239c70ae116102b1578063239c70ae1461055b57806323b872dd1461057157806341dcf4541461059157806341f43434146105b157600080fd5b8063088a4ed0146104f8578063095ea7b31461051857806318160ddd1461053857600080fd5b8062621fda1461041257806301ffc9a71461044857806302329a291461047857806306af73121461049857806306fdde03146104ab578063081812fc146104c057600080fd5b3661040d5760006064601a543461033491906126c0565b61033e91906126d7565b601e546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610379573d6000803e3d6000fd5b5060006064601b543461038c91906126c0565b61039691906126d7565b601f546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156103d1573d6000803e3d6000fd5b506020546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561040b573d6000803e3d6000fd5b005b600080fd5b34801561041e57600080fd5b5061043261042d3660046126f9565b610a4d565b60405161043f9190612762565b60405180910390f35b34801561045457600080fd5b5061046861046336600461278b565b610a84565b604051901515815260200161043f565b34801561048457600080fd5b5061040b6104933660046127b6565b610ad6565b61040b6104a63660046128bc565b610af1565b3480156104b757600080fd5b50610432610d49565b3480156104cc57600080fd5b506104e06104db3660046126f9565b610ddb565b6040516001600160a01b03909116815260200161043f565b34801561050457600080fd5b5061040b6105133660046126f9565b610e1f565b34801561052457600080fd5b5061040b610533366004612914565b610e2c565b34801561054457600080fd5b5061054d610e45565b60405190815260200161043f565b34801561056757600080fd5b5061054d600e5481565b34801561057d57600080fd5b5061040b61058c366004612940565b610e53565b34801561059d57600080fd5b506104326105ac3660046129f8565b610e7e565b3480156105bd57600080fd5b506104e06daaeb6d7670e522a718067333cd4e81565b3480156105df57600080fd5b5061040b6105ee366004612940565b610f05565b3480156105ff57600080fd5b5061040b61060e3660046126f9565b610f2a565b34801561061f57600080fd5b50600d5461054d565b34801561063457600080fd5b5061054d600f5481565b34801561064a57600080fd5b5061040b610659366004612a3e565b610fab565b34801561066a57600080fd5b5061040b610679366004612af5565b611145565b34801561068a57600080fd5b506104e06106993660046126f9565b61115d565b3480156106aa57600080fd5b5061054d60175481565b3480156106c057600080fd5b5061054d6106cf366004612b29565b6001600160a01b031660009081526016602052604090205490565b3480156106f657600080fd5b5061040b6107053660046126f9565b61116f565b34801561071657600080fd5b5061040b6107253660046126f9565b61117c565b34801561073657600080fd5b5061054d610745366004612b29565b611189565b34801561075657600080fd5b506104326111d7565b34801561076b57600080fd5b5061040b6111e6565b34801561078057600080fd5b5061040b6111fa565b61040b610797366004612b46565b61127a565b3480156107a857600080fd5b506009546001600160a01b03166104e0565b3480156107c657600080fd5b5061040b6107d5366004612af5565b61143b565b3480156107e657600080fd5b5061043261144f565b3480156107fb57600080fd5b5061054d61080a366004612914565b61145e565b34801561081b57600080fd5b5061040b61082a366004612b76565b61148f565b34801561083b57600080fd5b5060105460ff16610468565b34801561085357600080fd5b5061054d6114a3565b34801561086857600080fd5b5061054d6114e9565b34801561087d57600080fd5b5061040b61088c366004612ba4565b611502565b34801561089d57600080fd5b506104686108ac366004612c23565b61152f565b3480156108bd57600080fd5b506104326108cc3660046126f9565b611545565b3480156108dd57600080fd5b5060175461054d565b3480156108f257600080fd5b5061040b610901366004612c67565b611612565b34801561091257600080fd5b5061054d611742565b34801561092757600080fd5b50600e5461054d565b61040b61093e3660046126f9565b61177f565b34801561094f57600080fd5b5061040b61095e3660046126f9565b611843565b34801561096f57600080fd5b50610432611850565b34801561098457600080fd5b50610468610993366004612c93565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156109cd57600080fd5b5061054d60235481565b3480156109e357600080fd5b5061054d60185481565b3480156109f957600080fd5b5061040b610a083660046126f9565b61185f565b348015610a1957600080fd5b5061040b610a28366004612b29565b61186c565b348015610a3957600080fd5b5061054d610a483660046126f9565b6118e2565b6060600a610a5a83611903565b600b604051602001610a6e93929190612d6e565b6040516020818303038152906040529050919050565b60006001600160e01b031982166380ac58cd60e01b1480610ab557506001600160e01b03198216635b5e139f60e01b145b80610ad057506301ffc9a760e01b6001600160e01b03198316145b92915050565b610ade611995565b6010805460ff1916911515919091179055565b610af96114a3565b15610b4b5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420576169744c697374206465736174697661646f000000000000000060448201526064015b60405180910390fd5b60105460ff1615610b6e5760405162461bcd60e51b8152600401610b4290612da1565b6000610b78610e45565b905060008411610bca5760405162461bcd60e51b815260206004820152601f60248201527f50726563697361206d696e7461722070656c6f206d656e6f732031204e4654006044820152606401610b42565b600f54610bd684611189565b610be09086612dcd565b1115610bfe5760405162461bcd60e51b8152600401610b4290612de0565b600d54610c0b8583612dcd565b1115610c295760405162461bcd60e51b8152600401610b4290612e2f565b6040516bffffffffffffffffffffffff19606085901b166020820152610c699083906034016040516020818303038152906040528051906020012061152f565b610cb55760405162461bcd60e51b815260206004820152601960248201527f566f6365206e616f2065737461206e6120576169744c697374000000000000006044820152606401610b42565b610cbe8461177f565b6000610cc8610e45565b600d54610cd59190612e70565b905060015b858111610d3f57610cec8560016119ef565b6000610cf9846001612dcd565b9050610d0481611545565b50610d0e83612e83565b6001600160a01b03871660009081526016602052604090208390559250819050610d3781612e9a565b915050610cda565b5060125550505050565b606060038054610d5890612cc1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8490612cc1565b8015610dd15780601f10610da657610100808354040283529160200191610dd1565b820191906000526020600020905b815481529060010190602001808311610db457829003601f168201915b5050505050905090565b6000610de682611a09565b610e03576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b610e27611995565b600e55565b81610e3681611a42565b610e408383611afb565b505050565b600254600154036000190190565b826001600160a01b0381163314610e6d57610e6d33611a42565b610e78848484611b83565b50505050565b6060610e8983611a09565b610ea657604051630a14c4b560e41b815260040160405180910390fd5b6000610eb06111d7565b90508051600003610ed05760405180602001604052806000815250610efd565b80610eda85611903565b84604051602001610eed93929190612eb3565b6040516020818303038152906040525b949350505050565b826001600160a01b0381163314610f1f57610f1f33611a42565b610e78848484611b8e565b33610f348261115d565b6001600160a01b03161480610f5357506014546001600160a01b031633145b610f9f5760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e2774207265766f6b65207468697320746f6b656e00000000006044820152606401610b42565b610fa881611ba9565b50565b610fb3611995565b60105460ff1615610fd65760405162461bcd60e51b8152600401610b4290612da1565b805182511461101c5760405162461bcd60e51b81526020600482015260126024820152714d617472697a657320696e76616c6964617360701b6044820152606401610b42565b81516001600160401b03811115611035576110356127e8565b60405190808252806020026020018201604052801561105e578160200160208202803683370190505b50805161107391602291602090910190612634565b50600061107e610e45565b600d5461108b9190612e70565b905060005b8351811015610e785760006110a3610e45565b90506110c98583815181106110ba576110ba612ef6565b602002602001015160016119ef565b60006110d6826001612dcd565b90506110e181611545565b506110eb84612e83565b9350826016600088868151811061110457611104612ef6565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055505050808061113d90612e9a565b915050611090565b61114d611995565b600a6111598282612f5a565b5050565b600061116882611bb4565b5192915050565b611177611995565b601755565b611184611995565b600d55565b60006001600160a01b0382166111b2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6060600a8054610d5890612cc1565b6111ee611995565b6111f86000611cdb565b565b611202611995565b6014546001600160a01b0316331461126c5760405162461bcd60e51b815260206004820152602760248201527f4f6e6c7920746865206f776e65722063616e2064657374726f792074686520636044820152661bdb9d1c9858dd60ca1b6064820152608401610b42565b6014546001600160a01b0316ff5b6112826114a3565b6001146112ca5760405162461bcd60e51b81526020600482015260166024820152754d696e74205075626c6963206465736174697661646f60501b6044820152606401610b42565b60105460ff16156112ed5760405162461bcd60e51b8152600401610b4290612da1565b60006112f7610e45565b9050600083116113495760405162461bcd60e51b815260206004820152601f60248201527f50726563697361206d696e7461722070656c6f206d656e6f732031204e4654006044820152606401610b42565b600e5461135583611189565b61135f9085612dcd565b111561137d5760405162461bcd60e51b8152600401610b4290612de0565b600d5461138a8483612dcd565b11156113a85760405162461bcd60e51b8152600401610b4290612e2f565b6113b18361177f565b60006113bb610e45565b600d546113c89190612e70565b905060015b848111611432576113df8460016119ef565b60006113ec846001612dcd565b90506113f781611545565b5061140183612e83565b6001600160a01b0386166000908152601660205260409020839055925081905061142a81612e9a565b9150506113cd565b50601255505050565b611443611995565b60136111598282612f5a565b606060048054610d5890612cc1565b6000602052816000526040600020818154811061147a57600080fd5b90600052602060002001600091509150505481565b8161149981611a42565b610e408383611d2d565b600060255442101580156114b957506026544211155b156114c45750600090565b60265442101580156114d857506027544211155b156114e35750600190565b50600290565b601254600090156114fb575060125490565b50600d5490565b836001600160a01b038116331461151c5761151c33611a42565b61152885858585611dc2565b5050505050565b600061153e8360235484611e0d565b9392505050565b606061155082611a09565b6115b45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b42565b60006115be6111d7565b905060008151116115de576040518060200160405280600081525061153e565b806115e884611903565b600b6040516020016115fc93929190613019565b6040516020818303038152906040529392505050565b61161a611995565b8282116116a55760405162461bcd60e51b815260206004820152604d60248201527f4461746120496e696369616c2064652076656e6461207075626c69636120646560448201527f766520736572206d656e6f722071756520646120646174612064652076656e6460648201526c184819184815d85a5d131a5cdd609a1b608482015260a401610b42565b8181116117345760405162461bcd60e51b815260206004820152605160248201527f446174612046696e616c2064652076656e6461207075626c696361206465766560448201527f20736572206d656e6f722071756520646120646174612066696e616c206465206064820152701d995b99184819184815d85a5d131a5cdd607a1b608482015260a401610b42565b602592909255602655602755565b60008061174d6114a3565b90508060000361175f57505060185490565b806001148061176e5750806002145b1561177b57505060175490565b5090565b6000611789611742565b905061179582826126c0565b34101561180a5760405162461bcd60e51b815260206004820152603960248201527f56616c6f72206461206d696e746167656d206469666572656e746520646f207660448201527f616c6f7220646566696e69646f206e6f20636f6e747261746f000000000000006064820152608401610b42565b601d546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610e40573d6000803e3d6000fd5b61184b611995565b601855565b606060138054610d5890612cc1565b611867611995565b602355565b611874611995565b6001600160a01b0381166118d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b610fa881611cdb565b602481815481106118f257600080fd5b600091825260209091200154905081565b6060600061191083611e23565b60010190506000816001600160401b0381111561192f5761192f6127e8565b6040519080825280601f01601f191660200182016040528015611959576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461196357509392505050565b6009546001600160a01b031633146111f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b42565b611159828260405180602001604052806000815250611efb565b600081600111158015611a1d575060015482105b8015610ad0575050600090815260056020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b15610fa857604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad3919061303f565b610fa857604051633b79c77360e21b81526001600160a01b0382166004820152602401610b42565b6000611b068261115d565b9050806001600160a01b0316836001600160a01b031603611b3a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590611b5a5750611b588133610993565b155b15611b78576040516367d9dca160e11b815260040160405180910390fd5b610e40838383611f08565b610e40838383611f64565b610e4083838360405180602001604052806000815250611502565b610fa881600061213d565b60408051606081018252600080825260208201819052918101919091528180600111158015611be4575060015481105b15611cc257600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cc05780516001600160a01b031615611c57579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611cbb579392505050565b611c57565b505b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b03831603611d565760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611dcd848484611f64565b6001600160a01b0383163b15158015611def5750611ded848484846122f1565b155b15610e78576040516368d2bf6b60e11b815260040160405180910390fd5b600082611e1a85846123dc565b14949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611e625772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611e8e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611eac57662386f26fc10000830492506010015b6305f5e1008310611ec4576305f5e100830492506008015b6127108310611ed857612710830492506004015b60648310611eea576064830492506002015b600a8310610ad05760010192915050565b610e408383836001612450565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611f6f82611bb4565b9050836001600160a01b031681600001516001600160a01b031614611fa65760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611fc45750611fc48533610993565b80611fdf575033611fd484610ddb565b6001600160a01b0316145b905080611fff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661202657604051633a954ecd60e21b815260040160405180910390fd5b61203260008487611f08565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661210657600154821461210657805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03166000805160206130b783398151915260405160405180910390a4611528565b600061214883611bb4565b805190915082156121ae576000336001600160a01b038316148061217157506121718233610993565b8061218c57503361218186610ddb565b6001600160a01b0316145b9050806121ac57604051632ce44b5f60e11b815260040160405180910390fd5b505b6121ba60008583611f08565b6001600160a01b0380821660008181526006602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526005909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166122b85760015482146122b857805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416906000805160206130b7833981519152908390a450506002805460010190555050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061232690339089908890889060040161305c565b6020604051808303816000875af1925050508015612361575060408051601f3d908101601f1916820190925261235e91810190613099565b60015b6123bf573d80801561238f576040519150601f19603f3d011682016040523d82523d6000602084013e612394565b606091505b5080516000036123b7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b84518110156124485760008582815181106123fe576123fe612ef6565b602002602001015190508083116124245760008381526020829052604090209250612435565b600081815260208490526040902092505b508061244081612e9a565b9150506123e1565b509392505050565b6001546001600160a01b03851661247957604051622e076360e81b815260040160405180910390fd5b8360000361249a5760405163b562e8dd60e01b815260040160405180910390fd5b3360009081526020819052604081206124b29161267b565b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561256357506001600160a01b0387163b15155b156125d9575b60405182906001600160a01b038916906000906000805160206130b7833981519152908290a46125a260008884806001019550886122f1565b6125bf576040516368d2bf6b60e11b815260040160405180910390fd5b8082036125695782600154146125d457600080fd5b61262b565b5b336000908152602081815260408083208054600181810183559185529284209092018590555190840193916001600160a01b038a16916000805160206130b7833981519152908290a48082036125da575b50600155611528565b82805482825590600052602060002090810192821561266f579160200282015b8281111561266f578251825591602001919060010190612654565b5061177b929150612695565b5080546000825590600052602060002090810190610fa891905b5b8082111561177b5760008155600101612696565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ad057610ad06126aa565b6000826126f457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561270b57600080fd5b5035919050565b60005b8381101561272d578181015183820152602001612715565b50506000910152565b6000815180845261274e816020860160208601612712565b601f01601f19169290920160200192915050565b60208152600061153e6020830184612736565b6001600160e01b031981168114610fa857600080fd5b60006020828403121561279d57600080fd5b813561153e81612775565b8015158114610fa857600080fd5b6000602082840312156127c857600080fd5b813561153e816127a8565b6001600160a01b0381168114610fa857600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612826576128266127e8565b604052919050565b60006001600160401b03821115612847576128476127e8565b5060051b60200190565b600082601f83011261286257600080fd5b813560206128776128728361282e565b6127fe565b82815260059290921b8401810191818101908684111561289657600080fd5b8286015b848110156128b1578035835291830191830161289a565b509695505050505050565b6000806000606084860312156128d157600080fd5b8335925060208401356128e3816127d3565b915060408401356001600160401b038111156128fe57600080fd5b61290a86828701612851565b9150509250925092565b6000806040838503121561292757600080fd5b8235612932816127d3565b946020939093013593505050565b60008060006060848603121561295557600080fd5b8335612960816127d3565b92506020840135612970816127d3565b929592945050506040919091013590565b60006001600160401b0383111561299a5761299a6127e8565b6129ad601f8401601f19166020016127fe565b90508281528383830111156129c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126129e957600080fd5b61153e83833560208501612981565b60008060408385031215612a0b57600080fd5b8235915060208301356001600160401b03811115612a2857600080fd5b612a34858286016129d8565b9150509250929050565b60008060408385031215612a5157600080fd5b82356001600160401b0380821115612a6857600080fd5b818501915085601f830112612a7c57600080fd5b81356020612a8c6128728361282e565b82815260059290921b84018101918181019089841115612aab57600080fd5b948201945b83861015612ad2578535612ac3816127d3565b82529482019490820190612ab0565b96505086013592505080821115612ae857600080fd5b50612a3485828601612851565b600060208284031215612b0757600080fd5b81356001600160401b03811115612b1d57600080fd5b610efd848285016129d8565b600060208284031215612b3b57600080fd5b813561153e816127d3565b60008060408385031215612b5957600080fd5b823591506020830135612b6b816127d3565b809150509250929050565b60008060408385031215612b8957600080fd5b8235612b94816127d3565b91506020830135612b6b816127a8565b60008060008060808587031215612bba57600080fd5b8435612bc5816127d3565b93506020850135612bd5816127d3565b92506040850135915060608501356001600160401b03811115612bf757600080fd5b8501601f81018713612c0857600080fd5b612c1787823560208401612981565b91505092959194509250565b60008060408385031215612c3657600080fd5b82356001600160401b03811115612c4c57600080fd5b612c5885828601612851565b95602094909401359450505050565b600080600060608486031215612c7c57600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612ca657600080fd5b8235612cb1816127d3565b91506020830135612b6b816127d3565b600181811c90821680612cd557607f821691505b602082108103612cf557634e487b7160e01b600052602260045260246000fd5b50919050565b60008154612d0881612cc1565b60018281168015612d205760018114612d3557612d64565b60ff1984168752821515830287019450612d64565b8560005260208060002060005b85811015612d5b5781548a820152908401908201612d42565b50505082870194505b5050505092915050565b6000612d7a8286612cfb565b8451612d8a818360208901612712565b612d9681830186612cfb565b979650505050505050565b6020808252601290820152714f20636f6e747261746f207061757361646f60701b604082015260600190565b80820180821115610ad057610ad06126aa565b6020808252602f908201527f5175616e746964616465206c696d697465206465206d696e7420706f7220636160408201526e72746569726120657863656469646160881b606082015260800190565b60208082526021908201527f5175616e746964616465206c696d697465206465204e465420657863656469646040820152606160f81b606082015260800190565b81810381811115610ad057610ad06126aa565b600081612e9257612e926126aa565b506000190190565b600060018201612eac57612eac6126aa565b5060010190565b60008451612ec5818460208901612712565b845190830190612ed9818360208901612712565b8451910190612eec818360208801612712565b0195945050505050565b634e487b7160e01b600052603260045260246000fd5b601f821115610e4057600081815260208120601f850160051c81016020861015612f335750805b601f850160051c820191505b81811015612f5257828155600101612f3f565b505050505050565b81516001600160401b03811115612f7357612f736127e8565b612f8781612f818454612cc1565b84612f0c565b602080601f831160018114612fbc5760008415612fa45750858301515b600019600386901b1c1916600185901b178555612f52565b600085815260208120601f198616915b82811015612feb57888601518255948401946001909101908401612fcc565b50858210156130095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000845161302b818460208901612712565b845190830190612d8a818360208901612712565b60006020828403121561305157600080fd5b815161153e816127a8565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061308f90830184612736565b9695505050505050565b6000602082840312156130ab57600080fd5b815161153e8161277556feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b45ac9367fcfbec33a27fb166a5a6e8a2f465479df56edcc41598f7d91911e1164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
9e0264985babf721c164c0269b70095a4b568e631b24620a9c3ab7bd1781c8e8000000000000000000000000000000000000000000000000000000006419c67000000000000000000000000000000000000000000000000000000000641b17f00000000000000000000000000000000000000000000000000000000071462370
-----Decoded View---------------
Arg [0] : _root (bytes32): 0x9e0264985babf721c164c0269b70095a4b568e631b24620a9c3ab7bd1781c8e8
Arg [1] : _initSaleWaitList (uint256): 1679410800
Arg [2] : _endSaleWaitList (uint256): 1679497200
Arg [3] : _endSalePublic (uint256): 1900422000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 9e0264985babf721c164c0269b70095a4b568e631b24620a9c3ab7bd1781c8e8
Arg [1] : 000000000000000000000000000000000000000000000000000000006419c670
Arg [2] : 00000000000000000000000000000000000000000000000000000000641b17f0
Arg [3] : 0000000000000000000000000000000000000000000000000000000071462370
Deployed Bytecode Sourcemap
95253:11006:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105874:8;;;95253:11006;;;;105936:26;105992:3;105977:12;;105965:9;:24;;;;:::i;:::-;:30;;;;:::i;:::-;106014:9;;106006:47;;105936:59;;-1:-1:-1;;;;;;106014:9:0;;106006:47;;;;;105936:59;;106014:9;106006:47;106014:9;106006:47;105936:59;106014:9;106006:47;;;;;;;;;;;;;;;;;;;;;106066:26;106122:3;106107:12;;106095:9;:24;;;;:::i;:::-;:30;;;;:::i;:::-;106144:9;;106136:47;;106066:59;;-1:-1:-1;;;;;;106144:9:0;;106136:47;;;;;106066:59;;106144:9;106136:47;106144:9;106136:47;106066:59;106144:9;106136:47;;;;;;;;;;;;;;;;;;;;-1:-1:-1;106204:11:0;;106196:52;;-1:-1:-1;;;;;106204:11:0;;;;106226:21;106196:52;;;;;106204:11;106196:52;106204:11;106196:52;106226:21;106204:11;106196:52;;;;;;;;;;;;;;;;;;;;;95253:11006;105874:8;;;100395:172;;;;;;;;;;-1:-1:-1;100395:172:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73695:305;;;;;;;;;;-1:-1:-1;73695:305:0;;;;;:::i;:::-;;:::i;:::-;;;2165:14:1;;2158:22;2140:41;;2128:2;2113:18;73695:305:0;2000:187:1;99185:79:0;;;;;;;;;;-1:-1:-1;99185:79:0;;;;;:::i;:::-;;:::i;101654:1130::-;;;;;;:::i;:::-;;:::i;76808:91::-;;;;;;;;;;;;;:::i;78336:204::-;;;;;;;;;;-1:-1:-1;78336:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4708:32:1;;;4690:51;;4678:2;4663:18;78336:204:0;4544:203:1;99061:116:0;;;;;;;;;;-1:-1:-1;99061:116:0;;;;;:::i;:::-;;:::i;104696:157::-;;;;;;;;;;-1:-1:-1;104696:157:0;;;;;:::i;:::-;;:::i;72944:303::-;;;;;;;;;;;;;:::i;:::-;;;5226:25:1;;;5214:2;5199:18;72944:303:0;5080:177:1;95581:32:0;;;;;;;;;;;;;;;;104861:163;;;;;;;;;;-1:-1:-1;104861:163:0;;;;;:::i;:::-;;:::i;77134:353::-;;;;;;;;;;-1:-1:-1;77134:353:0;;;;;:::i;:::-;;:::i;7860:143::-;;;;;;;;;;;;194:42;7860:143;;105032:171;;;;;;;;;;-1:-1:-1;105032:171:0;;;;;:::i;:::-;;:::i;105638:189::-;;;;;;;;;;-1:-1:-1;105638:189:0;;;;;:::i;:::-;;:::i;99841:86::-;;;;;;;;;;-1:-1:-1;99910:9:0;;99841:86;;95620:41;;;;;;;;;;;;;;;;102792:694;;;;;;;;;;-1:-1:-1;102792:694:0;;;;;:::i;:::-;;:::i;98949:104::-;;;;;;;;;;-1:-1:-1;98949:104:0;;;;;:::i;:::-;;:::i;76616:125::-;;;;;;;;;;-1:-1:-1;76616:125:0;;;;;:::i;:::-;;:::i;95978:48::-;;;;;;;;;;;;;;;;100041:142;;;;;;;;;;-1:-1:-1;100041:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;100142:33:0;100115:7;100142:33;;;:25;:33;;;;;;;100041:142;99380:115;;;;;;;;;;-1:-1:-1;99380:115:0;;;;;:::i;:::-;;:::i;99272:100::-;;;;;;;;;;-1:-1:-1;99272:100:0;;;;;:::i;:::-;;:::i;74064:206::-;;;;;;;;;;-1:-1:-1;74064:206:0;;;;;:::i;:::-;;:::i;100296:91::-;;;;;;;;;;;;;:::i;94298:103::-;;;;;;;;;;;;;:::i;105447:183::-;;;;;;;;;;;;;:::i;100662:984::-;;;;;;:::i;:::-;;:::i;93650:87::-;;;;;;;;;;-1:-1:-1;93723:6:0;;-1:-1:-1;;;;;93723:6:0;93650:87;;103601:117;;;;;;;;;;-1:-1:-1;103601:117:0;;;;;:::i;:::-;;:::i;76968:95::-;;;;;;;;;;;;;:::i;70579:63::-;;;;;;;;;;-1:-1:-1;70579:63:0;;;;;:::i;:::-;;:::i;104512:176::-;;;;;;;;;;-1:-1:-1;104512:176:0;;;;;:::i;:::-;;:::i;100575:79::-;;;;;;;;;;-1:-1:-1;100640:6:0;;;;100575:79;;97355:372;;;;;;;;;;;;;:::i;99644:189::-;;;;;;;;;;;;;:::i;105211:228::-;;;;;;;;;;-1:-1:-1;105211:228:0;;;;;:::i;:::-;;:::i;98573:145::-;;;;;;;;;;-1:-1:-1;98573:145:0;;;;;:::i;:::-;;:::i;103726:457::-;;;;;;;;;;-1:-1:-1;103726:457:0;;;;;:::i;:::-;;:::i;99935:98::-;;;;;;;;;;-1:-1:-1;100011:14:0;;99935:98;;98029:536;;;;;;;;;;-1:-1:-1;98029:536:0;;;;;:::i;:::-;;:::i;97735:286::-;;;;;;;;;;;;;:::i;100191:97::-;;;;;;;;;;-1:-1:-1;100267:13:0;;100191:97;;104191:313;;;;;;:::i;:::-;;:::i;99503:133::-;;;;;;;;;;-1:-1:-1;99503:133:0;;;;;:::i;:::-;;:::i;103494:99::-;;;;;;;;;;;;;:::i;78970:164::-;;;;;;;;;;-1:-1:-1;78970:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;79091:25:0;;;79067:4;79091:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;78970:164;96658:19;;;;;;;;;;;;;;;;96033:56;;;;;;;;;;;;;;;;98730:95;;;;;;;;;;-1:-1:-1;98730:95:0;;;;;:::i;:::-;;:::i;94556:201::-;;;;;;;;;;-1:-1:-1;94556:201:0;;;;;:::i;:::-;;:::i;96684:28::-;;;;;;;;;;-1:-1:-1;96684:28:0;;;;;:::i;:::-;;:::i;100395:172::-;100451:13;100508:7;100517:25;100534:7;100517:16;:25::i;:::-;100544:13;100491:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;100477:82;;100395:172;;;:::o;73695:305::-;73797:4;-1:-1:-1;;;;;;73834:40:0;;-1:-1:-1;;;73834:40:0;;:105;;-1:-1:-1;;;;;;;73891:48:0;;-1:-1:-1;;;73891:48:0;73834:105;:158;;;-1:-1:-1;;;;;;;;;;48648:40:0;;;73956:36;73814:178;73695:305;-1:-1:-1;;73695:305:0:o;99185:79::-;93536:13;:11;:13::i;:::-;99241:6:::1;:15:::0;;-1:-1:-1;;99241:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;99185:79::o;101654:1130::-;101814:7;:5;:7::i;:::-;:12;101806:49;;;;-1:-1:-1;;;101806:49:0;;13806:2:1;101806:49:0;;;13788:21:1;13845:2;13825:18;;;13818:30;13884:26;13864:18;;;13857:54;13928:18;;101806:49:0;;;;;;;;;101875:6;;;;101874:7;101866:38;;;;-1:-1:-1;;;101866:38:0;;;;;;;:::i;:::-;101915:14;101932:13;:11;:13::i;:::-;101915:30;;101978:1;101964:11;:15;101956:59;;;;-1:-1:-1;;;101956:59:0;;14506:2:1;101956:59:0;;;14488:21:1;14545:2;14525:18;;;14518:30;14584:33;14564:18;;;14557:61;14635:18;;101956:59:0;14304:355:1;101956:59:0;102070:21;;102048:18;102058:7;102048:9;:18::i;:::-;102034:32;;:11;:32;:::i;:::-;:57;;102026:117;;;;-1:-1:-1;;;102026:117:0;;;;;;;:::i;:::-;102186:9;;102162:20;102171:11;102162:6;:20;:::i;:::-;:33;;102154:79;;;;-1:-1:-1;;;102154:79:0;;;;;;;:::i;:::-;102277:25;;-1:-1:-1;;15777:2:1;15773:15;;;15769:53;102277:25:0;;;15757:66:1;102252:52:0;;102260:5;;15839:12:1;;102277:25:0;;;;;;;;;;;;102267:36;;;;;;102252:7;:52::i;:::-;102244:90;;;;-1:-1:-1;;;102244:90:0;;16064:2:1;102244:90:0;;;16046:21:1;16103:2;16083:18;;;16076:30;16142:27;16122:18;;;16115:55;16187:18;;102244:90:0;15862:349:1;102244:90:0;102347:18;102353:11;102347:5;:18::i;:::-;102378:33;102426:13;:11;:13::i;:::-;102414:9;;:25;;;;:::i;:::-;102378:61;-1:-1:-1;102469:1:0;102452:267;102477:11;102472:1;:16;102452:267;;102510:21;102520:7;102529:1;102510:9;:21::i;:::-;102546:18;102567:10;:6;102576:1;102567:10;:::i;:::-;102546:31;;102592:20;102601:10;102592:8;:20::i;:::-;-1:-1:-1;102627:27:0;;;:::i;:::-;-1:-1:-1;;;;;102669:34:0;;;;;;:25;:34;;;;;:38;;;102627:27;-1:-1:-1;102706:1:0;;-1:-1:-1;102490:3:0;102706:1;102490:3;:::i;:::-;;;;102452:267;;;-1:-1:-1;102729:19:0;:47;-1:-1:-1;;;;101654:1130:0:o;76808:91::-;76853:13;76886:5;76879:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76808:91;:::o;78336:204::-;78404:7;78429:16;78437:7;78429;:16::i;:::-;78424:64;;78454:34;;-1:-1:-1;;;78454:34:0;;;;;;;;;;;78424:64;-1:-1:-1;78508:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;78508:24:0;;78336:204::o;99061:116::-;93536:13;:11;:13::i;:::-;99139::::1;:30:::0;99061:116::o;104696:157::-;104792:8;9642:30;9663:8;9642:20;:30::i;:::-;104813:32:::1;104827:8;104837:7;104813:13;:32::i;:::-;104696:157:::0;;;:::o;72944:303::-;73198:12;;72801:1;73182:13;:28;-1:-1:-1;;73182:46:0;;72944:303::o;104861:163::-;104962:4;-1:-1:-1;;;;;9368:18:0;;9376:10;9368:18;9364:83;;9403:32;9424:10;9403:20;:32::i;:::-;104979:37:::1;104998:4;105004:2;105008:7;104979:18;:37::i;:::-;104861:163:::0;;;;:::o;77134:353::-;77227:13;77258:16;77266:7;77258;:16::i;:::-;77253:59;;77283:29;;-1:-1:-1;;;77283:29:0;;;;;;;;;;;77253:59;77325:21;77349:10;:8;:10::i;:::-;77325:34;;77383:7;77377:21;77402:1;77377:26;:102;;;;;;;;;;;;;;;;;77430:7;77439:18;:7;:16;:18::i;:::-;77459:13;77413:60;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77377:102;77370:109;77134:353;-1:-1:-1;;;;77134:353:0:o;105032:171::-;105137:4;-1:-1:-1;;;;;9368:18:0;;9376:10;9368:18;9364:83;;9403:32;9424:10;9403:20;:32::i;:::-;105154:41:::1;105177:4;105183:2;105187:7;105154:22;:41::i;105638:189::-:0;105719:10;105698:17;105706:8;105698:7;:17::i;:::-;-1:-1:-1;;;;;105698:31:0;;:63;;;-1:-1:-1;105747:14:0;;-1:-1:-1;;;;;105747:14:0;105733:10;:28;105698:63;105690:103;;;;-1:-1:-1;;;105690:103:0;;17540:2:1;105690:103:0;;;17522:21:1;17579:2;17559:18;;;17552:30;17618:29;17598:18;;;17591:57;17665:18;;105690:103:0;17338:351:1;105690:103:0;105804:15;105810:8;105804:5;:15::i;:::-;105638:189;:::o;102792:694::-;93536:13;:11;:13::i;:::-;102922:6:::1;::::0;::::1;;102921:7;102913:38;;;;-1:-1:-1::0;;;102913:38:0::1;;;;;;;:::i;:::-;102988:6;:13;102970:7;:14;:31;102962:62;;;::::0;-1:-1:-1;;;102962:62:0;;17896:2:1;102962:62:0::1;::::0;::::1;17878:21:1::0;17935:2;17915:18;;;17908:30;-1:-1:-1;;;17954:18:1;;;17947:48;18012:18;;102962:62:0::1;17694:342:1::0;102962:62:0::1;103060:7;:14;-1:-1:-1::0;;;;;103046:29:0::1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;103046:29:0::1;-1:-1:-1::0;103035:40:0;;::::1;::::0;:8:::1;::::0;:40:::1;::::0;;::::1;::::0;::::1;:::i;:::-;;103088:33;103136:13;:11;:13::i;:::-;103124:9;;:25;;;;:::i;:::-;103088:61;;103167:6;103162:317;103183:7;:14;103179:1;:18;103162:317;;;103219:14;103236:13;:11;:13::i;:::-;103219:30;;103264:24;103274:7;103282:1;103274:10;;;;;;;;:::i;:::-;;;;;;;103286:1;103264:9;:24::i;:::-;103303:18;103324:10;:6:::0;103333:1:::1;103324:10;:::i;:::-;103303:31;;103349:20;103358:10;103349:8;:20::i;:::-;-1:-1:-1::0;103384:27:0::1;::::0;::::1;:::i;:::-;;;103466:1;103426:25;:37;103452:7;103460:1;103452:10;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;103426:37:0::1;-1:-1:-1::0;;;;;103426:37:0::1;;;;;;;;;;;;:41;;;;103204:275;;103199:3;;;;;:::i;:::-;;;;103162:317;;98949:104:::0;93536:13;:11;:13::i;:::-;99024:7:::1;:21;99034:11:::0;99024:7;:21:::1;:::i;:::-;;98949:104:::0;:::o;76616:125::-;76680:7;76707:21;76720:7;76707:12;:21::i;:::-;:26;;76616:125;-1:-1:-1;;76616:125:0:o;99380:115::-;93536:13;:11;:13::i;:::-;99457:14:::1;:30:::0;99380:115::o;99272:100::-;93536:13;:11;:13::i;:::-;99342:9:::1;:22:::0;99272:100::o;74064:206::-;74128:7;-1:-1:-1;;;;;74152:19:0;;74148:60;;74180:28;;-1:-1:-1;;;74180:28:0;;;;;;;;;;;74148:60;-1:-1:-1;;;;;;74234:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;74234:27:0;;74064:206::o;100296:91::-;100339:13;100372:7;100365:14;;;;;:::i;94298:103::-;93536:13;:11;:13::i;:::-;94363:30:::1;94390:1;94363:18;:30::i;:::-;94298:103::o:0;105447:183::-;93536:13;:11;:13::i;:::-;105516:14:::1;::::0;-1:-1:-1;;;;;105516:14:0::1;105502:10;:28;105494:80;;;::::0;-1:-1:-1;;;105494:80:0;;20453:2:1;105494:80:0::1;::::0;::::1;20435:21:1::0;20492:2;20472:18;;;20465:30;20531:34;20511:18;;;20504:62;-1:-1:-1;;;20582:18:1;;;20575:37;20629:19;;105494:80:0::1;20251:403:1::0;105494:80:0::1;105606:14;::::0;-1:-1:-1;;;;;105606:14:0::1;105585:37;100662:984:::0;100787:7;:5;:7::i;:::-;100798:1;100787:12;100779:47;;;;-1:-1:-1;;;100779:47:0;;20861:2:1;100779:47:0;;;20843:21:1;20900:2;20880:18;;;20873:30;-1:-1:-1;;;20919:18:1;;;20912:52;20981:18;;100779:47:0;20659:346:1;100779:47:0;100846:6;;;;100845:7;100837:38;;;;-1:-1:-1;;;100837:38:0;;;;;;;:::i;:::-;100886:14;100903:13;:11;:13::i;:::-;100886:30;;100949:1;100935:11;:15;100927:59;;;;-1:-1:-1;;;100927:59:0;;14506:2:1;100927:59:0;;;14488:21:1;14545:2;14525:18;;;14518:30;14584:33;14564:18;;;14557:61;14635:18;;100927:59:0;14304:355:1;100927:59:0;101041:13;;101019:18;101029:7;101019:9;:18::i;:::-;101005:32;;:11;:32;:::i;:::-;:49;;100997:109;;;;-1:-1:-1;;;100997:109:0;;;;;;;:::i;:::-;101149:9;;101125:20;101134:11;101125:6;:20;:::i;:::-;:33;;101117:79;;;;-1:-1:-1;;;101117:79:0;;;;;;;:::i;:::-;101209:18;101215:11;101209:5;:18::i;:::-;101240:33;101288:13;:11;:13::i;:::-;101276:9;;:25;;;;:::i;:::-;101240:61;-1:-1:-1;101331:1:0;101314:267;101339:11;101334:1;:16;101314:267;;101372:21;101382:7;101391:1;101372:9;:21::i;:::-;101408:18;101429:10;:6;101438:1;101429:10;:::i;:::-;101408:31;;101454:20;101463:10;101454:8;:20::i;:::-;-1:-1:-1;101489:27:0;;;:::i;:::-;-1:-1:-1;;;;;101531:34:0;;;;;;:25;:34;;;;;:38;;;101489:27;-1:-1:-1;101568:1:0;;-1:-1:-1;101352:3:0;101568:1;101352:3;:::i;:::-;;;;101314:267;;;-1:-1:-1;101591:19:0;:47;-1:-1:-1;;;100662:984:0:o;103601:117::-;93536:13;:11;:13::i;:::-;103683:12:::1;:27;103698:12:::0;103683;:27:::1;:::i;76968:95::-:0;77015:13;77048:7;77041:14;;;;;:::i;70579:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;104512:176::-;104616:8;9642:30;9663:8;9642:20;:30::i;:::-;104637:43:::1;104661:8;104671;104637:23;:43::i;97355:372::-:0;97393:7;97436:16;;97417:15;:35;;:73;;;;;97475:15;;97456;:34;;97417:73;97413:129;;;-1:-1:-1;97514:1:0;;97355:372::o;97413:129::-;97577:15;;97558;:34;;:70;;;;;97615:13;;97596:15;:32;;97558:70;97554:124;;;-1:-1:-1;97652:1:0;;97355:372::o;97554:124::-;-1:-1:-1;97697:1:0;;97355:372::o;99644:189::-;99721:19;;99698:7;;99721:23;99718:81;;-1:-1:-1;99768:19:0;;;99644:189::o;99718:81::-;-1:-1:-1;99816:9:0;;;99644:189::o;105211:228::-;105362:4;-1:-1:-1;;;;;9368:18:0;;9376:10;9368:18;9364:83;;9403:32;9424:10;9403:20;:32::i;:::-;105384:47:::1;105407:4;105413:2;105417:7;105426:4;105384:22;:47::i;:::-;105211:228:::0;;;;;:::o;98573:145::-;98649:4;98673:37;98692:5;98699:4;;98705;98673:18;:37::i;:::-;98666:44;98573:145;-1:-1:-1;;;98573:145:0:o;103726:457::-;103826:13;103875:16;103883:7;103875;:16::i;:::-;103857:105;;;;-1:-1:-1;;;103857:105:0;;21212:2:1;103857:105:0;;;21194:21:1;21251:2;21231:18;;;21224:30;21290:34;21270:18;;;21263:62;-1:-1:-1;;;21341:18:1;;;21334:45;21396:19;;103857:105:0;21010:411:1;103857:105:0;103975:28;104006:10;:8;:10::i;:::-;103975:41;;104065:1;104040:14;104034:28;:32;:141;;;;;;;;;;;;;;;;;104106:14;104122:18;:7;:16;:18::i;:::-;104142:13;104089:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;104027:148;103726:457;-1:-1:-1;;;103726:457:0:o;98029:536::-;93536:13;:11;:13::i;:::-;98187:17:::1;98168:16;:36;98160:126;;;::::0;-1:-1:-1;;;98160:126:0;;22209:2:1;98160:126:0::1;::::0;::::1;22191:21:1::0;22248:2;22228:18;;;22221:30;22287:34;22267:18;;;22260:62;22358:34;22338:18;;;22331:62;-1:-1:-1;;;22409:19:1;;;22402:44;22463:19;;98160:126:0::1;22007:481:1::0;98160:126:0::1;98322:16;98305:14;:33;98297:127;;;::::0;-1:-1:-1;;;98297:127:0;;22695:2:1;98297:127:0::1;::::0;::::1;22677:21:1::0;22734:2;22714:18;;;22707:30;22773:34;22753:18;;;22746:62;22844:34;22824:18;;;22817:62;-1:-1:-1;;;22895:19:1;;;22888:48;22953:19;;98297:127:0::1;22493:485:1::0;98297:127:0::1;98435:16;:36:::0;;;;98482:15:::1;:34:::0;98527:13:::1;:30:::0;98029:536::o;97735:286::-;97782:7;97802:17;97822:7;:5;:7::i;:::-;97802:27;;97844:9;97857:1;97844:14;97840:76;;-1:-1:-1;;97882:22:0;;;97735:286::o;97840:76::-;97932:9;97945:1;97932:14;:32;;;;97950:9;97963:1;97950:14;97932:32;97928:86;;;-1:-1:-1;;97988:14:0;;;97735:286::o;97928:86::-;97791:230;97735:286;:::o;104191:313::-;104253:26;104282:16;:14;:16::i;:::-;104253:45;-1:-1:-1;104333:32:0;104354:11;104253:45;104333:32;:::i;:::-;104319:9;:47;;104311:117;;;;-1:-1:-1;;;104311:117:0;;23185:2:1;104311:117:0;;;23167:21:1;23224:2;23204:18;;;23197:30;23263:34;23243:18;;;23236:62;23334:27;23314:18;;;23307:55;23379:19;;104311:117:0;22983:421:1;104311:117:0;104457:6;;104449:47;;-1:-1:-1;;;;;104457:6:0;;;;104474:21;104449:47;;;;;104457:6;104449:47;104457:6;104449:47;104474:21;104457:6;104449:47;;;;;;;;;;;;;;;;;;;99503:133;93536:13;:11;:13::i;:::-;99589:22:::1;:39:::0;99503:133::o;103494:99::-;103540:13;103573:12;103566:19;;;;;:::i;98730:95::-;93536:13;:11;:13::i;:::-;98799:4:::1;:18:::0;98730:95::o;94556:201::-;93536:13;:11;:13::i;:::-;-1:-1:-1;;;;;94645:22:0;::::1;94637:73;;;::::0;-1:-1:-1;;;94637:73:0;;23611:2:1;94637:73:0::1;::::0;::::1;23593:21:1::0;23650:2;23630:18;;;23623:30;23689:34;23669:18;;;23662:62;-1:-1:-1;;;23740:18:1;;;23733:36;23786:19;;94637:73:0::1;23409:402:1::0;94637:73:0::1;94721:28;94740:8;94721:18;:28::i;96684:::-:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96684:28:0;:::o;27592:716::-;27648:13;27699:14;27716:17;27727:5;27716:10;:17::i;:::-;27736:1;27716:21;27699:38;;27752:20;27786:6;-1:-1:-1;;;;;27775:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27775:18:0;-1:-1:-1;27752:41:0;-1:-1:-1;27917:28:0;;;27933:2;27917:28;27974:288;-1:-1:-1;;28006:5:0;-1:-1:-1;;;28143:2:0;28132:14;;28127:30;28006:5;28114:44;28204:2;28195:11;;;-1:-1:-1;28225:21:0;27974:288;28225:21;-1:-1:-1;28283:6:0;27592:716;-1:-1:-1;;;27592:716:0:o;93815:132::-;93723:6;;-1:-1:-1;;;;;93723:6:0;31293:10;93879:23;93871:68;;;;-1:-1:-1;;;93871:68:0;;24018:2:1;93871:68:0;;;24000:21:1;;;24037:18;;;24030:30;24096:34;24076:18;;;24069:62;24148:18;;93871:68:0;23816:356:1;80504:104:0;80573:27;80583:2;80587:8;80573:27;;;;;;;;;;;;:9;:27::i;80322:174::-;80379:4;80422:7;72801:1;80403:26;;:53;;;;;80443:13;;80433:7;:23;80403:53;:85;;;;-1:-1:-1;;80461:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;80461:27:0;;;;80460:28;;80322:174::o;9785:647::-;194:42;9976:45;:49;9972:453;;10275:67;;-1:-1:-1;;;10275:67:0;;10326:4;10275:67;;;24389:34:1;-1:-1:-1;;;;;24459:15:1;;24439:18;;;24432:43;194:42:0;;10275;;24324:18:1;;10275:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10270:144;;10370:28;;-1:-1:-1;;;10370:28:0;;-1:-1:-1;;;;;4708:32:1;;10370:28:0;;;4690:51:1;4663:18;;10370:28:0;4544:203:1;77891:379:0;77972:13;77988:24;78004:7;77988:15;:24::i;:::-;77972:40;;78033:5;-1:-1:-1;;;;;78027:11:0;:2;-1:-1:-1;;;;;78027:11:0;;78023:48;;78047:24;;-1:-1:-1;;;78047:24:0;;;;;;;;;;;78023:48;31293:10;-1:-1:-1;;;;;78088:21:0;;;;;;:63;;-1:-1:-1;78114:37:0;78131:5;31293:10;78970:164;:::i;78114:37::-;78113:38;78088:63;78084:138;;;78175:35;;-1:-1:-1;;;78175:35:0;;;;;;;;;;;78084:138;78234:28;78243:2;78247:7;78256:5;78234:8;:28::i;79201:170::-;79335:28;79345:4;79351:2;79355:7;79335:9;:28::i;79442:185::-;79580:39;79597:4;79603:2;79607:7;79580:39;;;;;;;;;;;;:16;:39::i;85773:89::-;85833:21;85839:7;85848:5;85833;:21::i;75445:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;75556:7:0;;72801:1;75605:23;;:47;;;;;75639:13;;75632:4;:20;75605:47;75601:886;;;75673:31;75707:17;;;:11;:17;;;;;;;;;75673:51;;;;;;;;;-1:-1:-1;;;;;75673:51:0;;;;-1:-1:-1;;;75673:51:0;;-1:-1:-1;;;;;75673:51:0;;;;;;;;-1:-1:-1;;;75673:51:0;;;;;;;;;;;;;;75743:729;;75793:14;;-1:-1:-1;;;;;75793:28:0;;75789:101;;75857:9;75445:1109;-1:-1:-1;;;75445:1109:0:o;75789:101::-;-1:-1:-1;;;76232:6:0;76277:17;;;;:11;:17;;;;;;;;;76265:29;;;;;;;;;-1:-1:-1;;;;;76265:29:0;;;;;-1:-1:-1;;;76265:29:0;;-1:-1:-1;;;;;76265:29:0;;;;;;;;-1:-1:-1;;;76265:29:0;;;;;;;;;;;;;76325:28;76321:109;;76393:9;75445:1109;-1:-1:-1;;;75445:1109:0:o;76321:109::-;76192:261;;;75654:833;75601:886;76515:31;;-1:-1:-1;;;76515:31:0;;;;;;;;;;;94917:191;95010:6;;;-1:-1:-1;;;;;95027:17:0;;;-1:-1:-1;;;;;;95027:17:0;;;;;;;95060:40;;95010:6;;;95027:17;95010:6;;95060:40;;94991:16;;95060:40;94980:128;94917:191;:::o;78612:287::-;31293:10;-1:-1:-1;;;;;78711:24:0;;;78707:54;;78744:17;;-1:-1:-1;;;78744:17:0;;;;;;;;;;;78707:54;31293:10;78774:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;78774:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;78774:53:0;;;;;;;;;;78843:48;;2140:41:1;;;78774:42:0;;31293:10;78843:48;;2113:18:1;78843:48:0;;;;;;;78612:287;;:::o;79698:369::-;79865:28;79875:4;79881:2;79885:7;79865:9;:28::i;:::-;-1:-1:-1;;;;;79908:13:0;;32952:19;:23;;79908:76;;;;;79928:56;79959:4;79965:2;79969:7;79978:5;79928:30;:56::i;:::-;79927:57;79908:76;79904:156;;;80008:40;;-1:-1:-1;;;80008:40:0;;;;;;;;;;;11365:190;11490:4;11543;11514:25;11527:5;11534:4;11514:12;:25::i;:::-;:33;;11365:190;-1:-1:-1;;;;11365:190:0:o;24461:922::-;24514:7;;-1:-1:-1;;;24592:15:0;;24588:102;;-1:-1:-1;;;24628:15:0;;;-1:-1:-1;24672:2:0;24662:12;24588:102;24717:6;24708:5;:15;24704:102;;24753:6;24744:15;;;-1:-1:-1;24788:2:0;24778:12;24704:102;24833:6;24824:5;:15;24820:102;;24869:6;24860:15;;;-1:-1:-1;24904:2:0;24894:12;24820:102;24949:5;24940;:14;24936:99;;24984:5;24975:14;;;-1:-1:-1;25018:1:0;25008:11;24936:99;25062:5;25053;:14;25049:99;;25097:5;25088:14;;;-1:-1:-1;25131:1:0;25121:11;25049:99;25175:5;25166;:14;25162:99;;25210:5;25201:14;;;-1:-1:-1;25244:1:0;25234:11;25162:99;25288:5;25279;:14;25275:66;;25324:1;25314:11;25369:6;24461:922;-1:-1:-1;;24461:922:0:o;80971:163::-;81094:32;81100:2;81104:8;81114:5;81121:4;81094:5;:32::i;88617:196::-;88732:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;88732:29:0;-1:-1:-1;;;;;88732:29:0;;;;;;;;;88777:28;;88732:24;;88777:28;;;;;;;88617:196;;;:::o;83560:2130::-;83675:35;83713:21;83726:7;83713:12;:21::i;:::-;83675:59;;83773:4;-1:-1:-1;;;;;83751:26:0;:13;:18;;;-1:-1:-1;;;;;83751:26:0;;83747:67;;83786:28;;-1:-1:-1;;;83786:28:0;;;;;;;;;;;83747:67;83827:22;31293:10;-1:-1:-1;;;;;83853:20:0;;;;:73;;-1:-1:-1;83890:36:0;83907:4;31293:10;78970:164;:::i;83890:36::-;83853:126;;;-1:-1:-1;31293:10:0;83943:20;83955:7;83943:11;:20::i;:::-;-1:-1:-1;;;;;83943:36:0;;83853:126;83827:153;;83998:17;83993:66;;84024:35;;-1:-1:-1;;;84024:35:0;;;;;;;;;;;83993:66;-1:-1:-1;;;;;84074:16:0;;84070:52;;84099:23;;-1:-1:-1;;;84099:23:0;;;;;;;;;;;84070:52;84243:35;84260:1;84264:7;84273:4;84243:8;:35::i;:::-;-1:-1:-1;;;;;84574:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;84574:31:0;;;-1:-1:-1;;;;;84574:31:0;;;-1:-1:-1;;84574:31:0;;;;;;;84620:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;84620:29:0;;;;;;;;;;;84700:20;;;:11;:20;;;;;;84735:18;;-1:-1:-1;;;;;;84768:49:0;;;;-1:-1:-1;;;84801:15:0;84768:49;;;;;;;;;;85091:11;;85151:24;;;;;85194:13;;84700:20;;85151:24;;85194:13;85190:384;;85404:13;;85389:11;:28;85385:174;;85442:20;;85511:28;;;;-1:-1:-1;;;;;85485:54:0;-1:-1:-1;;;85485:54:0;-1:-1:-1;;;;;;85485:54:0;;;-1:-1:-1;;;;;85442:20:0;;85485:54;;;;85385:174;84549:1036;;;85621:7;85617:2;-1:-1:-1;;;;;85602:27:0;85611:4;-1:-1:-1;;;;;85602:27:0;-1:-1:-1;;;;;;;;;;;85602:27:0;;;;;;;;;85640:42;104861:163;86091:2408;86171:35;86209:21;86222:7;86209:12;:21::i;:::-;86258:18;;86171:59;;-1:-1:-1;86289:290:0;;;;86323:22;31293:10;-1:-1:-1;;;;;86349:20:0;;;;:77;;-1:-1:-1;86390:36:0;86407:4;31293:10;78970:164;:::i;86390:36::-;86349:134;;;-1:-1:-1;31293:10:0;86447:20;86459:7;86447:11;:20::i;:::-;-1:-1:-1;;;;;86447:36:0;;86349:134;86323:161;;86506:17;86501:66;;86532:35;;-1:-1:-1;;;86532:35:0;;;;;;;;;;;86501:66;86308:271;86289:290;86707:35;86724:1;86728:7;86737:4;86707:8;:35::i;:::-;-1:-1:-1;;;;;87072:18:0;;;87038:31;87072:18;;;:12;:18;;;;;;;;87105:24;;-1:-1:-1;;;;;;;;;;87105:24:0;;;;;;;;;-1:-1:-1;;87105:24:0;;;;87144:29;;;;;87128:1;87144:29;;;;;;;;-1:-1:-1;;87144:29:0;;;;;;;;;;87306:20;;;:11;:20;;;;;;87341;;-1:-1:-1;;;;87409:15:0;87376:49;;;-1:-1:-1;;;87376:49:0;-1:-1:-1;;;;;;87376:49:0;;;;;;;;;;87440:22;-1:-1:-1;;;87440:22:0;;;87732:11;;;87792:24;;;;;87835:13;;87072:18;;87792:24;;87835:13;87831:384;;88045:13;;88030:11;:28;88026:174;;88083:20;;88152:28;;;;-1:-1:-1;;;;;88126:54:0;-1:-1:-1;;;88126:54:0;-1:-1:-1;;;;;;88126:54:0;;;-1:-1:-1;;;;;88083:20:0;;88126:54;;;;88026:174;-1:-1:-1;;88243:35:0;;88270:7;;-1:-1:-1;88266:1:0;;-1:-1:-1;;;;;;88243:35:0;;;-1:-1:-1;;;;;;;;;;;88243:35:0;88266:1;;88243:35;-1:-1:-1;;88466:12:0;:14;;;;;;-1:-1:-1;;86091:2408:0:o;89305:667::-;89489:72;;-1:-1:-1;;;89489:72:0;;89468:4;;-1:-1:-1;;;;;89489:36:0;;;;;:72;;31293:10;;89540:4;;89546:7;;89555:5;;89489:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89489:72:0;;;;;;;;-1:-1:-1;;89489:72:0;;;;;;;;;;;;:::i;:::-;;;89485:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89723:6;:13;89740:1;89723:18;89719:235;;89769:40;;-1:-1:-1;;;89769:40:0;;;;;;;;;;;89719:235;89912:6;89906:13;89897:6;89893:2;89889:15;89882:38;89485:480;-1:-1:-1;;;;;;89608:55:0;-1:-1:-1;;;89608:55:0;;-1:-1:-1;89305:667:0;;;;;;:::o;11917:675::-;12000:7;12043:4;12000:7;12058:497;12082:5;:12;12078:1;:16;12058:497;;;12116:20;12139:5;12145:1;12139:8;;;;;;;;:::i;:::-;;;;;;;12116:31;;12182:12;12166;:28;12162:382;;12668:13;12718:15;;;12754:4;12747:15;;;12801:4;12785:21;;12294:57;;12162:382;;;12668:13;12718:15;;;12754:4;12747:15;;;12801:4;12785:21;;12471:57;;12162:382;-1:-1:-1;12096:3:0;;;;:::i;:::-;;;;12058:497;;;-1:-1:-1;12572:12:0;11917:675;-1:-1:-1;;;11917:675:0:o;81393:1913::-;81555:13;;-1:-1:-1;;;;;81583:16:0;;81579:48;;81608:19;;-1:-1:-1;;;81608:19:0;;;;;;;;;;;81579:48;81642:8;81654:1;81642:13;81638:44;;81664:18;;-1:-1:-1;;;81664:18:0;;;;;;;;;;;81638:44;81803:10;81776:26;:38;;;;;;;;;;81769:45;;;:::i;:::-;-1:-1:-1;;;;;82091:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;82150:49:0;;-1:-1:-1;;;;;82091:44:0;;;;;;;82150:49;;;;-1:-1:-1;;82091:44:0;;;;;;82150:49;;;;;;;;;;;;;;;;82216:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;82266:66:0;;;;-1:-1:-1;;;82316:15:0;82266:66;;;;;;;;;;82216:25;82413:23;;;82457:4;:23;;;;-1:-1:-1;;;;;;82465:13:0;;32952:19;:23;;82465:15;82453:721;;;82501:314;82532:38;;82557:12;;-1:-1:-1;;;;;82532:38:0;;;82549:1;;-1:-1:-1;;;;;;;;;;;82532:38:0;82549:1;;82532:38;82598:69;82637:1;82641:2;82645:14;;;;;;82661:5;82598:30;:69::i;:::-;82593:174;;82703:40;;-1:-1:-1;;;82703:40:0;;;;;;;;;;;82593:174;82810:3;82794:12;:19;82501:314;;82896:12;82879:13;;:29;82875:43;;82910:8;;;82875:43;82453:721;;;82959:200;83012:10;82985:26;:38;;;;;;;;;;;:57;;;;;;;;;;;;;;;;;;;;83070:40;83095:14;;;;83029:12;-1:-1:-1;;;;;83070:40:0;;;-1:-1:-1;;;;;;;;;;;83070:40:0;82985:26;;83070:40;83154:3;83138:12;:19;82959:200;;82453:721;-1:-1:-1;83188:13:0;:28;83238:60;104861:163;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:127:1;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:168;219:9;;;250;;267:15;;;261:22;;247:37;237:71;;288:18;;:::i;451:217::-;491:1;517;507:132;;561:10;556:3;552:20;549:1;542:31;596:4;593:1;586:15;624:4;621:1;614:15;507:132;-1:-1:-1;653:9:1;;451:217::o;673:180::-;732:6;785:2;773:9;764:7;760:23;756:32;753:52;;;801:1;798;791:12;753:52;-1:-1:-1;824:23:1;;673:180;-1:-1:-1;673:180:1:o;858:250::-;943:1;953:113;967:6;964:1;961:13;953:113;;;1043:11;;;1037:18;1024:11;;;1017:39;989:2;982:10;953:113;;;-1:-1:-1;;1100:1:1;1082:16;;1075:27;858:250::o;1113:271::-;1155:3;1193:5;1187:12;1220:6;1215:3;1208:19;1236:76;1305:6;1298:4;1293:3;1289:14;1282:4;1275:5;1271:16;1236:76;:::i;:::-;1366:2;1345:15;-1:-1:-1;;1341:29:1;1332:39;;;;1373:4;1328:50;;1113:271;-1:-1:-1;;1113:271:1:o;1389:220::-;1538:2;1527:9;1520:21;1501:4;1558:45;1599:2;1588:9;1584:18;1576:6;1558:45;:::i;1614:131::-;-1:-1:-1;;;;;;1688:32:1;;1678:43;;1668:71;;1735:1;1732;1725:12;1750:245;1808:6;1861:2;1849:9;1840:7;1836:23;1832:32;1829:52;;;1877:1;1874;1867:12;1829:52;1916:9;1903:23;1935:30;1959:5;1935:30;:::i;2192:118::-;2278:5;2271:13;2264:21;2257:5;2254:32;2244:60;;2300:1;2297;2290:12;2315:241;2371:6;2424:2;2412:9;2403:7;2399:23;2395:32;2392:52;;;2440:1;2437;2430:12;2392:52;2479:9;2466:23;2498:28;2520:5;2498:28;:::i;2561:139::-;-1:-1:-1;;;;;2644:31:1;;2634:42;;2624:70;;2690:1;2687;2680:12;2705:127;2766:10;2761:3;2757:20;2754:1;2747:31;2797:4;2794:1;2787:15;2821:4;2818:1;2811:15;2837:275;2908:2;2902:9;2973:2;2954:13;;-1:-1:-1;;2950:27:1;2938:40;;-1:-1:-1;;;;;2993:34:1;;3029:22;;;2990:62;2987:88;;;3055:18;;:::i;:::-;3091:2;3084:22;2837:275;;-1:-1:-1;2837:275:1:o;3117:183::-;3177:4;-1:-1:-1;;;;;3202:6:1;3199:30;3196:56;;;3232:18;;:::i;:::-;-1:-1:-1;3277:1:1;3273:14;3289:4;3269:25;;3117:183::o;3305:662::-;3359:5;3412:3;3405:4;3397:6;3393:17;3389:27;3379:55;;3430:1;3427;3420:12;3379:55;3466:6;3453:20;3492:4;3516:60;3532:43;3572:2;3532:43;:::i;:::-;3516:60;:::i;:::-;3610:15;;;3696:1;3692:10;;;;3680:23;;3676:32;;;3641:12;;;;3720:15;;;3717:35;;;3748:1;3745;3738:12;3717:35;3784:2;3776:6;3772:15;3796:142;3812:6;3807:3;3804:15;3796:142;;;3878:17;;3866:30;;3916:12;;;;3829;;3796:142;;;-1:-1:-1;3956:5:1;3305:662;-1:-1:-1;;;;;;3305:662:1:o;3972:567::-;4082:6;4090;4098;4151:2;4139:9;4130:7;4126:23;4122:32;4119:52;;;4167:1;4164;4157:12;4119:52;4203:9;4190:23;4180:33;;4263:2;4252:9;4248:18;4235:32;4276:39;4309:5;4276:39;:::i;:::-;4334:5;-1:-1:-1;4390:2:1;4375:18;;4362:32;-1:-1:-1;;;;;4406:30:1;;4403:50;;;4449:1;4446;4439:12;4403:50;4472:61;4525:7;4516:6;4505:9;4501:22;4472:61;:::i;:::-;4462:71;;;3972:567;;;;;:::o;4752:323::-;4820:6;4828;4881:2;4869:9;4860:7;4856:23;4852:32;4849:52;;;4897:1;4894;4887:12;4849:52;4936:9;4923:23;4955:39;4988:5;4955:39;:::i;:::-;5013:5;5065:2;5050:18;;;;5037:32;;-1:-1:-1;;;4752:323:1:o;5262:472::-;5339:6;5347;5355;5408:2;5396:9;5387:7;5383:23;5379:32;5376:52;;;5424:1;5421;5414:12;5376:52;5463:9;5450:23;5482:39;5515:5;5482:39;:::i;:::-;5540:5;-1:-1:-1;5597:2:1;5582:18;;5569:32;5610:41;5569:32;5610:41;:::i;:::-;5262:472;;5670:7;;-1:-1:-1;;;5724:2:1;5709:18;;;;5696:32;;5262:472::o;5739:407::-;5804:5;-1:-1:-1;;;;;5830:6:1;5827:30;5824:56;;;5860:18;;:::i;:::-;5898:57;5943:2;5922:15;;-1:-1:-1;;5918:29:1;5949:4;5914:40;5898:57;:::i;:::-;5889:66;;5978:6;5971:5;5964:21;6018:3;6009:6;6004:3;6000:16;5997:25;5994:45;;;6035:1;6032;6025:12;5994:45;6084:6;6079:3;6072:4;6065:5;6061:16;6048:43;6138:1;6131:4;6122:6;6115:5;6111:18;6107:29;6100:40;5739:407;;;;;:::o;6151:222::-;6194:5;6247:3;6240:4;6232:6;6228:17;6224:27;6214:55;;6265:1;6262;6255:12;6214:55;6287:80;6363:3;6354:6;6341:20;6334:4;6326:6;6322:17;6287:80;:::i;6378:390::-;6456:6;6464;6517:2;6505:9;6496:7;6492:23;6488:32;6485:52;;;6533:1;6530;6523:12;6485:52;6569:9;6556:23;6546:33;;6630:2;6619:9;6615:18;6602:32;-1:-1:-1;;;;;6649:6:1;6646:30;6643:50;;;6689:1;6686;6679:12;6643:50;6712;6754:7;6745:6;6734:9;6730:22;6712:50;:::i;:::-;6702:60;;;6378:390;;;;;:::o;7012:1223::-;7130:6;7138;7191:2;7179:9;7170:7;7166:23;7162:32;7159:52;;;7207:1;7204;7197:12;7159:52;7247:9;7234:23;-1:-1:-1;;;;;7317:2:1;7309:6;7306:14;7303:34;;;7333:1;7330;7323:12;7303:34;7371:6;7360:9;7356:22;7346:32;;7416:7;7409:4;7405:2;7401:13;7397:27;7387:55;;7438:1;7435;7428:12;7387:55;7474:2;7461:16;7496:4;7520:60;7536:43;7576:2;7536:43;:::i;7520:60::-;7614:15;;;7696:1;7692:10;;;;7684:19;;7680:28;;;7645:12;;;;7720:19;;;7717:39;;;7752:1;7749;7742:12;7717:39;7776:11;;;;7796:225;7812:6;7807:3;7804:15;7796:225;;;7892:3;7879:17;7909:39;7942:5;7909:39;:::i;:::-;7961:18;;7829:12;;;;7999;;;;7796:225;;;8040:5;-1:-1:-1;;8083:18:1;;8070:32;;-1:-1:-1;;8114:16:1;;;8111:36;;;8143:1;8140;8133:12;8111:36;;8166:63;8221:7;8210:8;8199:9;8195:24;8166:63;:::i;8240:322::-;8309:6;8362:2;8350:9;8341:7;8337:23;8333:32;8330:52;;;8378:1;8375;8368:12;8330:52;8418:9;8405:23;-1:-1:-1;;;;;8443:6:1;8440:30;8437:50;;;8483:1;8480;8473:12;8437:50;8506;8548:7;8539:6;8528:9;8524:22;8506:50;:::i;8567:255::-;8626:6;8679:2;8667:9;8658:7;8654:23;8650:32;8647:52;;;8695:1;8692;8685:12;8647:52;8734:9;8721:23;8753:39;8786:5;8753:39;:::i;8827:331::-;8903:6;8911;8964:2;8952:9;8943:7;8939:23;8935:32;8932:52;;;8980:1;8977;8970:12;8932:52;9016:9;9003:23;8993:33;;9076:2;9065:9;9061:18;9048:32;9089:39;9122:5;9089:39;:::i;:::-;9147:5;9137:15;;;8827:331;;;;;:::o;9163:390::-;9228:6;9236;9289:2;9277:9;9268:7;9264:23;9260:32;9257:52;;;9305:1;9302;9295:12;9257:52;9344:9;9331:23;9363:39;9396:5;9363:39;:::i;:::-;9421:5;-1:-1:-1;9478:2:1;9463:18;;9450:32;9491:30;9450:32;9491:30;:::i;9558:811::-;9653:6;9661;9669;9677;9730:3;9718:9;9709:7;9705:23;9701:33;9698:53;;;9747:1;9744;9737:12;9698:53;9786:9;9773:23;9805:39;9838:5;9805:39;:::i;:::-;9863:5;-1:-1:-1;9920:2:1;9905:18;;9892:32;9933:41;9892:32;9933:41;:::i;:::-;9993:7;-1:-1:-1;10047:2:1;10032:18;;10019:32;;-1:-1:-1;10102:2:1;10087:18;;10074:32;-1:-1:-1;;;;;10118:30:1;;10115:50;;;10161:1;10158;10151:12;10115:50;10184:22;;10237:4;10229:13;;10225:27;-1:-1:-1;10215:55:1;;10266:1;10263;10256:12;10215:55;10289:74;10355:7;10350:2;10337:16;10332:2;10328;10324:11;10289:74;:::i;:::-;10279:84;;;9558:811;;;;;;;:::o;10374:416::-;10467:6;10475;10528:2;10516:9;10507:7;10503:23;10499:32;10496:52;;;10544:1;10541;10534:12;10496:52;10584:9;10571:23;-1:-1:-1;;;;;10609:6:1;10606:30;10603:50;;;10649:1;10646;10639:12;10603:50;10672:61;10725:7;10716:6;10705:9;10701:22;10672:61;:::i;:::-;10662:71;10780:2;10765:18;;;;10752:32;;-1:-1:-1;;;;10374:416:1:o;10795:316::-;10872:6;10880;10888;10941:2;10929:9;10920:7;10916:23;10912:32;10909:52;;;10957:1;10954;10947:12;10909:52;-1:-1:-1;;10980:23:1;;;11050:2;11035:18;;11022:32;;-1:-1:-1;11101:2:1;11086:18;;;11073:32;;10795:316;-1:-1:-1;10795:316:1:o;11116:404::-;11184:6;11192;11245:2;11233:9;11224:7;11220:23;11216:32;11213:52;;;11261:1;11258;11251:12;11213:52;11300:9;11287:23;11319:39;11352:5;11319:39;:::i;:::-;11377:5;-1:-1:-1;11434:2:1;11419:18;;11406:32;11447:41;11406:32;11447:41;:::i;11892:380::-;11971:1;11967:12;;;;12014;;;12035:61;;12089:4;12081:6;12077:17;12067:27;;12035:61;12142:2;12134:6;12131:14;12111:18;12108:38;12105:161;;12188:10;12183:3;12179:20;12176:1;12169:31;12223:4;12220:1;12213:15;12251:4;12248:1;12241:15;12105:161;;11892:380;;;:::o;12403:722::-;12453:3;12494:5;12488:12;12523:36;12549:9;12523:36;:::i;:::-;12578:1;12595:18;;;12622:133;;;;12769:1;12764:355;;;;12588:531;;12622:133;-1:-1:-1;;12655:24:1;;12643:37;;12728:14;;12721:22;12709:35;;12700:45;;;-1:-1:-1;12622:133:1;;12764:355;12795:5;12792:1;12785:16;12824:4;12869:2;12866:1;12856:16;12894:1;12908:165;12922:6;12919:1;12916:13;12908:165;;;13000:14;;12987:11;;;12980:35;13043:16;;;;12937:10;;12908:165;;;12912:3;;;13102:6;13097:3;13093:16;13086:23;;12588:531;;;;;12403:722;;;;:::o;13130:469::-;13351:3;13379:38;13413:3;13405:6;13379:38;:::i;:::-;13446:6;13440:13;13462:65;13520:6;13516:2;13509:4;13501:6;13497:17;13462:65;:::i;:::-;13543:50;13585:6;13581:2;13577:15;13569:6;13543:50;:::i;:::-;13536:57;13130:469;-1:-1:-1;;;;;;;13130:469:1:o;13957:342::-;14159:2;14141:21;;;14198:2;14178:18;;;14171:30;-1:-1:-1;;;14232:2:1;14217:18;;14210:48;14290:2;14275:18;;13957:342::o;14664:125::-;14729:9;;;14750:10;;;14747:36;;;14763:18;;:::i;14794:411::-;14996:2;14978:21;;;15035:2;15015:18;;;15008:30;15074:34;15069:2;15054:18;;15047:62;-1:-1:-1;;;15140:2:1;15125:18;;15118:45;15195:3;15180:19;;14794:411::o;15210:397::-;15412:2;15394:21;;;15451:2;15431:18;;;15424:30;15490:34;15485:2;15470:18;;15463:62;-1:-1:-1;;;15556:2:1;15541:18;;15534:31;15597:3;15582:19;;15210:397::o;16216:128::-;16283:9;;;16304:11;;;16301:37;;;16318:18;;:::i;16349:136::-;16388:3;16416:5;16406:39;;16425:18;;:::i;:::-;-1:-1:-1;;;16461:18:1;;16349:136::o;16490:135::-;16529:3;16550:17;;;16547:43;;16570:18;;:::i;:::-;-1:-1:-1;16617:1:1;16606:13;;16490:135::o;16630:703::-;16857:3;16895:6;16889:13;16911:66;16970:6;16965:3;16958:4;16950:6;16946:17;16911:66;:::i;:::-;17040:13;;16999:16;;;;17062:70;17040:13;16999:16;17109:4;17097:17;;17062:70;:::i;:::-;17199:13;;17154:20;;;17221:70;17199:13;17154:20;17268:4;17256:17;;17221:70;:::i;:::-;17307:20;;16630:703;-1:-1:-1;;;;;16630:703:1:o;18041:127::-;18102:10;18097:3;18093:20;18090:1;18083:31;18133:4;18130:1;18123:15;18157:4;18154:1;18147:15;18173:545;18275:2;18270:3;18267:11;18264:448;;;18311:1;18336:5;18332:2;18325:17;18381:4;18377:2;18367:19;18451:2;18439:10;18435:19;18432:1;18428:27;18422:4;18418:38;18487:4;18475:10;18472:20;18469:47;;;-1:-1:-1;18510:4:1;18469:47;18565:2;18560:3;18556:12;18553:1;18549:20;18543:4;18539:31;18529:41;;18620:82;18638:2;18631:5;18628:13;18620:82;;;18683:17;;;18664:1;18653:13;18620:82;;;18624:3;;;18173:545;;;:::o;18894:1352::-;19020:3;19014:10;-1:-1:-1;;;;;19039:6:1;19036:30;19033:56;;;19069:18;;:::i;:::-;19098:97;19188:6;19148:38;19180:4;19174:11;19148:38;:::i;:::-;19142:4;19098:97;:::i;:::-;19250:4;;19314:2;19303:14;;19331:1;19326:663;;;;20033:1;20050:6;20047:89;;;-1:-1:-1;20102:19:1;;;20096:26;20047:89;-1:-1:-1;;18851:1:1;18847:11;;;18843:24;18839:29;18829:40;18875:1;18871:11;;;18826:57;20149:81;;19296:944;;19326:663;12350:1;12343:14;;;12387:4;12374:18;;-1:-1:-1;;19362:20:1;;;19480:236;19494:7;19491:1;19488:14;19480:236;;;19583:19;;;19577:26;19562:42;;19675:27;;;;19643:1;19631:14;;;;19510:19;;19480:236;;;19484:3;19744:6;19735:7;19732:19;19729:201;;;19805:19;;;19799:26;-1:-1:-1;;19888:1:1;19884:14;;;19900:3;19880:24;19876:37;19872:42;19857:58;19842:74;;19729:201;-1:-1:-1;;;;;19976:1:1;19960:14;;;19956:22;19943:36;;-1:-1:-1;18894:1352:1:o;21426:576::-;21650:3;21688:6;21682:13;21704:66;21763:6;21758:3;21751:4;21743:6;21739:17;21704:66;:::i;:::-;21833:13;;21792:16;;;;21855:70;21833:13;21792:16;21902:4;21890:17;;21855:70;:::i;24486:245::-;24553:6;24606:2;24594:9;24585:7;24581:23;24577:32;24574:52;;;24622:1;24619;24612:12;24574:52;24654:9;24648:16;24673:28;24695:5;24673:28;:::i;24736:489::-;-1:-1:-1;;;;;25005:15:1;;;24987:34;;25057:15;;25052:2;25037:18;;25030:43;25104:2;25089:18;;25082:34;;;25152:3;25147:2;25132:18;;25125:31;;;24930:4;;25173:46;;25199:19;;25191:6;25173:46;:::i;:::-;25165:54;24736:489;-1:-1:-1;;;;;;24736:489:1:o;25230:249::-;25299:6;25352:2;25340:9;25331:7;25327:23;25323:32;25320:52;;;25368:1;25365;25358:12;25320:52;25400:9;25394:16;25419:30;25443:5;25419:30;:::i
Swarm Source
ipfs://b45ac9367fcfbec33a27fb166a5a6e8a2f465479df56edcc41598f7d91911e11
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.