Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 736 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21490105 | 24 hrs ago | IN | 0 ETH | 0.00020204 | ||||
Set Approval For... | 21484703 | 42 hrs ago | IN | 0 ETH | 0.0002229 | ||||
Safe Transfer Fr... | 21481428 | 2 days ago | IN | 0 ETH | 0.00018487 | ||||
Safe Transfer Fr... | 21464660 | 4 days ago | IN | 0 ETH | 0.00045347 | ||||
Safe Transfer Fr... | 21464657 | 4 days ago | IN | 0 ETH | 0.00051731 | ||||
Safe Transfer Fr... | 21415704 | 11 days ago | IN | 0 ETH | 0.00107746 | ||||
Safe Transfer Fr... | 21415690 | 11 days ago | IN | 0 ETH | 0.00112854 | ||||
Transfer From | 21415665 | 11 days ago | IN | 0 ETH | 0.000668 | ||||
Set Approval For... | 21413636 | 11 days ago | IN | 0 ETH | 0.00034266 | ||||
Set Approval For... | 21410457 | 12 days ago | IN | 0 ETH | 0.00058438 | ||||
Set Approval For... | 21410407 | 12 days ago | IN | 0 ETH | 0.0005261 | ||||
Set Approval For... | 21392232 | 14 days ago | IN | 0 ETH | 0.00046158 | ||||
Set Approval For... | 21368655 | 17 days ago | IN | 0 ETH | 0.00116225 | ||||
Set Approval For... | 21364911 | 18 days ago | IN | 0 ETH | 0.0016648 | ||||
Safe Transfer Fr... | 21343938 | 21 days ago | IN | 0 ETH | 0.0011559 | ||||
Transfer From | 21343629 | 21 days ago | IN | 0 ETH | 0.00092997 | ||||
Transfer From | 21343569 | 21 days ago | IN | 0 ETH | 0.00194253 | ||||
Set Approval For... | 21343440 | 21 days ago | IN | 0 ETH | 0.00033884 | ||||
Transfer From | 21342361 | 21 days ago | IN | 0 ETH | 0.00109664 | ||||
Transfer From | 21337719 | 22 days ago | IN | 0 ETH | 0.00228362 | ||||
Transfer From | 21337716 | 22 days ago | IN | 0 ETH | 0.00174371 | ||||
Transfer From | 21315052 | 25 days ago | IN | 0 ETH | 0.00106704 | ||||
Transfer From | 21315048 | 25 days ago | IN | 0 ETH | 0.00175926 | ||||
Safe Transfer Fr... | 21311334 | 25 days ago | IN | 0 ETH | 0.00062736 | ||||
Set Approval For... | 21222366 | 38 days ago | IN | 0 ETH | 0.0004851 |
Loading...
Loading
Contract Name:
OrigoOrigins
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-15 */ // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ 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. */ 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. */ 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. */ 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. */ 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 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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (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 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 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. uint256 twos = denominator & (0 - denominator); 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 (unsignedRoundsUp(rounding) && 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 * towards zero. * * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @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), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @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) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @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 The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @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} */ 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. */ 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} */ 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. */ 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. */ 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). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { 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. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ 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/Context.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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 v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/OrigoOrigins.sol pragma solidity ^0.8.13; // ░█████╗░██████╗░██╗░██████╗░░█████╗░ ░█████╗░██████╗░██╗░██████╗░██╗███╗░░██╗░██████╗ // ██╔══██╗██╔══██╗██║██╔════╝░██╔══██╗ ██╔══██╗██╔══██╗██║██╔════╝░██║████╗░██║██╔════╝ // ██║░░██║██████╔╝██║██║░░██╗░██║░░██║ ██║░░██║██████╔╝██║██║░░██╗░██║██╔██╗██║╚█████╗░ // ██║░░██║██╔══██╗██║██║░░╚██╗██║░░██║ ██║░░██║██╔══██╗██║██║░░╚██╗██║██║╚████║░╚═══██╗ // ╚█████╔╝██║░░██║██║╚██████╔╝╚█████╔╝ ╚█████╔╝██║░░██║██║╚██████╔╝██║██║░╚███║██████╔╝ // ░╚════╝░╚═╝░░╚═╝╚═╝░╚═════╝░░╚════╝░ ░╚════╝░╚═╝░░╚═╝╚═╝░╚═════╝░╚═╝╚═╝░░╚══╝╚═════╝░ // Powered by https://nalikes.com contract OrigoOrigins is ERC721AQueryable, Ownable { address public presaleContract; using Strings for uint256; uint256 public maxSupply = 721; uint256 public remainingTeamMints = 31; uint256 public remainingFreeMints = 50; uint256 public vipAllowance = 2; uint256 public guestAllowance = 1; uint256 public publicAllowance = 4; uint256 public price = 0.1 ether; // vip = 0, guest = 1, public = 2 mapping(uint256 => mapping(address => uint256)) public addressMintedBalance; mapping(address => bool) public freeMintClaimed; bytes32 public vipMerkleRoot; bytes32 public guestMerkleRoot; string public hiddenURI; string public baseURI; string public uriSuffix; bool public paused = true; bool public vipMintEnabled = false; bool public freeMintEnabled = false; bool public guestMintEnabled = false; bool public publicMintEnabled = false; bool public revealed = false; address public recipient; constructor(address _contract) Ownable(msg.sender) ERC721A("ORIGO Origins", "ORIGO") { setPresaleContract(_contract); setRecipient(0x0682c21F74239476e162832D490abFd046030e7a); } //******************************* MODIFIERS modifier notPaused() { require(!paused, "The contract is paused!"); _; } modifier noBots() { require(_msgSender() == tx.origin, "No bots!"); _; } modifier mintPriceCompliance(uint256 _mintPrice, uint256 _mintAmount) { require(msg.value >= _mintPrice * _mintAmount, "Insufficient funds."); _; } modifier mintCompliance(uint256 quantity) { require(_totalMinted() + quantity <= maxSupply - remainingTeamMints - remainingFreeMints, "Max Supply Exceeded."); _; } //******************************* OVERRIDES function _startTokenId() internal view virtual override returns (uint256) { return 1; } //******************************* MINT function mintVip(uint256 quantity, bytes32[] calldata proof) external payable noBots notPaused mintCompliance(quantity) mintPriceCompliance(price, quantity) { require(vipMintEnabled, "VIP mint is disabled!"); if(freeMintClaimed[_msgSender()]) require( addressMintedBalance[0][_msgSender()] + quantity <= vipAllowance - 1, "VIP: Exceeds allowance!" ); else require( addressMintedBalance[0][_msgSender()] + quantity <= vipAllowance, "VIP: Exceeds allowance!" ); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(proof, vipMerkleRoot, leaf), "Not a valid proof!"); addressMintedBalance[0][_msgSender()] += quantity; _safeMint(_msgSender(), quantity); } function mintFreeMint() external payable noBots notPaused { require(freeMintEnabled, "Free Mint is disabled!"); require(!freeMintClaimed[_msgSender()], "Already claimed!"); require(_totalMinted() + 1 <= maxSupply, "Max Supply Exceeded."); require(1 <= remainingFreeMints, "Exceeds Free Mint NFTs supply" ); require(checkElligibility(_msgSender()), "Address does not hold Presale token!"); freeMintClaimed[_msgSender()] = true; remainingFreeMints -= 1; _safeMint(_msgSender(), 1); } function mintGuest(uint256 quantity, bytes32[] calldata proof) external payable noBots notPaused mintCompliance(quantity) mintPriceCompliance(price, quantity) { require(guestMintEnabled, "Guest mint is disabled!"); require( addressMintedBalance[1][_msgSender()] + quantity <= guestAllowance, "Guest: Exceeds allowance!" ); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(proof, guestMerkleRoot, leaf), "Not a valid proof!"); addressMintedBalance[1][_msgSender()] += quantity; _safeMint(_msgSender(), quantity); } function mintPublic(uint256 quantity) external payable noBots notPaused mintCompliance(quantity) mintPriceCompliance(price, quantity) { require(publicMintEnabled, "Public mint is disabled!"); require( addressMintedBalance[2][_msgSender()] + quantity <= publicAllowance, "Public: Exceeds allowance!" ); addressMintedBalance[2][_msgSender()] += quantity; _safeMint(_msgSender(), quantity); } function mintReserved(address to, uint256 quantity) external onlyOwner { require(_totalMinted() + quantity <= maxSupply, "Reserved: Max Supply Exceeded."); require(quantity <= remainingTeamMints, "Exceeds reserved NFTs supply" ); remainingTeamMints -= quantity; _safeMint(to, quantity); } function mintAdmin(address to, uint256 quantity) external onlyOwner mintCompliance(quantity) { _safeMint(to, quantity); } //******************************* ADMIN function setPresaleContract(address _contract) public onlyOwner { presaleContract = _contract; } function setMaxSupply(uint256 _supply) external onlyOwner { require(_supply >= _totalMinted() + remainingTeamMints + remainingFreeMints && _supply <= maxSupply, "Invalid Max Supply."); maxSupply = _supply; } function setPrice(uint256 _price) public onlyOwner { price = _price; } function setVipAllowance(uint256 _allowance) external onlyOwner { vipAllowance = _allowance; } function setGuestAllowance(uint256 _allowance) external onlyOwner { guestAllowance = _allowance; } function setPublicAllowance(uint256 _allowance) external onlyOwner { publicAllowance = _allowance; } function setVipMerkleRoot(bytes32 _merkleRoot) external onlyOwner { vipMerkleRoot = _merkleRoot; } function setGuestMerkleRoot(bytes32 _merkleRoot) external onlyOwner { guestMerkleRoot = _merkleRoot; } function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setUriSuffix(string memory _uriSuffix) external onlyOwner { uriSuffix = _uriSuffix; } function setHiddenURI(string memory _hiddenURI) external onlyOwner { hiddenURI = _hiddenURI; } function setRecipient(address newRecipient) public onlyOwner { require(newRecipient != address(0), "Cannot be the 0 address!"); recipient = newRecipient; } function setVipMintEnabled(bool _state) public onlyOwner { vipMintEnabled = _state; } function setFreeMintEnabled(bool _state) public onlyOwner { freeMintEnabled = _state; } function setGuestMintEnabled(bool _state) public onlyOwner { guestMintEnabled = _state; } function setPublicMintEnabled(bool _state) public onlyOwner { publicMintEnabled = _state; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } //******************************* WITHDRAW function withdraw() public onlyOwner { require(recipient != address(0), "Cannot be the 0 address!"); uint256 balance = address(this).balance; bool success; (success, ) = payable(recipient).call{value: balance}(""); require(success, "Transaction Unsuccessful"); } //******************************* VIEWS function tokenURI(uint256 _tokenId) public view virtual override (ERC721A, IERC721A) returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); if (revealed == false) { return hiddenURI; } return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString(), uriSuffix)) : ""; } function getAddressMintedBalance(address minter) public view returns (uint256, uint256, uint256) { return (addressMintedBalance[0][minter], addressMintedBalance[1][minter], addressMintedBalance[2][minter]); } function checkElligibility(address _address) public view returns (bool) { IERC721A token = IERC721A(presaleContract); return token.balanceOf(_address) > 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"checkElligibility","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getAddressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guestAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guestMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guestMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintFreeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintGuest","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintVip","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingTeamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setFreeMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"setGuestAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setGuestMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setGuestMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenURI","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setPresaleContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"setPublicAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"setVipAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setVipMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setVipMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526102d1600a55601f600b556032600c556002600d556001600e8190556004600f5567016345785d8a00006010556018805465ffffffffffff191690911790553480156200004f575f80fd5b506040516200398038038062003980833981016040819052620000729162000289565b336040518060400160405280600d81526020016c4f5249474f204f726967696e7360981b815250604051806040016040528060058152602001644f5249474f60d81b8152508160029081620000c8919062000358565b506003620000d7828262000358565b5060015f5550506001600160a01b0381166200010d57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b62000118816200014a565b5062000124816200019b565b62000143730682c21f74239476e162832d490abfd046030e7a620001c7565b5062000420565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620001a562000258565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b620001d162000258565b6001600160a01b038116620002295760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742062652074686520302061646472657373210000000000000000604482015260640162000104565b601880546001600160a01b03909216660100000000000002600160301b600160d01b0319909216919091179055565b6008546001600160a01b03163314620002875760405163118cdaa760e01b815233600482015260240162000104565b565b5f602082840312156200029a575f80fd5b81516001600160a01b0381168114620002b1575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620002e157607f821691505b6020821081036200030057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000353575f81815260208120601f850160051c810160208610156200032e5750805b601f850160051c820191505b818110156200034f578281556001016200033a565b5050505b505050565b81516001600160401b03811115620003745762000374620002b8565b6200038c81620003858454620002cc565b8462000306565b602080601f831160018114620003c2575f8415620003aa5750858301515b5f19600386901b1c1916600185901b1785556200034f565b5f85815260208120601f198616915b82811015620003f257888601518255948401946001909101908401620003d1565b50858210156200041057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b613552806200042e5f395ff3fe6080604052600436106103f5575f3560e01c806370a082311161020a578063a8a67a761161011e578063c5ed94f3116100a8578063e0ec7c3611610078578063e0ec7c3614610bf0578063e985e9c514610c1e578063efd0cbf914610c65578063f2fde38b14610c78578063f375b7c714610c97575f80fd5b8063c5ed94f314610b88578063c87b56dd14610b9d578063d5abeb0114610bbc578063e0a8085314610bd1575f80fd5b8063bbaac02f116100ee578063bbaac02f14610ae0578063bc976afd14610aff578063c23dc68f14610b1e578063c36e8cb614610b4a578063c3a7199914610b69575f80fd5b8063a8a67a7614610a79578063a9bbd11414610a99578063b88d4fde14610ab8578063b9f2e81714610acb575f80fd5b80638cc54e7f1161019f57806399a2557a1161016f57806399a2557a146109635780639d4a36d814610982578063a035b1fe14610995578063a22cb465146109aa578063a252351c146109c9575f80fd5b80638cc54e7f146108ff5780638da5cb5b1461091357806391b7f5ed1461093057806395d89b411461094f575f80fd5b80637de55fe1116101da5780637de55fe114610876578063818668d71461089557806382120658146108b45780638462151c146108d3575f80fd5b806370a08231146107f8578063715018a61461081757806372a1056c1461082b57806372c7be6d14610840575f80fd5b80633bbed4a01161030c5780635c975abb1161029657806365cb98991161026657806365cb98991461077757806366d003ac1461078a57806369a05f7d146107b05780636c0360eb146107c55780636f8b44b0146107d9575f80fd5b80635c975abb1461070157806362ad68aa1461071a5780636352211e1461073957806363d9df8514610758575f80fd5b806351830227116102dc57806351830227146106615780635503a0e814610683578063551ff7ae1461069757806355f804b3146106b65780635bbb2177146106d5575f80fd5b80633bbed4a0146105fc5780633ccfd60b1461061b5780634095f65f1461062f57806342842e0e1461064e575f80fd5b806316c38b3c1161038d5780632ab2932a1161035d5780632ab2932a1461057657806330cc715c146105955780633188d924146105aa57806336a0a277146105c95780633a006943146105e7575f80fd5b806316c38b3c1461050157806317efd77c1461052057806318160ddd1461053f57806323b872dd14610563575f80fd5b8063095ea7b3116103c8578063095ea7b3146104a65780630ee6b94e146104b95780630f4161aa146104c157806316ba10e0146104e2575f80fd5b806301ffc9a7146103f95780630562d73b1461042d57806306fdde031461044e578063081812fc1461046f575b5f80fd5b348015610404575f80fd5b50610418610413366004612cbe565b610cac565b60405190151581526020015b60405180910390f35b348015610438575f80fd5b5061044c610447366004612cd9565b610cfd565b005b348015610459575f80fd5b50610462610d0a565b6040516104249190612d3d565b34801561047a575f80fd5b5061048e610489366004612cd9565b610d9a565b6040516001600160a01b039091168152602001610424565b61044c6104b4366004612d6a565b610ddc565b61044c610e7a565b3480156104cc575f80fd5b5060185461041890640100000000900460ff1681565b3480156104ed575f80fd5b5061044c6104fc366004612e18565b611092565b34801561050c575f80fd5b5061044c61051b366004612e6b565b6110aa565b34801561052b575f80fd5b5061041861053a366004612e84565b6110c5565b34801561054a575f80fd5b506001545f54035f19015b604051908152602001610424565b61044c610571366004612e9d565b61113d565b348015610581575f80fd5b5061044c610590366004612e6b565b6112cd565b3480156105a0575f80fd5b50610555600d5481565b3480156105b5575f80fd5b5061044c6105c4366004612cd9565b6112f3565b3480156105d4575f80fd5b5060185461041890610100900460ff1681565b3480156105f2575f80fd5b50610555600f5481565b348015610607575f80fd5b5061044c610616366004612e84565b611300565b348015610626575f80fd5b5061044c611388565b34801561063a575f80fd5b5061044c610649366004612e6b565b61149a565b61044c61065c366004612e9d565b6114be565b34801561066c575f80fd5b506018546104189065010000000000900460ff1681565b34801561068e575f80fd5b506104626114dd565b3480156106a2575f80fd5b5061044c6106b1366004612cd9565b611569565b3480156106c1575f80fd5b5061044c6106d0366004612e18565b611576565b3480156106e0575f80fd5b506106f46106ef366004612f1d565b61158a565b6040516104249190612f97565b34801561070c575f80fd5b506018546104189060ff1681565b348015610725575f80fd5b506018546104189062010000900460ff1681565b348015610744575f80fd5b5061048e610753366004612cd9565b611651565b348015610763575f80fd5b5060095461048e906001600160a01b031681565b61044c610785366004612fd8565b61165b565b348015610795575f80fd5b5060185461048e90600160301b90046001600160a01b031681565b3480156107bb575f80fd5b50610555600c5481565b3480156107d0575f80fd5b5061046261198d565b3480156107e4575f80fd5b5061044c6107f3366004612cd9565b61199a565b348015610803575f80fd5b50610555610812366004612e84565b611a1c565b348015610822575f80fd5b5061044c611a68565b348015610836575f80fd5b5061055560135481565b34801561084b575f80fd5b5061055561085a36600461301f565b601160209081525f928352604080842090915290825290205481565b348015610881575f80fd5b5061044c610890366004612d6a565b611a79565b3480156108a0575f80fd5b5061044c6108af366004612e6b565b611b58565b3480156108bf575f80fd5b5061044c6108ce366004612e6b565b611b80565b3480156108de575f80fd5b506108f26108ed366004612e84565b611ba2565b6040516104249190613049565b34801561090a575f80fd5b50610462611ca6565b34801561091e575f80fd5b506008546001600160a01b031661048e565b34801561093b575f80fd5b5061044c61094a366004612cd9565b611cb3565b34801561095a575f80fd5b50610462611cc0565b34801561096e575f80fd5b506108f261097d366004613080565b611ccf565b61044c610990366004612fd8565b611e4e565b3480156109a0575f80fd5b5061055560105481565b3480156109b5575f80fd5b5061044c6109c43660046130b0565b6120dd565b3480156109d4575f80fd5b50610a5e6109e3366004612e84565b6001600160a01b03165f9081525f805160206134fd83398151915260209081526040808320547f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5528352818420547f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c6289093529220549192909190565b60408051938452602084019290925290820152606001610424565b348015610a84575f80fd5b50601854610418906301000000900460ff1681565b348015610aa4575f80fd5b5061044c610ab3366004612e84565b612148565b61044c610ac63660046130d8565b612172565b348015610ad6575f80fd5b5061055560145481565b348015610aeb575f80fd5b5061044c610afa366004612e18565b6121bc565b348015610b0a575f80fd5b5061044c610b19366004612cd9565b6121d0565b348015610b29575f80fd5b50610b3d610b38366004612cd9565b6121dd565b604051610424919061314e565b348015610b55575f80fd5b5061044c610b64366004612cd9565b612262565b348015610b74575f80fd5b5061044c610b83366004612d6a565b61226f565b348015610b93575f80fd5b50610555600e5481565b348015610ba8575f80fd5b50610462610bb7366004612cd9565b6122d0565b348015610bc7575f80fd5b50610555600a5481565b348015610bdc575f80fd5b5061044c610beb366004612e6b565b61242b565b348015610bfb575f80fd5b50610418610c0a366004612e84565b60126020525f908152604090205460ff1681565b348015610c29575f80fd5b50610418610c3836600461315c565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b61044c610c73366004612cd9565b612455565b348015610c83575f80fd5b5061044c610c92366004612e84565b612644565b348015610ca2575f80fd5b50610555600b5481565b5f6301ffc9a760e01b6001600160e01b031983161480610cdc57506380ac58cd60e01b6001600160e01b03198316145b80610cf75750635b5e139f60e01b6001600160e01b03198316145b92915050565b610d05612681565b601455565b606060028054610d1990613184565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4590613184565b8015610d905780601f10610d6757610100808354040283529160200191610d90565b820191905f5260205f20905b815481529060010190602001808311610d7357829003601f168201915b5050505050905090565b5f610da4826126ae565b610dc1576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610de682611651565b9050336001600160a01b03821614610e1f57610e028133610c38565b610e1f576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b333214610ea25760405162461bcd60e51b8152600401610e99906131bc565b60405180910390fd5b60185460ff1615610ec55760405162461bcd60e51b8152600401610e99906131de565b60185462010000900460ff16610f165760405162461bcd60e51b815260206004820152601660248201527546726565204d696e742069732064697361626c65642160501b6044820152606401610e99565b335f9081526012602052604090205460ff1615610f685760405162461bcd60e51b815260206004820152601060248201526f416c726561647920636c61696d65642160801b6044820152606401610e99565b600a54610f736126e0565b610f7e906001613229565b1115610f9c5760405162461bcd60e51b8152600401610e999061323c565b600c5460011115610fef5760405162461bcd60e51b815260206004820152601d60248201527f457863656564732046726565204d696e74204e46547320737570706c790000006044820152606401610e99565b610ff8336110c5565b6110505760405162461bcd60e51b8152602060048201526024808201527f4164647265737320646f6573206e6f7420686f6c642050726573616c6520746f6044820152636b656e2160e01b6064820152608401610e99565b335f908152601260205260408120805460ff19166001908117909155600c80549192909161107f90849061326a565b9091555061109090503360016126e8565b565b61109a612681565b60176110a682826132c2565b5050565b6110b2612681565b6018805460ff1916911515919091179055565b6009546040516370a0823160e01b81526001600160a01b0383811660048301525f921690829082906370a0823190602401602060405180830381865afa158015611111573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611135919061337d565b119392505050565b5f61114782612701565b9050836001600160a01b0316816001600160a01b03161461117a5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176111c6576111a98633610c38565b6111c657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111ed57604051633a954ecd60e21b815260040160405180910390fd5b80156111f7575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361128357600184015f818152600460205260408120549003611281575f548114611281575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6112d5612681565b6018805491151563010000000263ff00000019909216919091179055565b6112fb612681565b600d55565b611308612681565b6001600160a01b0381166113595760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610e99565b601880546001600160a01b03909216600160301b026601000000000000600160d01b0319909216919091179055565b611390612681565b601854600160301b90046001600160a01b03166113ea5760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610e99565b60185460405147915f91600160301b9091046001600160a01b03169083905f6040518083038185875af1925050503d805f8114611442576040519150601f19603f3d011682016040523d82523d5f602084013e611447565b606091505b505080915050806110a65760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20556e7375636365737366756c00000000000000006044820152606401610e99565b6114a2612681565b60188054911515620100000262ff000019909216919091179055565b6114d883838360405180602001604052805f815250612172565b505050565b601780546114ea90613184565b80601f016020809104026020016040519081016040528092919081815260200182805461151690613184565b80156115615780601f1061153857610100808354040283529160200191611561565b820191905f5260205f20905b81548152906001019060200180831161154457829003601f168201915b505050505081565b611571612681565b600f55565b61157e612681565b60166110a682826132c2565b6060815f816001600160401b038111156115a6576115a6612d92565b6040519080825280602002602001820160405280156115f657816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f199092019101816115c45790505b5090505f5b8281146116485761162386868381811061161757611617613394565b905060200201356121dd565b82828151811061163557611635613394565b60209081029190910101526001016115fb565b50949350505050565b5f610cf782612701565b33321461167a5760405162461bcd60e51b8152600401610e99906131bc565b60185460ff161561169d5760405162461bcd60e51b8152600401610e99906131de565b82600c54600b54600a546116b1919061326a565b6116bb919061326a565b816116c46126e0565b6116ce9190613229565b11156116ec5760405162461bcd60e51b8152600401610e999061323c565b601054846116fa81836133a8565b3410156117195760405162461bcd60e51b8152600401610e99906133bf565b601854610100900460ff166117685760405162461bcd60e51b8152602060048201526015602482015274564950206d696e742069732064697361626c65642160581b6044820152606401610e99565b335f9081526012602052604090205460ff1615611801576001600d5461178e919061326a565b335f9081525f805160206134fd83398151915260205260409020546117b4908890613229565b11156117fc5760405162461bcd60e51b81526020600482015260176024820152765649503a204578636565647320616c6c6f77616e63652160481b6044820152606401610e99565b611872565b600d54335f9081525f805160206134fd833981519152602052604090205461182a908890613229565b11156118725760405162461bcd60e51b81526020600482015260176024820152765649503a204578636565647320616c6c6f77616e63652160481b6044820152606401610e99565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506118ea8686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601354915084905061276a565b61192b5760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610e99565b5f808052601160205287905f805160206134fd83398151915290335b6001600160a01b03166001600160a01b031681526020019081526020015f205f8282546119749190613229565b90915550611984905033886126e8565b50505050505050565b601680546114ea90613184565b6119a2612681565b600c54600b546119b06126e0565b6119ba9190613229565b6119c49190613229565b81101580156119d55750600a548111155b611a175760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21026b0bc1029bab838363c9760691b6044820152606401610e99565b600a55565b5f6001600160a01b038216611a44576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b611a70612681565b6110905f61277f565b611a81612681565b600a5481611a8d6126e0565b611a979190613229565b1115611ae55760405162461bcd60e51b815260206004820152601e60248201527f52657365727665643a204d617820537570706c792045786365656465642e00006044820152606401610e99565b600b54811115611b375760405162461bcd60e51b815260206004820152601c60248201527f45786365656473207265736572766564204e46547320737570706c79000000006044820152606401610e99565b80600b5f828254611b48919061326a565b909155506110a6905082826126e8565b611b60612681565b601880549115156401000000000264ff0000000019909216919091179055565b611b88612681565b601880549115156101000261ff0019909216919091179055565b60605f805f611bb085611a1c565b90505f816001600160401b03811115611bcb57611bcb612d92565b604051908082528060200260200182016040528015611bf4578160200160208202803683370190505b509050611c20604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614611c9a57611c33816127d0565b91508160400151611c925781516001600160a01b031615611c5357815194505b876001600160a01b0316856001600160a01b031603611c925780838780600101985081518110611c8557611c85613394565b6020026020010181815250505b600101611c23565b50909695505050505050565b601580546114ea90613184565b611cbb612681565b601055565b606060038054610d1990613184565b6060818310611cf157604051631960ccad60e11b815260040160405180910390fd5b5f80611cfb5f5490565b90506001851015611d0b57600194505b80841115611d17578093505b5f611d2187611a1c565b905084861015611d405785850381811015611d3a578091505b50611d43565b505f5b5f816001600160401b03811115611d5c57611d5c612d92565b604051908082528060200260200182016040528015611d85578160200160208202803683370190505b509050815f03611d9a579350611e4792505050565b5f611da4886121dd565b90505f8160400151611db4575080515b885b888114158015611dc65750848714155b15611e3b57611dd4816127d0565b92508260400151611e335782516001600160a01b031615611df457825191505b8a6001600160a01b0316826001600160a01b031603611e335780848880600101995081518110611e2657611e26613394565b6020026020010181815250505b600101611db6565b50505092835250909150505b9392505050565b333214611e6d5760405162461bcd60e51b8152600401610e99906131bc565b60185460ff1615611e905760405162461bcd60e51b8152600401610e99906131de565b82600c54600b54600a54611ea4919061326a565b611eae919061326a565b81611eb76126e0565b611ec19190613229565b1115611edf5760405162461bcd60e51b8152600401610e999061323c565b60105484611eed81836133a8565b341015611f0c5760405162461bcd60e51b8152600401610e99906133bf565b6018546301000000900460ff16611f655760405162461bcd60e51b815260206004820152601760248201527f4775657374206d696e742069732064697361626c6564210000000000000000006044820152606401610e99565b600e54335f9081527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5526020526040902054611fa1908890613229565b1115611fef5760405162461bcd60e51b815260206004820152601960248201527f47756573743a204578636565647320616c6c6f77616e636521000000000000006044820152606401610e99565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506120678686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601454915084905061276a565b6120a85760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610e99565b60015f908152601160205287907f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5529033611947565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612150612681565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61217d84848461113d565b6001600160a01b0383163b156121b6576121998484848461280a565b6121b6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6121c4612681565b60156110a682826132c2565b6121d8612681565b601355565b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061223357505f548310155b1561223e5792915050565b612247836127d0565b90508060400151156122595792915050565b611e47836128f2565b61226a612681565b600e55565b612277612681565b80600c54600b54600a5461228b919061326a565b612295919061326a565b8161229e6126e0565b6122a89190613229565b11156122c65760405162461bcd60e51b8152600401610e999061323c565b6114d883836126e8565b60606122db826126ae565b6123275760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610e99565b60185465010000000000900460ff1615155f036123ce576015805461234b90613184565b80601f016020809104026020016040519081016040528092919081815260200182805461237790613184565b80156123c25780601f10612399576101008083540402835291602001916123c2565b820191905f5260205f20905b8154815290600101906020018083116123a557829003601f168201915b50505050509050919050565b5f601680546123dc90613184565b9050116123f75760405180602001604052805f815250610cf7565b601661240283612926565b60176040516020016124169392919061345b565b60405160208183030381529060405292915050565b612433612681565b60188054911515650100000000000265ff000000000019909216919091179055565b3332146124745760405162461bcd60e51b8152600401610e99906131bc565b60185460ff16156124975760405162461bcd60e51b8152600401610e99906131de565b80600c54600b54600a546124ab919061326a565b6124b5919061326a565b816124be6126e0565b6124c89190613229565b11156124e65760405162461bcd60e51b8152600401610e999061323c565b601054826124f481836133a8565b3410156125135760405162461bcd60e51b8152600401610e99906133bf565b601854640100000000900460ff1661256d5760405162461bcd60e51b815260206004820152601860248201527f5075626c6963206d696e742069732064697361626c65642100000000000000006044820152606401610e99565b600f54335f9081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c62860205260409020546125a9908690613229565b11156125f75760405162461bcd60e51b815260206004820152601a60248201527f5075626c69633a204578636565647320616c6c6f77616e6365210000000000006044820152606401610e99565b335f9081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c628602052604081208054869290612634908490613229565b909155506121b6905033856126e8565b61264c612681565b6001600160a01b03811661267557604051631e4fbdf760e01b81525f6004820152602401610e99565b61267e8161277f565b50565b6008546001600160a01b031633146110905760405163118cdaa760e01b8152336004820152602401610e99565b5f816001111580156126c057505f5482105b8015610cf75750505f90815260046020526040902054600160e01b161590565b5f545f190190565b6110a6828260405180602001604052805f8152506129b5565b5f8180600111612751575f54811015612751575f8181526004602052604081205490600160e01b8216900361274f575b805f03611e4757505f19015f81815260046020526040902054612731565b505b604051636f96cda160e11b815260040160405180910390fd5b5f826127768584612a1e565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610cf790612a6a565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061283e90339089908890889060040161348d565b6020604051808303815f875af1925050508015612878575060408051601f3d908101601f19168201909252612875918101906134c9565b60015b6128d4573d8080156128a5576040519150601f19603f3d011682016040523d82523d5f602084013e6128aa565b606091505b5080515f036128cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182525f808252602082018190529181018290526060810191909152610cf761292183612701565b612a6a565b60605f61293283612ab1565b60010190505f816001600160401b0381111561295057612950612d92565b6040519080825280601f01601f19166020018201604052801561297a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461298457509392505050565b6129bf8383612b88565b6001600160a01b0383163b156114d8575f548281035b6129e75f86838060010194508661280a565b612a04576040516368d2bf6b60e11b815260040160405180910390fd5b8181106129d557815f5414612a17575f80fd5b5050505050565b5f81815b8451811015612a6257612a4e82868381518110612a4157612a41613394565b6020026020010151612c80565b915080612a5a816134e4565b915050612a22565b509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612aef5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b1b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b3957662386f26fc10000830492506010015b6305f5e1008310612b51576305f5e100830492506008015b6127108310612b6557612710830492506004015b60648310612b77576064830492506002015b600a8310610cf75760010192915050565b5f805490829003612bac5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612c585780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612c22565b50815f03612c7857604051622e076360e81b815260040160405180910390fd5b5f5550505050565b5f818310612c9a575f828152602084905260409020611e47565b505f9182526020526040902090565b6001600160e01b03198116811461267e575f80fd5b5f60208284031215612cce575f80fd5b8135611e4781612ca9565b5f60208284031215612ce9575f80fd5b5035919050565b5f5b83811015612d0a578181015183820152602001612cf2565b50505f910152565b5f8151808452612d29816020860160208601612cf0565b601f01601f19169290920160200192915050565b602081525f611e476020830184612d12565b80356001600160a01b0381168114612d65575f80fd5b919050565b5f8060408385031215612d7b575f80fd5b612d8483612d4f565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b0380841115612dbf57612dbf612d92565b604051601f8501601f19908116603f01168101908282118183101715612de757612de7612d92565b81604052809350858152868686011115612dff575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612e28575f80fd5b81356001600160401b03811115612e3d575f80fd5b8201601f81018413612e4d575f80fd5b6128ea84823560208401612da6565b80358015158114612d65575f80fd5b5f60208284031215612e7b575f80fd5b611e4782612e5c565b5f60208284031215612e94575f80fd5b611e4782612d4f565b5f805f60608486031215612eaf575f80fd5b612eb884612d4f565b9250612ec660208501612d4f565b9150604084013590509250925092565b5f8083601f840112612ee6575f80fd5b5081356001600160401b03811115612efc575f80fd5b6020830191508360208260051b8501011115612f16575f80fd5b9250929050565b5f8060208385031215612f2e575f80fd5b82356001600160401b03811115612f43575f80fd5b612f4f85828601612ed6565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f9190848201906040850190845b81811015611c9a57612fc5838551612f5b565b9284019260809290920191600101612fb2565b5f805f60408486031215612fea575f80fd5b8335925060208401356001600160401b03811115613006575f80fd5b61301286828701612ed6565b9497909650939450505050565b5f8060408385031215613030575f80fd5b8235915061304060208401612d4f565b90509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611c9a57835183529284019291840191600101613064565b5f805f60608486031215613092575f80fd5b61309b84612d4f565b95602085013595506040909401359392505050565b5f80604083850312156130c1575f80fd5b6130ca83612d4f565b915061304060208401612e5c565b5f805f80608085870312156130eb575f80fd5b6130f485612d4f565b935061310260208601612d4f565b92506040850135915060608501356001600160401b03811115613123575f80fd5b8501601f81018713613133575f80fd5b61314287823560208401612da6565b91505092959194509250565b60808101610cf78284612f5b565b5f806040838503121561316d575f80fd5b61317683612d4f565b915061304060208401612d4f565b600181811c9082168061319857607f821691505b6020821081036131b657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600890820152674e6f20626f74732160c01b604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610cf757610cf7613215565b60208082526014908201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b604082015260600190565b81810381811115610cf757610cf7613215565b601f8211156114d8575f81815260208120601f850160051c810160208610156132a35750805b601f850160051c820191505b818110156112c5578281556001016132af565b81516001600160401b038111156132db576132db612d92565b6132ef816132e98454613184565b8461327d565b602080601f831160018114613322575f841561330b5750858301515b5f19600386901b1c1916600185901b1785556112c5565b5f85815260208120601f198616915b8281101561335057888601518255948401946001909101908401613331565b508582101561336d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121561338d575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b8082028115828204841417610cf757610cf7613215565b60208082526013908201527224b739bab33334b1b4b2b73a10333ab732399760691b604082015260600190565b5f81546133f881613184565b60018281168015613410576001811461342557613451565b60ff1984168752821515830287019450613451565b855f526020805f205f5b858110156134485781548a82015290840190820161342f565b50505082870194505b5050505092915050565b5f61346682866133ec565b8451613476818360208901612cf0565b613482818301866133ec565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906134bf90830184612d12565b9695505050505050565b5f602082840312156134d9575f80fd5b8151611e4781612ca9565b5f600182016134f5576134f5613215565b506001019056fe4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7a2646970667358221220878e144aa9ff296cbc7c7d1b26a0786e5f0f7929ec74bb7b01873723b0e965a364736f6c634300081400330000000000000000000000003010ddf8c60dde43bd38a2c379a38f7cd0494e2d
Deployed Bytecode
0x6080604052600436106103f5575f3560e01c806370a082311161020a578063a8a67a761161011e578063c5ed94f3116100a8578063e0ec7c3611610078578063e0ec7c3614610bf0578063e985e9c514610c1e578063efd0cbf914610c65578063f2fde38b14610c78578063f375b7c714610c97575f80fd5b8063c5ed94f314610b88578063c87b56dd14610b9d578063d5abeb0114610bbc578063e0a8085314610bd1575f80fd5b8063bbaac02f116100ee578063bbaac02f14610ae0578063bc976afd14610aff578063c23dc68f14610b1e578063c36e8cb614610b4a578063c3a7199914610b69575f80fd5b8063a8a67a7614610a79578063a9bbd11414610a99578063b88d4fde14610ab8578063b9f2e81714610acb575f80fd5b80638cc54e7f1161019f57806399a2557a1161016f57806399a2557a146109635780639d4a36d814610982578063a035b1fe14610995578063a22cb465146109aa578063a252351c146109c9575f80fd5b80638cc54e7f146108ff5780638da5cb5b1461091357806391b7f5ed1461093057806395d89b411461094f575f80fd5b80637de55fe1116101da5780637de55fe114610876578063818668d71461089557806382120658146108b45780638462151c146108d3575f80fd5b806370a08231146107f8578063715018a61461081757806372a1056c1461082b57806372c7be6d14610840575f80fd5b80633bbed4a01161030c5780635c975abb1161029657806365cb98991161026657806365cb98991461077757806366d003ac1461078a57806369a05f7d146107b05780636c0360eb146107c55780636f8b44b0146107d9575f80fd5b80635c975abb1461070157806362ad68aa1461071a5780636352211e1461073957806363d9df8514610758575f80fd5b806351830227116102dc57806351830227146106615780635503a0e814610683578063551ff7ae1461069757806355f804b3146106b65780635bbb2177146106d5575f80fd5b80633bbed4a0146105fc5780633ccfd60b1461061b5780634095f65f1461062f57806342842e0e1461064e575f80fd5b806316c38b3c1161038d5780632ab2932a1161035d5780632ab2932a1461057657806330cc715c146105955780633188d924146105aa57806336a0a277146105c95780633a006943146105e7575f80fd5b806316c38b3c1461050157806317efd77c1461052057806318160ddd1461053f57806323b872dd14610563575f80fd5b8063095ea7b3116103c8578063095ea7b3146104a65780630ee6b94e146104b95780630f4161aa146104c157806316ba10e0146104e2575f80fd5b806301ffc9a7146103f95780630562d73b1461042d57806306fdde031461044e578063081812fc1461046f575b5f80fd5b348015610404575f80fd5b50610418610413366004612cbe565b610cac565b60405190151581526020015b60405180910390f35b348015610438575f80fd5b5061044c610447366004612cd9565b610cfd565b005b348015610459575f80fd5b50610462610d0a565b6040516104249190612d3d565b34801561047a575f80fd5b5061048e610489366004612cd9565b610d9a565b6040516001600160a01b039091168152602001610424565b61044c6104b4366004612d6a565b610ddc565b61044c610e7a565b3480156104cc575f80fd5b5060185461041890640100000000900460ff1681565b3480156104ed575f80fd5b5061044c6104fc366004612e18565b611092565b34801561050c575f80fd5b5061044c61051b366004612e6b565b6110aa565b34801561052b575f80fd5b5061041861053a366004612e84565b6110c5565b34801561054a575f80fd5b506001545f54035f19015b604051908152602001610424565b61044c610571366004612e9d565b61113d565b348015610581575f80fd5b5061044c610590366004612e6b565b6112cd565b3480156105a0575f80fd5b50610555600d5481565b3480156105b5575f80fd5b5061044c6105c4366004612cd9565b6112f3565b3480156105d4575f80fd5b5060185461041890610100900460ff1681565b3480156105f2575f80fd5b50610555600f5481565b348015610607575f80fd5b5061044c610616366004612e84565b611300565b348015610626575f80fd5b5061044c611388565b34801561063a575f80fd5b5061044c610649366004612e6b565b61149a565b61044c61065c366004612e9d565b6114be565b34801561066c575f80fd5b506018546104189065010000000000900460ff1681565b34801561068e575f80fd5b506104626114dd565b3480156106a2575f80fd5b5061044c6106b1366004612cd9565b611569565b3480156106c1575f80fd5b5061044c6106d0366004612e18565b611576565b3480156106e0575f80fd5b506106f46106ef366004612f1d565b61158a565b6040516104249190612f97565b34801561070c575f80fd5b506018546104189060ff1681565b348015610725575f80fd5b506018546104189062010000900460ff1681565b348015610744575f80fd5b5061048e610753366004612cd9565b611651565b348015610763575f80fd5b5060095461048e906001600160a01b031681565b61044c610785366004612fd8565b61165b565b348015610795575f80fd5b5060185461048e90600160301b90046001600160a01b031681565b3480156107bb575f80fd5b50610555600c5481565b3480156107d0575f80fd5b5061046261198d565b3480156107e4575f80fd5b5061044c6107f3366004612cd9565b61199a565b348015610803575f80fd5b50610555610812366004612e84565b611a1c565b348015610822575f80fd5b5061044c611a68565b348015610836575f80fd5b5061055560135481565b34801561084b575f80fd5b5061055561085a36600461301f565b601160209081525f928352604080842090915290825290205481565b348015610881575f80fd5b5061044c610890366004612d6a565b611a79565b3480156108a0575f80fd5b5061044c6108af366004612e6b565b611b58565b3480156108bf575f80fd5b5061044c6108ce366004612e6b565b611b80565b3480156108de575f80fd5b506108f26108ed366004612e84565b611ba2565b6040516104249190613049565b34801561090a575f80fd5b50610462611ca6565b34801561091e575f80fd5b506008546001600160a01b031661048e565b34801561093b575f80fd5b5061044c61094a366004612cd9565b611cb3565b34801561095a575f80fd5b50610462611cc0565b34801561096e575f80fd5b506108f261097d366004613080565b611ccf565b61044c610990366004612fd8565b611e4e565b3480156109a0575f80fd5b5061055560105481565b3480156109b5575f80fd5b5061044c6109c43660046130b0565b6120dd565b3480156109d4575f80fd5b50610a5e6109e3366004612e84565b6001600160a01b03165f9081525f805160206134fd83398151915260209081526040808320547f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5528352818420547f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c6289093529220549192909190565b60408051938452602084019290925290820152606001610424565b348015610a84575f80fd5b50601854610418906301000000900460ff1681565b348015610aa4575f80fd5b5061044c610ab3366004612e84565b612148565b61044c610ac63660046130d8565b612172565b348015610ad6575f80fd5b5061055560145481565b348015610aeb575f80fd5b5061044c610afa366004612e18565b6121bc565b348015610b0a575f80fd5b5061044c610b19366004612cd9565b6121d0565b348015610b29575f80fd5b50610b3d610b38366004612cd9565b6121dd565b604051610424919061314e565b348015610b55575f80fd5b5061044c610b64366004612cd9565b612262565b348015610b74575f80fd5b5061044c610b83366004612d6a565b61226f565b348015610b93575f80fd5b50610555600e5481565b348015610ba8575f80fd5b50610462610bb7366004612cd9565b6122d0565b348015610bc7575f80fd5b50610555600a5481565b348015610bdc575f80fd5b5061044c610beb366004612e6b565b61242b565b348015610bfb575f80fd5b50610418610c0a366004612e84565b60126020525f908152604090205460ff1681565b348015610c29575f80fd5b50610418610c3836600461315c565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b61044c610c73366004612cd9565b612455565b348015610c83575f80fd5b5061044c610c92366004612e84565b612644565b348015610ca2575f80fd5b50610555600b5481565b5f6301ffc9a760e01b6001600160e01b031983161480610cdc57506380ac58cd60e01b6001600160e01b03198316145b80610cf75750635b5e139f60e01b6001600160e01b03198316145b92915050565b610d05612681565b601455565b606060028054610d1990613184565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4590613184565b8015610d905780601f10610d6757610100808354040283529160200191610d90565b820191905f5260205f20905b815481529060010190602001808311610d7357829003601f168201915b5050505050905090565b5f610da4826126ae565b610dc1576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610de682611651565b9050336001600160a01b03821614610e1f57610e028133610c38565b610e1f576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b333214610ea25760405162461bcd60e51b8152600401610e99906131bc565b60405180910390fd5b60185460ff1615610ec55760405162461bcd60e51b8152600401610e99906131de565b60185462010000900460ff16610f165760405162461bcd60e51b815260206004820152601660248201527546726565204d696e742069732064697361626c65642160501b6044820152606401610e99565b335f9081526012602052604090205460ff1615610f685760405162461bcd60e51b815260206004820152601060248201526f416c726561647920636c61696d65642160801b6044820152606401610e99565b600a54610f736126e0565b610f7e906001613229565b1115610f9c5760405162461bcd60e51b8152600401610e999061323c565b600c5460011115610fef5760405162461bcd60e51b815260206004820152601d60248201527f457863656564732046726565204d696e74204e46547320737570706c790000006044820152606401610e99565b610ff8336110c5565b6110505760405162461bcd60e51b8152602060048201526024808201527f4164647265737320646f6573206e6f7420686f6c642050726573616c6520746f6044820152636b656e2160e01b6064820152608401610e99565b335f908152601260205260408120805460ff19166001908117909155600c80549192909161107f90849061326a565b9091555061109090503360016126e8565b565b61109a612681565b60176110a682826132c2565b5050565b6110b2612681565b6018805460ff1916911515919091179055565b6009546040516370a0823160e01b81526001600160a01b0383811660048301525f921690829082906370a0823190602401602060405180830381865afa158015611111573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611135919061337d565b119392505050565b5f61114782612701565b9050836001600160a01b0316816001600160a01b03161461117a5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176111c6576111a98633610c38565b6111c657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111ed57604051633a954ecd60e21b815260040160405180910390fd5b80156111f7575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361128357600184015f818152600460205260408120549003611281575f548114611281575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6112d5612681565b6018805491151563010000000263ff00000019909216919091179055565b6112fb612681565b600d55565b611308612681565b6001600160a01b0381166113595760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610e99565b601880546001600160a01b03909216600160301b026601000000000000600160d01b0319909216919091179055565b611390612681565b601854600160301b90046001600160a01b03166113ea5760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610e99565b60185460405147915f91600160301b9091046001600160a01b03169083905f6040518083038185875af1925050503d805f8114611442576040519150601f19603f3d011682016040523d82523d5f602084013e611447565b606091505b505080915050806110a65760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20556e7375636365737366756c00000000000000006044820152606401610e99565b6114a2612681565b60188054911515620100000262ff000019909216919091179055565b6114d883838360405180602001604052805f815250612172565b505050565b601780546114ea90613184565b80601f016020809104026020016040519081016040528092919081815260200182805461151690613184565b80156115615780601f1061153857610100808354040283529160200191611561565b820191905f5260205f20905b81548152906001019060200180831161154457829003601f168201915b505050505081565b611571612681565b600f55565b61157e612681565b60166110a682826132c2565b6060815f816001600160401b038111156115a6576115a6612d92565b6040519080825280602002602001820160405280156115f657816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f199092019101816115c45790505b5090505f5b8281146116485761162386868381811061161757611617613394565b905060200201356121dd565b82828151811061163557611635613394565b60209081029190910101526001016115fb565b50949350505050565b5f610cf782612701565b33321461167a5760405162461bcd60e51b8152600401610e99906131bc565b60185460ff161561169d5760405162461bcd60e51b8152600401610e99906131de565b82600c54600b54600a546116b1919061326a565b6116bb919061326a565b816116c46126e0565b6116ce9190613229565b11156116ec5760405162461bcd60e51b8152600401610e999061323c565b601054846116fa81836133a8565b3410156117195760405162461bcd60e51b8152600401610e99906133bf565b601854610100900460ff166117685760405162461bcd60e51b8152602060048201526015602482015274564950206d696e742069732064697361626c65642160581b6044820152606401610e99565b335f9081526012602052604090205460ff1615611801576001600d5461178e919061326a565b335f9081525f805160206134fd83398151915260205260409020546117b4908890613229565b11156117fc5760405162461bcd60e51b81526020600482015260176024820152765649503a204578636565647320616c6c6f77616e63652160481b6044820152606401610e99565b611872565b600d54335f9081525f805160206134fd833981519152602052604090205461182a908890613229565b11156118725760405162461bcd60e51b81526020600482015260176024820152765649503a204578636565647320616c6c6f77616e63652160481b6044820152606401610e99565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506118ea8686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601354915084905061276a565b61192b5760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610e99565b5f808052601160205287905f805160206134fd83398151915290335b6001600160a01b03166001600160a01b031681526020019081526020015f205f8282546119749190613229565b90915550611984905033886126e8565b50505050505050565b601680546114ea90613184565b6119a2612681565b600c54600b546119b06126e0565b6119ba9190613229565b6119c49190613229565b81101580156119d55750600a548111155b611a175760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21026b0bc1029bab838363c9760691b6044820152606401610e99565b600a55565b5f6001600160a01b038216611a44576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b611a70612681565b6110905f61277f565b611a81612681565b600a5481611a8d6126e0565b611a979190613229565b1115611ae55760405162461bcd60e51b815260206004820152601e60248201527f52657365727665643a204d617820537570706c792045786365656465642e00006044820152606401610e99565b600b54811115611b375760405162461bcd60e51b815260206004820152601c60248201527f45786365656473207265736572766564204e46547320737570706c79000000006044820152606401610e99565b80600b5f828254611b48919061326a565b909155506110a6905082826126e8565b611b60612681565b601880549115156401000000000264ff0000000019909216919091179055565b611b88612681565b601880549115156101000261ff0019909216919091179055565b60605f805f611bb085611a1c565b90505f816001600160401b03811115611bcb57611bcb612d92565b604051908082528060200260200182016040528015611bf4578160200160208202803683370190505b509050611c20604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614611c9a57611c33816127d0565b91508160400151611c925781516001600160a01b031615611c5357815194505b876001600160a01b0316856001600160a01b031603611c925780838780600101985081518110611c8557611c85613394565b6020026020010181815250505b600101611c23565b50909695505050505050565b601580546114ea90613184565b611cbb612681565b601055565b606060038054610d1990613184565b6060818310611cf157604051631960ccad60e11b815260040160405180910390fd5b5f80611cfb5f5490565b90506001851015611d0b57600194505b80841115611d17578093505b5f611d2187611a1c565b905084861015611d405785850381811015611d3a578091505b50611d43565b505f5b5f816001600160401b03811115611d5c57611d5c612d92565b604051908082528060200260200182016040528015611d85578160200160208202803683370190505b509050815f03611d9a579350611e4792505050565b5f611da4886121dd565b90505f8160400151611db4575080515b885b888114158015611dc65750848714155b15611e3b57611dd4816127d0565b92508260400151611e335782516001600160a01b031615611df457825191505b8a6001600160a01b0316826001600160a01b031603611e335780848880600101995081518110611e2657611e26613394565b6020026020010181815250505b600101611db6565b50505092835250909150505b9392505050565b333214611e6d5760405162461bcd60e51b8152600401610e99906131bc565b60185460ff1615611e905760405162461bcd60e51b8152600401610e99906131de565b82600c54600b54600a54611ea4919061326a565b611eae919061326a565b81611eb76126e0565b611ec19190613229565b1115611edf5760405162461bcd60e51b8152600401610e999061323c565b60105484611eed81836133a8565b341015611f0c5760405162461bcd60e51b8152600401610e99906133bf565b6018546301000000900460ff16611f655760405162461bcd60e51b815260206004820152601760248201527f4775657374206d696e742069732064697361626c6564210000000000000000006044820152606401610e99565b600e54335f9081527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5526020526040902054611fa1908890613229565b1115611fef5760405162461bcd60e51b815260206004820152601960248201527f47756573743a204578636565647320616c6c6f77616e636521000000000000006044820152606401610e99565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506120678686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601454915084905061276a565b6120a85760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610e99565b60015f908152601160205287907f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b5529033611947565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612150612681565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61217d84848461113d565b6001600160a01b0383163b156121b6576121998484848461280a565b6121b6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6121c4612681565b60156110a682826132c2565b6121d8612681565b601355565b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061223357505f548310155b1561223e5792915050565b612247836127d0565b90508060400151156122595792915050565b611e47836128f2565b61226a612681565b600e55565b612277612681565b80600c54600b54600a5461228b919061326a565b612295919061326a565b8161229e6126e0565b6122a89190613229565b11156122c65760405162461bcd60e51b8152600401610e999061323c565b6114d883836126e8565b60606122db826126ae565b6123275760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610e99565b60185465010000000000900460ff1615155f036123ce576015805461234b90613184565b80601f016020809104026020016040519081016040528092919081815260200182805461237790613184565b80156123c25780601f10612399576101008083540402835291602001916123c2565b820191905f5260205f20905b8154815290600101906020018083116123a557829003601f168201915b50505050509050919050565b5f601680546123dc90613184565b9050116123f75760405180602001604052805f815250610cf7565b601661240283612926565b60176040516020016124169392919061345b565b60405160208183030381529060405292915050565b612433612681565b60188054911515650100000000000265ff000000000019909216919091179055565b3332146124745760405162461bcd60e51b8152600401610e99906131bc565b60185460ff16156124975760405162461bcd60e51b8152600401610e99906131de565b80600c54600b54600a546124ab919061326a565b6124b5919061326a565b816124be6126e0565b6124c89190613229565b11156124e65760405162461bcd60e51b8152600401610e999061323c565b601054826124f481836133a8565b3410156125135760405162461bcd60e51b8152600401610e99906133bf565b601854640100000000900460ff1661256d5760405162461bcd60e51b815260206004820152601860248201527f5075626c6963206d696e742069732064697361626c65642100000000000000006044820152606401610e99565b600f54335f9081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c62860205260409020546125a9908690613229565b11156125f75760405162461bcd60e51b815260206004820152601a60248201527f5075626c69633a204578636565647320616c6c6f77616e6365210000000000006044820152606401610e99565b335f9081527f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c628602052604081208054869290612634908490613229565b909155506121b6905033856126e8565b61264c612681565b6001600160a01b03811661267557604051631e4fbdf760e01b81525f6004820152602401610e99565b61267e8161277f565b50565b6008546001600160a01b031633146110905760405163118cdaa760e01b8152336004820152602401610e99565b5f816001111580156126c057505f5482105b8015610cf75750505f90815260046020526040902054600160e01b161590565b5f545f190190565b6110a6828260405180602001604052805f8152506129b5565b5f8180600111612751575f54811015612751575f8181526004602052604081205490600160e01b8216900361274f575b805f03611e4757505f19015f81815260046020526040902054612731565b505b604051636f96cda160e11b815260040160405180910390fd5b5f826127768584612a1e565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610cf790612a6a565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061283e90339089908890889060040161348d565b6020604051808303815f875af1925050508015612878575060408051601f3d908101601f19168201909252612875918101906134c9565b60015b6128d4573d8080156128a5576040519150601f19603f3d011682016040523d82523d5f602084013e6128aa565b606091505b5080515f036128cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182525f808252602082018190529181018290526060810191909152610cf761292183612701565b612a6a565b60605f61293283612ab1565b60010190505f816001600160401b0381111561295057612950612d92565b6040519080825280601f01601f19166020018201604052801561297a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461298457509392505050565b6129bf8383612b88565b6001600160a01b0383163b156114d8575f548281035b6129e75f86838060010194508661280a565b612a04576040516368d2bf6b60e11b815260040160405180910390fd5b8181106129d557815f5414612a17575f80fd5b5050505050565b5f81815b8451811015612a6257612a4e82868381518110612a4157612a41613394565b6020026020010151612c80565b915080612a5a816134e4565b915050612a22565b509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612aef5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b1b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b3957662386f26fc10000830492506010015b6305f5e1008310612b51576305f5e100830492506008015b6127108310612b6557612710830492506004015b60648310612b77576064830492506002015b600a8310610cf75760010192915050565b5f805490829003612bac5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612c585780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612c22565b50815f03612c7857604051622e076360e81b815260040160405180910390fd5b5f5550505050565b5f818310612c9a575f828152602084905260409020611e47565b505f9182526020526040902090565b6001600160e01b03198116811461267e575f80fd5b5f60208284031215612cce575f80fd5b8135611e4781612ca9565b5f60208284031215612ce9575f80fd5b5035919050565b5f5b83811015612d0a578181015183820152602001612cf2565b50505f910152565b5f8151808452612d29816020860160208601612cf0565b601f01601f19169290920160200192915050565b602081525f611e476020830184612d12565b80356001600160a01b0381168114612d65575f80fd5b919050565b5f8060408385031215612d7b575f80fd5b612d8483612d4f565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b0380841115612dbf57612dbf612d92565b604051601f8501601f19908116603f01168101908282118183101715612de757612de7612d92565b81604052809350858152868686011115612dff575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612e28575f80fd5b81356001600160401b03811115612e3d575f80fd5b8201601f81018413612e4d575f80fd5b6128ea84823560208401612da6565b80358015158114612d65575f80fd5b5f60208284031215612e7b575f80fd5b611e4782612e5c565b5f60208284031215612e94575f80fd5b611e4782612d4f565b5f805f60608486031215612eaf575f80fd5b612eb884612d4f565b9250612ec660208501612d4f565b9150604084013590509250925092565b5f8083601f840112612ee6575f80fd5b5081356001600160401b03811115612efc575f80fd5b6020830191508360208260051b8501011115612f16575f80fd5b9250929050565b5f8060208385031215612f2e575f80fd5b82356001600160401b03811115612f43575f80fd5b612f4f85828601612ed6565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f9190848201906040850190845b81811015611c9a57612fc5838551612f5b565b9284019260809290920191600101612fb2565b5f805f60408486031215612fea575f80fd5b8335925060208401356001600160401b03811115613006575f80fd5b61301286828701612ed6565b9497909650939450505050565b5f8060408385031215613030575f80fd5b8235915061304060208401612d4f565b90509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611c9a57835183529284019291840191600101613064565b5f805f60608486031215613092575f80fd5b61309b84612d4f565b95602085013595506040909401359392505050565b5f80604083850312156130c1575f80fd5b6130ca83612d4f565b915061304060208401612e5c565b5f805f80608085870312156130eb575f80fd5b6130f485612d4f565b935061310260208601612d4f565b92506040850135915060608501356001600160401b03811115613123575f80fd5b8501601f81018713613133575f80fd5b61314287823560208401612da6565b91505092959194509250565b60808101610cf78284612f5b565b5f806040838503121561316d575f80fd5b61317683612d4f565b915061304060208401612d4f565b600181811c9082168061319857607f821691505b6020821081036131b657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600890820152674e6f20626f74732160c01b604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610cf757610cf7613215565b60208082526014908201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b604082015260600190565b81810381811115610cf757610cf7613215565b601f8211156114d8575f81815260208120601f850160051c810160208610156132a35750805b601f850160051c820191505b818110156112c5578281556001016132af565b81516001600160401b038111156132db576132db612d92565b6132ef816132e98454613184565b8461327d565b602080601f831160018114613322575f841561330b5750858301515b5f19600386901b1c1916600185901b1785556112c5565b5f85815260208120601f198616915b8281101561335057888601518255948401946001909101908401613331565b508582101561336d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121561338d575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b8082028115828204841417610cf757610cf7613215565b60208082526013908201527224b739bab33334b1b4b2b73a10333ab732399760691b604082015260600190565b5f81546133f881613184565b60018281168015613410576001811461342557613451565b60ff1984168752821515830287019450613451565b855f526020805f205f5b858110156134485781548a82015290840190820161342f565b50505082870194505b5050505092915050565b5f61346682866133ec565b8451613476818360208901612cf0565b613482818301866133ec565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906134bf90830184612d12565b9695505050505050565b5f602082840312156134d9575f80fd5b8151611e4781612ca9565b5f600182016134f5576134f5613215565b506001019056fe4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7a2646970667358221220878e144aa9ff296cbc7c7d1b26a0786e5f0f7929ec74bb7b01873723b0e965a364736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003010ddf8c60dde43bd38a2c379a38f7cd0494e2d
-----Decoded View---------------
Arg [0] : _contract (address): 0x3010dDf8c60DdE43bD38A2C379A38F7cd0494E2d
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003010ddf8c60dde43bd38a2c379a38f7cd0494e2d
Deployed Bytecode Sourcemap
96258:8917:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52558:639;;;;;;;;;;-1:-1:-1;52558:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;52558:639:0;;;;;;;;102658:116;;;;;;;;;;-1:-1:-1;102658:116:0;;;;;:::i;:::-;;:::i;:::-;;53460:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;59951:218::-;;;;;;;;;;-1:-1:-1;59951:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1882:32:1;;;1864:51;;1852:2;1837:18;59951:218:0;1718:203:1;59384:408:0;;;;;;:::i;:::-;;:::i;99340:604::-;;;:::i;97201:37::-;;;;;;;;;;-1:-1:-1;97201:37:0;;;;;;;;;;;102890:108;;;;;;;;;;-1:-1:-1;102890:108:0;;;;;:::i;:::-;;:::i;103748:83::-;;;;;;;;;;-1:-1:-1;103748:83:0;;;;;:::i;:::-;;:::i;104992:180::-;;;;;;;;;;-1:-1:-1;104992:180:0;;;;;:::i;:::-;;:::i;49211:323::-;;;;;;;;;;-1:-1:-1;98301:1:0;49485:12;49272:7;49469:13;:28;-1:-1:-1;;49469:46:0;49211:323;;;4275:25:1;;;4263:2;4248:18;49211:323:0;4129:177:1;63590:2825:0;;;;;;:::i;:::-;;:::i;103524:103::-;;;;;;;;;;-1:-1:-1;103524:103:0;;;;;:::i;:::-;;:::i;96526:31::-;;;;;;;;;;;;;;;;102180:108;;;;;;;;;;-1:-1:-1;102180:108:0;;;;;:::i;:::-;;:::i;97075:34::-;;;;;;;;;;-1:-1:-1;97075:34:0;;;;;;;;;;;96604;;;;;;;;;;;;;;;;103122:178;;;;;;;;;;-1:-1:-1;103122:178:0;;;;;:::i;:::-;;:::i;103984:326::-;;;;;;;;;;;;;:::i;103415:101::-;;;;;;;;;;-1:-1:-1;103415:101:0;;;;;:::i;:::-;;:::i;66511:193::-;;;;;;:::i;:::-;;:::i;97247:28::-;;;;;;;;;;-1:-1:-1;97247:28:0;;;;;;;;;;;97001:23;;;;;;;;;;;;;:::i;102416:114::-;;;;;;;;;;-1:-1:-1;102416:114:0;;;;;:::i;:::-;;:::i;102782:100::-;;;;;;;;;;-1:-1:-1;102782:100:0;;;;;:::i;:::-;;:::i;89781:528::-;;;;;;;;;;-1:-1:-1;89781:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;97037:25::-;;;;;;;;;;-1:-1:-1;97037:25:0;;;;;;;;97116:35;;;;;;;;;;-1:-1:-1;97116:35:0;;;;;;;;;;;54853:152;;;;;;;;;;-1:-1:-1;54853:152:0;;;;;:::i;:::-;;:::i;96316:30::-;;;;;;;;;;-1:-1:-1;96316:30:0;;;;-1:-1:-1;;;;;96316:30:0;;;98364:968;;;;;;:::i;:::-;;:::i;97284:24::-;;;;;;;;;;-1:-1:-1;97284:24:0;;;;-1:-1:-1;;;97284:24:0;;-1:-1:-1;;;;;97284:24:0;;;96479:38;;;;;;;;;;;;;;;;96973:21;;;;;;;;;;;;;:::i;101850:230::-;;;;;;;;;;-1:-1:-1;101850:230:0;;;;;:::i;:::-;;:::i;50395:233::-;;;;;;;;;;-1:-1:-1;50395:233:0;;;;;:::i;:::-;;:::i;33318:103::-;;;;;;;;;;;;;:::i;96865:28::-;;;;;;;;;;;;;;;;96727:75;;;;;;;;;;-1:-1:-1;96727:75:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;101205:329;;;;;;;;;;-1:-1:-1;101205:329:0;;;;;:::i;:::-;;:::i;103635:105::-;;;;;;;;;;-1:-1:-1;103635:105:0;;;;;:::i;:::-;;:::i;103308:99::-;;;;;;;;;;-1:-1:-1;103308:99:0;;;;;:::i;:::-;;:::i;93657:900::-;;;;;;;;;;-1:-1:-1;93657:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;96943:23::-;;;;;;;;;;;;;:::i;32643:87::-;;;;;;;;;;-1:-1:-1;32716:6:0;;-1:-1:-1;;;;;32716:6:0;32643:87;;102088:84;;;;;;;;;;-1:-1:-1;102088:84:0;;;;;:::i;:::-;;:::i;53636:104::-;;;;;;;;;;;;;:::i;90697:2513::-;;;;;;;;;;-1:-1:-1;90697:2513:0;;;;;:::i;:::-;;:::i;99953:712::-;;;;;;:::i;:::-;;:::i;96647:32::-;;;;;;;;;;;;;;;;60509:234;;;;;;;;;;-1:-1:-1;60509:234:0;;;;;:::i;:::-;;:::i;104762:222::-;;;;;;;;;;-1:-1:-1;104762:222:0;;;;;:::i;:::-;-1:-1:-1;;;;;104878:31:0;104832:7;104878:31;;;-1:-1:-1;;;;;;;;;;;104878:23:0;:31;;;:23;:31;;;;104911:23;:31;;;;;;104944:23;:31;;;;;;104878;;104911;;104944;104762:222;;;;;8917:25:1;;;8973:2;8958:18;;8951:34;;;;9001:18;;;8994:34;8905:2;8890:18;104762:222:0;8715:319:1;97158:36:0;;;;;;;;;;-1:-1:-1;97158:36:0;;;;;;;;;;;101732:110;;;;;;;;;;-1:-1:-1;101732:110:0;;;;;:::i;:::-;;:::i;67302:407::-;;;;;;:::i;:::-;;:::i;96900:30::-;;;;;;;;;;;;;;;;103006:108;;;;;;;;;;-1:-1:-1;103006:108:0;;;;;:::i;:::-;;:::i;102538:112::-;;;;;;;;;;-1:-1:-1;102538:112:0;;;;;:::i;:::-;;:::i;89194:428::-;;;;;;;;;;-1:-1:-1;89194:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;102296:112::-;;;;;;;;;;-1:-1:-1;102296:112:0;;;;;:::i;:::-;;:::i;101542:135::-;;;;;;;;;;-1:-1:-1;101542:135:0;;;;;:::i;:::-;;:::i;96564:33::-;;;;;;;;;;;;;;;;104365:389;;;;;;;;;;-1:-1:-1;104365:389:0;;;;;:::i;:::-;;:::i;96397:30::-;;;;;;;;;;;;;;;;103839:87;;;;;;;;;;-1:-1:-1;103839:87:0;;;;;:::i;:::-;;:::i;96809:47::-;;;;;;;;;;-1:-1:-1;96809:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;60900:164;;;;;;;;;;-1:-1:-1;60900:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;61021:25:0;;;60997:4;61021:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;60900:164;100673:524;;;;;;:::i;:::-;;:::i;33576:220::-;;;;;;;;;;-1:-1:-1;33576:220:0;;;;;:::i;:::-;;:::i;96434:38::-;;;;;;;;;;;;;;;;52558:639;52643:4;-1:-1:-1;;;;;;;;;52967:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;53044:25:0;;;52967:102;:179;;;-1:-1:-1;;;;;;;;;;53121:25:0;;;52967:179;52947:199;52558:639;-1:-1:-1;;52558:639:0:o;102658:116::-;32529:13;:11;:13::i;:::-;102737:15:::1;:29:::0;102658:116::o;53460:100::-;53514:13;53547:5;53540:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53460:100;:::o;59951:218::-;60027:7;60052:16;60060:7;60052;:16::i;:::-;60047:64;;60077:34;;-1:-1:-1;;;60077:34:0;;;;;;;;;;;60047:64;-1:-1:-1;60131:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;60131:30:0;;59951:218::o;59384:408::-;59473:13;59489:16;59497:7;59489;:16::i;:::-;59473:32;-1:-1:-1;83717:10:0;-1:-1:-1;;;;;59522:28:0;;;59518:175;;59570:44;59587:5;83717:10;60900:164;:::i;59570:44::-;59565:128;;59642:35;;-1:-1:-1;;;59642:35:0;;;;;;;;;;;59565:128;59705:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;59705:35:0;-1:-1:-1;;;;;59705:35:0;;;;;;;;;59756:28;;59705:24;;59756:28;;;;;;;59462:330;59384:408;;:::o;99340:604::-;83717:10;97736:9;97720:25;97712:46;;;;-1:-1:-1;;;97712:46:0;;;;;;;:::i;:::-;;;;;;;;;97621:6:::1;::::0;::::1;;97620:7;97612:43;;;;-1:-1:-1::0;;;97612:43:0::1;;;;;;;:::i;:::-;99431:15:::2;::::0;;;::::2;;;99423:50;;;::::0;-1:-1:-1;;;99423:50:0;;11524:2:1;99423:50:0::2;::::0;::::2;11506:21:1::0;11563:2;11543:18;;;11536:30;-1:-1:-1;;;11582:18:1;;;11575:52;11644:18;;99423:50:0::2;11322:346:1::0;99423:50:0::2;83717:10:::0;99497:29:::2;::::0;;;:15:::2;:29;::::0;;;;;::::2;;99496:30;99488:59;;;::::0;-1:-1:-1;;;99488:59:0;;11875:2:1;99488:59:0::2;::::0;::::2;11857:21:1::0;11914:2;11894:18;;;11887:30;-1:-1:-1;;;11933:18:1;;;11926:46;11989:18;;99488:59:0::2;11673:340:1::0;99488:59:0::2;99592:9;;99570:14;:12;:14::i;:::-;:18;::::0;99587:1:::2;99570:18;:::i;:::-;:31;;99562:64;;;;-1:-1:-1::0;;;99562:64:0::2;;;;;;;:::i;:::-;99654:18;;99649:1;:23;;99641:66;;;::::0;-1:-1:-1;;;99641:66:0;;12831:2:1;99641:66:0::2;::::0;::::2;12813:21:1::0;12870:2;12850:18;;;12843:30;12909:31;12889:18;;;12882:59;12958:18;;99641:66:0::2;12629:353:1::0;99641:66:0::2;99732:31;83717:10:::0;104992:180;:::i;99732:31::-:2;99724:80;;;::::0;-1:-1:-1;;;99724:80:0;;13189:2:1;99724:80:0::2;::::0;::::2;13171:21:1::0;13228:2;13208:18;;;13201:30;13267:34;13247:18;;;13240:62;-1:-1:-1;;;13318:18:1;;;13311:34;13362:19;;99724:80:0::2;12987:400:1::0;99724:80:0::2;83717:10:::0;99821:29:::2;::::0;;;:15:::2;:29;::::0;;;;:36;;-1:-1:-1;;99821:36:0::2;99853:4;99821:36:::0;;::::2;::::0;;;99872:18:::2;:23:::0;;99853:4;;99872:18;;:23:::2;::::0;99853:4;;99872:23:::2;:::i;:::-;::::0;;;-1:-1:-1;99910:26:0::2;::::0;-1:-1:-1;83717:10:0;99934:1:::2;99910:9;:26::i;:::-;99340:604::o:0;102890:108::-;32529:13;:11;:13::i;:::-;102968:9:::1;:22;102980:10:::0;102968:9;:22:::1;:::i;:::-;;102890:108:::0;:::o;103748:83::-;32529:13;:11;:13::i;:::-;103808:6:::1;:15:::0;;-1:-1:-1;;103808:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;103748:83::o;104992:180::-;105101:15;;105135:25;;-1:-1:-1;;;105135:25:0;;-1:-1:-1;;;;;1882:32:1;;;105135:25:0;;;1864:51:1;105058:4:0;;105101:15;;105058:4;;105101:15;;105135;;1837:18:1;;105135:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:29;;104992:180;-1:-1:-1;;;104992:180:0:o;63590:2825::-;63732:27;63762;63781:7;63762:18;:27::i;:::-;63732:57;;63847:4;-1:-1:-1;;;;;63806:45:0;63822:19;-1:-1:-1;;;;;63806:45:0;;63802:86;;63860:28;;-1:-1:-1;;;63860:28:0;;;;;;;;;;;63802:86;63902:27;62698:24;;;:15;:24;;;;;62926:26;;83717:10;62323:30;;;-1:-1:-1;;;;;62016:28:0;;62301:20;;;62298:56;64088:180;;64181:43;64198:4;83717:10;60900:164;:::i;64181:43::-;64176:92;;64233:35;;-1:-1:-1;;;64233:35:0;;;;;;;;;;;64176:92;-1:-1:-1;;;;;64285:16:0;;64281:52;;64310:23;;-1:-1:-1;;;64310:23:0;;;;;;;;;;;64281:52;64482:15;64479:160;;;64622:1;64601:19;64594:30;64479:160;-1:-1:-1;;;;;65019:24:0;;;;;;;:18;:24;;;;;;65017:26;;-1:-1:-1;;65017:26:0;;;65088:22;;;;;;;;;65086:24;;-1:-1:-1;65086:24:0;;;58242:11;58217:23;58213:41;58200:63;-1:-1:-1;;;58200:63:0;65381:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;65676:47:0;;:52;;65672:627;;65781:1;65771:11;;65749:19;65904:30;;;:17;:30;;;;;;:35;;65900:384;;66042:13;;66027:11;:28;66023:242;;66189:30;;;;:17;:30;;;;;:52;;;66023:242;65730:569;65672:627;66346:7;66342:2;-1:-1:-1;;;;;66327:27:0;66336:4;-1:-1:-1;;;;;66327:27:0;;;;;;;;;;;66365:42;63721:2694;;;63590:2825;;;:::o;103524:103::-;32529:13;:11;:13::i;:::-;103594:16:::1;:25:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;103594:25:0;;::::1;::::0;;;::::1;::::0;;103524:103::o;102180:108::-;32529:13;:11;:13::i;:::-;102255:12:::1;:25:::0;102180:108::o;103122:178::-;32529:13;:11;:13::i;:::-;-1:-1:-1;;;;;103202:26:0;::::1;103194:63;;;::::0;-1:-1:-1;;;103194:63:0;;16120:2:1;103194:63:0::1;::::0;::::1;16102:21:1::0;16159:2;16139:18;;;16132:30;-1:-1:-1;;;16178:18:1;;;16171:54;16242:18;;103194:63:0::1;15918:348:1::0;103194:63:0::1;103268:9;:24:::0;;-1:-1:-1;;;;;103268:24:0;;::::1;-1:-1:-1::0;;;103268:24:0::1;-1:-1:-1::0;;;;;;103268:24:0;;::::1;::::0;;;::::1;::::0;;103122:178::o;103984:326::-;32529:13;:11;:13::i;:::-;104050:9:::1;::::0;-1:-1:-1;;;104050:9:0;::::1;-1:-1:-1::0;;;;;104050:9:0::1;104042:60;;;::::0;-1:-1:-1;;;104042:60:0;;16120:2:1;104042:60:0::1;::::0;::::1;16102:21:1::0;16159:2;16139:18;;;16132:30;-1:-1:-1;;;16178:18:1;;;16171:54;16242:18;;104042:60:0::1;15918:348:1::0;104042:60:0::1;104210:9;::::0;104202:43:::1;::::0;104133:21:::1;::::0;104115:15:::1;::::0;-1:-1:-1;;;104210:9:0;;::::1;-1:-1:-1::0;;;;;104210:9:0::1;::::0;104133:21;;104202:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104188:57;;;;;104264:7;104256:44;;;::::0;-1:-1:-1;;;104256:44:0;;16683:2:1;104256:44:0::1;::::0;::::1;16665:21:1::0;16722:2;16702:18;;;16695:30;16761:26;16741:18;;;16734:54;16805:18;;104256:44:0::1;16481:348:1::0;103415:101:0;32529:13;:11;:13::i;:::-;103484:15:::1;:24:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;103484:24:0;;::::1;::::0;;;::::1;::::0;;103415:101::o;66511:193::-;66657:39;66674:4;66680:2;66684:7;66657:39;;;;;;;;;;;;:16;:39::i;:::-;66511:193;;;:::o;97001:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;102416:114::-;32529:13;:11;:13::i;:::-;102494:15:::1;:28:::0;102416:114::o;102782:100::-;32529:13;:11;:13::i;:::-;102856:7:::1;:18;102866:8:::0;102856:7;:18:::1;:::i;89781:528::-:0;89925:23;90016:8;89991:22;90016:8;-1:-1:-1;;;;;90083:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90083:36:0;;-1:-1:-1;;90083:36:0;;;;;;;;;;;;90046:73;;90139:9;90134:125;90155:14;90150:1;:19;90134:125;;90211:32;90231:8;;90240:1;90231:11;;;;;;;:::i;:::-;;;;;;;90211:19;:32::i;:::-;90195:10;90206:1;90195:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;90171:3;;90134:125;;;-1:-1:-1;90280:10:0;89781:528;-1:-1:-1;;;;89781:528:0:o;54853:152::-;54925:7;54968:27;54987:7;54968:18;:27::i;98364:968::-;83717:10;97736:9;97720:25;97712:46;;;;-1:-1:-1;;;97712:46:0;;;;;;;:::i;:::-;97621:6:::1;::::0;::::1;;97620:7;97612:43;;;;-1:-1:-1::0;;;97612:43:0::1;;;;;;;:::i;:::-;98483:8:::2;98087:18;;98066;;98054:9;;:30;;;;:::i;:::-;:51;;;;:::i;:::-;98042:8;98025:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:80;;98017:113;;;;-1:-1:-1::0;;;98017:113:0::2;;;;;;;:::i;:::-;98522:5:::3;::::0;98529:8;97888:24:::3;98529:8:::0;98522:5;97888:24:::3;:::i;:::-;97875:9;:37;;97867:69;;;;-1:-1:-1::0;;;97867:69:0::3;;;;;;;:::i;:::-;98572:14:::4;::::0;::::4;::::0;::::4;;;98564:48;;;::::0;-1:-1:-1;;;98564:48:0;;17689:2:1;98564:48:0::4;::::0;::::4;17671:21:1::0;17728:2;17708:18;;;17701:30;-1:-1:-1;;;17747:18:1;;;17740:51;17808:18;;98564:48:0::4;17487:345:1::0;98564:48:0::4;83717:10:::0;98632:29:::4;::::0;;;:15:::4;:29;::::0;;;;;::::4;;98629:416;;;98777:1;98762:12;;:16;;;;:::i;:::-;83717:10:::0;98710:23:::4;:37:::0;;;-1:-1:-1;;;;;;;;;;;98710:23:0::4;:37:::0;;;;;:48:::4;::::0;98750:8;;98710:48:::4;:::i;:::-;:68;;98680:166;;;::::0;-1:-1:-1;;;98680:166:0;;18039:2:1;98680:166:0::4;::::0;::::4;18021:21:1::0;18078:2;18058:18;;;18051:30;-1:-1:-1;;;18097:18:1;;;18090:53;18160:18;;98680:166:0::4;17837:347:1::0;98680:166:0::4;98629:416;;;98965:12;::::0;83717:10;98913:23:::4;:37:::0;;;-1:-1:-1;;;;;;;;;;;98913:23:0::4;:37:::0;;;;;:48:::4;::::0;98953:8;;98913:48:::4;:::i;:::-;:64;;98883:162;;;::::0;-1:-1:-1;;;98883:162:0;;18039:2:1;98883:162:0::4;::::0;::::4;18021:21:1::0;18078:2;18058:18;;;18051:30;-1:-1:-1;;;18097:18:1;;;18090:53;18160:18;;98883:162:0::4;17837:347:1::0;98883:162:0::4;99087:30;::::0;-1:-1:-1;;83717:10:0;18338:2:1;18334:15;18330:53;99087:30:0::4;::::0;::::4;18318:66:1::0;99062:12:0::4;::::0;18400::1;;99087:30:0::4;;;;;;;;;;;;99077:41;;;;;;99062:56;;99141:46;99160:5;;99141:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;::::0;;;;-1:-1:-1;;99167:13:0::4;::::0;;-1:-1:-1;99182:4:0;;-1:-1:-1;99141:18:0::4;:46::i;:::-;99133:77;;;::::0;-1:-1:-1;;;99133:77:0;;18625:2:1;99133:77:0::4;::::0;::::4;18607:21:1::0;18664:2;18644:18;;;18637:30;-1:-1:-1;;;18683:18:1;;;18676:48;18741:18;;99133:77:0::4;18423:342:1::0;99133:77:0::4;99227:23;::::0;;;:20:::4;:23;::::0;99268:8;;-1:-1:-1;;;;;;;;;;;99227:23:0;83717:10;99251:12:::4;-1:-1:-1::0;;;;;99227:37:0::4;-1:-1:-1::0;;;;;99227:37:0::4;;;;;;;;;;;;;:49;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;99291:33:0::4;::::0;-1:-1:-1;83717:10:0;99315:8:::4;99291:9;:33::i;:::-;98539:793;98141:1:::3;;97666::::2;98364:968:::0;;;:::o;96973:21::-;;;;;;;:::i;101850:230::-;32529:13;:11;:13::i;:::-;101976:18:::1;;101955;;101938:14;:12;:14::i;:::-;:35;;;;:::i;:::-;:56;;;;:::i;:::-;101927:7;:67;;:91;;;;;102009:9;;101998:7;:20;;101927:91;101919:123;;;::::0;-1:-1:-1;;;101919:123:0;;18972:2:1;101919:123:0::1;::::0;::::1;18954:21:1::0;19011:2;18991:18;;;18984:30;-1:-1:-1;;;19030:18:1;;;19023:49;19089:18;;101919:123:0::1;18770:343:1::0;101919:123:0::1;102053:9;:19:::0;101850:230::o;50395:233::-;50467:7;-1:-1:-1;;;;;50491:19:0;;50487:60;;50519:28;;-1:-1:-1;;;50519:28:0;;;;;;;;;;;50487:60;-1:-1:-1;;;;;;50565:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;50565:55:0;;50395:233::o;33318:103::-;32529:13;:11;:13::i;:::-;33383:30:::1;33410:1;33383:18;:30::i;101205:329::-:0;32529:13;:11;:13::i;:::-;101324:9:::1;;101312:8;101295:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:38;;101287:81;;;::::0;-1:-1:-1;;;101287:81:0;;19320:2:1;101287:81:0::1;::::0;::::1;19302:21:1::0;19359:2;19339:18;;;19332:30;19398:32;19378:18;;;19371:60;19448:18;;101287:81:0::1;19118:354:1::0;101287:81:0::1;101399:18;;101387:8;:30;;101379:72;;;::::0;-1:-1:-1;;;101379:72:0;;19679:2:1;101379:72:0::1;::::0;::::1;19661:21:1::0;19718:2;19698:18;;;19691:30;19757;19737:18;;;19730:58;19805:18;;101379:72:0::1;19477:352:1::0;101379:72:0::1;101484:8;101462:18;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;101503:23:0::1;::::0;-1:-1:-1;101513:2:0;101517:8;101503:9:::1;:23::i;103635:105::-:0;32529:13;:11;:13::i;:::-;103706:17:::1;:26:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;103706:26:0;;::::1;::::0;;;::::1;::::0;;103635:105::o;103308:99::-;32529:13;:11;:13::i;:::-;103376:14:::1;:23:::0;;;::::1;;;;-1:-1:-1::0;;103376:23:0;;::::1;::::0;;;::::1;::::0;;103308:99::o;93657:900::-;93735:16;93789:19;93823:25;93863:22;93888:16;93898:5;93888:9;:16::i;:::-;93863:41;;93919:25;93961:14;-1:-1:-1;;;;;93947:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93947:29:0;;93919:57;;93991:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93991:31:0;98301:1;94037:472;94086:14;94071:11;:29;94037:472;;94138:15;94151:1;94138:12;:15::i;:::-;94126:27;;94176:9;:16;;;94217:8;94172:73;94267:14;;-1:-1:-1;;;;;94267:28:0;;94263:111;;94340:14;;;-1:-1:-1;94263:111:0;94417:5;-1:-1:-1;;;;;94396:26:0;:17;-1:-1:-1;;;;;94396:26:0;;94392:102;;94473:1;94447:8;94456:13;;;;;;94447:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;94392:102;94102:3;;94037:472;;;-1:-1:-1;94530:8:0;;93657:900;-1:-1:-1;;;;;;93657:900:0:o;96943:23::-;;;;;;;:::i;102088:84::-;32529:13;:11;:13::i;:::-;102150:5:::1;:14:::0;102088:84::o;53636:104::-;53692:13;53725:7;53718:14;;;;;:::i;90697:2513::-;90840:16;90907:4;90898:5;:13;90894:45;;90920:19;;-1:-1:-1;;;90920:19:0;;;;;;;;;;;90894:45;90954:19;90988:17;91008:14;48953:7;48980:13;;48898:103;91008:14;90988:34;-1:-1:-1;98301:1:0;91100:5;:23;91096:87;;;98301:1;91144:23;;91096:87;91259:9;91252:4;:16;91248:73;;;91296:9;91289:16;;91248:73;91335:25;91363:16;91373:5;91363:9;:16::i;:::-;91335:44;;91557:4;91549:5;:12;91545:278;;;91604:12;;;91639:31;;;91635:111;;;91715:11;91695:31;;91635:111;91563:198;91545:278;;;-1:-1:-1;91806:1:0;91545:278;91837:25;91879:17;-1:-1:-1;;;;;91865:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91865:32:0;;91837:60;;91916:17;91937:1;91916:22;91912:78;;91966:8;-1:-1:-1;91959:15:0;;-1:-1:-1;;;91959:15:0;91912:78;92134:31;92168:26;92188:5;92168:19;:26::i;:::-;92134:60;;92209:25;92454:9;:16;;;92449:92;;-1:-1:-1;92511:14:0;;92449:92;92572:5;92555:478;92584:4;92579:1;:9;;:45;;;;;92607:17;92592:11;:32;;92579:45;92555:478;;;92662:15;92675:1;92662:12;:15::i;:::-;92650:27;;92700:9;:16;;;92741:8;92696:73;92791:14;;-1:-1:-1;;;;;92791:28:0;;92787:111;;92864:14;;;-1:-1:-1;92787:111:0;92941:5;-1:-1:-1;;;;;92920:26:0;:17;-1:-1:-1;;;;;92920:26:0;;92916:102;;92997:1;92971:8;92980:13;;;;;;92971:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;92916:102;92626:3;;92555:478;;;-1:-1:-1;;;93118:29:0;;;-1:-1:-1;93125:8:0;;-1:-1:-1;;90697:2513:0;;;;;;:::o;99953:712::-;83717:10;97736:9;97720:25;97712:46;;;;-1:-1:-1;;;97712:46:0;;;;;;;:::i;:::-;97621:6:::1;::::0;::::1;;97620:7;97612:43;;;;-1:-1:-1::0;;;97612:43:0::1;;;;;;;:::i;:::-;100074:8:::2;98087:18;;98066;;98054:9;;:30;;;;:::i;:::-;:51;;;;:::i;:::-;98042:8;98025:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:80;;98017:113;;;;-1:-1:-1::0;;;98017:113:0::2;;;;;;;:::i;:::-;100113:5:::3;::::0;100120:8;97888:24:::3;100120:8:::0;100113:5;97888:24:::3;:::i;:::-;97875:9;:37;;97867:69;;;;-1:-1:-1::0;;;97867:69:0::3;;;;;;;:::i;:::-;100163:16:::4;::::0;;;::::4;;;100155:52;;;::::0;-1:-1:-1;;;100155:52:0;;20036:2:1;100155:52:0::4;::::0;::::4;20018:21:1::0;20075:2;20055:18;;;20048:30;20114:25;20094:18;;;20087:53;20157:18;;100155:52:0::4;19834:347:1::0;100155:52:0::4;100300:14;::::0;83717:10;100248:23:::4;:37:::0;;;:23;::::4;:37:::0;;;;;:48:::4;::::0;100288:8;;100248:48:::4;:::i;:::-;:66;;100222:154;;;::::0;-1:-1:-1;;;100222:154:0;;20388:2:1;100222:154:0::4;::::0;::::4;20370:21:1::0;20427:2;20407:18;;;20400:30;20466:27;20446:18;;;20439:55;20511:18;;100222:154:0::4;20186:349:1::0;100222:154:0::4;100418:30;::::0;-1:-1:-1;;83717:10:0;18338:2:1;18334:15;18330:53;100418:30:0::4;::::0;::::4;18318:66:1::0;100393:12:0::4;::::0;18400::1;;100418:30:0::4;;;;;;;;;;;;100408:41;;;;;;100393:56;;100472:48;100491:5;;100472:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;::::0;;;;-1:-1:-1;;100498:15:0::4;::::0;;-1:-1:-1;100515:4:0;;-1:-1:-1;100472:18:0::4;:48::i;:::-;100464:79;;;::::0;-1:-1:-1;;;100464:79:0;;18625:2:1;100464:79:0::4;::::0;::::4;18607:21:1::0;18664:2;18644:18;;;18637:30;-1:-1:-1;;;18683:18:1;;;18676:48;18741:18;;100464:79:0::4;18423:342:1::0;100464:79:0::4;100581:1;100560:23;::::0;;;:20:::4;:23;::::0;100601:8;;100560:23;;83717:10;100584:12:::4;83630:105:::0;60509:234;83717:10;60604:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;60604:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;60604:60:0;;;;;;;;;;60680:55;;540:41:1;;;60604:49:0;;83717:10;60680:55;;513:18:1;60680:55:0;;;;;;;60509:234;;:::o;101732:110::-;32529:13;:11;:13::i;:::-;101807:15:::1;:27:::0;;-1:-1:-1;;;;;;101807:27:0::1;-1:-1:-1::0;;;;;101807:27:0;;;::::1;::::0;;;::::1;::::0;;101732:110::o;67302:407::-;67477:31;67490:4;67496:2;67500:7;67477:12;:31::i;:::-;-1:-1:-1;;;;;67523:14:0;;;:19;67519:183;;67562:56;67593:4;67599:2;67603:7;67612:5;67562:30;:56::i;:::-;67557:145;;67646:40;;-1:-1:-1;;;67646:40:0;;;;;;;;;;;67557:145;67302:407;;;;:::o;103006:108::-;32529:13;:11;:13::i;:::-;103084:9:::1;:22;103096:10:::0;103084:9;:22:::1;:::i;102538:112::-:0;32529:13;:11;:13::i;:::-;102615::::1;:27:::0;102538:112::o;89194:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98301:1:0;89358:7;:25;:54;;;-1:-1:-1;48953:7:0;48980:13;89387:7;:25;;89358:54;89354:103;;;89436:9;89194:428;-1:-1:-1;;89194:428:0:o;89354:103::-;89479:21;89492:7;89479:12;:21::i;:::-;89467:33;;89515:9;:16;;;89511:65;;;89555:9;89194:428;-1:-1:-1;;89194:428:0:o;89511:65::-;89593:21;89606:7;89593:12;:21::i;102296:112::-;32529:13;:11;:13::i;:::-;102373:14:::1;:27:::0;102296:112::o;101542:135::-;32529:13;:11;:13::i;:::-;101625:8:::1;98087:18;;98066;;98054:9;;:30;;;;:::i;:::-;:51;;;;:::i;:::-;98042:8;98025:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:80;;98017:113;;;;-1:-1:-1::0;;;98017:113:0::1;;;;;;;:::i;:::-;101646:23:::2;101656:2;101660:8;101646:9;:23::i;104365:389::-:0;104459:13;104493:17;104501:8;104493:7;:17::i;:::-;104485:61;;;;-1:-1:-1;;;104485:61:0;;20742:2:1;104485:61:0;;;20724:21:1;20781:2;20761:18;;;20754:30;20820:33;20800:18;;;20793:61;20871:18;;104485:61:0;20540:355:1;104485:61:0;104563:8;;;;;;;:17;;104575:5;104563:17;104559:66;;104604:9;104597:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104365:389;;;:::o;104559:66::-;104668:1;104650:7;104644:21;;;;;:::i;:::-;;;:25;:98;;;;;;;;;;;;;;;;;104696:7;104705:19;:8;:17;:19::i;:::-;104726:9;104679:57;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;104637:105;104365:389;-1:-1:-1;;104365:389:0:o;103839:87::-;32529:13;:11;:13::i;:::-;103901:8:::1;:17:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;103901:17:0;;::::1;::::0;;;::::1;::::0;;103839:87::o;100673:524::-;83717:10;97736:9;97720:25;97712:46;;;;-1:-1:-1;;;97712:46:0;;;;;;;:::i;:::-;97621:6:::1;::::0;::::1;;97620:7;97612:43;;;;-1:-1:-1::0;;;97612:43:0::1;;;;;;;:::i;:::-;100769:8:::2;98087:18;;98066;;98054:9;;:30;;;;:::i;:::-;:51;;;;:::i;:::-;98042:8;98025:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:80;;98017:113;;;;-1:-1:-1::0;;;98017:113:0::2;;;;;;;:::i;:::-;100808:5:::3;::::0;100815:8;97888:24:::3;100815:8:::0;100808:5;97888:24:::3;:::i;:::-;97875:9;:37;;97867:69;;;;-1:-1:-1::0;;;97867:69:0::3;;;;;;;:::i;:::-;100858:17:::4;::::0;;;::::4;;;100850:54;;;::::0;-1:-1:-1;;;100850:54:0;;22303:2:1;100850:54:0::4;::::0;::::4;22285:21:1::0;22342:2;22322:18;;;22315:30;22381:26;22361:18;;;22354:54;22425:18;;100850:54:0::4;22101:348:1::0;100850:54:0::4;100997:15;::::0;83717:10;100945:23:::4;:37:::0;;;:23;::::4;:37:::0;;;;;:48:::4;::::0;100985:8;;100945:48:::4;:::i;:::-;:67;;100919:156;;;::::0;-1:-1:-1;;;100919:156:0;;22656:2:1;100919:156:0::4;::::0;::::4;22638:21:1::0;22695:2;22675:18;;;22668:30;22734:28;22714:18;;;22707:56;22780:18;;100919:156:0::4;22454:350:1::0;100919:156:0::4;83717:10:::0;101092:23:::4;:37:::0;;;:23;::::4;:37:::0;;;;:49;;101133:8;;101092:23;:49:::4;::::0;101133:8;;101092:49:::4;:::i;:::-;::::0;;;-1:-1:-1;101156:33:0::4;::::0;-1:-1:-1;83717:10:0;101180:8:::4;101156:9;:33::i;33576:220::-:0;32529:13;:11;:13::i;:::-;-1:-1:-1;;;;;33661:22:0;::::1;33657:93;;33707:31;::::0;-1:-1:-1;;;33707:31:0;;33735:1:::1;33707:31;::::0;::::1;1864:51:1::0;1837:18;;33707:31:0::1;1718:203:1::0;33657:93:0::1;33760:28;33779:8;33760:18;:28::i;:::-;33576:220:::0;:::o;32808:166::-;32716:6;;-1:-1:-1;;;;;32716:6:0;83717:10;32868:23;32864:103;;32915:40;;-1:-1:-1;;;32915:40:0;;83717:10;32915:40;;;1864:51:1;1837:18;;32915:40:0;1718:203:1;61322:282:0;61387:4;61443:7;98301:1;61424:26;;:66;;;;;61477:13;;61467:7;:23;61424:66;:153;;;;-1:-1:-1;;61528:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;61528:44:0;:49;;61322:282::o;49632:296::-;49687:7;49878:13;-1:-1:-1;;49878:31:0;;49632:296::o;77462:112::-;77539:27;77549:2;77553:8;77539:27;;;;;;;;;;;;:9;:27::i;56008:1275::-;56075:7;56110;;98301:1;56159:23;56155:1061;;56212:13;;56205:4;:20;56201:1015;;;56250:14;56267:23;;;:17;:23;;;;;;;-1:-1:-1;;;56356:24:0;;:29;;56352:845;;57021:113;57028:6;57038:1;57028:11;57021:113;;-1:-1:-1;;;57099:6:0;57081:25;;;;:17;:25;;;;;;57021:113;;56352:845;56227:989;56201:1015;57244:31;;-1:-1:-1;;;57244:31:0;;;;;;;;;;;21366:156;21457:4;21510;21481:25;21494:5;21501:4;21481:12;:25::i;:::-;:33;;21366:156;-1:-1:-1;;;;21366:156:0:o;33956:191::-;34049:6;;;-1:-1:-1;;;;;34066:17:0;;;-1:-1:-1;;;;;;34066:17:0;;;;;;;34099:40;;34049:6;;;34066:17;34049:6;;34099:40;;34030:16;;34099:40;34019:128;33956:191;:::o;55456:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55584:24:0;;;;:17;:24;;;;;;55565:44;;:18;:44::i;69793:716::-;69977:88;;-1:-1:-1;;;69977:88:0;;69956:4;;-1:-1:-1;;;;;69977:45:0;;;;;:88;;83717:10;;70044:4;;70050:7;;70059:5;;69977:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69977:88:0;;;;;;;;-1:-1:-1;;69977:88:0;;;;;;;;;;;;:::i;:::-;;;69973:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70260:6;:13;70277:1;70260:18;70256:235;;70306:40;;-1:-1:-1;;;70306:40:0;;;;;;;;;;;70256:235;70449:6;70443:13;70434:6;70430:2;70426:15;70419:38;69973:529;-1:-1:-1;;;;;;70136:64:0;-1:-1:-1;;;70136:64:0;;-1:-1:-1;69973:529:0;69793:716;;;;;;:::o;55194:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55305:47:0;55324:27;55343:7;55324:18;:27::i;:::-;55305:18;:47::i;17495:718::-;17551:13;17602:14;17619:17;17630:5;17619:10;:17::i;:::-;17639:1;17619:21;17602:38;;17655:20;17689:6;-1:-1:-1;;;;;17678:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17678:18:0;-1:-1:-1;17655:41:0;-1:-1:-1;17820:28:0;;;17836:2;17820:28;17877:290;-1:-1:-1;;17909:5:0;-1:-1:-1;;;18046:2:0;18035:14;;18030:32;17909:5;18017:46;18109:2;18100:11;;;-1:-1:-1;18130:21:0;17877:290;18130:21;-1:-1:-1;18188:6:0;17495:718;-1:-1:-1;;;17495:718:0:o;76689:689::-;76820:19;76826:2;76830:8;76820:5;:19::i;:::-;-1:-1:-1;;;;;76881:14:0;;;:19;76877:483;;76921:11;76935:13;76983:14;;;77016:233;77047:62;77086:1;77090:2;77094:7;;;;;;77103:5;77047:30;:62::i;:::-;77042:167;;77145:40;;-1:-1:-1;;;77145:40:0;;;;;;;;;;;77042:167;77244:3;77236:5;:11;77016:233;;77331:3;77314:13;;:20;77310:34;;77336:8;;;77310:34;76902:458;;76689:689;;;:::o;22085:296::-;22168:7;22211:4;22168:7;22226:118;22250:5;:12;22246:1;:16;22226:118;;;22299:33;22309:12;22323:5;22329:1;22323:8;;;;;;;;:::i;:::-;;;;;;;22299:9;:33::i;:::-;22284:48;-1:-1:-1;22264:3:0;;;;:::i;:::-;;;;22226:118;;;-1:-1:-1;22361:12:0;22085:296;-1:-1:-1;;;22085:296:0:o;57382:366::-;-1:-1:-1;;;;;;;;;;;;;57492:41:0;;;;45213:3;57578:33;;;-1:-1:-1;;;;;57544:68:0;-1:-1:-1;;;57544:68:0;-1:-1:-1;;;57642:24:0;;:29;;-1:-1:-1;;;57623:48:0;;;;45734:3;57711:28;;;;-1:-1:-1;;;57682:58:0;-1:-1:-1;57382:366:0:o;13899:948::-;13952:7;;-1:-1:-1;;;14030:17:0;;14026:106;;-1:-1:-1;;;14068:17:0;;;-1:-1:-1;14114:2:0;14104:12;14026:106;14159:8;14150:5;:17;14146:106;;14197:8;14188:17;;;-1:-1:-1;14234:2:0;14224:12;14146:106;14279:8;14270:5;:17;14266:106;;14317:8;14308:17;;;-1:-1:-1;14354:2:0;14344:12;14266:106;14399:7;14390:5;:16;14386:103;;14436:7;14427:16;;;-1:-1:-1;14472:1:0;14462:11;14386:103;14516:7;14507:5;:16;14503:103;;14553:7;14544:16;;;-1:-1:-1;14589:1:0;14579:11;14503:103;14633:7;14624:5;:16;14620:103;;14670:7;14661:16;;;-1:-1:-1;14706:1:0;14696:11;14620:103;14750:7;14741:5;:16;14737:68;;14788:1;14778:11;14833:6;13899:948;-1:-1:-1;;13899:948:0:o;70971:2966::-;71044:20;71067:13;;;71095;;;71091:44;;71117:18;;-1:-1:-1;;;71117:18:0;;;;;;;;;;;71091:44;-1:-1:-1;;;;;71623:22:0;;;;;;:18;:22;;;;44692:2;71623:22;;;:71;;71661:32;71649:45;;71623:71;;;71937:31;;;:17;:31;;;;;-1:-1:-1;58673:15:0;;58647:24;58643:46;58242:11;58217:23;58213:41;58210:52;58200:63;;71937:173;;72172:23;;;;71937:31;;71623:22;;72937:25;71623:22;;72790:335;73451:1;73437:12;73433:20;73391:346;73492:3;73483:7;73480:16;73391:346;;73710:7;73700:8;73697:1;73670:25;73667:1;73664;73659:59;73545:1;73532:15;73391:346;;;73395:77;73770:8;73782:1;73770:13;73766:45;;73792:19;;-1:-1:-1;;;73792:19:0;;;;;;;;;;;73766:45;73828:13;:19;-1:-1:-1;66511:193:0;;;:::o;29515:149::-;29578:7;29609:1;29605;:5;:51;;29857:13;29951:15;;;29987:4;29980:15;;;30034:4;30018:21;;29605:51;;;-1:-1:-1;29857:13:0;29951:15;;;29987:4;29980:15;30034:4;30018:21;;;29515:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:1;;592:180;-1:-1:-1;592:180:1:o;777:250::-;862:1;872:113;886:6;883:1;880:13;872:113;;;962:11;;;956:18;943:11;;;936:39;908:2;901:10;872:113;;;-1:-1:-1;;1019:1:1;1001:16;;994:27;777:250::o;1032:271::-;1074:3;1112:5;1106:12;1139:6;1134:3;1127:19;1155:76;1224:6;1217:4;1212:3;1208:14;1201:4;1194:5;1190:16;1155:76;:::i;:::-;1285:2;1264:15;-1:-1:-1;;1260:29:1;1251:39;;;;1292:4;1247:50;;1032:271;-1:-1:-1;;1032:271:1:o;1308:220::-;1457:2;1446:9;1439:21;1420:4;1477:45;1518:2;1507:9;1503:18;1495:6;1477:45;:::i;1926:173::-;1994:20;;-1:-1:-1;;;;;2043:31:1;;2033:42;;2023:70;;2089:1;2086;2079:12;2023:70;1926:173;;;:::o;2104:254::-;2172:6;2180;2233:2;2221:9;2212:7;2208:23;2204:32;2201:52;;;2249:1;2246;2239:12;2201:52;2272:29;2291:9;2272:29;:::i;:::-;2262:39;2348:2;2333:18;;;;2320:32;;-1:-1:-1;;;2104:254:1:o;2363:127::-;2424:10;2419:3;2415:20;2412:1;2405:31;2455:4;2452:1;2445:15;2479:4;2476:1;2469:15;2495:632;2560:5;-1:-1:-1;;;;;2631:2:1;2623:6;2620:14;2617:40;;;2637:18;;:::i;:::-;2712:2;2706:9;2680:2;2766:15;;-1:-1:-1;;2762:24:1;;;2788:2;2758:33;2754:42;2742:55;;;2812:18;;;2832:22;;;2809:46;2806:72;;;2858:18;;:::i;:::-;2898:10;2894:2;2887:22;2927:6;2918:15;;2957:6;2949;2942:22;2997:3;2988:6;2983:3;2979:16;2976:25;2973:45;;;3014:1;3011;3004:12;2973:45;3064:6;3059:3;3052:4;3044:6;3040:17;3027:44;3119:1;3112:4;3103:6;3095;3091:19;3087:30;3080:41;;;;2495:632;;;;;:::o;3132:451::-;3201:6;3254:2;3242:9;3233:7;3229:23;3225:32;3222:52;;;3270:1;3267;3260:12;3222:52;3310:9;3297:23;-1:-1:-1;;;;;3335:6:1;3332:30;3329:50;;;3375:1;3372;3365:12;3329:50;3398:22;;3451:4;3443:13;;3439:27;-1:-1:-1;3429:55:1;;3480:1;3477;3470:12;3429:55;3503:74;3569:7;3564:2;3551:16;3546:2;3542;3538:11;3503:74;:::i;3588:160::-;3653:20;;3709:13;;3702:21;3692:32;;3682:60;;3738:1;3735;3728:12;3753:180;3809:6;3862:2;3850:9;3841:7;3837:23;3833:32;3830:52;;;3878:1;3875;3868:12;3830:52;3901:26;3917:9;3901:26;:::i;3938:186::-;3997:6;4050:2;4038:9;4029:7;4025:23;4021:32;4018:52;;;4066:1;4063;4056:12;4018:52;4089:29;4108:9;4089:29;:::i;4311:328::-;4388:6;4396;4404;4457:2;4445:9;4436:7;4432:23;4428:32;4425:52;;;4473:1;4470;4463:12;4425:52;4496:29;4515:9;4496:29;:::i;:::-;4486:39;;4544:38;4578:2;4567:9;4563:18;4544:38;:::i;:::-;4534:48;;4629:2;4618:9;4614:18;4601:32;4591:42;;4311:328;;;;;:::o;4644:367::-;4707:8;4717:6;4771:3;4764:4;4756:6;4752:17;4748:27;4738:55;;4789:1;4786;4779:12;4738:55;-1:-1:-1;4812:20:1;;-1:-1:-1;;;;;4844:30:1;;4841:50;;;4887:1;4884;4877:12;4841:50;4924:4;4916:6;4912:17;4900:29;;4984:3;4977:4;4967:6;4964:1;4960:14;4952:6;4948:27;4944:38;4941:47;4938:67;;;5001:1;4998;4991:12;4938:67;4644:367;;;;;:::o;5016:437::-;5102:6;5110;5163:2;5151:9;5142:7;5138:23;5134:32;5131:52;;;5179:1;5176;5169:12;5131:52;5219:9;5206:23;-1:-1:-1;;;;;5244:6:1;5241:30;5238:50;;;5284:1;5281;5274:12;5238:50;5323:70;5385:7;5376:6;5365:9;5361:22;5323:70;:::i;:::-;5412:8;;5297:96;;-1:-1:-1;5016:437:1;-1:-1:-1;;;;5016:437:1:o;5458:349::-;5542:12;;-1:-1:-1;;;;;5538:38:1;5526:51;;5630:4;5619:16;;;5613:23;-1:-1:-1;;;;;5609:48:1;5593:14;;;5586:72;5721:4;5710:16;;;5704:23;5697:31;5690:39;5674:14;;;5667:63;5783:4;5772:16;;;5766:23;5791:8;5762:38;5746:14;;5739:62;5458:349::o;5812:724::-;6047:2;6099:21;;;6169:13;;6072:18;;;6191:22;;;6018:4;;6047:2;6270:15;;;;6244:2;6229:18;;;6018:4;6313:197;6327:6;6324:1;6321:13;6313:197;;;6376:52;6424:3;6415:6;6409:13;6376:52;:::i;:::-;6485:15;;;;6457:4;6448:14;;;;;6349:1;6342:9;6313:197;;6541:505;6636:6;6644;6652;6705:2;6693:9;6684:7;6680:23;6676:32;6673:52;;;6721:1;6718;6711:12;6673:52;6757:9;6744:23;6734:33;;6818:2;6807:9;6803:18;6790:32;-1:-1:-1;;;;;6837:6:1;6834:30;6831:50;;;6877:1;6874;6867:12;6831:50;6916:70;6978:7;6969:6;6958:9;6954:22;6916:70;:::i;:::-;6541:505;;7005:8;;-1:-1:-1;6890:96:1;;-1:-1:-1;;;;6541:505:1:o;7233:254::-;7301:6;7309;7362:2;7350:9;7341:7;7337:23;7333:32;7330:52;;;7378:1;7375;7368:12;7330:52;7414:9;7401:23;7391:33;;7443:38;7477:2;7466:9;7462:18;7443:38;:::i;:::-;7433:48;;7233:254;;;;;:::o;7492:632::-;7663:2;7715:21;;;7785:13;;7688:18;;;7807:22;;;7634:4;;7663:2;7886:15;;;;7860:2;7845:18;;;7634:4;7929:169;7943:6;7940:1;7937:13;7929:169;;;8004:13;;7992:26;;8073:15;;;;8038:12;;;;7965:1;7958:9;7929:169;;8129:322;8206:6;8214;8222;8275:2;8263:9;8254:7;8250:23;8246:32;8243:52;;;8291:1;8288;8281:12;8243:52;8314:29;8333:9;8314:29;:::i;:::-;8304:39;8390:2;8375:18;;8362:32;;-1:-1:-1;8441:2:1;8426:18;;;8413:32;;8129:322;-1:-1:-1;;;8129:322:1:o;8456:254::-;8521:6;8529;8582:2;8570:9;8561:7;8557:23;8553:32;8550:52;;;8598:1;8595;8588:12;8550:52;8621:29;8640:9;8621:29;:::i;:::-;8611:39;;8669:35;8700:2;8689:9;8685:18;8669:35;:::i;9039:667::-;9134:6;9142;9150;9158;9211:3;9199:9;9190:7;9186:23;9182:33;9179:53;;;9228:1;9225;9218:12;9179:53;9251:29;9270:9;9251:29;:::i;:::-;9241:39;;9299:38;9333:2;9322:9;9318:18;9299:38;:::i;:::-;9289:48;;9384:2;9373:9;9369:18;9356:32;9346:42;;9439:2;9428:9;9424:18;9411:32;-1:-1:-1;;;;;9458:6:1;9455:30;9452:50;;;9498:1;9495;9488:12;9452:50;9521:22;;9574:4;9566:13;;9562:27;-1:-1:-1;9552:55:1;;9603:1;9600;9593:12;9552:55;9626:74;9692:7;9687:2;9674:16;9669:2;9665;9661:11;9626:74;:::i;:::-;9616:84;;;9039:667;;;;;;;:::o;9711:268::-;9909:3;9894:19;;9922:51;9898:9;9955:6;9922:51;:::i;9984:260::-;10052:6;10060;10113:2;10101:9;10092:7;10088:23;10084:32;10081:52;;;10129:1;10126;10119:12;10081:52;10152:29;10171:9;10152:29;:::i;:::-;10142:39;;10200:38;10234:2;10223:9;10219:18;10200:38;:::i;10249:380::-;10328:1;10324:12;;;;10371;;;10392:61;;10446:4;10438:6;10434:17;10424:27;;10392:61;10499:2;10491:6;10488:14;10468:18;10465:38;10462:161;;10545:10;10540:3;10536:20;10533:1;10526:31;10580:4;10577:1;10570:15;10608:4;10605:1;10598:15;10462:161;;10249:380;;;:::o;10634:331::-;10836:2;10818:21;;;10875:1;10855:18;;;10848:29;-1:-1:-1;;;10908:2:1;10893:18;;10886:38;10956:2;10941:18;;10634:331::o;10970:347::-;11172:2;11154:21;;;11211:2;11191:18;;;11184:30;11250:25;11245:2;11230:18;;11223:53;11308:2;11293:18;;10970:347::o;12018:127::-;12079:10;12074:3;12070:20;12067:1;12060:31;12110:4;12107:1;12100:15;12134:4;12131:1;12124:15;12150:125;12215:9;;;12236:10;;;12233:36;;;12249:18;;:::i;12280:344::-;12482:2;12464:21;;;12521:2;12501:18;;;12494:30;-1:-1:-1;;;12555:2:1;12540:18;;12533:50;12615:2;12600:18;;12280:344::o;13392:128::-;13459:9;;;13480:11;;;13477:37;;;13494:18;;:::i;13651:545::-;13753:2;13748:3;13745:11;13742:448;;;13789:1;13814:5;13810:2;13803:17;13859:4;13855:2;13845:19;13929:2;13917:10;13913:19;13910:1;13906:27;13900:4;13896:38;13965:4;13953:10;13950:20;13947:47;;;-1:-1:-1;13988:4:1;13947:47;14043:2;14038:3;14034:12;14031:1;14027:20;14021:4;14017:31;14007:41;;14098:82;14116:2;14109:5;14106:13;14098:82;;;14161:17;;;14142:1;14131:13;14098:82;;14372:1352;14498:3;14492:10;-1:-1:-1;;;;;14517:6:1;14514:30;14511:56;;;14547:18;;:::i;:::-;14576:97;14666:6;14626:38;14658:4;14652:11;14626:38;:::i;:::-;14620:4;14576:97;:::i;:::-;14728:4;;14792:2;14781:14;;14809:1;14804:663;;;;15511:1;15528:6;15525:89;;;-1:-1:-1;15580:19:1;;;15574:26;15525:89;-1:-1:-1;;14329:1:1;14325:11;;;14321:24;14317:29;14307:40;14353:1;14349:11;;;14304:57;15627:81;;14774:944;;14804:663;13598:1;13591:14;;;13635:4;13622:18;;-1:-1:-1;;14840:20:1;;;14958:236;14972:7;14969:1;14966:14;14958:236;;;15061:19;;;15055:26;15040:42;;15153:27;;;;15121:1;15109:14;;;;14988:19;;14958:236;;;14962:3;15222:6;15213:7;15210:19;15207:201;;;15283:19;;;15277:26;-1:-1:-1;;15366:1:1;15362:14;;;15378:3;15358:24;15354:37;15350:42;15335:58;15320:74;;15207:201;-1:-1:-1;;;;;15454:1:1;15438:14;;;15434:22;15421:36;;-1:-1:-1;14372:1352:1:o;15729:184::-;15799:6;15852:2;15840:9;15831:7;15827:23;15823:32;15820:52;;;15868:1;15865;15858:12;15820:52;-1:-1:-1;15891:16:1;;15729:184;-1:-1:-1;15729:184:1:o;16834:127::-;16895:10;16890:3;16886:20;16883:1;16876:31;16926:4;16923:1;16916:15;16950:4;16947:1;16940:15;16966:168;17039:9;;;17070;;17087:15;;;17081:22;;17067:37;17057:71;;17108:18;;:::i;17139:343::-;17341:2;17323:21;;;17380:2;17360:18;;;17353:30;-1:-1:-1;;;17414:2:1;17399:18;;17392:49;17473:2;17458:18;;17139:343::o;20900:722::-;20950:3;20991:5;20985:12;21020:36;21046:9;21020:36;:::i;:::-;21075:1;21092:18;;;21119:133;;;;21266:1;21261:355;;;;21085:531;;21119:133;-1:-1:-1;;21152:24:1;;21140:37;;21225:14;;21218:22;21206:35;;21197:45;;;-1:-1:-1;21119:133:1;;21261:355;21292:5;21289:1;21282:16;21321:4;21366:2;21363:1;21353:16;21391:1;21405:165;21419:6;21416:1;21413:13;21405:165;;;21497:14;;21484:11;;;21477:35;21540:16;;;;21434:10;;21405:165;;;21409:3;;;21599:6;21594:3;21590:16;21583:23;;21085:531;;;;;20900:722;;;;:::o;21627:469::-;21848:3;21876:38;21910:3;21902:6;21876:38;:::i;:::-;21943:6;21937:13;21959:65;22017:6;22013:2;22006:4;21998:6;21994:17;21959:65;:::i;:::-;22040:50;22082:6;22078:2;22074:15;22066:6;22040:50;:::i;:::-;22033:57;21627:469;-1:-1:-1;;;;;;;21627:469:1:o;22809:489::-;-1:-1:-1;;;;;23078:15:1;;;23060:34;;23130:15;;23125:2;23110:18;;23103:43;23177:2;23162:18;;23155:34;;;23225:3;23220:2;23205:18;;23198:31;;;23003:4;;23246:46;;23272:19;;23264:6;23246:46;:::i;:::-;23238:54;22809:489;-1:-1:-1;;;;;;22809:489:1:o;23303:249::-;23372:6;23425:2;23413:9;23404:7;23400:23;23396:32;23393:52;;;23441:1;23438;23431:12;23393:52;23473:9;23467:16;23492:30;23516:5;23492:30;:::i;23689:135::-;23728:3;23749:17;;;23746:43;;23769:18;;:::i;:::-;-1:-1:-1;23816:1:1;23805:13;;23689:135::o
Swarm Source
ipfs://878e144aa9ff296cbc7c7d1b26a0786e5f0f7929ec74bb7b01873723b0e965a3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.