Overview
TokenID
416
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
buddybucks
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-04 */ // 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/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/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/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/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev 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 { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/buddy.sol pragma solidity ^0.8.7; contract buddybucks is ERC721A,ERC2981, Ownable,ReentrancyGuard { using Strings for uint256; //Basic Settings uint256 public maxSupply = 5000; //Collection supply uint256 public price = 0.14 ether; //Sale Price address public royaltyAddress = 0x6C2B36Bc2280f3A25f991712cdb35967A15d2D0A; uint96 public royaltyFee = 1000; //10% royalty uint256 public perTxCap = 10; //Max NFT per transaction uint256 public maxMint = 10; //Max NFT per wallet bool public paused = true; //Reveal-Non Reveal string public _baseTokenURI; string public _baseTokenEXT; string public notRevealedUri; bool public revealed = false; //Whitelist Settings bool public whitelistSale = false; uint256 public whitelistMaxMint = 10; //Max NFT per wallet during WL uint256 public whitelistPrice = 0.11 ether; bytes32 public merkleRoot; //MAP User mints mapping(address => uint256) public userWLMints; mapping(address => uint256) public userMints; constructor() ERC721A("BuddyBucks","BB") { _setDefaultRoyalty(royaltyAddress, royaltyFee); } //Mints NFTs function mint(uint256 _mintAmount) public payable nonReentrant { require(tx.origin == msg.sender,"No Contracts Allowed"); require(!paused,"Contract Minting Paused"); require(!whitelistSale,": Cannot Mint During Whitelist Sale"); require(_mintAmount <= perTxCap,"Exceeds per Transaction Limit"); require(msg.value >= price * _mintAmount,"Insufficient Fund"); require(userMints[msg.sender] + _mintAmount <= maxMint,"Exceeds Max Mint Limit"); require(totalSupply() + _mintAmount <= maxSupply ,": No more NFTs to mint,decrease the quantity or check out OpenSea."); _safeMint(msg.sender,_mintAmount); userMints[msg.sender] += _mintAmount; } //Whitelist mint function function whitelistMint(uint256 _mintAmount,bytes32[] calldata merkleProof) public payable nonReentrant { require(tx.origin == msg.sender,"No Contracts Allowed"); require(!paused,"Contract Minting Paused"); require(whitelistSale,": Cannot Mint During Regular Sale"); require(_mintAmount <= whitelistMaxMint,"Exceeds Presale Limit"); require(msg.value >= whitelistPrice * _mintAmount,"Insufficient Fund"); require(totalSupply() + _mintAmount <= maxSupply ,": No more NFTs to mint,decrease the quantity or check out OpenSea."); require(userWLMints[msg.sender] + _mintAmount <= whitelistMaxMint,"You have already minted the max allowed"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof,merkleRoot,leaf),"You are Not whitelisted"); _safeMint(msg.sender,_mintAmount); userWLMints[msg.sender] += _mintAmount; } //Airdrop function function _airdrop(uint256 amount,address[] memory _address) public onlyOwner { uint256 _mintAmount = _address.length * amount; require(totalSupply()+_mintAmount <= maxSupply,"Airdrop Exceeds MaxSupply"); for(uint256 i=0;i<_address.length;i++){ _safeMint(_address[i], amount); } } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return notRevealedUri; } else { string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(_baseTokenURI, tokenId.toString(),_baseTokenEXT)) : ""; } } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function toggleReveal() public onlyOwner{ revealed = !revealed; } // Enable Whitelist function toggleWhiteList() public onlyOwner{ whitelistSale = !whitelistSale; } //Pause-Unpause function togglePause() public onlyOwner{ paused = !paused; } //SET BASE URI function changeURLParams(string memory _nURL,string memory _nBaseExt) public onlyOwner { _baseTokenURI = _nURL; _baseTokenEXT = _nBaseExt; } //SET REGULAR MINT MAX function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } //SET Whitelist Price function setWLPrice(uint256 newPrice) public onlyOwner { whitelistPrice = newPrice; } //SET Merkle Root function setMerkleRoot(bytes32 merkleHash) public onlyOwner { merkleRoot = merkleHash; } function startWhitelistSale() public onlyOwner{ paused=false; whitelistSale=true; } function startPublicSale() public onlyOwner{ paused=false; whitelistSale=false; } //Change the royalty fee for the collection - denominator out of 10000 function setRoyaltyFee(uint96 _feeNumerator) external onlyOwner { royaltyFee = _feeNumerator; _setDefaultRoyalty(royaltyAddress, royaltyFee); emit RoyaltyFees(royaltyAddress, royaltyFee); } //Change the royalty address where royalty payouts are sent function setRoyaltyAddress(address _royaltyAddress) external onlyOwner { royaltyAddress = _royaltyAddress; _setDefaultRoyalty(royaltyAddress, royaltyFee); emit RoyaltyFees(royaltyAddress, royaltyFee); } //Withdraw Balance function withdrawMoney() external onlyOwner nonReentrant { (bool success,) = msg.sender.call{value: address(this).balance}(""); require(success,"Transfer failed."); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } event RoyaltyFees(address, uint96); event Received (address, uint256); //Receive external funds receive() external payable { emit Received(msg.sender,msg.value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint96","name":"","type":"uint96"}],"name":"RoyaltyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"_airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_baseTokenEXT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_nURL","type":"string"},{"internalType":"string","name":"_nBaseExt","type":"string"}],"name":"changeURLParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"perTxCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleHash","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteList","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userWLMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052611388600c556701f161421c8e0000600d557503e86c2b36bc2280f3a25f991712cdb35967a15d2d0a600e55600a600f81905560108190556011805460ff191660011790556015805461ffff19169055601655670186cc6acd4b00006017553480156200007057600080fd5b506040518060400160405280600a81526020016942756464794275636b7360b01b81525060405180604001604052806002815260200161212160f11b8152508160029080519060200190620000c79291906200027b565b508051620000dd9060039060208401906200027b565b5050600160005550620000f03362000124565b6001600b55600e546200011e906001600160a01b03811690600160a01b90046001600160601b031662000176565b6200035e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001ea5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002425760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001e1565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b828054620002899062000321565b90600052602060002090601f016020900481019282620002ad5760008555620002f8565b82601f10620002c857805160ff1916838001178555620002f8565b82800160010185558215620002f8579182015b82811115620002f8578251825591602001919060010190620002db565b50620003069291506200030a565b5090565b5b808211156200030657600081556001016200030b565b600181811c908216806200033657607f821691505b602082108114156200035857634e487b7160e01b600052602260045260246000fd5b50919050565b6129a9806200036e6000396000f3fe6080604052600436106102e85760003560e01c80637cb6475911610190578063c4ae3168116100dc578063e985e9c511610095578063f4b2965d1161006f578063f4b2965d146108c3578063f6a5b8e6146108e3578063fc1a1c3614610903578063ff44e9151461091957600080fd5b8063e985e9c51461083a578063f2c4ce1e14610883578063f2fde38b146108a357600080fd5b8063c4ae31681461079a578063c87b56dd146107af578063cfc86f7b146107cf578063d2cab056146107e4578063d5abeb01146107f7578063df2823311461080d57600080fd5b8063a0712d6811610149578063ad2f852a11610123578063ad2f852a14610712578063ad82cbea14610732578063b88d4fde14610748578063b8997a971461075b57600080fd5b8063a0712d68146106ca578063a22cb465146106dd578063ac446002146106fd57600080fd5b80637cb647591461062c57806385fee1681461064c5780638da5cb5b1461066157806391b7f5ed1461067f57806395d89b411461069f578063a035b1fe146106b457600080fd5b806331ffd6f11161024f57806363430b3811610208578063715018a6116101e2578063715018a6146105cb578063722e141d146105e05780637501f741146105f6578063783fd9221461060c57600080fd5b806363430b38146105765780636352211e1461058b57806370a08231146105ab57600080fd5b806331ffd6f1146104ce57806342842e0e146104ed5780634800330014610500578063518302271461052d5780635b8ad429146105475780635c975abb1461055c57600080fd5b80630c1c972a116102a15780630c1c972a1461040557806318160ddd1461041a57806323b872dd146104465780632a55205a146104595780632eb4a7ab1461049857806331faafb4146104ae57600080fd5b806301ffc9a71461032c57806306d254da1461036157806306fdde0314610383578063081812fc146103a5578063081c8c44146103dd578063095ea7b3146103f257600080fd5b3661032757604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561033857600080fd5b5061034c610347366004612401565b61092e565b60405190151581526020015b60405180910390f35b34801561036d57600080fd5b5061038161037c36600461227c565b61093f565b005b34801561038f57600080fd5b506103986109d6565b6040516103589190612794565b3480156103b157600080fd5b506103c56103c03660046123e8565b610a68565b6040516001600160a01b039091168152602001610358565b3480156103e957600080fd5b50610398610aac565b6103816104003660046123be565b610b3a565b34801561041157600080fd5b50610381610bda565b34801561042657600080fd5b50610438600154600054036000190190565b604051908152602001610358565b6103816104543660046122ca565b610bf9565b34801561046557600080fd5b50610479610474366004612613565b610d8a565b604080516001600160a01b039093168352602083019190915201610358565b3480156104a457600080fd5b5061043860185481565b3480156104ba57600080fd5b506103816104c9366004612635565b610e36565b3480156104da57600080fd5b5060155461034c90610100900460ff1681565b6103816104fb3660046122ca565b610e77565b34801561050c57600080fd5b5061043861051b36600461227c565b60196020526000908152604090205481565b34801561053957600080fd5b5060155461034c9060ff1681565b34801561055357600080fd5b50610381610e97565b34801561056857600080fd5b5060115461034c9060ff1681565b34801561058257600080fd5b50610381610eb3565b34801561059757600080fd5b506103c56105a63660046123e8565b610ed8565b3480156105b757600080fd5b506104386105c636600461227c565b610ee3565b3480156105d757600080fd5b50610381610f32565b3480156105ec57600080fd5b5061043860165481565b34801561060257600080fd5b5061043860105481565b34801561061857600080fd5b50610381610627366004612470565b610f46565b34801561063857600080fd5b506103816106473660046123e8565b610f75565b34801561065857600080fd5b50610398610f82565b34801561066d57600080fd5b50600a546001600160a01b03166103c5565b34801561068b57600080fd5b5061038161069a3660046123e8565b610f8f565b3480156106ab57600080fd5b50610398610f9c565b3480156106c057600080fd5b50610438600d5481565b6103816106d83660046123e8565b610fab565b3480156106e957600080fd5b506103816106f8366004612382565b61122d565b34801561070957600080fd5b50610381611299565b34801561071e57600080fd5b50600e546103c5906001600160a01b031681565b34801561073e57600080fd5b50610438600f5481565b610381610756366004612306565b61133f565b34801561076757600080fd5b50600e5461078290600160a01b90046001600160601b031681565b6040516001600160601b039091168152602001610358565b3480156107a657600080fd5b50610381611389565b3480156107bb57600080fd5b506103986107ca3660046123e8565b6113a5565b3480156107db57600080fd5b50610398611515565b6103816107f2366004612594565b611522565b34801561080357600080fd5b50610438600c5481565b34801561081957600080fd5b5061043861082836600461227c565b601a6020526000908152604090205481565b34801561084657600080fd5b5061034c610855366004612297565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561088f57600080fd5b5061038161089e36600461243b565b611871565b3480156108af57600080fd5b506103816108be36600461227c565b611890565b3480156108cf57600080fd5b506103816108de3660046124d4565b611906565b3480156108ef57600080fd5b506103816108fe3660046123e8565b6119cd565b34801561090f57600080fd5b5061043860175481565b34801561092557600080fd5b506103816119da565b6000610939826119fd565b92915050565b610947611a32565b600e80546001600160a01b0319166001600160a01b0383169081179182905561097f91600160a01b90046001600160601b0316611a8c565b600e54604080516001600160a01b0383168152600160a01b9092046001600160601b031660208301527fa4ed690a721df50356d49a4d13a6678d1c9187a34e4e8602f87389208c396849910160405180910390a150565b6060600280546109e5906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a11906128c5565b8015610a5e5780601f10610a3357610100808354040283529160200191610a5e565b820191906000526020600020905b815481529060010190602001808311610a4157829003601f168201915b5050505050905090565b6000610a7382611b89565b610a90576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60148054610ab9906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae5906128c5565b8015610b325780601f10610b0757610100808354040283529160200191610b32565b820191906000526020600020905b815481529060010190602001808311610b1557829003601f168201915b505050505081565b6000610b4582610ed8565b9050336001600160a01b03821614610b7e57610b618133610855565b610b7e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610be2611a32565b6011805460ff191690556015805461ff0019169055565b6000610c0482611bbe565b9050836001600160a01b0316816001600160a01b031614610c375760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c8457610c678633610855565b610c8457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cab57604051633a954ecd60e21b815260040160405180910390fd5b8015610cb657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610d415760018401600081815260046020526040902054610d3f576000548114610d3f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610dff5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610e1e906001600160601b03168761287a565b610e289190612858565b915196919550909350505050565b610e3e611a32565b600e80546001600160a01b03908116600160a01b6001600160601b0385811682028381179586905561097f959416909217920416611a8c565b610e928383836040518060200160405280600081525061133f565b505050565b610e9f611a32565b6015805460ff19811660ff90911615179055565b610ebb611a32565b6015805461ff001981166101009182900460ff1615909102179055565b600061093982611bbe565b60006001600160a01b038216610f0c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f3a611a32565b610f446000611c27565b565b610f4e611a32565b8151610f61906012906020850190612154565b508051610e92906013906020840190612154565b610f7d611a32565b601855565b60138054610ab9906128c5565b610f97611a32565b600d55565b6060600380546109e5906128c5565b610fb3611c79565b323314610ffe5760405162461bcd60e51b8152602060048201526014602482015273139bc810dbdb9d1c9858dd1cc8105b1b1bddd95960621b60448201526064015b60405180910390fd5b60115460ff161561104b5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd08135a5b9d1a5b99c814185d5cd959604a1b6044820152606401610ff5565b601554610100900460ff16156110af5760405162461bcd60e51b815260206004820152602360248201527f3a2043616e6e6f74204d696e7420447572696e672057686974656c6973742053604482015262616c6560e81b6064820152608401610ff5565b600f548111156111015760405162461bcd60e51b815260206004820152601d60248201527f4578636565647320706572205472616e73616374696f6e204c696d69740000006044820152606401610ff5565b80600d5461110f919061287a565b3410156111525760405162461bcd60e51b8152602060048201526011602482015270125b9cdd59999a58da595b9d08119d5b99607a1b6044820152606401610ff5565b601054336000908152601a6020526040902054611170908390612840565b11156111b75760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc813585e08135a5b9d08131a5b5a5d60521b6044820152606401610ff5565b600c54816111cc600154600054036000190190565b6111d69190612840565b11156111f45760405162461bcd60e51b8152600401610ff5906127a7565b6111fe3382611cd3565b336000908152601a60205260408120805483929061121d908490612840565b90915550506001600b5550565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a1611a32565b6112a9611c79565b604051600090339047908381818185875af1925050503d80600081146112eb576040519150601f19603f3d011682016040523d82523d6000602084013e6112f0565b606091505b50509050806113345760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610ff5565b50610f446001600b55565b61134a848484610bf9565b6001600160a01b0383163b156113835761136684848484611ced565b611383576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611391611a32565b6011805460ff19811660ff90911615179055565b60606113b082611b89565b6114145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ff5565b60155460ff166114b0576014805461142b906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906128c5565b80156114a45780601f10611479576101008083540402835291602001916114a4565b820191906000526020600020905b81548152906001019060200180831161148757829003601f168201915b50505050509050919050565b60006114ba611de5565b905060008151116114da5760405180602001604052806000815250611509565b60126114e584611df4565b60136040516020016114f993929190612724565b6040516020818303038152906040525b9392505050565b919050565b60128054610ab9906128c5565b61152a611c79565b3233146115705760405162461bcd60e51b8152602060048201526014602482015273139bc810dbdb9d1c9858dd1cc8105b1b1bddd95960621b6044820152606401610ff5565b60115460ff16156115bd5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd08135a5b9d1a5b99c814185d5cd959604a1b6044820152606401610ff5565b601554610100900460ff1661161e5760405162461bcd60e51b815260206004820152602160248201527f3a2043616e6e6f74204d696e7420447572696e6720526567756c61722053616c6044820152606560f81b6064820152608401610ff5565b6016548311156116685760405162461bcd60e51b8152602060048201526015602482015274115e18d959591cc8141c995cd85b1948131a5b5a5d605a1b6044820152606401610ff5565b82601754611676919061287a565b3410156116b95760405162461bcd60e51b8152602060048201526011602482015270125b9cdd59999a58da595b9d08119d5b99607a1b6044820152606401610ff5565b600c54836116ce600154600054036000190190565b6116d89190612840565b11156116f65760405162461bcd60e51b8152600401610ff5906127a7565b60165433600090815260196020526040902054611714908590612840565b11156117725760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c7265616479206d696e74656420746865206d617820604482015266185b1b1bddd95960ca1b6064820152608401610ff5565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506117ec838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050611e91565b6118385760405162461bcd60e51b815260206004820152601760248201527f596f7520617265204e6f742077686974656c69737465640000000000000000006044820152606401610ff5565b6118423385611cd3565b3360009081526019602052604081208054869290611861908490612840565b90915550506001600b5550505050565b611879611a32565b805161188c906014906020840190612154565b5050565b611898611a32565b6001600160a01b0381166118fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ff5565b61122a81611c27565b61190e611a32565b600082825161191d919061287a565b9050600c5481611934600154600054036000190190565b61193e9190612840565b111561198c5760405162461bcd60e51b815260206004820152601960248201527f41697264726f702045786365656473204d6178537570706c79000000000000006044820152606401610ff5565b60005b8251811015611383576119bb8382815181106119ad576119ad612931565b602002602001015185611cd3565b806119c581612900565b91505061198f565b6119d5611a32565b601755565b6119e2611a32565b6011805460ff191690556015805461ff001916610100179055565b60006001600160e01b0319821663152a902d60e11b148061093957506301ffc9a760e01b6001600160e01b0319831614610939565b600a546001600160a01b03163314610f445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ff5565b6127106001600160601b0382161115611afa5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610ff5565b6001600160a01b038216611b505760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ff5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600081600111158015611b9d575060005482105b8015610939575050600090815260046020526040902054600160e01b161590565b60008180600111611c0e57600054811015611c0e57600081815260046020526040902054600160e01b8116611c0c575b80611509575060001901600081815260046020526040902054611bee565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600b541415611ccc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ff5565b6002600b55565b61188c828260405180602001604052806000815250611ea7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d22903390899088908890600401612757565b602060405180830381600087803b158015611d3c57600080fd5b505af1925050508015611d6c575060408051601f3d908101601f19168201909252611d699181019061241e565b60015b611dc7573d808015611d9a576040519150601f19603f3d011682016040523d82523d6000602084013e611d9f565b606091505b508051611dbf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109e5906128c5565b60606000611e0183611f14565b600101905060008167ffffffffffffffff811115611e2157611e21612947565b6040519080825280601f01601f191660200182016040528015611e4b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611e8457611e89565b611e55565b509392505050565b600082611e9e8584611fec565b14949350505050565b611eb18383612031565b6001600160a01b0383163b15610e92576000548281035b611edb6000868380600101945086611ced565b611ef8576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ec8578160005414611f0d57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f535772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f7f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f9d57662386f26fc10000830492506010015b6305f5e1008310611fb5576305f5e100830492506008015b6127108310611fc957612710830492506004015b60648310611fdb576064830492506002015b600a83106109395760010192915050565b600081815b8451811015611e895761201d8286838151811061201057612010612931565b6020026020010151612128565b91508061202981612900565b915050611ff1565b600054816120525760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461210157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016120c9565b508161211f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310612144576000828152602084905260409020611509565b5060009182526020526040902090565b828054612160906128c5565b90600052602060002090601f01602090048101928261218257600085556121c8565b82601f1061219b57805160ff19168380011785556121c8565b828001600101855582156121c8579182015b828111156121c85782518255916020019190600101906121ad565b506121d49291506121d8565b5090565b5b808211156121d457600081556001016121d9565b600067ffffffffffffffff83111561220757612207612947565b61221a601f8401601f191660200161280f565b905082815283838301111561222e57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461151057600080fd5b600082601f83011261226d57600080fd5b611509838335602085016121ed565b60006020828403121561228e57600080fd5b61150982612245565b600080604083850312156122aa57600080fd5b6122b383612245565b91506122c160208401612245565b90509250929050565b6000806000606084860312156122df57600080fd5b6122e884612245565b92506122f660208501612245565b9150604084013590509250925092565b6000806000806080858703121561231c57600080fd5b61232585612245565b935061233360208601612245565b925060408501359150606085013567ffffffffffffffff81111561235657600080fd5b8501601f8101871361236757600080fd5b612376878235602084016121ed565b91505092959194509250565b6000806040838503121561239557600080fd5b61239e83612245565b9150602083013580151581146123b357600080fd5b809150509250929050565b600080604083850312156123d157600080fd5b6123da83612245565b946020939093013593505050565b6000602082840312156123fa57600080fd5b5035919050565b60006020828403121561241357600080fd5b81356115098161295d565b60006020828403121561243057600080fd5b81516115098161295d565b60006020828403121561244d57600080fd5b813567ffffffffffffffff81111561246457600080fd5b611ddd8482850161225c565b6000806040838503121561248357600080fd5b823567ffffffffffffffff8082111561249b57600080fd5b6124a78683870161225c565b935060208501359150808211156124bd57600080fd5b506124ca8582860161225c565b9150509250929050565b600080604083850312156124e757600080fd5b8235915060208084013567ffffffffffffffff8082111561250757600080fd5b818601915086601f83011261251b57600080fd5b81358181111561252d5761252d612947565b8060051b915061253e84830161280f565b8181528481019084860184860187018b101561255957600080fd5b600095505b838610156125835761256f81612245565b83526001959095019491860191860161255e565b508096505050505050509250929050565b6000806000604084860312156125a957600080fd5b83359250602084013567ffffffffffffffff808211156125c857600080fd5b818601915086601f8301126125dc57600080fd5b8135818111156125eb57600080fd5b8760208260051b850101111561260057600080fd5b6020830194508093505050509250925092565b6000806040838503121561262657600080fd5b50508035926020909101359150565b60006020828403121561264757600080fd5b81356001600160601b038116811461150957600080fd5b60008151808452612676816020860160208601612899565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806126a457607f831692505b60208084108214156126c657634e487b7160e01b600052602260045260246000fd5b8180156126da57600181146126eb57612718565b60ff19861689528489019650612718565b60008881526020902060005b868110156127105781548b8201529085019083016126f7565b505084890196505b50505050505092915050565b6000612730828661268a565b8451612740818360208901612899565b61274c8183018661268a565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278a9083018461265e565b9695505050505050565b602081526000611509602083018461265e565b60208082526042908201527f3a204e6f206d6f7265204e46547320746f206d696e742c64656372656173652060408201527f746865207175616e74697479206f7220636865636b206f7574204f70656e5365606082015261309760f11b608082015260a00190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561283857612838612947565b604052919050565b600082198211156128535761285361291b565b500190565b60008261287557634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156128945761289461291b565b500290565b60005b838110156128b457818101518382015260200161289c565b838111156113835750506000910152565b600181811c908216806128d957607f821691505b602082108114156128fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129145761291461291b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461122a57600080fdfea2646970667358221220616b701d5aede5dc70578c87c3b5fc733ec2a049ab885ec684a4e9409508cfc464736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102e85760003560e01c80637cb6475911610190578063c4ae3168116100dc578063e985e9c511610095578063f4b2965d1161006f578063f4b2965d146108c3578063f6a5b8e6146108e3578063fc1a1c3614610903578063ff44e9151461091957600080fd5b8063e985e9c51461083a578063f2c4ce1e14610883578063f2fde38b146108a357600080fd5b8063c4ae31681461079a578063c87b56dd146107af578063cfc86f7b146107cf578063d2cab056146107e4578063d5abeb01146107f7578063df2823311461080d57600080fd5b8063a0712d6811610149578063ad2f852a11610123578063ad2f852a14610712578063ad82cbea14610732578063b88d4fde14610748578063b8997a971461075b57600080fd5b8063a0712d68146106ca578063a22cb465146106dd578063ac446002146106fd57600080fd5b80637cb647591461062c57806385fee1681461064c5780638da5cb5b1461066157806391b7f5ed1461067f57806395d89b411461069f578063a035b1fe146106b457600080fd5b806331ffd6f11161024f57806363430b3811610208578063715018a6116101e2578063715018a6146105cb578063722e141d146105e05780637501f741146105f6578063783fd9221461060c57600080fd5b806363430b38146105765780636352211e1461058b57806370a08231146105ab57600080fd5b806331ffd6f1146104ce57806342842e0e146104ed5780634800330014610500578063518302271461052d5780635b8ad429146105475780635c975abb1461055c57600080fd5b80630c1c972a116102a15780630c1c972a1461040557806318160ddd1461041a57806323b872dd146104465780632a55205a146104595780632eb4a7ab1461049857806331faafb4146104ae57600080fd5b806301ffc9a71461032c57806306d254da1461036157806306fdde0314610383578063081812fc146103a5578063081c8c44146103dd578063095ea7b3146103f257600080fd5b3661032757604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561033857600080fd5b5061034c610347366004612401565b61092e565b60405190151581526020015b60405180910390f35b34801561036d57600080fd5b5061038161037c36600461227c565b61093f565b005b34801561038f57600080fd5b506103986109d6565b6040516103589190612794565b3480156103b157600080fd5b506103c56103c03660046123e8565b610a68565b6040516001600160a01b039091168152602001610358565b3480156103e957600080fd5b50610398610aac565b6103816104003660046123be565b610b3a565b34801561041157600080fd5b50610381610bda565b34801561042657600080fd5b50610438600154600054036000190190565b604051908152602001610358565b6103816104543660046122ca565b610bf9565b34801561046557600080fd5b50610479610474366004612613565b610d8a565b604080516001600160a01b039093168352602083019190915201610358565b3480156104a457600080fd5b5061043860185481565b3480156104ba57600080fd5b506103816104c9366004612635565b610e36565b3480156104da57600080fd5b5060155461034c90610100900460ff1681565b6103816104fb3660046122ca565b610e77565b34801561050c57600080fd5b5061043861051b36600461227c565b60196020526000908152604090205481565b34801561053957600080fd5b5060155461034c9060ff1681565b34801561055357600080fd5b50610381610e97565b34801561056857600080fd5b5060115461034c9060ff1681565b34801561058257600080fd5b50610381610eb3565b34801561059757600080fd5b506103c56105a63660046123e8565b610ed8565b3480156105b757600080fd5b506104386105c636600461227c565b610ee3565b3480156105d757600080fd5b50610381610f32565b3480156105ec57600080fd5b5061043860165481565b34801561060257600080fd5b5061043860105481565b34801561061857600080fd5b50610381610627366004612470565b610f46565b34801561063857600080fd5b506103816106473660046123e8565b610f75565b34801561065857600080fd5b50610398610f82565b34801561066d57600080fd5b50600a546001600160a01b03166103c5565b34801561068b57600080fd5b5061038161069a3660046123e8565b610f8f565b3480156106ab57600080fd5b50610398610f9c565b3480156106c057600080fd5b50610438600d5481565b6103816106d83660046123e8565b610fab565b3480156106e957600080fd5b506103816106f8366004612382565b61122d565b34801561070957600080fd5b50610381611299565b34801561071e57600080fd5b50600e546103c5906001600160a01b031681565b34801561073e57600080fd5b50610438600f5481565b610381610756366004612306565b61133f565b34801561076757600080fd5b50600e5461078290600160a01b90046001600160601b031681565b6040516001600160601b039091168152602001610358565b3480156107a657600080fd5b50610381611389565b3480156107bb57600080fd5b506103986107ca3660046123e8565b6113a5565b3480156107db57600080fd5b50610398611515565b6103816107f2366004612594565b611522565b34801561080357600080fd5b50610438600c5481565b34801561081957600080fd5b5061043861082836600461227c565b601a6020526000908152604090205481565b34801561084657600080fd5b5061034c610855366004612297565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561088f57600080fd5b5061038161089e36600461243b565b611871565b3480156108af57600080fd5b506103816108be36600461227c565b611890565b3480156108cf57600080fd5b506103816108de3660046124d4565b611906565b3480156108ef57600080fd5b506103816108fe3660046123e8565b6119cd565b34801561090f57600080fd5b5061043860175481565b34801561092557600080fd5b506103816119da565b6000610939826119fd565b92915050565b610947611a32565b600e80546001600160a01b0319166001600160a01b0383169081179182905561097f91600160a01b90046001600160601b0316611a8c565b600e54604080516001600160a01b0383168152600160a01b9092046001600160601b031660208301527fa4ed690a721df50356d49a4d13a6678d1c9187a34e4e8602f87389208c396849910160405180910390a150565b6060600280546109e5906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a11906128c5565b8015610a5e5780601f10610a3357610100808354040283529160200191610a5e565b820191906000526020600020905b815481529060010190602001808311610a4157829003601f168201915b5050505050905090565b6000610a7382611b89565b610a90576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60148054610ab9906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae5906128c5565b8015610b325780601f10610b0757610100808354040283529160200191610b32565b820191906000526020600020905b815481529060010190602001808311610b1557829003601f168201915b505050505081565b6000610b4582610ed8565b9050336001600160a01b03821614610b7e57610b618133610855565b610b7e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610be2611a32565b6011805460ff191690556015805461ff0019169055565b6000610c0482611bbe565b9050836001600160a01b0316816001600160a01b031614610c375760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c8457610c678633610855565b610c8457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cab57604051633a954ecd60e21b815260040160405180910390fd5b8015610cb657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610d415760018401600081815260046020526040902054610d3f576000548114610d3f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610dff5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610e1e906001600160601b03168761287a565b610e289190612858565b915196919550909350505050565b610e3e611a32565b600e80546001600160a01b03908116600160a01b6001600160601b0385811682028381179586905561097f959416909217920416611a8c565b610e928383836040518060200160405280600081525061133f565b505050565b610e9f611a32565b6015805460ff19811660ff90911615179055565b610ebb611a32565b6015805461ff001981166101009182900460ff1615909102179055565b600061093982611bbe565b60006001600160a01b038216610f0c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f3a611a32565b610f446000611c27565b565b610f4e611a32565b8151610f61906012906020850190612154565b508051610e92906013906020840190612154565b610f7d611a32565b601855565b60138054610ab9906128c5565b610f97611a32565b600d55565b6060600380546109e5906128c5565b610fb3611c79565b323314610ffe5760405162461bcd60e51b8152602060048201526014602482015273139bc810dbdb9d1c9858dd1cc8105b1b1bddd95960621b60448201526064015b60405180910390fd5b60115460ff161561104b5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd08135a5b9d1a5b99c814185d5cd959604a1b6044820152606401610ff5565b601554610100900460ff16156110af5760405162461bcd60e51b815260206004820152602360248201527f3a2043616e6e6f74204d696e7420447572696e672057686974656c6973742053604482015262616c6560e81b6064820152608401610ff5565b600f548111156111015760405162461bcd60e51b815260206004820152601d60248201527f4578636565647320706572205472616e73616374696f6e204c696d69740000006044820152606401610ff5565b80600d5461110f919061287a565b3410156111525760405162461bcd60e51b8152602060048201526011602482015270125b9cdd59999a58da595b9d08119d5b99607a1b6044820152606401610ff5565b601054336000908152601a6020526040902054611170908390612840565b11156111b75760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc813585e08135a5b9d08131a5b5a5d60521b6044820152606401610ff5565b600c54816111cc600154600054036000190190565b6111d69190612840565b11156111f45760405162461bcd60e51b8152600401610ff5906127a7565b6111fe3382611cd3565b336000908152601a60205260408120805483929061121d908490612840565b90915550506001600b5550565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a1611a32565b6112a9611c79565b604051600090339047908381818185875af1925050503d80600081146112eb576040519150601f19603f3d011682016040523d82523d6000602084013e6112f0565b606091505b50509050806113345760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610ff5565b50610f446001600b55565b61134a848484610bf9565b6001600160a01b0383163b156113835761136684848484611ced565b611383576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611391611a32565b6011805460ff19811660ff90911615179055565b60606113b082611b89565b6114145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ff5565b60155460ff166114b0576014805461142b906128c5565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906128c5565b80156114a45780601f10611479576101008083540402835291602001916114a4565b820191906000526020600020905b81548152906001019060200180831161148757829003601f168201915b50505050509050919050565b60006114ba611de5565b905060008151116114da5760405180602001604052806000815250611509565b60126114e584611df4565b60136040516020016114f993929190612724565b6040516020818303038152906040525b9392505050565b919050565b60128054610ab9906128c5565b61152a611c79565b3233146115705760405162461bcd60e51b8152602060048201526014602482015273139bc810dbdb9d1c9858dd1cc8105b1b1bddd95960621b6044820152606401610ff5565b60115460ff16156115bd5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd08135a5b9d1a5b99c814185d5cd959604a1b6044820152606401610ff5565b601554610100900460ff1661161e5760405162461bcd60e51b815260206004820152602160248201527f3a2043616e6e6f74204d696e7420447572696e6720526567756c61722053616c6044820152606560f81b6064820152608401610ff5565b6016548311156116685760405162461bcd60e51b8152602060048201526015602482015274115e18d959591cc8141c995cd85b1948131a5b5a5d605a1b6044820152606401610ff5565b82601754611676919061287a565b3410156116b95760405162461bcd60e51b8152602060048201526011602482015270125b9cdd59999a58da595b9d08119d5b99607a1b6044820152606401610ff5565b600c54836116ce600154600054036000190190565b6116d89190612840565b11156116f65760405162461bcd60e51b8152600401610ff5906127a7565b60165433600090815260196020526040902054611714908590612840565b11156117725760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c7265616479206d696e74656420746865206d617820604482015266185b1b1bddd95960ca1b6064820152608401610ff5565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506117ec838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050611e91565b6118385760405162461bcd60e51b815260206004820152601760248201527f596f7520617265204e6f742077686974656c69737465640000000000000000006044820152606401610ff5565b6118423385611cd3565b3360009081526019602052604081208054869290611861908490612840565b90915550506001600b5550505050565b611879611a32565b805161188c906014906020840190612154565b5050565b611898611a32565b6001600160a01b0381166118fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ff5565b61122a81611c27565b61190e611a32565b600082825161191d919061287a565b9050600c5481611934600154600054036000190190565b61193e9190612840565b111561198c5760405162461bcd60e51b815260206004820152601960248201527f41697264726f702045786365656473204d6178537570706c79000000000000006044820152606401610ff5565b60005b8251811015611383576119bb8382815181106119ad576119ad612931565b602002602001015185611cd3565b806119c581612900565b91505061198f565b6119d5611a32565b601755565b6119e2611a32565b6011805460ff191690556015805461ff001916610100179055565b60006001600160e01b0319821663152a902d60e11b148061093957506301ffc9a760e01b6001600160e01b0319831614610939565b600a546001600160a01b03163314610f445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ff5565b6127106001600160601b0382161115611afa5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610ff5565b6001600160a01b038216611b505760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ff5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600081600111158015611b9d575060005482105b8015610939575050600090815260046020526040902054600160e01b161590565b60008180600111611c0e57600054811015611c0e57600081815260046020526040902054600160e01b8116611c0c575b80611509575060001901600081815260046020526040902054611bee565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600b541415611ccc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ff5565b6002600b55565b61188c828260405180602001604052806000815250611ea7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d22903390899088908890600401612757565b602060405180830381600087803b158015611d3c57600080fd5b505af1925050508015611d6c575060408051601f3d908101601f19168201909252611d699181019061241e565b60015b611dc7573d808015611d9a576040519150601f19603f3d011682016040523d82523d6000602084013e611d9f565b606091505b508051611dbf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109e5906128c5565b60606000611e0183611f14565b600101905060008167ffffffffffffffff811115611e2157611e21612947565b6040519080825280601f01601f191660200182016040528015611e4b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611e8457611e89565b611e55565b509392505050565b600082611e9e8584611fec565b14949350505050565b611eb18383612031565b6001600160a01b0383163b15610e92576000548281035b611edb6000868380600101945086611ced565b611ef8576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ec8578160005414611f0d57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f535772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f7f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f9d57662386f26fc10000830492506010015b6305f5e1008310611fb5576305f5e100830492506008015b6127108310611fc957612710830492506004015b60648310611fdb576064830492506002015b600a83106109395760010192915050565b600081815b8451811015611e895761201d8286838151811061201057612010612931565b6020026020010151612128565b91508061202981612900565b915050611ff1565b600054816120525760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461210157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016120c9565b508161211f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310612144576000828152602084905260409020611509565b5060009182526020526040902090565b828054612160906128c5565b90600052602060002090601f01602090048101928261218257600085556121c8565b82601f1061219b57805160ff19168380011785556121c8565b828001600101855582156121c8579182015b828111156121c85782518255916020019190600101906121ad565b506121d49291506121d8565b5090565b5b808211156121d457600081556001016121d9565b600067ffffffffffffffff83111561220757612207612947565b61221a601f8401601f191660200161280f565b905082815283838301111561222e57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461151057600080fd5b600082601f83011261226d57600080fd5b611509838335602085016121ed565b60006020828403121561228e57600080fd5b61150982612245565b600080604083850312156122aa57600080fd5b6122b383612245565b91506122c160208401612245565b90509250929050565b6000806000606084860312156122df57600080fd5b6122e884612245565b92506122f660208501612245565b9150604084013590509250925092565b6000806000806080858703121561231c57600080fd5b61232585612245565b935061233360208601612245565b925060408501359150606085013567ffffffffffffffff81111561235657600080fd5b8501601f8101871361236757600080fd5b612376878235602084016121ed565b91505092959194509250565b6000806040838503121561239557600080fd5b61239e83612245565b9150602083013580151581146123b357600080fd5b809150509250929050565b600080604083850312156123d157600080fd5b6123da83612245565b946020939093013593505050565b6000602082840312156123fa57600080fd5b5035919050565b60006020828403121561241357600080fd5b81356115098161295d565b60006020828403121561243057600080fd5b81516115098161295d565b60006020828403121561244d57600080fd5b813567ffffffffffffffff81111561246457600080fd5b611ddd8482850161225c565b6000806040838503121561248357600080fd5b823567ffffffffffffffff8082111561249b57600080fd5b6124a78683870161225c565b935060208501359150808211156124bd57600080fd5b506124ca8582860161225c565b9150509250929050565b600080604083850312156124e757600080fd5b8235915060208084013567ffffffffffffffff8082111561250757600080fd5b818601915086601f83011261251b57600080fd5b81358181111561252d5761252d612947565b8060051b915061253e84830161280f565b8181528481019084860184860187018b101561255957600080fd5b600095505b838610156125835761256f81612245565b83526001959095019491860191860161255e565b508096505050505050509250929050565b6000806000604084860312156125a957600080fd5b83359250602084013567ffffffffffffffff808211156125c857600080fd5b818601915086601f8301126125dc57600080fd5b8135818111156125eb57600080fd5b8760208260051b850101111561260057600080fd5b6020830194508093505050509250925092565b6000806040838503121561262657600080fd5b50508035926020909101359150565b60006020828403121561264757600080fd5b81356001600160601b038116811461150957600080fd5b60008151808452612676816020860160208601612899565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806126a457607f831692505b60208084108214156126c657634e487b7160e01b600052602260045260246000fd5b8180156126da57600181146126eb57612718565b60ff19861689528489019650612718565b60008881526020902060005b868110156127105781548b8201529085019083016126f7565b505084890196505b50505050505092915050565b6000612730828661268a565b8451612740818360208901612899565b61274c8183018661268a565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278a9083018461265e565b9695505050505050565b602081526000611509602083018461265e565b60208082526042908201527f3a204e6f206d6f7265204e46547320746f206d696e742c64656372656173652060408201527f746865207175616e74697479206f7220636865636b206f7574204f70656e5365606082015261309760f11b608082015260a00190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561283857612838612947565b604052919050565b600082198211156128535761285361291b565b500190565b60008261287557634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156128945761289461291b565b500290565b60005b838110156128b457818101518382015260200161289c565b838111156113835750506000910152565b600181811c908216806128d957607f821691505b602082108114156128fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129145761291461291b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461122a57600080fdfea2646970667358221220616b701d5aede5dc70578c87c3b5fc733ec2a049ab885ec684a4e9409508cfc464736f6c63430008070033
Deployed Bytecode Sourcemap
89804:6427:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96184:30;;;96193:10;9943:51:1;;96204:9:0;10025:2:1;10010:18;;10003:34;96184:30:0;;9916:18:1;96184:30:0;;;;;;;89804:6427;;;;;95808:204;;;;;;;;;;-1:-1:-1;95808:204:0;;;;;:::i;:::-;;:::i;:::-;;;10523:14:1;;10516:22;10498:41;;10486:2;10471:18;95808:204:0;;;;;;;;95337:234;;;;;;;;;;-1:-1:-1;95337:234:0;;;;;:::i;:::-;;:::i;:::-;;57602:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64093:218::-;;;;;;;;;;-1:-1:-1;64093:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9232:32:1;;;9214:51;;9202:2;9187:18;64093:218:0;9068:203:1;90431:28:0;;;;;;;;;;;;;:::i;63526:408::-;;;;;;:::i;:::-;;:::i;94849:104::-;;;;;;;;;;;;;:::i;53353:323::-;;;;;;;;;;;;52952:1;53627:12;53414:7;53611:13;:28;-1:-1:-1;;53611:46:0;;53353:323;;;;10696:25:1;;;10684:2;10669:18;53353:323:0;10550:177:1;67732:2825:0;;;;;;:::i;:::-;;:::i;4500:442::-;;;;;;;;;;-1:-1:-1;4500:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9961:32:1;;;9943:51;;10025:2;10010:18;;10003:34;;;;9916:18;4500:442:0;9769:274:1;90692:25:0;;;;;;;;;;;;;;;;95043:221;;;;;;;;;;-1:-1:-1;95043:221:0;;;;;:::i;:::-;;:::i;90529:33::-;;;;;;;;;;-1:-1:-1;90529:33:0;;;;;;;;;;;70653:193;;;;;;:::i;:::-;;:::i;90751:46::-;;;;;;;;;;-1:-1:-1;90751:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;90466:28;;;;;;;;;;-1:-1:-1;90466:28:0;;;;;;;;93838:79;;;;;;;;;;;;;:::i;90299:25::-;;;;;;;;;;-1:-1:-1;90299:25:0;;;;;;;;93950:92;;;;;;;;;;;;;:::i;58995:152::-;;;;;;;;;;-1:-1:-1;58995:152:0;;;;;:::i;:::-;;:::i;54537:233::-;;;;;;;;;;-1:-1:-1;54537:233:0;;;;;:::i;:::-;;:::i;37479:103::-;;;;;;;;;;;;;:::i;90569:36::-;;;;;;;;;;;;;;;;90236:27;;;;;;;;;;;;;;;;94173:163;;;;;;;;;;-1:-1:-1;94173:163:0;;;;;:::i;:::-;;:::i;94625:102::-;;;;;;;;;;-1:-1:-1;94625:102:0;;;;;:::i;:::-;;:::i;90397:27::-;;;;;;;;;;;;;:::i;36831:87::-;;;;;;;;;;-1:-1:-1;36904:6:0;;-1:-1:-1;;;;;36904:6:0;36831:87;;94372:88;;;;;;;;;;-1:-1:-1;94372:88:0;;;;;:::i;:::-;;:::i;57778:104::-;;;;;;;;;;;;;:::i;89989:33::-;;;;;;;;;;;;;;;;90997:721;;;;;;:::i;:::-;;:::i;64651:234::-;;;;;;;;;;-1:-1:-1;64651:234:0;;;;;:::i;:::-;;:::i;95603:189::-;;;;;;;;;;;;;:::i;90042:74::-;;;;;;;;;;-1:-1:-1;90042:74:0;;;;-1:-1:-1;;;;;90042:74:0;;;90175:28;;;;;;;;;;;;;;;;71444:407;;;;;;:::i;:::-;;:::i;90123:31::-;;;;;;;;;;-1:-1:-1;90123:31:0;;;;-1:-1:-1;;;90123:31:0;;-1:-1:-1;;;;;90123:31:0;;;;;;-1:-1:-1;;;;;18455:39:1;;;18437:58;;18425:2;18410:18;90123:31:0;18293:208:1;94071:74:0;;;;;;;;;;;;;:::i;93223:473::-;;;;;;;;;;-1:-1:-1;93223:473:0;;;;;:::i;:::-;;:::i;90363:27::-;;;;;;;;;;;;;:::i;91761:955::-;;;;;;:::i;:::-;;:::i;89931:31::-;;;;;;;;;;;;;;;;90804:44;;;;;;;;;;-1:-1:-1;90804:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;65042:164;;;;;;;;;;-1:-1:-1;65042:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;65163:25:0;;;65139:4;65163:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65042:164;93704:126;;;;;;;;;;-1:-1:-1;93704:126:0;;;;;:::i;:::-;;:::i;37737:201::-;;;;;;;;;;-1:-1:-1;37737:201:0;;;;;:::i;:::-;;:::i;92752:337::-;;;;;;;;;;-1:-1:-1;92752:337:0;;;;;:::i;:::-;;:::i;94495:99::-;;;;;;;;;;-1:-1:-1;94495:99:0;;;;;:::i;:::-;;:::i;90643:42::-;;;;;;;;;;;;;;;;94735:106;;;;;;;;;;;;;:::i;95808:204::-;95939:4;95968:36;95992:11;95968:23;:36::i;:::-;95961:43;95808:204;-1:-1:-1;;95808:204:0:o;95337:234::-;36717:13;:11;:13::i;:::-;95419:14:::1;:32:::0;;-1:-1:-1;;;;;;95419:32:0::1;-1:-1:-1::0;;;;;95419:32:0;::::1;::::0;;::::1;::::0;;;;95462:46:::1;::::0;-1:-1:-1;;;95497:10:0;::::1;-1:-1:-1::0;;;;;95497:10:0::1;95462:18;:46::i;:::-;95536:14;::::0;95524:39:::1;::::0;;-1:-1:-1;;;;;95536:14:0;::::1;10220:51:1::0;;-1:-1:-1;;;95552:10:0;;::::1;-1:-1:-1::0;;;;;95552:10:0::1;10302:2:1::0;10287:18;;10280:67;95524:39:0::1;::::0;10193:18:1;95524:39:0::1;;;;;;;95337:234:::0;:::o;57602:100::-;57656:13;57689:5;57682:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57602:100;:::o;64093:218::-;64169:7;64194:16;64202:7;64194;:16::i;:::-;64189:64;;64219:34;;-1:-1:-1;;;64219:34:0;;;;;;;;;;;64189:64;-1:-1:-1;64273:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;64273:30:0;;64093:218::o;90431:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63526:408::-;63615:13;63631:16;63639:7;63631;:16::i;:::-;63615:32;-1:-1:-1;87859:10:0;-1:-1:-1;;;;;63664:28:0;;;63660:175;;63712:44;63729:5;87859:10;65042:164;:::i;63712:44::-;63707:128;;63784:35;;-1:-1:-1;;;63784:35:0;;;;;;;;;;;63707:128;63847:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;63847:35:0;-1:-1:-1;;;;;63847:35:0;;;;;;;;;63898:28;;63847:24;;63898:28;;;;;;;63604:330;63526:408;;:::o;94849:104::-;36717:13;:11;:13::i;:::-;94903:6:::1;:12:::0;;-1:-1:-1;;94903:12:0::1;::::0;;94926:13:::1;:19:::0;;-1:-1:-1;;94926:19:0::1;::::0;;94849:104::o;67732:2825::-;67874:27;67904;67923:7;67904:18;:27::i;:::-;67874:57;;67989:4;-1:-1:-1;;;;;67948:45:0;67964:19;-1:-1:-1;;;;;67948:45:0;;67944:86;;68002:28;;-1:-1:-1;;;68002:28:0;;;;;;;;;;;67944:86;68044:27;66840:24;;;:15;:24;;;;;67068:26;;87859:10;66465:30;;;-1:-1:-1;;;;;66158:28:0;;66443:20;;;66440:56;68230:180;;68323:43;68340:4;87859:10;65042:164;:::i;68323:43::-;68318:92;;68375:35;;-1:-1:-1;;;68375:35:0;;;;;;;;;;;68318:92;-1:-1:-1;;;;;68427:16:0;;68423:52;;68452:23;;-1:-1:-1;;;68452:23:0;;;;;;;;;;;68423:52;68624:15;68621:160;;;68764:1;68743:19;68736:30;68621:160;-1:-1:-1;;;;;69161:24:0;;;;;;;:18;:24;;;;;;69159:26;;-1:-1:-1;;69159:26:0;;;69230:22;;;;;;;;;69228:24;;-1:-1:-1;69228:24:0;;;62384:11;62359:23;62355:41;62342:63;-1:-1:-1;;;62342:63:0;69523:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;69818:47:0;;69814:627;;69923:1;69913:11;;69891:19;70046:30;;;:17;:30;;;;;;70042:384;;70184:13;;70169:11;:28;70165:242;;70331:30;;;;:17;:30;;;;;:52;;;70165:242;69872:569;69814:627;70488:7;70484:2;-1:-1:-1;;;;;70469:27:0;70478:4;-1:-1:-1;;;;;70469:27:0;;;;;;;;;;;67863:2694;;;67732:2825;;;:::o;4500:442::-;4597:7;4655:27;;;:17;:27;;;;;;;;4626:56;;;;;;;;;-1:-1:-1;;;;;4626:56:0;;;;;-1:-1:-1;;;4626:56:0;;;-1:-1:-1;;;;;4626:56:0;;;;;;;;4597:7;;4695:92;;-1:-1:-1;4746:29:0;;;;;;;;;4756:19;4746:29;-1:-1:-1;;;;;4746:29:0;;;;-1:-1:-1;;;4746:29:0;;-1:-1:-1;;;;;4746:29:0;;;;;4695:92;4837:23;;;;4799:21;;5308:5;;4824:36;;-1:-1:-1;;;;;4824:36:0;:10;:36;:::i;:::-;4823:58;;;;:::i;:::-;4902:16;;;;;-1:-1:-1;4500:442:0;;-1:-1:-1;;;;4500:442:0:o;95043:221::-;36717:13;:11;:13::i;:::-;95118:10:::1;:26:::0;;-1:-1:-1;;;;;95118:26:0;;::::1;-1:-1:-1::0;;;;;;;;95118:26:0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;95155:46:::1;::::0;95174:14;;;;;;95190:10:::1;;95155:18;:46::i;70653:193::-:0;70799:39;70816:4;70822:2;70826:7;70799:39;;;;;;;;;;;;:16;:39::i;:::-;70653:193;;;:::o;93838:79::-;36717:13;:11;:13::i;:::-;93901:8:::1;::::0;;-1:-1:-1;;93889:20:0;::::1;93901:8;::::0;;::::1;93900:9;93889:20;::::0;;93838:79::o;93950:92::-;36717:13;:11;:13::i;:::-;94021::::1;::::0;;-1:-1:-1;;94004:30:0;::::1;94021:13;::::0;;;::::1;;;94020:14;94004:30:::0;;::::1;;::::0;;93950:92::o;58995:152::-;59067:7;59110:27;59129:7;59110:18;:27::i;54537:233::-;54609:7;-1:-1:-1;;;;;54633:19:0;;54629:60;;54661:28;;-1:-1:-1;;;54661:28:0;;;;;;;;;;;54629:60;-1:-1:-1;;;;;;54707:25:0;;;;;:18;:25;;;;;;48696:13;54707:55;;54537:233::o;37479:103::-;36717:13;:11;:13::i;:::-;37544:30:::1;37571:1;37544:18;:30::i;:::-;37479:103::o:0;94173:163::-;36717:13;:11;:13::i;:::-;94271:21;;::::1;::::0;:13:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;94303:25:0;;::::1;::::0;:13:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;94625:102::-:0;36717:13;:11;:13::i;:::-;94696:10:::1;:23:::0;94625:102::o;90397:27::-;;;;;;;:::i;94372:88::-;36717:13;:11;:13::i;:::-;94436:5:::1;:16:::0;94372:88::o;57778:104::-;57834:13;57867:7;57860:14;;;;;:::i;90997:721::-;9342:21;:19;:21::i;:::-;91079:9:::1;91092:10;91079:23;91071:55;;;::::0;-1:-1:-1;;;91071:55:0;;12271:2:1;91071:55:0::1;::::0;::::1;12253:21:1::0;12310:2;12290:18;;;12283:30;-1:-1:-1;;;12329:18:1;;;12322:50;12389:18;;91071:55:0::1;;;;;;;;;91146:6;::::0;::::1;;91145:7;91137:42;;;::::0;-1:-1:-1;;;91137:42:0;;14961:2:1;91137:42:0::1;::::0;::::1;14943:21:1::0;15000:2;14980:18;;;14973:30;-1:-1:-1;;;15019:18:1;;;15012:53;15082:18;;91137:42:0::1;14759:347:1::0;91137:42:0::1;91199:13;::::0;::::1;::::0;::::1;;;91198:14;91190:61;;;::::0;-1:-1:-1;;;91190:61:0;;14141:2:1;91190:61:0::1;::::0;::::1;14123:21:1::0;14180:2;14160:18;;;14153:30;14219:34;14199:18;;;14192:62;-1:-1:-1;;;14270:18:1;;;14263:33;14313:19;;91190:61:0::1;13939:399:1::0;91190:61:0::1;91285:8;;91270:11;:23;;91262:64;;;::::0;-1:-1:-1;;;91262:64:0;;15664:2:1;91262:64:0::1;::::0;::::1;15646:21:1::0;15703:2;15683:18;;;15676:30;15742:31;15722:18;;;15715:59;15791:18;;91262:64:0::1;15462:353:1::0;91262:64:0::1;91366:11;91358:5;;:19;;;;:::i;:::-;91345:9;:32;;91337:61;;;::::0;-1:-1:-1;;;91337:61:0;;17613:2:1;91337:61:0::1;::::0;::::1;17595:21:1::0;17652:2;17632:18;;;17625:30;-1:-1:-1;;;17671:18:1;;;17664:47;17728:18;;91337:61:0::1;17411:341:1::0;91337:61:0::1;91456:7;::::0;91427:10:::1;91417:21;::::0;;;:9:::1;:21;::::0;;;;;:35:::1;::::0;91441:11;;91417:35:::1;:::i;:::-;:46;;91409:80;;;::::0;-1:-1:-1;;;91409:80:0;;15313:2:1;91409:80:0::1;::::0;::::1;15295:21:1::0;15352:2;15332:18;;;15325:30;-1:-1:-1;;;15371:18:1;;;15364:52;15433:18;;91409:80:0::1;15111:346:1::0;91409:80:0::1;91539:9;;91524:11;91508:13;52952:1:::0;53627:12;53414:7;53611:13;:28;-1:-1:-1;;53611:46:0;;53353:323;91508:13:::1;:27;;;;:::i;:::-;:40;;91500:119;;;;-1:-1:-1::0;;;91500:119:0::1;;;;;;;:::i;:::-;91630:33;91640:10;91651:11;91630:9;:33::i;:::-;91684:10;91674:21;::::0;;;:9:::1;:21;::::0;;;;:36;;91699:11;;91674:21;:36:::1;::::0;91699:11;;91674:36:::1;:::i;:::-;::::0;;;-1:-1:-1;;8780:1:0;9906:7;:22;90997:721;:::o;9386:20::-;90997:721;:::o;64651:234::-;87859:10;64746:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;64746:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;64746:60:0;;;;;;;;;;64822:55;;10498:41:1;;;64746:49:0;;87859:10;64822:55;;10471:18:1;64822:55:0;;;;;;;64651:234;;:::o;95603:189::-;36717:13;:11;:13::i;:::-;9342:21:::1;:19;:21::i;:::-;95689:49:::2;::::0;95672:12:::2;::::0;95689:10:::2;::::0;95712:21:::2;::::0;95672:12;95689:49;95672:12;95689:49;95712:21;95689:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95671:67;;;95757:7;95749:35;;;::::0;-1:-1:-1;;;95749:35:0;;16022:2:1;95749:35:0::2;::::0;::::2;16004:21:1::0;16061:2;16041:18;;;16034:30;-1:-1:-1;;;16080:18:1;;;16073:46;16136:18;;95749:35:0::2;15820:340:1::0;95749:35:0::2;95660:132;9386:20:::1;8780:1:::0;9906:7;:22;9723:213;71444:407;71619:31;71632:4;71638:2;71642:7;71619:12;:31::i;:::-;-1:-1:-1;;;;;71665:14:0;;;:19;71661:183;;71704:56;71735:4;71741:2;71745:7;71754:5;71704:30;:56::i;:::-;71699:145;;71788:40;;-1:-1:-1;;;71788:40:0;;;;;;;;;;;71699:145;71444:407;;;;:::o;94071:74::-;36717:13;:11;:13::i;:::-;94131:6:::1;::::0;;-1:-1:-1;;94121:16:0;::::1;94131:6;::::0;;::::1;94130:7;94121:16;::::0;;94071:74::o;93223:473::-;93296:13;93330:16;93338:7;93330;:16::i;:::-;93322:76;;;;-1:-1:-1;;;93322:76:0;;14545:2:1;93322:76:0;;;14527:21:1;14584:2;14564:18;;;14557:30;14623:34;14603:18;;;14596:62;-1:-1:-1;;;14674:18:1;;;14667:45;14729:19;;93322:76:0;14343:411:1;93322:76:0;93413:8;;;;93409:280;;93454:14;93447:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93223:473;;;:::o;93409:280::-;93501:28;93532:10;:8;:10::i;:::-;93501:41;;93595:1;93570:14;93564:28;:32;:113;;;;;;;;;;;;;;;;;93623:13;93638:18;:7;:16;:18::i;:::-;93657:13;93606:65;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;93564:113;93557:120;93223:473;-1:-1:-1;;;93223:473:0:o;93409:280::-;93223:473;;;:::o;90363:27::-;;;;;;;:::i;91761:955::-;9342:21;:19;:21::i;:::-;91883:9:::1;91896:10;91883:23;91875:55;;;::::0;-1:-1:-1;;;91875:55:0;;12271:2:1;91875:55:0::1;::::0;::::1;12253:21:1::0;12310:2;12290:18;;;12283:30;-1:-1:-1;;;12329:18:1;;;12322:50;12389:18;;91875:55:0::1;12069:344:1::0;91875:55:0::1;91950:6;::::0;::::1;;91949:7;91941:42;;;::::0;-1:-1:-1;;;91941:42:0;;14961:2:1;91941:42:0::1;::::0;::::1;14943:21:1::0;15000:2;14980:18;;;14973:30;-1:-1:-1;;;15019:18:1;;;15012:53;15082:18;;91941:42:0::1;14759:347:1::0;91941:42:0::1;92002:13;::::0;::::1;::::0;::::1;;;91994:58;;;::::0;-1:-1:-1;;;91994:58:0;;13028:2:1;91994:58:0::1;::::0;::::1;13010:21:1::0;13067:2;13047:18;;;13040:30;13106:34;13086:18;;;13079:62;-1:-1:-1;;;13157:18:1;;;13150:31;13198:19;;91994:58:0::1;12826:397:1::0;91994:58:0::1;92086:16;;92071:11;:31;;92063:64;;;::::0;-1:-1:-1;;;92063:64:0;;13791:2:1;92063:64:0::1;::::0;::::1;13773:21:1::0;13830:2;13810:18;;;13803:30;-1:-1:-1;;;13849:18:1;;;13842:51;13910:18;;92063:64:0::1;13589:345:1::0;92063:64:0::1;92176:11;92159:14;;:28;;;;:::i;:::-;92146:9;:41;;92138:70;;;::::0;-1:-1:-1;;;92138:70:0;;17613:2:1;92138:70:0::1;::::0;::::1;17595:21:1::0;17652:2;17632:18;;;17625:30;-1:-1:-1;;;17671:18:1;;;17664:47;17728:18;;92138:70:0::1;17411:341:1::0;92138:70:0::1;92258:9;;92243:11;92227:13;52952:1:::0;53627:12;53414:7;53611:13;:28;-1:-1:-1;;53611:46:0;;53353:323;92227:13:::1;:27;;;;:::i;:::-;:40;;92219:119;;;;-1:-1:-1::0;;;92219:119:0::1;;;;;;;:::i;:::-;92398:16;::::0;92369:10:::1;92357:23;::::0;;;:11:::1;:23;::::0;;;;;:37:::1;::::0;92383:11;;92357:37:::1;:::i;:::-;:57;;92349:108;;;::::0;-1:-1:-1;;;92349:108:0;;12620:2:1;92349:108:0::1;::::0;::::1;12602:21:1::0;12659:2;12639:18;;;12632:30;12698:34;12678:18;;;12671:62;-1:-1:-1;;;12749:18:1;;;12742:37;12796:19;;92349:108:0::1;12418:403:1::0;92349:108:0::1;92493:28;::::0;-1:-1:-1;;92510:10:0::1;8312:2:1::0;8308:15;8304:53;92493:28:0::1;::::0;::::1;8292:66:1::0;92468:12:0::1;::::0;8374::1;;92493:28:0::1;;;;;;;;;;;;92483:39;;;;;;92468:54;;92541:47;92560:11;;92541:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;92572:10:0::1;::::0;;-1:-1:-1;92583:4:0;;-1:-1:-1;92541:18:0::1;:47::i;:::-;92533:82;;;::::0;-1:-1:-1;;;92533:82:0;;11919:2:1;92533:82:0::1;::::0;::::1;11901:21:1::0;11958:2;11938:18;;;11931:30;11997:25;11977:18;;;11970:53;12040:18;;92533:82:0::1;11717:347:1::0;92533:82:0::1;92626:33;92636:10;92647:11;92626:9;:33::i;:::-;92682:10;92670:23;::::0;;;:11:::1;:23;::::0;;;;:38;;92697:11;;92670:23;:38:::1;::::0;92697:11;;92670:38:::1;:::i;:::-;::::0;;;-1:-1:-1;;8780:1:0;9906:7;:22;-1:-1:-1;70653:193:0;;;:::o;93704:126::-;36717:13;:11;:13::i;:::-;93790:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;93704:126:::0;:::o;37737:201::-;36717:13;:11;:13::i;:::-;-1:-1:-1;;;;;37826:22:0;::::1;37818:73;;;::::0;-1:-1:-1;;;37818:73:0;;11158:2:1;37818:73:0::1;::::0;::::1;11140:21:1::0;11197:2;11177:18;;;11170:30;11236:34;11216:18;;;11209:62;-1:-1:-1;;;11287:18:1;;;11280:36;11333:19;;37818:73:0::1;10956:402:1::0;37818:73:0::1;37902:28;37921:8;37902:18;:28::i;92752:337::-:0;36717:13;:11;:13::i;:::-;92840:19:::1;92880:6;92862:8;:15;:24;;;;:::i;:::-;92840:46;;92934:9;;92919:11;92905:13;52952:1:::0;53627:12;53414:7;53611:13;:28;-1:-1:-1;;53611:46:0;;53353:323;92905:13:::1;:25;;;;:::i;:::-;:38;;92897:75;;;::::0;-1:-1:-1;;;92897:75:0;;11565:2:1;92897:75:0::1;::::0;::::1;11547:21:1::0;11604:2;11584:18;;;11577:30;11643:27;11623:18;;;11616:55;11688:18;;92897:75:0::1;11363:349:1::0;92897:75:0::1;92987:9;92983:95;93001:8;:15;92999:1;:17;92983:95;;;93036:30;93046:8;93055:1;93046:11;;;;;;;;:::i;:::-;;;;;;;93059:6;93036:9;:30::i;:::-;93017:3:::0;::::1;::::0;::::1;:::i;:::-;;;;92983:95;;94495:99:::0;36717:13;:11;:13::i;:::-;94561:14:::1;:25:::0;94495:99::o;94735:106::-;36717:13;:11;:13::i;:::-;94792:6:::1;:12:::0;;-1:-1:-1;;94792:12:0::1;::::0;;94815:13:::1;:18:::0;;-1:-1:-1;;94815:18:0::1;94792:12;94815:18;::::0;;94735:106::o;4230:215::-;4332:4;-1:-1:-1;;;;;;4356:41:0;;-1:-1:-1;;;4356:41:0;;:81;;-1:-1:-1;;;;;;;;;;1891:40:0;;;4401:36;1782:157;36996:132;36904:6;;-1:-1:-1;;;;;36904:6:0;87859:10;37060:23;37052:68;;;;-1:-1:-1;;;37052:68:0;;13430:2:1;37052:68:0;;;13412:21:1;;;13449:18;;;13442:30;13508:34;13488:18;;;13481:62;13560:18;;37052:68:0;13228:356:1;5592:332:0;5308:5;-1:-1:-1;;;;;5695:33:0;;;;5687:88;;;;-1:-1:-1;;;5687:88:0;;16842:2:1;5687:88:0;;;16824:21:1;16881:2;16861:18;;;16854:30;16920:34;16900:18;;;16893:62;-1:-1:-1;;;16971:18:1;;;16964:40;17021:19;;5687:88:0;16640:406:1;5687:88:0;-1:-1:-1;;;;;5794:22:0;;5786:60;;;;-1:-1:-1;;;5786:60:0;;17959:2:1;5786:60:0;;;17941:21:1;17998:2;17978:18;;;17971:30;18037:27;18017:18;;;18010:55;18082:18;;5786:60:0;17757:349:1;5786:60:0;5881:35;;;;;;;;;-1:-1:-1;;;;;5881:35:0;;;;;;-1:-1:-1;;;;;5881:35:0;;;;;;;;;;-1:-1:-1;;;5859:57:0;;;;:19;:57;5592:332::o;65464:282::-;65529:4;65585:7;52952:1;65566:26;;:66;;;;;65619:13;;65609:7;:23;65566:66;:153;;;;-1:-1:-1;;65670:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;65670:44:0;:49;;65464:282::o;60150:1275::-;60217:7;60252;;52952:1;60301:23;60297:1061;;60354:13;;60347:4;:20;60343:1015;;;60392:14;60409:23;;;:17;:23;;;;;;-1:-1:-1;;;60498:24:0;;60494:845;;61163:113;61170:11;61163:113;;-1:-1:-1;;;61241:6:0;61223:25;;;;:17;:25;;;;;;61163:113;;60494:845;60369:989;60343:1015;61386:31;;-1:-1:-1;;;61386:31:0;;;;;;;;;;;38098:191;38191:6;;;-1:-1:-1;;;;;38208:17:0;;;-1:-1:-1;;;;;;38208:17:0;;;;;;;38241:40;;38191:6;;;38208:17;38191:6;;38241:40;;38172:16;;38241:40;38161:128;38098:191;:::o;9422:293::-;8824:1;9556:7;;:19;;9548:63;;;;-1:-1:-1;;;9548:63:0;;17253:2:1;9548:63:0;;;17235:21:1;17292:2;17272:18;;;17265:30;17331:33;17311:18;;;17304:61;17382:18;;9548:63:0;17051:355:1;9548:63:0;8824:1;9689:7;:18;9422:293::o;81604:112::-;81681:27;81691:2;81695:8;81681:27;;;;;;;;;;;;:9;:27::i;73935:716::-;74119:88;;-1:-1:-1;;;74119:88:0;;74098:4;;-1:-1:-1;;;;;74119:45:0;;;;;:88;;87859:10;;74186:4;;74192:7;;74201:5;;74119:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74119:88:0;;;;;;;;-1:-1:-1;;74119:88:0;;;;;;;;;;;;:::i;:::-;;;74115:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74402:13:0;;74398:235;;74448:40;;-1:-1:-1;;;74448:40:0;;;;;;;;;;;74398:235;74591:6;74585:13;74576:6;74572:2;74568:15;74561:38;74115:529;-1:-1:-1;;;;;;74278:64:0;-1:-1:-1;;;74278:64:0;;-1:-1:-1;74115:529:0;73935:716;;;;;;:::o;93101:114::-;93161:13;93194;93187:20;;;;;:::i;32809:716::-;32865:13;32916:14;32933:17;32944:5;32933:10;:17::i;:::-;32953:1;32933:21;32916:38;;32969:20;33003:6;32992:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32992:18:0;-1:-1:-1;32969:41:0;-1:-1:-1;33134:28:0;;;33150:2;33134:28;33191:288;-1:-1:-1;;33223:5:0;-1:-1:-1;;;33360:2:0;33349:14;;33344:30;33223:5;33331:44;33421:2;33412:11;;;-1:-1:-1;33446:10:0;33442:21;;33458:5;;33442:21;33191:288;;;-1:-1:-1;33500:6:0;32809:716;-1:-1:-1;;;32809:716:0:o;11165:190::-;11290:4;11343;11314:25;11327:5;11334:4;11314:12;:25::i;:::-;:33;;11165:190;-1:-1:-1;;;;11165:190:0:o;80831:689::-;80962:19;80968:2;80972:8;80962:5;:19::i;:::-;-1:-1:-1;;;;;81023:14:0;;;:19;81019:483;;81063:11;81077:13;81125:14;;;81158:233;81189:62;81228:1;81232:2;81236:7;;;;;;81245:5;81189:30;:62::i;:::-;81184:167;;81287:40;;-1:-1:-1;;;81287:40:0;;;;;;;;;;;81184:167;81386:3;81378:5;:11;81158:233;;81473:3;81456:13;;:20;81452:34;;81478:8;;;81452:34;81044:458;;80831:689;;;:::o;29675:922::-;29728:7;;-1:-1:-1;;;29806:15:0;;29802:102;;-1:-1:-1;;;29842:15:0;;;-1:-1:-1;29886:2:0;29876:12;29802:102;29931:6;29922:5;:15;29918:102;;29967:6;29958:15;;;-1:-1:-1;30002:2:0;29992:12;29918:102;30047:6;30038:5;:15;30034:102;;30083:6;30074:15;;;-1:-1:-1;30118:2:0;30108:12;30034:102;30163:5;30154;:14;30150:99;;30198:5;30189:14;;;-1:-1:-1;30232:1:0;30222:11;30150:99;30276:5;30267;:14;30263:99;;30311:5;30302:14;;;-1:-1:-1;30345:1:0;30335:11;30263:99;30389:5;30380;:14;30376:99;;30424:5;30415:14;;;-1:-1:-1;30458:1:0;30448:11;30376:99;30502:5;30493;:14;30489:66;;30538:1;30528:11;30583:6;29675:922;-1:-1:-1;;29675:922:0:o;12032:296::-;12115:7;12158:4;12115:7;12173:118;12197:5;:12;12193:1;:16;12173:118;;;12246:33;12256:12;12270:5;12276:1;12270:8;;;;;;;;:::i;:::-;;;;;;;12246:9;:33::i;:::-;12231:48;-1:-1:-1;12211:3:0;;;;:::i;:::-;;;;12173:118;;75113:2966;75186:20;75209:13;75237;75233:44;;75259:18;;-1:-1:-1;;;75259:18:0;;;;;;;;;;;75233:44;-1:-1:-1;;;;;75765:22:0;;;;;;:18;:22;;;;48834:2;75765:22;;;:71;;75803:32;75791:45;;75765:71;;;76079:31;;;:17;:31;;;;;-1:-1:-1;62815:15:0;;62789:24;62785:46;62384:11;62359:23;62355:41;62352:52;62342:63;;76079:173;;76314:23;;;;76079:31;;75765:22;;77079:25;75765:22;;76932:335;77593:1;77579:12;77575:20;77533:346;77634:3;77625:7;77622:16;77533:346;;77852:7;77842:8;77839:1;77812:25;77809:1;77806;77801:59;77687:1;77674:15;77533:346;;;-1:-1:-1;77912:13:0;77908:45;;77934:19;;-1:-1:-1;;;77934:19:0;;;;;;;;;;;77908:45;77970:13;:19;-1:-1:-1;70653:193:0;;;:::o;19072:149::-;19135:7;19166:1;19162;:5;:51;;19297:13;19391:15;;;19427:4;19420:15;;;19474:4;19458:21;;19162:51;;;-1:-1:-1;19297:13:0;19391:15;;;19427:4;19420:15;19474:4;19458:21;;;19072:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;603:221;646:5;699:3;692:4;684:6;680:17;676:27;666:55;;717:1;714;707:12;666:55;739:79;814:3;805:6;792:20;785:4;777:6;773:17;739:79;:::i;829:186::-;888:6;941:2;929:9;920:7;916:23;912:32;909:52;;;957:1;954;947:12;909:52;980:29;999:9;980:29;:::i;1020:260::-;1088:6;1096;1149:2;1137:9;1128:7;1124:23;1120:32;1117:52;;;1165:1;1162;1155:12;1117:52;1188:29;1207:9;1188:29;:::i;:::-;1178:39;;1236:38;1270:2;1259:9;1255:18;1236:38;:::i;:::-;1226:48;;1020:260;;;;;:::o;1285:328::-;1362:6;1370;1378;1431:2;1419:9;1410:7;1406:23;1402:32;1399:52;;;1447:1;1444;1437:12;1399:52;1470:29;1489:9;1470:29;:::i;:::-;1460:39;;1518:38;1552:2;1541:9;1537:18;1518:38;:::i;:::-;1508:48;;1603:2;1592:9;1588:18;1575:32;1565:42;;1285:328;;;;;:::o;1618:666::-;1713:6;1721;1729;1737;1790:3;1778:9;1769:7;1765:23;1761:33;1758:53;;;1807:1;1804;1797:12;1758:53;1830:29;1849:9;1830:29;:::i;:::-;1820:39;;1878:38;1912:2;1901:9;1897:18;1878:38;:::i;:::-;1868:48;;1963:2;1952:9;1948:18;1935:32;1925:42;;2018:2;2007:9;2003:18;1990:32;2045:18;2037:6;2034:30;2031:50;;;2077:1;2074;2067:12;2031:50;2100:22;;2153:4;2145:13;;2141:27;-1:-1:-1;2131:55:1;;2182:1;2179;2172:12;2131:55;2205:73;2270:7;2265:2;2252:16;2247:2;2243;2239:11;2205:73;:::i;:::-;2195:83;;;1618:666;;;;;;;:::o;2289:347::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2533:2;2522:9;2518:18;2505:32;2580:5;2573:13;2566:21;2559:5;2556:32;2546:60;;2602:1;2599;2592:12;2546:60;2625:5;2615:15;;;2289:347;;;;;:::o;2641:254::-;2709:6;2717;2770:2;2758:9;2749:7;2745:23;2741:32;2738:52;;;2786:1;2783;2776:12;2738:52;2809:29;2828:9;2809:29;:::i;:::-;2799:39;2885:2;2870:18;;;;2857:32;;-1:-1:-1;;;2641:254:1:o;2900:180::-;2959:6;3012:2;3000:9;2991:7;2987:23;2983:32;2980:52;;;3028:1;3025;3018:12;2980:52;-1:-1:-1;3051:23:1;;2900:180;-1:-1:-1;2900:180:1:o;3085:245::-;3143:6;3196:2;3184:9;3175:7;3171:23;3167:32;3164:52;;;3212:1;3209;3202:12;3164:52;3251:9;3238:23;3270:30;3294:5;3270:30;:::i;3335:249::-;3404:6;3457:2;3445:9;3436:7;3432:23;3428:32;3425:52;;;3473:1;3470;3463:12;3425:52;3505:9;3499:16;3524:30;3548:5;3524:30;:::i;3589:322::-;3658:6;3711:2;3699:9;3690:7;3686:23;3682:32;3679:52;;;3727:1;3724;3717:12;3679:52;3767:9;3754:23;3800:18;3792:6;3789:30;3786:50;;;3832:1;3829;3822:12;3786:50;3855;3897:7;3888:6;3877:9;3873:22;3855:50;:::i;3916:543::-;4004:6;4012;4065:2;4053:9;4044:7;4040:23;4036:32;4033:52;;;4081:1;4078;4071:12;4033:52;4121:9;4108:23;4150:18;4191:2;4183:6;4180:14;4177:34;;;4207:1;4204;4197:12;4177:34;4230:50;4272:7;4263:6;4252:9;4248:22;4230:50;:::i;:::-;4220:60;;4333:2;4322:9;4318:18;4305:32;4289:48;;4362:2;4352:8;4349:16;4346:36;;;4378:1;4375;4368:12;4346:36;;4401:52;4445:7;4434:8;4423:9;4419:24;4401:52;:::i;:::-;4391:62;;;3916:543;;;;;:::o;4649:1031::-;4742:6;4750;4803:2;4791:9;4782:7;4778:23;4774:32;4771:52;;;4819:1;4816;4809:12;4771:52;4855:9;4842:23;4832:33;;4884:2;4937;4926:9;4922:18;4909:32;4960:18;5001:2;4993:6;4990:14;4987:34;;;5017:1;5014;5007:12;4987:34;5055:6;5044:9;5040:22;5030:32;;5100:7;5093:4;5089:2;5085:13;5081:27;5071:55;;5122:1;5119;5112:12;5071:55;5158:2;5145:16;5180:2;5176;5173:10;5170:36;;;5186:18;;:::i;:::-;5232:2;5229:1;5225:10;5215:20;;5255:28;5279:2;5275;5271:11;5255:28;:::i;:::-;5317:15;;;5348:12;;;;5380:11;;;5410;;;5406:20;;5403:33;-1:-1:-1;5400:53:1;;;5449:1;5446;5439:12;5400:53;5471:1;5462:10;;5481:169;5495:2;5492:1;5489:9;5481:169;;;5552:23;5571:3;5552:23;:::i;:::-;5540:36;;5513:1;5506:9;;;;;5596:12;;;;5628;;5481:169;;;5485:3;5669:5;5659:15;;;;;;;;4649:1031;;;;;:::o;5685:683::-;5780:6;5788;5796;5849:2;5837:9;5828:7;5824:23;5820:32;5817:52;;;5865:1;5862;5855:12;5817:52;5901:9;5888:23;5878:33;;5962:2;5951:9;5947:18;5934:32;5985:18;6026:2;6018:6;6015:14;6012:34;;;6042:1;6039;6032:12;6012:34;6080:6;6069:9;6065:22;6055:32;;6125:7;6118:4;6114:2;6110:13;6106:27;6096:55;;6147:1;6144;6137:12;6096:55;6187:2;6174:16;6213:2;6205:6;6202:14;6199:34;;;6229:1;6226;6219:12;6199:34;6282:7;6277:2;6267:6;6264:1;6260:14;6256:2;6252:23;6248:32;6245:45;6242:65;;;6303:1;6300;6293:12;6242:65;6334:2;6330;6326:11;6316:21;;6356:6;6346:16;;;;;5685:683;;;;;:::o;6373:248::-;6441:6;6449;6502:2;6490:9;6481:7;6477:23;6473:32;6470:52;;;6518:1;6515;6508:12;6470:52;-1:-1:-1;;6541:23:1;;;6611:2;6596:18;;;6583:32;;-1:-1:-1;6373:248:1:o;6626:292::-;6684:6;6737:2;6725:9;6716:7;6712:23;6708:32;6705:52;;;6753:1;6750;6743:12;6705:52;6792:9;6779:23;-1:-1:-1;;;;;6835:5:1;6831:38;6824:5;6821:49;6811:77;;6884:1;6881;6874:12;6923:257;6964:3;7002:5;6996:12;7029:6;7024:3;7017:19;7045:63;7101:6;7094:4;7089:3;7085:14;7078:4;7071:5;7067:16;7045:63;:::i;:::-;7162:2;7141:15;-1:-1:-1;;7137:29:1;7128:39;;;;7169:4;7124:50;;6923:257;-1:-1:-1;;6923:257:1:o;7185:973::-;7270:12;;7235:3;;7325:1;7345:18;;;;7398;;;;7425:61;;7479:4;7471:6;7467:17;7457:27;;7425:61;7505:2;7553;7545:6;7542:14;7522:18;7519:38;7516:161;;;7599:10;7594:3;7590:20;7587:1;7580:31;7634:4;7631:1;7624:15;7662:4;7659:1;7652:15;7516:161;7693:18;7720:104;;;;7838:1;7833:319;;;;7686:466;;7720:104;-1:-1:-1;;7753:24:1;;7741:37;;7798:16;;;;-1:-1:-1;7720:104:1;;7833:319;18859:1;18852:14;;;18896:4;18883:18;;7927:1;7941:165;7955:6;7952:1;7949:13;7941:165;;;8033:14;;8020:11;;;8013:35;8076:16;;;;7970:10;;7941:165;;;7945:3;;8135:6;8130:3;8126:16;8119:23;;7686:466;;;;;;;7185:973;;;;:::o;8397:456::-;8618:3;8646:38;8680:3;8672:6;8646:38;:::i;:::-;8713:6;8707:13;8729:52;8774:6;8770:2;8763:4;8755:6;8751:17;8729:52;:::i;:::-;8797:50;8839:6;8835:2;8831:15;8823:6;8797:50;:::i;:::-;8790:57;8397:456;-1:-1:-1;;;;;;;8397:456:1:o;9276:488::-;-1:-1:-1;;;;;9545:15:1;;;9527:34;;9597:15;;9592:2;9577:18;;9570:43;9644:2;9629:18;;9622:34;;;9692:3;9687:2;9672:18;;9665:31;;;9470:4;;9713:45;;9738:19;;9730:6;9713:45;:::i;:::-;9705:53;9276:488;-1:-1:-1;;;;;;9276:488:1:o;10732:219::-;10881:2;10870:9;10863:21;10844:4;10901:44;10941:2;10930:9;10926:18;10918:6;10901:44;:::i;16165:470::-;16367:2;16349:21;;;16406:2;16386:18;;;16379:30;16445:34;16440:2;16425:18;;16418:62;16516:34;16511:2;16496:18;;16489:62;-1:-1:-1;;;16582:3:1;16567:19;;16560:33;16625:3;16610:19;;16165:470::o;18506:275::-;18577:2;18571:9;18642:2;18623:13;;-1:-1:-1;;18619:27:1;18607:40;;18677:18;18662:34;;18698:22;;;18659:62;18656:88;;;18724:18;;:::i;:::-;18760:2;18753:22;18506:275;;-1:-1:-1;18506:275:1:o;18912:128::-;18952:3;18983:1;18979:6;18976:1;18973:13;18970:39;;;18989:18;;:::i;:::-;-1:-1:-1;19025:9:1;;18912:128::o;19045:217::-;19085:1;19111;19101:132;;19155:10;19150:3;19146:20;19143:1;19136:31;19190:4;19187:1;19180:15;19218:4;19215:1;19208:15;19101:132;-1:-1:-1;19247:9:1;;19045:217::o;19267:168::-;19307:7;19373:1;19369;19365:6;19361:14;19358:1;19355:21;19350:1;19343:9;19336:17;19332:45;19329:71;;;19380:18;;:::i;:::-;-1:-1:-1;19420:9:1;;19267:168::o;19440:258::-;19512:1;19522:113;19536:6;19533:1;19530:13;19522:113;;;19612:11;;;19606:18;19593:11;;;19586:39;19558:2;19551:10;19522:113;;;19653:6;19650:1;19647:13;19644:48;;;-1:-1:-1;;19688:1:1;19670:16;;19663:27;19440:258::o;19703:380::-;19782:1;19778:12;;;;19825;;;19846:61;;19900:4;19892:6;19888:17;19878:27;;19846:61;19953:2;19945:6;19942:14;19922:18;19919:38;19916:161;;;19999:10;19994:3;19990:20;19987:1;19980:31;20034:4;20031:1;20024:15;20062:4;20059:1;20052:15;19916:161;;19703:380;;;:::o;20088:135::-;20127:3;-1:-1:-1;;20148:17:1;;20145:43;;;20168:18;;:::i;:::-;-1:-1:-1;20215:1:1;20204:13;;20088:135::o;20228:127::-;20289:10;20284:3;20280:20;20277:1;20270:31;20320:4;20317:1;20310:15;20344:4;20341:1;20334:15;20492:127;20553:10;20548:3;20544:20;20541:1;20534:31;20584:4;20581:1;20574:15;20608:4;20605:1;20598:15;20624:127;20685:10;20680:3;20676:20;20673:1;20666:31;20716:4;20713:1;20706:15;20740:4;20737:1;20730:15;20756:131;-1:-1:-1;;;;;;20830:32:1;;20820:43;;20810:71;;20877:1;20874;20867:12
Swarm Source
ipfs://616b701d5aede5dc70578c87c3b5fc733ec2a049ab885ec684a4e9409508cfc4
Loading...
Loading
Loading...
Loading
[ 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.