ERC-721
Overview
Max Total Supply
1,366 DGW
Holders
647
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DGWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenWarriors
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-22 */ // 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/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // 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 0; } /** * @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: DegenWarriors.sol // Degen Warriors NFT pragma solidity ^0.8.17; contract DegenWarriors is ERC721A, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public constant MAX_TOKENS = 1366; uint256 public price = 0.018 ether; uint256 public presalePrice = 0.009 ether; uint256 public maxPerALWallet = 2; uint256 public maxPerWallet = 3; // update this to owner address address public constant w1 = 0x502614827D18C7fCeADCb2B349D3faf44393431f; bool public publicSaleStarted = false; bool public presaleStarted = false; mapping(address => uint256) private _walletMints; mapping(address => uint256) private _ALWalletMints; bool public revealed = false; // by default collection is unrevealed string public unRevealedURL = "https://ipfs.io/ipfs/QmYiRCPTf37YsufeG73L9YJKKapLCqgjz459ip8KduxQWw/hidden.json"; string public baseURI = ""; string public extensionURL = ".json"; bytes32 public merkleRoot = 0x11dc6bf27563bf6b68de1eff55f7b41ffe92ef586e3e84c5e503ce5bc142bd32; constructor() ERC721A("Degen Warriors", "DGW") {} function togglePresaleStarted() external onlyOwner { presaleStarted = !presaleStarted; } function togglePublicSaleStarted() external onlyOwner { publicSaleStarted = !publicSaleStarted; } function toggleRevealed() external onlyOwner { revealed = !revealed; } function setPublicPrice(uint256 _newpublicPrice) external onlyOwner { price = _newpublicPrice; } function setAllowListPrice(uint256 _newallowListprice) external onlyOwner { presalePrice = _newallowListprice; } function setMaxPerWallet(uint256 _newMaxPerWallet) external onlyOwner { maxPerWallet = _newMaxPerWallet; } function setMaxPerALWallet(uint256 _newMaxPerALWallet) external onlyOwner { maxPerALWallet = _newMaxPerALWallet; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setUnrevealURL(string memory _notRevealuri) public onlyOwner { unRevealedURL = _notRevealuri; } function _baseURI() internal view override returns (string memory) { return baseURI; } function _startTokenId() internal pure override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); if (revealed == false) { return unRevealedURL; } else { string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), extensionURL ) ) : ""; } } function mintAllowlist(uint256 tokens, bytes32[] calldata merkleProof) external payable { require(presaleStarted, "Sale has not started"); require( MerkleProof.verify( merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Not on the allowlist" ); require( totalSupply() + tokens <= MAX_TOKENS, "Minting would exceed max supply" ); require(tokens > 0, "Must mint at least one Degen Warriors"); require( _ALWalletMints[_msgSender()] + tokens <= maxPerALWallet, "AL limit for this wallet reached" ); require(presalePrice * tokens <= msg.value, "Not enough ETH"); _ALWalletMints[_msgSender()] += tokens; _safeMint(_msgSender(), tokens); } function mint(uint256 tokens) external payable { require(publicSaleStarted, "Sale has not started"); require( totalSupply() + tokens <= MAX_TOKENS, "Minting would exceed max supply" ); require(tokens > 0, "Must mint at least one Degen Warriors"); require( _walletMints[_msgSender()] + tokens <= maxPerWallet, "Limit for this wallet reached" ); require(price * tokens <= msg.value, "Not enough ETH"); _walletMints[_msgSender()] += tokens; _safeMint(_msgSender(), tokens); } function withdrawAll() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Insufficent balance"); _withdraw(w1, ((balance * 100) / 100)); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Failed to withdraw Ether"); } }
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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extensionURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerALWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"uint256","name":"_newallowListprice","type":"uint256"}],"name":"setAllowListPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerALWallet","type":"uint256"}],"name":"setMaxPerALWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newpublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealuri","type":"string"}],"name":"setUnrevealURL","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":"togglePresaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRevealed","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":[],"name":"unRevealedURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
663ff2e795f50000600955661ff973cafa8000600a556002600b556003600c55600d805461ffff191690556010805460ff19169055610100604052604f6080818152906200245060a03960119062000058908262000249565b5060408051602081019091526000815260129062000077908262000249565b50604080518082019091526005815264173539b7b760d91b6020820152601390620000a3908262000249565b507f11dc6bf27563bf6b68de1eff55f7b41ffe92ef586e3e84c5e503ce5bc142bd32601455348015620000d557600080fd5b506040518060400160405280600e81526020016d446567656e2057617272696f727360901b8152506040518060400160405280600381526020016244475760e81b81525081600290816200012a919062000249565b50600362000139828262000249565b50506001600055506200014c3362000152565b62000315565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001cf57607f821691505b602082108103620001f057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024457600081815260208120601f850160051c810160208610156200021f5750805b601f850160051c820191505b8181101562000240578281556001016200022b565b5050505b505050565b81516001600160401b03811115620002655762000265620001a4565b6200027d81620002768454620001ba565b84620001f6565b602080601f831160018114620002b557600084156200029c5750858301515b600019600386901b1c1916600185901b17855562000240565b600085815260208120601f198616915b82811015620002e657888601518255948401946001909101908401620002c5565b5085821015620003055787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61212b80620003256000396000f3fe60806040526004361061025b5760003560e01c8063715018a611610144578063abc70ce8116100b6578063e268e4d31161007a578063e268e4d31461065d578063e985e9c51461067d578063ed1fc2a21461069d578063f2fde38b146106b2578063f47c84c5146106d2578063fbf9b9c2146106e857600080fd5b8063abc70ce8146105df578063b88d4fde146105f5578063c627525514610608578063c87b56dd14610628578063d608c2861461064857600080fd5b806395d89b411161010857806395d89b4114610547578063a035b1fe1461055c578063a0712d6814610572578063a22cb46514610585578063a2e91477146105a5578063a62b4ca7146105bf57600080fd5b8063715018a6146104b75780637cb64759146104cc5780637e44755b146104ec578063853828b6146105145780638da5cb5b1461052957600080fd5b80632f814575116101dd57806355f804b3116101a157806355f804b31461040d5780635bc020bc1461042d5780636352211e146104425780636c0360eb146104625780636df9fa881461047757806370a082311461049757600080fd5b80632f814575146103a25780633671f8cf146103b757806342842e0e146103ca578063453c2310146103dd57806351830227146103f357600080fd5b806309008f0a1161022457806309008f0a14610332578063095ea7b31461034757806318160ddd1461035c57806323b872dd146103795780632eb4a7ab1461038c57600080fd5b80620e7fa81461026057806301ffc9a71461028957806304549d6f146102b957806306fdde03146102d8578063081812fc146102fa575b600080fd5b34801561026c57600080fd5b50610276600a5481565b6040519081526020015b60405180910390f35b34801561029557600080fd5b506102a96102a4366004611a75565b610708565b6040519015158152602001610280565b3480156102c557600080fd5b50600d546102a990610100900460ff1681565b3480156102e457600080fd5b506102ed61075a565b6040516102809190611ae2565b34801561030657600080fd5b5061031a610315366004611af5565b6107ec565b6040516001600160a01b039091168152602001610280565b34801561033e57600080fd5b506102ed610830565b61035a610355366004611b25565b6108be565b005b34801561036857600080fd5b506001546000540360001901610276565b61035a610387366004611b4f565b61095e565b34801561039857600080fd5b5061027660145481565b3480156103ae57600080fd5b5061035a610af7565b61035a6103c5366004611b8b565b610b13565b61035a6103d8366004611b4f565b610d95565b3480156103e957600080fd5b50610276600c5481565b3480156103ff57600080fd5b506010546102a99060ff1681565b34801561041957600080fd5b5061035a610428366004611c96565b610db0565b34801561043957600080fd5b5061035a610dc8565b34801561044e57600080fd5b5061031a61045d366004611af5565b610de4565b34801561046e57600080fd5b506102ed610def565b34801561048357600080fd5b5061035a610492366004611af5565b610dfc565b3480156104a357600080fd5b506102766104b2366004611cdf565b610e09565b3480156104c357600080fd5b5061035a610e58565b3480156104d857600080fd5b5061035a6104e7366004611af5565b610e6c565b3480156104f857600080fd5b5061031a73502614827d18c7fceadcb2b349d3faf44393431f81565b34801561052057600080fd5b5061035a610e79565b34801561053557600080fd5b506008546001600160a01b031661031a565b34801561055357600080fd5b506102ed610efb565b34801561056857600080fd5b5061027660095481565b61035a610580366004611af5565b610f0a565b34801561059157600080fd5b5061035a6105a0366004611cfa565b6110c5565b3480156105b157600080fd5b50600d546102a99060ff1681565b3480156105cb57600080fd5b5061035a6105da366004611af5565b611131565b3480156105eb57600080fd5b50610276600b5481565b61035a610603366004611d36565b61113e565b34801561061457600080fd5b5061035a610623366004611af5565b611188565b34801561063457600080fd5b506102ed610643366004611af5565b611195565b34801561065457600080fd5b506102ed6112fb565b34801561066957600080fd5b5061035a610678366004611af5565b611308565b34801561068957600080fd5b506102a9610698366004611db2565b611315565b3480156106a957600080fd5b5061035a611343565b3480156106be57600080fd5b5061035a6106cd366004611cdf565b611368565b3480156106de57600080fd5b5061027661055681565b3480156106f457600080fd5b5061035a610703366004611c96565b6113de565b60006301ffc9a760e01b6001600160e01b03198316148061073957506380ac58cd60e01b6001600160e01b03198316145b806107545750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461076990611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461079590611de5565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b60006107f7826113f2565b610814576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6011805461083d90611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461086990611de5565b80156108b65780601f1061088b576101008083540402835291602001916108b6565b820191906000526020600020905b81548152906001019060200180831161089957829003601f168201915b505050505081565b60006108c982610de4565b9050336001600160a01b03821614610902576108e58133611315565b610902576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061096982611427565b9050836001600160a01b0316816001600160a01b03161461099c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109e9576109cc8633611315565b6109e957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a1057604051633a954ecd60e21b815260040160405180910390fd5b8015610a1b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610aad57600184016000818152600460205260408120549003610aab576000548114610aab5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610aff611496565b600d805460ff19811660ff90911615179055565b600d54610100900460ff16610b665760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b60448201526064015b60405180910390fd5b610bdb828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206114f0565b610c1e5760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a1948185b1b1bdddb1a5cdd60621b6044820152606401610b5d565b6001546000546105569185910360001901610c399190611e35565b1115610c875760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610b5d565b60008311610ca75760405162461bcd60e51b8152600401610b5d90611e48565b600b54336000908152600f6020526040902054610cc5908590611e35565b1115610d135760405162461bcd60e51b815260206004820181905260248201527f414c206c696d697420666f7220746869732077616c6c657420726561636865646044820152606401610b5d565b3483600a54610d229190611e8d565b1115610d615760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606401610b5d565b336000908152600f602052604081208054859290610d80908490611e35565b90915550610d9090503384611506565b505050565b610d908383836040518060200160405280600081525061113e565b610db8611496565b6012610dc48282611eea565b5050565b610dd0611496565b6010805460ff19811660ff90911615179055565b600061075482611427565b6012805461083d90611de5565b610e04611496565b600a55565b60006001600160a01b038216610e32576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e60611496565b610e6a6000611520565b565b610e74611496565b601455565b610e81611496565b4780610ec55760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610b5d565b610ef873502614827d18c7fceadcb2b349d3faf44393431f6064610ee98482611e8d565b610ef39190611faa565b611572565b50565b60606003805461076990611de5565b600d5460ff16610f535760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b6044820152606401610b5d565b6001546000546105569183910360001901610f6e9190611e35565b1115610fbc5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610b5d565b60008111610fdc5760405162461bcd60e51b8152600401610b5d90611e48565b600c54336000908152600e6020526040902054610ffa908390611e35565b11156110485760405162461bcd60e51b815260206004820152601d60248201527f4c696d697420666f7220746869732077616c6c657420726561636865640000006044820152606401610b5d565b34816009546110579190611e8d565b11156110965760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606401610b5d565b336000908152600e6020526040812080548392906110b5908490611e35565b90915550610ef890503382611506565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611139611496565b600b55565b61114984848461095e565b6001600160a01b0383163b156111825761116584848484611615565b611182576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611190611496565b600955565b60606111a0826113f2565b6111f65760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610b5d565b60105460ff161515600003611297576011805461121290611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461123e90611de5565b801561128b5780601f106112605761010080835404028352916020019161128b565b820191906000526020600020905b81548152906001019060200180831161126e57829003601f168201915b50505050509050919050565b60006112a1611701565b905060008151116112c157604051806020016040528060008152506112ef565b806112cb84611710565b60136040516020016112df93929190611fcc565b6040516020818303038152906040525b9392505050565b919050565b6013805461083d90611de5565b611310611496565b600c55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61134b611496565b600d805461ff001981166101009182900460ff1615909102179055565b611370611496565b6001600160a01b0381166113d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b5d565b610ef881611520565b6113e6611496565b6011610dc48282611eea565b600081600111158015611406575060005482105b8015610754575050600090815260046020526040902054600160e01b161590565b6000818060011161147d5760005481101561147d5760008181526004602052604081205490600160e01b8216900361147b575b806000036112ef57506000190160008181526004602052604090205461145a565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610e6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b5d565b6000826114fd85846117a3565b14949350505050565b610dc48282604051806020016040528060008152506117f0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146115bf576040519150601f19603f3d011682016040523d82523d6000602084013e6115c4565b606091505b5050905080610d905760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401610b5d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061164a90339089908890889060040161206c565b6020604051808303816000875af1925050508015611685575060408051601f3d908101601f19168201909252611682918101906120a9565b60015b6116e3573d8080156116b3576040519150601f19603f3d011682016040523d82523d6000602084013e6116b8565b606091505b5080516000036116db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606012805461076990611de5565b6060600061171d8361185d565b600101905060008167ffffffffffffffff81111561173d5761173d611c0a565b6040519080825280601f01601f191660200182016040528015611767576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461177157509392505050565b600081815b84518110156117e8576117d4828683815181106117c7576117c76120c6565b6020026020010151611935565b9150806117e0816120dc565b9150506117a8565b509392505050565b6117fa8383611961565b6001600160a01b0383163b15610d90576000548281035b6118246000868380600101945086611615565b611841576040516368d2bf6b60e11b815260040160405180910390fd5b81811061181157816000541461185657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061189c5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118c8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118e657662386f26fc10000830492506010015b6305f5e10083106118fe576305f5e100830492506008015b612710831061191257612710830492506004015b60648310611924576064830492506002015b600a83106107545760010192915050565b60008183106119515760008281526020849052604090206112ef565b5060009182526020526040902090565b60008054908290036119865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a3557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016119fd565b5081600003611a5657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610ef857600080fd5b600060208284031215611a8757600080fd5b81356112ef81611a5f565b60005b83811015611aad578181015183820152602001611a95565b50506000910152565b60008151808452611ace816020860160208601611a92565b601f01601f19169290920160200192915050565b6020815260006112ef6020830184611ab6565b600060208284031215611b0757600080fd5b5035919050565b80356001600160a01b03811681146112f657600080fd5b60008060408385031215611b3857600080fd5b611b4183611b0e565b946020939093013593505050565b600080600060608486031215611b6457600080fd5b611b6d84611b0e565b9250611b7b60208501611b0e565b9150604084013590509250925092565b600080600060408486031215611ba057600080fd5b83359250602084013567ffffffffffffffff80821115611bbf57600080fd5b818601915086601f830112611bd357600080fd5b813581811115611be257600080fd5b8760208260051b8501011115611bf757600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c3b57611c3b611c0a565b604051601f8501601f19908116603f01168101908282118183101715611c6357611c63611c0a565b81604052809350858152868686011115611c7c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ca857600080fd5b813567ffffffffffffffff811115611cbf57600080fd5b8201601f81018413611cd057600080fd5b6116f984823560208401611c20565b600060208284031215611cf157600080fd5b6112ef82611b0e565b60008060408385031215611d0d57600080fd5b611d1683611b0e565b915060208301358015158114611d2b57600080fd5b809150509250929050565b60008060008060808587031215611d4c57600080fd5b611d5585611b0e565b9350611d6360208601611b0e565b925060408501359150606085013567ffffffffffffffff811115611d8657600080fd5b8501601f81018713611d9757600080fd5b611da687823560208401611c20565b91505092959194509250565b60008060408385031215611dc557600080fd5b611dce83611b0e565b9150611ddc60208401611b0e565b90509250929050565b600181811c90821680611df957607f821691505b602082108103611e1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561075457610754611e1f565b60208082526025908201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2057617260408201526472696f727360d81b606082015260800190565b808202811582820484141761075457610754611e1f565b601f821115610d9057600081815260208120601f850160051c81016020861015611ecb5750805b601f850160051c820191505b81811015610aef57828155600101611ed7565b815167ffffffffffffffff811115611f0457611f04611c0a565b611f1881611f128454611de5565b84611ea4565b602080601f831160018114611f4d5760008415611f355750858301515b600019600386901b1c1916600185901b178555610aef565b600085815260208120601f198616915b82811015611f7c57888601518255948401946001909101908401611f5d565b5085821015611f9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082611fc757634e487b7160e01b600052601260045260246000fd5b500490565b600084516020611fdf8285838a01611a92565b855191840191611ff28184848a01611a92565b855492019160009061200381611de5565b6001828116801561201b57600181146120305761205c565b60ff198416875282151583028701945061205c565b896000528560002060005b848110156120545781548982015290830190870161203b565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209f90830184611ab6565b9695505050505050565b6000602082840312156120bb57600080fd5b81516112ef81611a5f565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ee576120ee611e1f565b506001019056fea2646970667358221220607a5852c7d50ae64bf33d56d07f88506a9955807f6da90155258ac939da71a864736f6c6343000811003368747470733a2f2f697066732e696f2f697066732f516d59695243505466333759737566654737334c39594a4b4b61704c4371676a7a3435396970384b6475785157772f68696464656e2e6a736f6e
Deployed Bytecode
0x60806040526004361061025b5760003560e01c8063715018a611610144578063abc70ce8116100b6578063e268e4d31161007a578063e268e4d31461065d578063e985e9c51461067d578063ed1fc2a21461069d578063f2fde38b146106b2578063f47c84c5146106d2578063fbf9b9c2146106e857600080fd5b8063abc70ce8146105df578063b88d4fde146105f5578063c627525514610608578063c87b56dd14610628578063d608c2861461064857600080fd5b806395d89b411161010857806395d89b4114610547578063a035b1fe1461055c578063a0712d6814610572578063a22cb46514610585578063a2e91477146105a5578063a62b4ca7146105bf57600080fd5b8063715018a6146104b75780637cb64759146104cc5780637e44755b146104ec578063853828b6146105145780638da5cb5b1461052957600080fd5b80632f814575116101dd57806355f804b3116101a157806355f804b31461040d5780635bc020bc1461042d5780636352211e146104425780636c0360eb146104625780636df9fa881461047757806370a082311461049757600080fd5b80632f814575146103a25780633671f8cf146103b757806342842e0e146103ca578063453c2310146103dd57806351830227146103f357600080fd5b806309008f0a1161022457806309008f0a14610332578063095ea7b31461034757806318160ddd1461035c57806323b872dd146103795780632eb4a7ab1461038c57600080fd5b80620e7fa81461026057806301ffc9a71461028957806304549d6f146102b957806306fdde03146102d8578063081812fc146102fa575b600080fd5b34801561026c57600080fd5b50610276600a5481565b6040519081526020015b60405180910390f35b34801561029557600080fd5b506102a96102a4366004611a75565b610708565b6040519015158152602001610280565b3480156102c557600080fd5b50600d546102a990610100900460ff1681565b3480156102e457600080fd5b506102ed61075a565b6040516102809190611ae2565b34801561030657600080fd5b5061031a610315366004611af5565b6107ec565b6040516001600160a01b039091168152602001610280565b34801561033e57600080fd5b506102ed610830565b61035a610355366004611b25565b6108be565b005b34801561036857600080fd5b506001546000540360001901610276565b61035a610387366004611b4f565b61095e565b34801561039857600080fd5b5061027660145481565b3480156103ae57600080fd5b5061035a610af7565b61035a6103c5366004611b8b565b610b13565b61035a6103d8366004611b4f565b610d95565b3480156103e957600080fd5b50610276600c5481565b3480156103ff57600080fd5b506010546102a99060ff1681565b34801561041957600080fd5b5061035a610428366004611c96565b610db0565b34801561043957600080fd5b5061035a610dc8565b34801561044e57600080fd5b5061031a61045d366004611af5565b610de4565b34801561046e57600080fd5b506102ed610def565b34801561048357600080fd5b5061035a610492366004611af5565b610dfc565b3480156104a357600080fd5b506102766104b2366004611cdf565b610e09565b3480156104c357600080fd5b5061035a610e58565b3480156104d857600080fd5b5061035a6104e7366004611af5565b610e6c565b3480156104f857600080fd5b5061031a73502614827d18c7fceadcb2b349d3faf44393431f81565b34801561052057600080fd5b5061035a610e79565b34801561053557600080fd5b506008546001600160a01b031661031a565b34801561055357600080fd5b506102ed610efb565b34801561056857600080fd5b5061027660095481565b61035a610580366004611af5565b610f0a565b34801561059157600080fd5b5061035a6105a0366004611cfa565b6110c5565b3480156105b157600080fd5b50600d546102a99060ff1681565b3480156105cb57600080fd5b5061035a6105da366004611af5565b611131565b3480156105eb57600080fd5b50610276600b5481565b61035a610603366004611d36565b61113e565b34801561061457600080fd5b5061035a610623366004611af5565b611188565b34801561063457600080fd5b506102ed610643366004611af5565b611195565b34801561065457600080fd5b506102ed6112fb565b34801561066957600080fd5b5061035a610678366004611af5565b611308565b34801561068957600080fd5b506102a9610698366004611db2565b611315565b3480156106a957600080fd5b5061035a611343565b3480156106be57600080fd5b5061035a6106cd366004611cdf565b611368565b3480156106de57600080fd5b5061027661055681565b3480156106f457600080fd5b5061035a610703366004611c96565b6113de565b60006301ffc9a760e01b6001600160e01b03198316148061073957506380ac58cd60e01b6001600160e01b03198316145b806107545750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461076990611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461079590611de5565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b60006107f7826113f2565b610814576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6011805461083d90611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461086990611de5565b80156108b65780601f1061088b576101008083540402835291602001916108b6565b820191906000526020600020905b81548152906001019060200180831161089957829003601f168201915b505050505081565b60006108c982610de4565b9050336001600160a01b03821614610902576108e58133611315565b610902576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061096982611427565b9050836001600160a01b0316816001600160a01b03161461099c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109e9576109cc8633611315565b6109e957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a1057604051633a954ecd60e21b815260040160405180910390fd5b8015610a1b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610aad57600184016000818152600460205260408120549003610aab576000548114610aab5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610aff611496565b600d805460ff19811660ff90911615179055565b600d54610100900460ff16610b665760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b60448201526064015b60405180910390fd5b610bdb828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206114f0565b610c1e5760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a1948185b1b1bdddb1a5cdd60621b6044820152606401610b5d565b6001546000546105569185910360001901610c399190611e35565b1115610c875760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610b5d565b60008311610ca75760405162461bcd60e51b8152600401610b5d90611e48565b600b54336000908152600f6020526040902054610cc5908590611e35565b1115610d135760405162461bcd60e51b815260206004820181905260248201527f414c206c696d697420666f7220746869732077616c6c657420726561636865646044820152606401610b5d565b3483600a54610d229190611e8d565b1115610d615760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606401610b5d565b336000908152600f602052604081208054859290610d80908490611e35565b90915550610d9090503384611506565b505050565b610d908383836040518060200160405280600081525061113e565b610db8611496565b6012610dc48282611eea565b5050565b610dd0611496565b6010805460ff19811660ff90911615179055565b600061075482611427565b6012805461083d90611de5565b610e04611496565b600a55565b60006001600160a01b038216610e32576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e60611496565b610e6a6000611520565b565b610e74611496565b601455565b610e81611496565b4780610ec55760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b6044820152606401610b5d565b610ef873502614827d18c7fceadcb2b349d3faf44393431f6064610ee98482611e8d565b610ef39190611faa565b611572565b50565b60606003805461076990611de5565b600d5460ff16610f535760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b6044820152606401610b5d565b6001546000546105569183910360001901610f6e9190611e35565b1115610fbc5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610b5d565b60008111610fdc5760405162461bcd60e51b8152600401610b5d90611e48565b600c54336000908152600e6020526040902054610ffa908390611e35565b11156110485760405162461bcd60e51b815260206004820152601d60248201527f4c696d697420666f7220746869732077616c6c657420726561636865640000006044820152606401610b5d565b34816009546110579190611e8d565b11156110965760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606401610b5d565b336000908152600e6020526040812080548392906110b5908490611e35565b90915550610ef890503382611506565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611139611496565b600b55565b61114984848461095e565b6001600160a01b0383163b156111825761116584848484611615565b611182576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611190611496565b600955565b60606111a0826113f2565b6111f65760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610b5d565b60105460ff161515600003611297576011805461121290611de5565b80601f016020809104026020016040519081016040528092919081815260200182805461123e90611de5565b801561128b5780601f106112605761010080835404028352916020019161128b565b820191906000526020600020905b81548152906001019060200180831161126e57829003601f168201915b50505050509050919050565b60006112a1611701565b905060008151116112c157604051806020016040528060008152506112ef565b806112cb84611710565b60136040516020016112df93929190611fcc565b6040516020818303038152906040525b9392505050565b919050565b6013805461083d90611de5565b611310611496565b600c55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61134b611496565b600d805461ff001981166101009182900460ff1615909102179055565b611370611496565b6001600160a01b0381166113d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b5d565b610ef881611520565b6113e6611496565b6011610dc48282611eea565b600081600111158015611406575060005482105b8015610754575050600090815260046020526040902054600160e01b161590565b6000818060011161147d5760005481101561147d5760008181526004602052604081205490600160e01b8216900361147b575b806000036112ef57506000190160008181526004602052604090205461145a565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610e6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b5d565b6000826114fd85846117a3565b14949350505050565b610dc48282604051806020016040528060008152506117f0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146115bf576040519150601f19603f3d011682016040523d82523d6000602084013e6115c4565b606091505b5050905080610d905760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f20776974686472617720457468657200000000000000006044820152606401610b5d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061164a90339089908890889060040161206c565b6020604051808303816000875af1925050508015611685575060408051601f3d908101601f19168201909252611682918101906120a9565b60015b6116e3573d8080156116b3576040519150601f19603f3d011682016040523d82523d6000602084013e6116b8565b606091505b5080516000036116db576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606012805461076990611de5565b6060600061171d8361185d565b600101905060008167ffffffffffffffff81111561173d5761173d611c0a565b6040519080825280601f01601f191660200182016040528015611767576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461177157509392505050565b600081815b84518110156117e8576117d4828683815181106117c7576117c76120c6565b6020026020010151611935565b9150806117e0816120dc565b9150506117a8565b509392505050565b6117fa8383611961565b6001600160a01b0383163b15610d90576000548281035b6118246000868380600101945086611615565b611841576040516368d2bf6b60e11b815260040160405180910390fd5b81811061181157816000541461185657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061189c5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118c8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118e657662386f26fc10000830492506010015b6305f5e10083106118fe576305f5e100830492506008015b612710831061191257612710830492506004015b60648310611924576064830492506002015b600a83106107545760010192915050565b60008183106119515760008281526020849052604090206112ef565b5060009182526020526040902090565b60008054908290036119865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a3557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016119fd565b5081600003611a5657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610ef857600080fd5b600060208284031215611a8757600080fd5b81356112ef81611a5f565b60005b83811015611aad578181015183820152602001611a95565b50506000910152565b60008151808452611ace816020860160208601611a92565b601f01601f19169290920160200192915050565b6020815260006112ef6020830184611ab6565b600060208284031215611b0757600080fd5b5035919050565b80356001600160a01b03811681146112f657600080fd5b60008060408385031215611b3857600080fd5b611b4183611b0e565b946020939093013593505050565b600080600060608486031215611b6457600080fd5b611b6d84611b0e565b9250611b7b60208501611b0e565b9150604084013590509250925092565b600080600060408486031215611ba057600080fd5b83359250602084013567ffffffffffffffff80821115611bbf57600080fd5b818601915086601f830112611bd357600080fd5b813581811115611be257600080fd5b8760208260051b8501011115611bf757600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c3b57611c3b611c0a565b604051601f8501601f19908116603f01168101908282118183101715611c6357611c63611c0a565b81604052809350858152868686011115611c7c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ca857600080fd5b813567ffffffffffffffff811115611cbf57600080fd5b8201601f81018413611cd057600080fd5b6116f984823560208401611c20565b600060208284031215611cf157600080fd5b6112ef82611b0e565b60008060408385031215611d0d57600080fd5b611d1683611b0e565b915060208301358015158114611d2b57600080fd5b809150509250929050565b60008060008060808587031215611d4c57600080fd5b611d5585611b0e565b9350611d6360208601611b0e565b925060408501359150606085013567ffffffffffffffff811115611d8657600080fd5b8501601f81018713611d9757600080fd5b611da687823560208401611c20565b91505092959194509250565b60008060408385031215611dc557600080fd5b611dce83611b0e565b9150611ddc60208401611b0e565b90509250929050565b600181811c90821680611df957607f821691505b602082108103611e1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561075457610754611e1f565b60208082526025908201527f4d757374206d696e74206174206c65617374206f6e6520446567656e2057617260408201526472696f727360d81b606082015260800190565b808202811582820484141761075457610754611e1f565b601f821115610d9057600081815260208120601f850160051c81016020861015611ecb5750805b601f850160051c820191505b81811015610aef57828155600101611ed7565b815167ffffffffffffffff811115611f0457611f04611c0a565b611f1881611f128454611de5565b84611ea4565b602080601f831160018114611f4d5760008415611f355750858301515b600019600386901b1c1916600185901b178555610aef565b600085815260208120601f198616915b82811015611f7c57888601518255948401946001909101908401611f5d565b5085821015611f9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082611fc757634e487b7160e01b600052601260045260246000fd5b500490565b600084516020611fdf8285838a01611a92565b855191840191611ff28184848a01611a92565b855492019160009061200381611de5565b6001828116801561201b57600181146120305761205c565b60ff198416875282151583028701945061205c565b896000528560002060005b848110156120545781548982015290830190870161203b565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209f90830184611ab6565b9695505050505050565b6000602082840312156120bb57600080fd5b81516112ef81611a5f565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ee576120ee611e1f565b506001019056fea2646970667358221220607a5852c7d50ae64bf33d56d07f88506a9955807f6da90155258ac939da71a864736f6c63430008110033
Deployed Bytecode Sourcemap
86926:5165:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87132:41;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;87132:41:0;;;;;;;;53798:639;;;;;;;;;;-1:-1:-1;53798:639:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;53798:639:0;582:187:1;87419:34:0;;;;;;;;;;-1:-1:-1;87419:34:0;;;;;;;;;;;54700:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;61191:218::-;;;;;;;;;;-1:-1:-1;61191:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:1;;;1861:51;;1849:2;1834:18;61191:218:0;1715:203:1;87648:111:0;;;;;;;;;;;;;:::i;60624:408::-;;;;;;:::i;:::-;;:::i;:::-;;50451:323;;;;;;;;;;-1:-1:-1;89386:1:0;50725:12;50512:7;50709:13;:28;-1:-1:-1;;50709:46:0;50451:323;;64830:2825;;;;;;:::i;:::-;;:::i;87842:94::-;;;;;;;;;;;;;;;;88112:111;;;;;;;;;;;;;:::i;90143:920::-;;;;;;:::i;:::-;;:::i;67751:193::-;;;;;;:::i;:::-;;:::i;87220:31::-;;;;;;;;;;;;;;;;87574:28;;;;;;;;;;-1:-1:-1;87574:28:0;;;;;;;;88840:106;;;;;;;;;;-1:-1:-1;88840:106:0;;;;;:::i;:::-;;:::i;88232:84::-;;;;;;;;;;;;;:::i;56093:152::-;;;;;;;;;;-1:-1:-1;56093:152:0;;;;;:::i;:::-;;:::i;87766:26::-;;;;;;;;;;;;;:::i;88442:126::-;;;;;;;;;;-1:-1:-1;88442:126:0;;;;;:::i;:::-;;:::i;51635:233::-;;;;;;;;;;-1:-1:-1;51635:233:0;;;;;:::i;:::-;;:::i;34577:103::-;;;;;;;;;;;;;:::i;88954:106::-;;;;;;;;;;-1:-1:-1;88954:106:0;;;;;:::i;:::-;;:::i;87295:71::-;;;;;;;;;;;;87324:42;87295:71;;91691:201;;;;;;;;;;;;;:::i;33929:87::-;;;;;;;;;;-1:-1:-1;34002:6:0;;-1:-1:-1;;;;;34002:6:0;33929:87;;54876:104;;;;;;;;;;;;;:::i;87091:34::-;;;;;;;;;;;;;;;;91071:612;;;;;;:::i;:::-;;:::i;61749:234::-;;;;;;;;;;-1:-1:-1;61749:234:0;;;;;:::i;:::-;;:::i;87375:37::-;;;;;;;;;;-1:-1:-1;87375:37:0;;;;;;;;88704:128;;;;;;;;;;-1:-1:-1;88704:128:0;;;;;:::i;:::-;;:::i;87180:33::-;;;;;;;;;;;;;;;;68542:407;;;;;;:::i;:::-;;:::i;88324:110::-;;;;;;;;;;-1:-1:-1;88324:110:0;;;;;:::i;:::-;;:::i;89403:732::-;;;;;;;;;;-1:-1:-1;89403:732:0;;;;;:::i;:::-;;:::i;87799:36::-;;;;;;;;;;;;;:::i;88576:120::-;;;;;;;;;;-1:-1:-1;88576:120:0;;;;;:::i;:::-;;:::i;62140:164::-;;;;;;;;;;-1:-1:-1;62140:164:0;;;;;:::i;:::-;;:::i;88002:102::-;;;;;;;;;;;;;:::i;34835:201::-;;;;;;;;;;-1:-1:-1;34835:201:0;;;;;:::i;:::-;;:::i;87043:41::-;;;;;;;;;;;;87080:4;87043:41;;89068:118;;;;;;;;;;-1:-1:-1;89068:118:0;;;;;:::i;:::-;;:::i;53798:639::-;53883:4;-1:-1:-1;;;;;;;;;54207:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;54284:25:0;;;54207:102;:179;;;-1:-1:-1;;;;;;;;;;54361:25:0;;;54207:179;54187:199;53798:639;-1:-1:-1;;53798:639:0:o;54700:100::-;54754:13;54787:5;54780:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54700:100;:::o;61191:218::-;61267:7;61292:16;61300:7;61292;:16::i;:::-;61287:64;;61317:34;;-1:-1:-1;;;61317:34:0;;;;;;;;;;;61287:64;-1:-1:-1;61371:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;61371:30:0;;61191:218::o;87648:111::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60624:408::-;60713:13;60729:16;60737:7;60729;:16::i;:::-;60713:32;-1:-1:-1;84957:10:0;-1:-1:-1;;;;;60762:28:0;;;60758:175;;60810:44;60827:5;84957:10;62140:164;:::i;60810:44::-;60805:128;;60882:35;;-1:-1:-1;;;60882:35:0;;;;;;;;;;;60805:128;60945:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;60945:35:0;-1:-1:-1;;;;;60945:35:0;;;;;;;;;60996:28;;60945:24;;60996:28;;;;;;;60702:330;60624:408;;:::o;64830:2825::-;64972:27;65002;65021:7;65002:18;:27::i;:::-;64972:57;;65087:4;-1:-1:-1;;;;;65046:45:0;65062:19;-1:-1:-1;;;;;65046:45:0;;65042:86;;65100:28;;-1:-1:-1;;;65100:28:0;;;;;;;;;;;65042:86;65142:27;63938:24;;;:15;:24;;;;;64166:26;;84957:10;63563:30;;;-1:-1:-1;;;;;63256:28:0;;63541:20;;;63538:56;65328:180;;65421:43;65438:4;84957:10;62140:164;:::i;65421:43::-;65416:92;;65473:35;;-1:-1:-1;;;65473:35:0;;;;;;;;;;;65416:92;-1:-1:-1;;;;;65525:16:0;;65521:52;;65550:23;;-1:-1:-1;;;65550:23:0;;;;;;;;;;;65521:52;65722:15;65719:160;;;65862:1;65841:19;65834:30;65719:160;-1:-1:-1;;;;;66259:24:0;;;;;;;:18;:24;;;;;;66257:26;;-1:-1:-1;;66257:26:0;;;66328:22;;;;;;;;;66326:24;;-1:-1:-1;66326:24:0;;;59482:11;59457:23;59453:41;59440:63;-1:-1:-1;;;59440:63:0;66621:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;66916:47:0;;:52;;66912:627;;67021:1;67011:11;;66989:19;67144:30;;;:17;:30;;;;;;:35;;67140:384;;67282:13;;67267:11;:28;67263:242;;67429:30;;;;:17;:30;;;;;:52;;;67263:242;66970:569;66912:627;67586:7;67582:2;-1:-1:-1;;;;;67567:27:0;67576:4;-1:-1:-1;;;;;67567:27:0;;;;;;;;;;;67605:42;64961:2694;;;64830:2825;;;:::o;88112:111::-;33815:13;:11;:13::i;:::-;88198:17:::1;::::0;;-1:-1:-1;;88177:38:0;::::1;88198:17;::::0;;::::1;88197:18;88177:38;::::0;;88112:111::o;90143:920::-;90273:14;;;;;;;90265:47;;;;-1:-1:-1;;;90265:47:0;;7040:2:1;90265:47:0;;;7022:21:1;7079:2;7059:18;;;7052:30;-1:-1:-1;;;7098:18:1;;;7091:50;7158:18;;90265:47:0;;;;;;;;;90345:150;90382:11;;90345:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;90412:10:0;;90451:28;;-1:-1:-1;;90468:10:0;7336:2:1;7332:15;7328:53;90451:28:0;;;7316:66:1;90412:10:0;;-1:-1:-1;7398:12:1;;;-1:-1:-1;90451:28:0;;;;;;;;;;;;90441:39;;;;;;90345:18;:150::i;:::-;90323:220;;;;-1:-1:-1;;;90323:220:0;;7623:2:1;90323:220:0;;;7605:21:1;7662:2;7642:18;;;7635:30;-1:-1:-1;;;7681:18:1;;;7674:50;7741:18;;90323:220:0;7421:344:1;90323:220:0;89386:1;50725:12;50512:7;50709:13;87080:4;;90592:6;;50709:28;-1:-1:-1;;50709:46:0;90576:22;;;;:::i;:::-;:36;;90554:117;;;;-1:-1:-1;;;90554:117:0;;8234:2:1;90554:117:0;;;8216:21:1;8273:2;8253:18;;;8246:30;8312:33;8292:18;;;8285:61;8363:18;;90554:117:0;8032:355:1;90554:117:0;90699:1;90690:6;:10;90682:60;;;;-1:-1:-1;;;90682:60:0;;;;;;;:::i;:::-;90816:14;;84957:10;90775:28;;;;:14;:28;;;;;;:37;;90806:6;;90775:37;:::i;:::-;:55;;90753:137;;;;-1:-1:-1;;;90753:137:0;;9000:2:1;90753:137:0;;;8982:21:1;;;9019:18;;;9012:30;9078:34;9058:18;;;9051:62;9130:18;;90753:137:0;8798:356:1;90753:137:0;90934:9;90924:6;90909:12;;:21;;;;:::i;:::-;:34;;90901:61;;;;-1:-1:-1;;;90901:61:0;;9534:2:1;90901:61:0;;;9516:21:1;9573:2;9553:18;;;9546:30;-1:-1:-1;;;9592:18:1;;;9585:44;9646:18;;90901:61:0;9332:338:1;90901:61:0;84957:10;90975:28;;;;:14;:28;;;;;:38;;91007:6;;90975:28;:38;;91007:6;;90975:38;:::i;:::-;;;;-1:-1:-1;91024:31:0;;-1:-1:-1;84957:10:0;91048:6;91024:9;:31::i;:::-;90143:920;;;:::o;67751:193::-;67897:39;67914:4;67920:2;67924:7;67897:39;;;;;;;;;;;;:16;:39::i;88840:106::-;33815:13;:11;:13::i;:::-;88917:7:::1;:21;88927:11:::0;88917:7;:21:::1;:::i;:::-;;88840:106:::0;:::o;88232:84::-;33815:13;:11;:13::i;:::-;88300:8:::1;::::0;;-1:-1:-1;;88288:20:0;::::1;88300:8;::::0;;::::1;88299:9;88288:20;::::0;;88232:84::o;56093:152::-;56165:7;56208:27;56227:7;56208:18;:27::i;87766:26::-;;;;;;;:::i;88442:126::-;33815:13;:11;:13::i;:::-;88527:12:::1;:33:::0;88442:126::o;51635:233::-;51707:7;-1:-1:-1;;;;;51731:19:0;;51727:60;;51759:28;;-1:-1:-1;;;51759:28:0;;;;;;;;;;;51727:60;-1:-1:-1;;;;;;51805:25:0;;;;;:18;:25;;;;;;45794:13;51805:55;;51635:233::o;34577:103::-;33815:13;:11;:13::i;:::-;34642:30:::1;34669:1;34642:18;:30::i;:::-;34577:103::o:0;88954:106::-;33815:13;:11;:13::i;:::-;89028:10:::1;:24:::0;88954:106::o;91691:201::-;33815:13;:11;:13::i;:::-;91760:21:::1;91800:11:::0;91792:43:::1;;;::::0;-1:-1:-1;;;91792:43:0;;12081:2:1;91792:43:0::1;::::0;::::1;12063:21:1::0;12120:2;12100:18;;;12093:30;-1:-1:-1;;;12139:18:1;;;12132:49;12198:18;;91792:43:0::1;11879:343:1::0;91792:43:0::1;91846:38;87324:42;91879:3;91862:13;:7:::0;91879:3;91862:13:::1;:::i;:::-;91861:21;;;;:::i;:::-;91846:9;:38::i;:::-;91731:161;91691:201::o:0;54876:104::-;54932:13;54965:7;54958:14;;;;;:::i;91071:612::-;91137:17;;;;91129:50;;;;-1:-1:-1;;;91129:50:0;;7040:2:1;91129:50:0;;;7022:21:1;7079:2;7059:18;;;7052:30;-1:-1:-1;;;7098:18:1;;;7091:50;7158:18;;91129:50:0;6838:344:1;91129:50:0;89386:1;50725:12;50512:7;50709:13;87080:4;;91228:6;;50709:28;-1:-1:-1;;50709:46:0;91212:22;;;;:::i;:::-;:36;;91190:117;;;;-1:-1:-1;;;91190:117:0;;8234:2:1;91190:117:0;;;8216:21:1;8273:2;8253:18;;;8246:30;8312:33;8292:18;;;8285:61;8363:18;;91190:117:0;8032:355:1;91190:117:0;91335:1;91326:6;:10;91318:60;;;;-1:-1:-1;;;91318:60:0;;;;;;;:::i;:::-;91450:12;;84957:10;91411:26;;;;:12;:26;;;;;;:35;;91440:6;;91411:35;:::i;:::-;:51;;91389:130;;;;-1:-1:-1;;;91389:130:0;;12783:2:1;91389:130:0;;;12765:21:1;12822:2;12802:18;;;12795:30;12861:31;12841:18;;;12834:59;12910:18;;91389:130:0;12581:353:1;91389:130:0;91556:9;91546:6;91538:5;;:14;;;;:::i;:::-;:27;;91530:54;;;;-1:-1:-1;;;91530:54:0;;9534:2:1;91530:54:0;;;9516:21:1;9573:2;9553:18;;;9546:30;-1:-1:-1;;;9592:18:1;;;9585:44;9646:18;;91530:54:0;9332:338:1;91530:54:0;84957:10;91597:26;;;;:12;:26;;;;;:36;;91627:6;;91597:26;:36;;91627:6;;91597:36;:::i;:::-;;;;-1:-1:-1;91644:31:0;;-1:-1:-1;84957:10:0;91668:6;91644:9;:31::i;61749:234::-;84957:10;61844:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;61844:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;61844:60:0;;;;;;;;;;61920:55;;722:41:1;;;61844:49:0;;84957:10;61920:55;;695:18:1;61920:55:0;;;;;;;61749:234;;:::o;88704:128::-;33815:13;:11;:13::i;:::-;88789:14:::1;:35:::0;88704:128::o;68542:407::-;68717:31;68730:4;68736:2;68740:7;68717:12;:31::i;:::-;-1:-1:-1;;;;;68763:14:0;;;:19;68759:183;;68802:56;68833:4;68839:2;68843:7;68852:5;68802:30;:56::i;:::-;68797:145;;68886:40;;-1:-1:-1;;;68886:40:0;;;;;;;;;;;68797:145;68542:407;;;;:::o;88324:110::-;33815:13;:11;:13::i;:::-;88403:5:::1;:23:::0;88324:110::o;89403:732::-;89521:13;89560:16;89568:7;89560;:16::i;:::-;89552:62;;;;-1:-1:-1;;;89552:62:0;;13141:2:1;89552:62:0;;;13123:21:1;13180:2;13160:18;;;13153:30;13219:34;13199:18;;;13192:62;-1:-1:-1;;;13270:18:1;;;13263:31;13311:19;;89552:62:0;12939:397:1;89552:62:0;89631:8;;;;:17;;:8;:17;89627:501;;89672:13;89665:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89403:732;;;:::o;89627:501::-;89718:28;89749:10;:8;:10::i;:::-;89718:41;;89829:1;89804:14;89798:28;:32;:318;;;;;;;;;;;;;;;;;89934:14;89979:18;:7;:16;:18::i;:::-;90028:12;89887:180;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;89798:318;89774:342;89403:732;-1:-1:-1;;;89403:732:0:o;89627:501::-;89403:732;;;:::o;87799:36::-;;;;;;;:::i;88576:120::-;33815:13;:11;:13::i;:::-;88657:12:::1;:31:::0;88576:120::o;62140:164::-;-1:-1:-1;;;;;62261:25:0;;;62237:4;62261:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;62140:164::o;88002:102::-;33815:13;:11;:13::i;:::-;88082:14:::1;::::0;;-1:-1:-1;;88064:32:0;::::1;88082:14;::::0;;;::::1;;;88081:15;88064:32:::0;;::::1;;::::0;;88002:102::o;34835:201::-;33815:13;:11;:13::i;:::-;-1:-1:-1;;;;;34924:22:0;::::1;34916:73;;;::::0;-1:-1:-1;;;34916:73:0;;14804:2:1;34916:73:0::1;::::0;::::1;14786:21:1::0;14843:2;14823:18;;;14816:30;14882:34;14862:18;;;14855:62;-1:-1:-1;;;14933:18:1;;;14926:36;14979:19;;34916:73:0::1;14602:402:1::0;34916:73:0::1;35000:28;35019:8;35000:18;:28::i;89068:118::-:0;33815:13;:11;:13::i;:::-;89149::::1;:29;89165:13:::0;89149;:29:::1;:::i;62562:282::-:0;62627:4;62683:7;89386:1;62664:26;;:66;;;;;62717:13;;62707:7;:23;62664:66;:153;;;;-1:-1:-1;;62768:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;62768:44:0;:49;;62562:282::o;57248:1275::-;57315:7;57350;;89386:1;57399:23;57395:1061;;57452:13;;57445:4;:20;57441:1015;;;57490:14;57507:23;;;:17;:23;;;;;;;-1:-1:-1;;;57596:24:0;;:29;;57592:845;;58261:113;58268:6;58278:1;58268:11;58261:113;;-1:-1:-1;;;58339:6:0;58321:25;;;;:17;:25;;;;;;58261:113;;57592:845;57467:989;57441:1015;58484:31;;-1:-1:-1;;;58484:31:0;;;;;;;;;;;34094:132;34002:6;;-1:-1:-1;;;;;34002:6:0;84957:10;34158:23;34150:68;;;;-1:-1:-1;;;34150:68:0;;15211:2:1;34150:68:0;;;15193:21:1;;;15230:18;;;15223:30;15289:34;15269:18;;;15262:62;15341:18;;34150:68:0;15009:356:1;1222:190:0;1347:4;1400;1371:25;1384:5;1391:4;1371:12;:25::i;:::-;:33;;1222:190;-1:-1:-1;;;;1222:190:0:o;78702:112::-;78779:27;78789:2;78793:8;78779:27;;;;;;;;;;;;:9;:27::i;35196:191::-;35289:6;;;-1:-1:-1;;;;;35306:17:0;;;-1:-1:-1;;;;;;35306:17:0;;;;;;;35339:40;;35289:6;;;35306:17;35289:6;;35339:40;;35270:16;;35339:40;35259:128;35196:191;:::o;91900:188::-;91974:12;91992:8;-1:-1:-1;;;;;91992:13:0;92013:7;91992:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91973:52;;;92044:7;92036:44;;;;-1:-1:-1;;;92036:44:0;;15782:2:1;92036:44:0;;;15764:21:1;15821:2;15801:18;;;15794:30;15860:26;15840:18;;;15833:54;15904:18;;92036:44:0;15580:348:1;71033:716:0;71217:88;;-1:-1:-1;;;71217:88:0;;71196:4;;-1:-1:-1;;;;;71217:45:0;;;;;:88;;84957:10;;71284:4;;71290:7;;71299:5;;71217:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71217:88:0;;;;;;;;-1:-1:-1;;71217:88:0;;;;;;;;;;;;:::i;:::-;;;71213:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71500:6;:13;71517:1;71500:18;71496:235;;71546:40;;-1:-1:-1;;;71546:40:0;;;;;;;;;;;71496:235;71689:6;71683:13;71674:6;71670:2;71666:15;71659:38;71213:529;-1:-1:-1;;;;;;71376:64:0;-1:-1:-1;;;71376:64:0;;-1:-1:-1;71213:529:0;71033:716;;;;;;:::o;89194:100::-;89246:13;89279:7;89272:14;;;;;:::i;22866:716::-;22922:13;22973:14;22990:17;23001:5;22990:10;:17::i;:::-;23010:1;22990:21;22973:38;;23026:20;23060:6;23049:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23049:18:0;-1:-1:-1;23026:41:0;-1:-1:-1;23191:28:0;;;23207:2;23191:28;23248:288;-1:-1:-1;;23280:5:0;-1:-1:-1;;;23417:2:0;23406:14;;23401:30;23280:5;23388:44;23478:2;23469:11;;;-1:-1:-1;23499:21:0;23248:288;23499:21;-1:-1:-1;23557:6:0;22866:716;-1:-1:-1;;;22866:716:0:o;2089:296::-;2172:7;2215:4;2172:7;2230:118;2254:5;:12;2250:1;:16;2230:118;;;2303:33;2313:12;2327:5;2333:1;2327:8;;;;;;;;:::i;:::-;;;;;;;2303:9;:33::i;:::-;2288:48;-1:-1:-1;2268:3:0;;;;:::i;:::-;;;;2230:118;;;-1:-1:-1;2365:12:0;2089:296;-1:-1:-1;;;2089:296:0:o;77929:689::-;78060:19;78066:2;78070:8;78060:5;:19::i;:::-;-1:-1:-1;;;;;78121:14:0;;;:19;78117:483;;78161:11;78175:13;78223:14;;;78256:233;78287:62;78326:1;78330:2;78334:7;;;;;;78343:5;78287:30;:62::i;:::-;78282:167;;78385:40;;-1:-1:-1;;;78385:40:0;;;;;;;;;;;78282:167;78484:3;78476:5;:11;78256:233;;78571:3;78554:13;;:20;78550:34;;78576:8;;;78550:34;78142:458;;77929:689;;;:::o;19732:922::-;19785:7;;-1:-1:-1;;;19863:15:0;;19859:102;;-1:-1:-1;;;19899:15:0;;;-1:-1:-1;19943:2:0;19933:12;19859:102;19988:6;19979:5;:15;19975:102;;20024:6;20015:15;;;-1:-1:-1;20059:2:0;20049:12;19975:102;20104:6;20095:5;:15;20091:102;;20140:6;20131:15;;;-1:-1:-1;20175:2:0;20165:12;20091:102;20220:5;20211;:14;20207:99;;20255:5;20246:14;;;-1:-1:-1;20289:1:0;20279:11;20207:99;20333:5;20324;:14;20320:99;;20368:5;20359:14;;;-1:-1:-1;20402:1:0;20392:11;20320:99;20446:5;20437;:14;20433:99;;20481:5;20472:14;;;-1:-1:-1;20515:1:0;20505:11;20433:99;20559:5;20550;:14;20546:66;;20595:1;20585:11;20640:6;19732:922;-1:-1:-1;;19732:922:0:o;9129:149::-;9192:7;9223:1;9219;:5;:51;;9354:13;9448:15;;;9484:4;9477:15;;;9531:4;9515:21;;9219:51;;;-1:-1:-1;9354:13:0;9448:15;;;9484:4;9477:15;9531:4;9515:21;;;9129:149::o;72211:2966::-;72284:20;72307:13;;;72335;;;72331:44;;72357:18;;-1:-1:-1;;;72357:18:0;;;;;;;;;;;72331:44;-1:-1:-1;;;;;72863:22:0;;;;;;:18;:22;;;;45932:2;72863:22;;;:71;;72901:32;72889:45;;72863:71;;;73177:31;;;:17;:31;;;;;-1:-1:-1;59913:15:0;;59887:24;59883:46;59482:11;59457:23;59453:41;59450:52;59440:63;;73177:173;;73412:23;;;;73177:31;;72863:22;;74177:25;72863:22;;74030:335;74691:1;74677:12;74673:20;74631:346;74732:3;74723:7;74720:16;74631:346;;74950:7;74940:8;74937:1;74910:25;74907:1;74904;74899:59;74785:1;74772:15;74631:346;;;74635:77;75010:8;75022:1;75010:13;75006:45;;75032:19;;-1:-1:-1;;;75032:19:0;;;;;;;;;;;75006:45;75068:13;:19;-1:-1:-1;90143:920:0;;;:::o;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:250::-;859:1;869:113;883:6;880:1;877:13;869:113;;;959:11;;;953:18;940:11;;;933:39;905:2;898:10;869:113;;;-1:-1:-1;;1016:1:1;998:16;;991:27;774:250::o;1029:271::-;1071:3;1109:5;1103:12;1136:6;1131:3;1124:19;1152:76;1221:6;1214:4;1209:3;1205:14;1198:4;1191:5;1187:16;1152:76;:::i;:::-;1282:2;1261:15;-1:-1:-1;;1257:29:1;1248:39;;;;1289:4;1244:50;;1029:271;-1:-1:-1;;1029:271:1:o;1305:220::-;1454:2;1443:9;1436:21;1417:4;1474:45;1515:2;1504:9;1500:18;1492:6;1474:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:1;;1530:180;-1:-1:-1;1530:180:1:o;1923:173::-;1991:20;;-1:-1:-1;;;;;2040:31:1;;2030:42;;2020:70;;2086:1;2083;2076:12;2101:254;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2269:29;2288:9;2269:29;:::i;:::-;2259:39;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2101:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2875:683::-;2970:6;2978;2986;3039:2;3027:9;3018:7;3014:23;3010:32;3007:52;;;3055:1;3052;3045:12;3007:52;3091:9;3078:23;3068:33;;3152:2;3141:9;3137:18;3124:32;3175:18;3216:2;3208:6;3205:14;3202:34;;;3232:1;3229;3222:12;3202:34;3270:6;3259:9;3255:22;3245:32;;3315:7;3308:4;3304:2;3300:13;3296:27;3286:55;;3337:1;3334;3327:12;3286:55;3377:2;3364:16;3403:2;3395:6;3392:14;3389:34;;;3419:1;3416;3409:12;3389:34;3472:7;3467:2;3457:6;3454:1;3450:14;3446:2;3442:23;3438:32;3435:45;3432:65;;;3493:1;3490;3483:12;3432:65;3524:2;3520;3516:11;3506:21;;3546:6;3536:16;;;;;2875:683;;;;;:::o;3563:127::-;3624:10;3619:3;3615:20;3612:1;3605:31;3655:4;3652:1;3645:15;3679:4;3676:1;3669:15;3695:632;3760:5;3790:18;3831:2;3823:6;3820:14;3817:40;;;3837:18;;:::i;:::-;3912:2;3906:9;3880:2;3966:15;;-1:-1:-1;;3962:24:1;;;3988:2;3958:33;3954:42;3942:55;;;4012:18;;;4032:22;;;4009:46;4006:72;;;4058:18;;:::i;:::-;4098:10;4094:2;4087:22;4127:6;4118:15;;4157:6;4149;4142:22;4197:3;4188:6;4183:3;4179:16;4176:25;4173:45;;;4214:1;4211;4204:12;4173:45;4264:6;4259:3;4252:4;4244:6;4240:17;4227:44;4319:1;4312:4;4303:6;4295;4291:19;4287:30;4280:41;;;;3695:632;;;;;:::o;4332:451::-;4401:6;4454:2;4442:9;4433:7;4429:23;4425:32;4422:52;;;4470:1;4467;4460:12;4422:52;4510:9;4497:23;4543:18;4535:6;4532:30;4529:50;;;4575:1;4572;4565:12;4529:50;4598:22;;4651:4;4643:13;;4639:27;-1:-1:-1;4629:55:1;;4680:1;4677;4670:12;4629:55;4703:74;4769:7;4764:2;4751:16;4746:2;4742;4738:11;4703:74;:::i;4788:186::-;4847:6;4900:2;4888:9;4879:7;4875:23;4871:32;4868:52;;;4916:1;4913;4906:12;4868:52;4939:29;4958:9;4939:29;:::i;5164:347::-;5229:6;5237;5290:2;5278:9;5269:7;5265:23;5261:32;5258:52;;;5306:1;5303;5296:12;5258:52;5329:29;5348:9;5329:29;:::i;:::-;5319:39;;5408:2;5397:9;5393:18;5380:32;5455:5;5448:13;5441:21;5434:5;5431:32;5421:60;;5477:1;5474;5467:12;5421:60;5500:5;5490:15;;;5164:347;;;;;:::o;5516:667::-;5611:6;5619;5627;5635;5688:3;5676:9;5667:7;5663:23;5659:33;5656:53;;;5705:1;5702;5695:12;5656:53;5728:29;5747:9;5728:29;:::i;:::-;5718:39;;5776:38;5810:2;5799:9;5795:18;5776:38;:::i;:::-;5766:48;;5861:2;5850:9;5846:18;5833:32;5823:42;;5916:2;5905:9;5901:18;5888:32;5943:18;5935:6;5932:30;5929:50;;;5975:1;5972;5965:12;5929:50;5998:22;;6051:4;6043:13;;6039:27;-1:-1:-1;6029:55:1;;6080:1;6077;6070:12;6029:55;6103:74;6169:7;6164:2;6151:16;6146:2;6142;6138:11;6103:74;:::i;:::-;6093:84;;;5516:667;;;;;;;:::o;6188:260::-;6256:6;6264;6317:2;6305:9;6296:7;6292:23;6288:32;6285:52;;;6333:1;6330;6323:12;6285:52;6356:29;6375:9;6356:29;:::i;:::-;6346:39;;6404:38;6438:2;6427:9;6423:18;6404:38;:::i;:::-;6394:48;;6188:260;;;;;:::o;6453:380::-;6532:1;6528:12;;;;6575;;;6596:61;;6650:4;6642:6;6638:17;6628:27;;6596:61;6703:2;6695:6;6692:14;6672:18;6669:38;6666:161;;6749:10;6744:3;6740:20;6737:1;6730:31;6784:4;6781:1;6774:15;6812:4;6809:1;6802:15;6666:161;;6453:380;;;:::o;7770:127::-;7831:10;7826:3;7822:20;7819:1;7812:31;7862:4;7859:1;7852:15;7886:4;7883:1;7876:15;7902:125;7967:9;;;7988:10;;;7985:36;;;8001:18;;:::i;8392:401::-;8594:2;8576:21;;;8633:2;8613:18;;;8606:30;8672:34;8667:2;8652:18;;8645:62;-1:-1:-1;;;8738:2:1;8723:18;;8716:35;8783:3;8768:19;;8392:401::o;9159:168::-;9232:9;;;9263;;9280:15;;;9274:22;;9260:37;9250:71;;9301:18;;:::i;9801:545::-;9903:2;9898:3;9895:11;9892:448;;;9939:1;9964:5;9960:2;9953:17;10009:4;10005:2;9995:19;10079:2;10067:10;10063:19;10060:1;10056:27;10050:4;10046:38;10115:4;10103:10;10100:20;10097:47;;;-1:-1:-1;10138:4:1;10097:47;10193:2;10188:3;10184:12;10181:1;10177:20;10171:4;10167:31;10157:41;;10248:82;10266:2;10259:5;10256:13;10248:82;;;10311:17;;;10292:1;10281:13;10248:82;;10522:1352;10648:3;10642:10;10675:18;10667:6;10664:30;10661:56;;;10697:18;;:::i;:::-;10726:97;10816:6;10776:38;10808:4;10802:11;10776:38;:::i;:::-;10770:4;10726:97;:::i;:::-;10878:4;;10942:2;10931:14;;10959:1;10954:663;;;;11661:1;11678:6;11675:89;;;-1:-1:-1;11730:19:1;;;11724:26;11675:89;-1:-1:-1;;10479:1:1;10475:11;;;10471:24;10467:29;10457:40;10503:1;10499:11;;;10454:57;11777:81;;10924:944;;10954:663;9748:1;9741:14;;;9785:4;9772:18;;-1:-1:-1;;10990:20:1;;;11108:236;11122:7;11119:1;11116:14;11108:236;;;11211:19;;;11205:26;11190:42;;11303:27;;;;11271:1;11259:14;;;;11138:19;;11108:236;;;11112:3;11372:6;11363:7;11360:19;11357:201;;;11433:19;;;11427:26;-1:-1:-1;;11516:1:1;11512:14;;;11528:3;11508:24;11504:37;11500:42;11485:58;11470:74;;11357:201;-1:-1:-1;;;;;11604:1:1;11588:14;;;11584:22;11571:36;;-1:-1:-1;10522:1352:1:o;12359:217::-;12399:1;12425;12415:132;;12469:10;12464:3;12460:20;12457:1;12450:31;12504:4;12501:1;12494:15;12532:4;12529:1;12522:15;12415:132;-1:-1:-1;12561:9:1;;12359:217::o;13341:1256::-;13565:3;13603:6;13597:13;13629:4;13642:64;13699:6;13694:3;13689:2;13681:6;13677:15;13642:64;:::i;:::-;13769:13;;13728:16;;;;13791:68;13769:13;13728:16;13826:15;;;13791:68;:::i;:::-;13948:13;;13881:20;;;13921:1;;13986:36;13948:13;13986:36;:::i;:::-;14041:1;14058:18;;;14085:141;;;;14240:1;14235:337;;;;14051:521;;14085:141;-1:-1:-1;;14120:24:1;;14106:39;;14197:16;;14190:24;14176:39;;14165:51;;;-1:-1:-1;14085:141:1;;14235:337;14266:6;14263:1;14256:17;14314:2;14311:1;14301:16;14339:1;14353:169;14367:8;14364:1;14361:15;14353:169;;;14449:14;;14434:13;;;14427:37;14492:16;;;;14384:10;;14353:169;;;14357:3;;14553:8;14546:5;14542:20;14535:27;;14051:521;-1:-1:-1;14588:3:1;;13341:1256;-1:-1:-1;;;;;;;;;;13341:1256:1:o;15933:489::-;-1:-1:-1;;;;;16202:15:1;;;16184:34;;16254:15;;16249:2;16234:18;;16227:43;16301:2;16286:18;;16279:34;;;16349:3;16344:2;16329:18;;16322:31;;;16127:4;;16370:46;;16396:19;;16388:6;16370:46;:::i;:::-;16362:54;15933:489;-1:-1:-1;;;;;;15933:489:1:o;16427:249::-;16496:6;16549:2;16537:9;16528:7;16524:23;16520:32;16517:52;;;16565:1;16562;16555:12;16517:52;16597:9;16591:16;16616:30;16640:5;16616:30;:::i;16681:127::-;16742:10;16737:3;16733:20;16730:1;16723:31;16773:4;16770:1;16763:15;16797:4;16794:1;16787:15;16813:135;16852:3;16873:17;;;16870:43;;16893:18;;:::i;:::-;-1:-1:-1;16940:1:1;16929:13;;16813:135::o
Swarm Source
ipfs://607a5852c7d50ae64bf33d56d07f88506a9955807f6da90155258ac939da71a8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.