ERC-721
Overview
Max Total Supply
547 BCN
Holders
113
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 BCNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BulletsClub
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-01 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/StorageSlot.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } } // File: @openzeppelin/contracts/utils/Arrays.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { using StorageSlot for bytes32; /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (unsafeAccess(array, mid).value > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && unsafeAccess(array, low - 1).value == element) { return low - 1; } else { return low; } } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getAddressSlot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getBytes32Slot(); } /** * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check. * * WARNING: Only use if you are certain `pos` is lower than the array length. */ function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) { bytes32 slot; /// @solidity memory-safe-assembly assembly { mstore(0, arr.slot) slot := add(keccak256(0, 0x20), pos) } return slot.getUint256Slot(); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: 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/BulletsClub.sol pragma solidity >=0.8.13 <0.9.0; contract BulletsClub is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; // ================== Variables Start ======================= string public uri; string public uriSuffix = ".json"; uint256 public pricePublic = 0.125 ether; uint256 public maxSupply = 1326; uint256 public maxMintAmountPerTx = 5; uint256 public maxLimitPerWallet = 1326; bool public publicMinting = false; mapping (address => uint256) public addressBalance; // ================== Variables End ======================= // ================== Constructor Start ======================= constructor( string memory _uri ) ERC721A("Bullets Club NFT", "BCN") { seturi(_uri); } // ================== Constructor End ======================= // ================== Modifiers Start ======================= // ================== Modifiers End ======================== // ================== Mint Functions Start ======================= function CollectReserves(uint256 amount) public onlyOwner nonReentrant { require(totalSupply() + amount <= maxSupply, 'Max Supply Exceeded.'); _safeMint(msg.sender, amount); } function Mint(uint256 _mintAmount) public payable nonReentrant { uint256 supply = totalSupply(); // Normal requirements require(publicMinting, 'Public sale not active!'); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(supply + _mintAmount <= maxSupply, 'Max supply exceeded!'); require(msg.value >= pricePublic * _mintAmount, 'Insufficient funds!'); require(addressBalance[msg.sender] < maxLimitPerWallet, 'Too many NFTs minted to wallet.'); addressBalance[msg.sender] += _mintAmount; // Mint _safeMint(_msgSender(), _mintAmount); } function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _safeMint(_receiver, _mintAmount); } // ================== Mint Functions End ======================= // ================== Set Functions Start ======================= // uri function seturi(string memory _uri) public onlyOwner { uri = _uri; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } // max per tx function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } // max per wallet function setMaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner { maxLimitPerWallet = _maxLimitPerWallet; } // price function setCostPublic(uint256 _cost) public onlyOwner { pricePublic = _cost; } // supply limit function setSupplyLimit(uint256 _supplyLimit) public onlyOwner { maxSupply = _supplyLimit; } // set mintingallowed function setPublicMinting(bool setActive) public onlyOwner { publicMinting = setActive; } // ================== Set Functions End ======================= // ================== Withdraw Function Start ======================= function withdraw() public onlyOwner { uint256 _balance = address(this).balance; require(_balance > 0); _withdraw(owner(), address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } // ================== Withdraw Function End======================= // ================== Read Functions Start ======================= function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _nextTokenId(); uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } function _startTokenId() internal view virtual override returns (uint256) { return 0; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function _baseURI() internal view virtual override returns (string memory) { return uri; } // ================== Read Functions End ======================= }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CollectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressBalance","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"pricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_cost","type":"uint256"}],"name":"setCostPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setMaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"setActive","type":"bool"}],"name":"setPublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setSupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","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":[],"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":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b9080519060200190620000519291906200036d565b506701bc16d674ec8000600c5561052e600d556005600e5561052e600f556000601060006101000a81548160ff0219169083151502179055503480156200009757600080fd5b5060405162003eda38038062003eda8339818101604052810190620000bd9190620005ba565b6040518060400160405280601081526020017f42756c6c65747320436c7562204e4654000000000000000000000000000000008152506040518060400160405280600381526020017f42434e00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001419291906200036d565b5080600390805190602001906200015a9291906200036d565b506200016b620001b360201b60201c565b60008190555050506200019362000187620001b860201b60201c565b620001c060201b60201c565b6001600981905550620001ac816200028660201b60201c565b50620006f2565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000296620002b260201b60201c565b80600a9080519060200190620002ae9291906200036d565b5050565b620002c2620001b860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002e86200034360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000338906200066c565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200037b90620006bd565b90600052602060002090601f0160209004810192826200039f5760008555620003eb565b82601f10620003ba57805160ff1916838001178555620003eb565b82800160010185558215620003eb579182015b82811115620003ea578251825591602001919060010190620003cd565b5b509050620003fa9190620003fe565b5090565b5b8082111562000419576000816000905550600101620003ff565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000486826200043b565b810181811067ffffffffffffffff82111715620004a857620004a76200044c565b5b80604052505050565b6000620004bd6200041d565b9050620004cb82826200047b565b919050565b600067ffffffffffffffff821115620004ee57620004ed6200044c565b5b620004f9826200043b565b9050602081019050919050565b60005b838110156200052657808201518184015260208101905062000509565b8381111562000536576000848401525b50505050565b6000620005536200054d84620004d0565b620004b1565b90508281526020810184848401111562000572576200057162000436565b5b6200057f84828562000506565b509392505050565b600082601f8301126200059f576200059e62000431565b5b8151620005b18482602086016200053c565b91505092915050565b600060208284031215620005d357620005d262000427565b5b600082015167ffffffffffffffff811115620005f457620005f36200042c565b5b620006028482850162000587565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006546020836200060b565b915062000661826200061c565b602082019050919050565b60006020820190508181036000830152620006878162000645565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d657607f821691505b602082108103620006ec57620006eb6200068e565b5b50919050565b6137d880620007026000396000f3fe60806040526004361061021a5760003560e01c80635a0b8b2311610123578063a22cb465116100ab578063e985e9c51161006f578063e985e9c51461077a578063eac989f8146107b7578063ed42eaf3146107e2578063f2fde38b1461080b578063f6484980146108345761021a565b8063a22cb465146106a4578063b071401b146106cd578063b88d4fde146106f6578063c87b56dd14610712578063d5abeb011461074f5761021a565b80637871e154116100f25780637871e154146105bd5780638462151c146105e65780638da5cb5b1461062357806394354fd01461064e57806395d89b41146106795761021a565b80635a0b8b23146105015780636352211e1461052c57806370a0823114610569578063715018a6146105a65761021a565b8063254a4737116101a65780633ec4de35116101755780633ec4de35146104295780633fa101351461046657806342842e0e1461048f57806353ac010a146104ab5780635503a0e8146104d65761021a565b8063254a4737146103975780632f9a7c58146103c0578063361fab25146103e95780633ccfd60b146104125761021a565b8063095ea7b3116101ed578063095ea7b3146102e0578063102e766d146102fc57806316ba10e01461032757806318160ddd1461035057806323b872dd1461037b5761021a565b806301ffc9a71461021f57806306fdde031461025c5780630788370314610287578063081812fc146102a3575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061275d565b61085d565b60405161025391906127a5565b60405180910390f35b34801561026857600080fd5b506102716108ef565b60405161027e9190612859565b60405180910390f35b6102a1600480360381019061029c91906128b1565b610981565b005b3480156102af57600080fd5b506102ca60048036038101906102c591906128b1565b610bcb565b6040516102d7919061291f565b60405180910390f35b6102fa60048036038101906102f59190612966565b610c4a565b005b34801561030857600080fd5b50610311610d8e565b60405161031e91906129b5565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190612b05565b610d94565b005b34801561035c57600080fd5b50610365610db6565b60405161037291906129b5565b60405180910390f35b61039560048036038101906103909190612b4e565b610dcd565b005b3480156103a357600080fd5b506103be60048036038101906103b99190612bcd565b6110ef565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906128b1565b611114565b005b3480156103f557600080fd5b50610410600480360381019061040b91906128b1565b611126565b005b34801561041e57600080fd5b50610427611138565b005b34801561043557600080fd5b50610450600480360381019061044b9190612bfa565b611166565b60405161045d91906129b5565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906128b1565b61117e565b005b6104a960048036038101906104a49190612b4e565b611190565b005b3480156104b757600080fd5b506104c06111b0565b6040516104cd91906127a5565b60405180910390f35b3480156104e257600080fd5b506104eb6111c3565b6040516104f89190612859565b60405180910390f35b34801561050d57600080fd5b50610516611251565b60405161052391906129b5565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906128b1565b611257565b604051610560919061291f565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612bfa565b611269565b60405161059d91906129b5565b60405180910390f35b3480156105b257600080fd5b506105bb611321565b005b3480156105c957600080fd5b506105e460048036038101906105df9190612c27565b611335565b005b3480156105f257600080fd5b5061060d60048036038101906106089190612bfa565b6113a2565b60405161061a9190612d25565b60405180910390f35b34801561062f57600080fd5b506106386114e6565b604051610645919061291f565b60405180910390f35b34801561065a57600080fd5b50610663611510565b60405161067091906129b5565b60405180910390f35b34801561068557600080fd5b5061068e611516565b60405161069b9190612859565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190612d47565b6115a8565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906128b1565b6116b3565b005b610710600480360381019061070b9190612e28565b6116c5565b005b34801561071e57600080fd5b50610739600480360381019061073491906128b1565b611738565b6040516107469190612859565b60405180910390f35b34801561075b57600080fd5b506107646117e2565b60405161077191906129b5565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190612eab565b6117e8565b6040516107ae91906127a5565b60405180910390f35b3480156107c357600080fd5b506107cc61187c565b6040516107d99190612859565b60405180910390f35b3480156107ee57600080fd5b50610809600480360381019061080491906128b1565b61190a565b005b34801561081757600080fd5b50610832600480360381019061082d9190612bfa565b611986565b005b34801561084057600080fd5b5061085b60048036038101906108569190612b05565b611a09565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546108fe90612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90612f1a565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b610989611a2b565b6000610993610db6565b9050601060009054906101000a900460ff166109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612f97565b60405180910390fd5b6000821180156109f65750600e548211155b610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90613003565b60405180910390fd5b600d548282610a449190613052565b1115610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906130f4565b60405180910390fd5b81600c54610a939190613114565b341015610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc906131ba565b60405180910390fd5b600f54601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f90613226565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ba79190613052565b92505081905550610bbf610bb9611a7a565b83611a82565b50610bc8611aa0565b50565b6000610bd682611aaa565b610c0c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5582611257565b90508073ffffffffffffffffffffffffffffffffffffffff16610c76611b09565b73ffffffffffffffffffffffffffffffffffffffff1614610cd957610ca281610c9d611b09565b6117e8565b610cd8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610d9c611b11565b80600b9080519060200190610db29291906125ff565b5050565b6000610dc0611b8f565b6001546000540303905090565b6000610dd882611b94565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e3f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e4b84611c60565b91509150610e618187610e5c611b09565b611c87565b610ead57610e7686610e71611b09565b6117e8565b610eac576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f13576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f208686866001611ccb565b8015610f2b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ff985610fd5888887611cd1565b7c020000000000000000000000000000000000000000000000000000000017611cf9565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361107f576000600185019050600060046000838152602001908152602001600020540361107d57600054811461107c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110e78686866001611d24565b505050505050565b6110f7611b11565b80601060006101000a81548160ff02191690831515021790555050565b61111c611b11565b80600c8190555050565b61112e611b11565b80600d8190555050565b611140611b11565b60004790506000811161115257600080fd5b61116361115d6114e6565b47611d2a565b50565b60116020528060005260406000206000915090505481565b611186611b11565b80600f8190555050565b6111ab838383604051806020016040528060008152506116c5565b505050565b601060009054906101000a900460ff1681565b600b80546111d090612f1a565b80601f01602080910402602001604051908101604052809291908181526020018280546111fc90612f1a565b80156112495780601f1061121e57610100808354040283529160200191611249565b820191906000526020600020905b81548152906001019060200180831161122c57829003601f168201915b505050505081565b600f5481565b600061126282611b94565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112d0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611329611b11565b6113336000611ddb565b565b61133d611b11565b600d5482611349610db6565b6113539190613052565b1115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906130f4565b60405180910390fd5b61139e8183611a82565b5050565b606060006113af83611269565b67ffffffffffffffff8111156113c8576113c76129da565b5b6040519080825280602002602001820160405280156113f65781602001602082028036833780820191505090505b5090506000611403611ea1565b905060008060005b838110156114d957600061141e82611eaa565b905080604001511561143057506114cc565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461147057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ca57818685806001019650815181106114bd576114bc613246565b5b6020026020010181815250505b505b808060010191505061140b565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b60606003805461152590612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461155190612f1a565b801561159e5780601f106115735761010080835404028352916020019161159e565b820191906000526020600020905b81548152906001019060200180831161158157829003601f168201915b5050505050905090565b80600760006115b5611b09565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611662611b09565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116a791906127a5565b60405180910390a35050565b6116bb611b11565b80600e8190555050565b6116d0848484610dcd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611732576116fb84848484611ed5565b611731576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061174382611aaa565b611782576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611779906132e7565b60405180910390fd5b600061178c612025565b905060008151116117ac57604051806020016040528060008152506117da565b806117b6846120b7565b600b6040516020016117ca939291906133d7565b6040516020818303038152906040525b915050919050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a805461188990612f1a565b80601f01602080910402602001604051908101604052809291908181526020018280546118b590612f1a565b80156119025780601f106118d757610100808354040283529160200191611902565b820191906000526020600020905b8154815290600101906020018083116118e557829003601f168201915b505050505081565b611912611b11565b61191a611a2b565b600d5481611926610db6565b6119309190613052565b1115611971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196890613454565b60405180910390fd5b61197b3382611a82565b611983611aa0565b50565b61198e611b11565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f4906134e6565b60405180910390fd5b611a0681611ddb565b50565b611a11611b11565b80600a9080519060200190611a279291906125ff565b5050565b600260095403611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613552565b60405180910390fd5b6002600981905550565b600033905090565b611a9c828260405180602001604052806000815250612185565b5050565b6001600981905550565b600081611ab5611b8f565b11158015611ac4575060005482105b8015611b02575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611b19611a7a565b73ffffffffffffffffffffffffffffffffffffffff16611b376114e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b84906135be565b60405180910390fd5b565b600090565b60008082905080611ba3611b8f565b11611c2957600054811015611c285760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c26575b60008103611c1c576004600083600190039350838152602001908152602001600020549050611bf2565b8092505050611c5b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ce8868684612222565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d509061360f565b60006040518083038185875af1925050503d8060008114611d8d576040519150601f19603f3d011682016040523d82523d6000602084013e611d92565b606091505b5050905080611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcd90613670565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b611eb2612685565b611ece600460008481526020019081526020016000205461222b565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611efb611b09565b8786866040518563ffffffff1660e01b8152600401611f1d94939291906136e5565b6020604051808303816000875af1925050508015611f5957506040513d601f19601f82011682018060405250810190611f569190613746565b60015b611fd2573d8060008114611f89576040519150601f19603f3d011682016040523d82523d6000602084013e611f8e565b606091505b506000815103611fca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461203490612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461206090612f1a565b80156120ad5780601f10612082576101008083540402835291602001916120ad565b820191906000526020600020905b81548152906001019060200180831161209057829003601f168201915b5050505050905090565b6060600060016120c6846122e1565b01905060008167ffffffffffffffff8111156120e5576120e46129da565b5b6040519080825280601f01601f1916602001820160405280156121175781602001600182028036833780820191505090505b509050600082602001820190505b60011561217a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161216e5761216d613773565b5b04945060008503612125575b819350505050919050565b61218f8383612434565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461221d57600080549050600083820390505b6121cf6000868380600101945086611ed5565b612205576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121bc57816000541461221a57600080fd5b50505b505050565b60009392505050565b612233612685565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061233f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161233557612334613773565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061237c576d04ee2d6d415b85acef8100000000838161237257612371613773565b5b0492506020810190505b662386f26fc1000083106123ab57662386f26fc1000083816123a1576123a0613773565b5b0492506010810190505b6305f5e10083106123d4576305f5e10083816123ca576123c9613773565b5b0492506008810190505b61271083106123f95761271083816123ef576123ee613773565b5b0492506004810190505b6064831061241c576064838161241257612411613773565b5b0492506002810190505b600a831061242b576001810190505b80915050919050565b60008054905060008203612474576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124816000848385611ccb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124f8836124e96000866000611cd1565b6124f2856125ef565b17611cf9565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461259957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061255e565b50600082036125d4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125ea6000848385611d24565b505050565b60006001821460e11b9050919050565b82805461260b90612f1a565b90600052602060002090601f01602090048101928261262d5760008555612674565b82601f1061264657805160ff1916838001178555612674565b82800160010185558215612674579182015b82811115612673578251825591602001919060010190612658565b5b50905061268191906126d4565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156126ed5760008160009055506001016126d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61273a81612705565b811461274557600080fd5b50565b60008135905061275781612731565b92915050565b600060208284031215612773576127726126fb565b5b600061278184828501612748565b91505092915050565b60008115159050919050565b61279f8161278a565b82525050565b60006020820190506127ba6000830184612796565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127fa5780820151818401526020810190506127df565b83811115612809576000848401525b50505050565b6000601f19601f8301169050919050565b600061282b826127c0565b61283581856127cb565b93506128458185602086016127dc565b61284e8161280f565b840191505092915050565b600060208201905081810360008301526128738184612820565b905092915050565b6000819050919050565b61288e8161287b565b811461289957600080fd5b50565b6000813590506128ab81612885565b92915050565b6000602082840312156128c7576128c66126fb565b5b60006128d58482850161289c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612909826128de565b9050919050565b612919816128fe565b82525050565b60006020820190506129346000830184612910565b92915050565b612943816128fe565b811461294e57600080fd5b50565b6000813590506129608161293a565b92915050565b6000806040838503121561297d5761297c6126fb565b5b600061298b85828601612951565b925050602061299c8582860161289c565b9150509250929050565b6129af8161287b565b82525050565b60006020820190506129ca60008301846129a6565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a128261280f565b810181811067ffffffffffffffff82111715612a3157612a306129da565b5b80604052505050565b6000612a446126f1565b9050612a508282612a09565b919050565b600067ffffffffffffffff821115612a7057612a6f6129da565b5b612a798261280f565b9050602081019050919050565b82818337600083830152505050565b6000612aa8612aa384612a55565b612a3a565b905082815260208101848484011115612ac457612ac36129d5565b5b612acf848285612a86565b509392505050565b600082601f830112612aec57612aeb6129d0565b5b8135612afc848260208601612a95565b91505092915050565b600060208284031215612b1b57612b1a6126fb565b5b600082013567ffffffffffffffff811115612b3957612b38612700565b5b612b4584828501612ad7565b91505092915050565b600080600060608486031215612b6757612b666126fb565b5b6000612b7586828701612951565b9350506020612b8686828701612951565b9250506040612b978682870161289c565b9150509250925092565b612baa8161278a565b8114612bb557600080fd5b50565b600081359050612bc781612ba1565b92915050565b600060208284031215612be357612be26126fb565b5b6000612bf184828501612bb8565b91505092915050565b600060208284031215612c1057612c0f6126fb565b5b6000612c1e84828501612951565b91505092915050565b60008060408385031215612c3e57612c3d6126fb565b5b6000612c4c8582860161289c565b9250506020612c5d85828601612951565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c9c8161287b565b82525050565b6000612cae8383612c93565b60208301905092915050565b6000602082019050919050565b6000612cd282612c67565b612cdc8185612c72565b9350612ce783612c83565b8060005b83811015612d18578151612cff8882612ca2565b9750612d0a83612cba565b925050600181019050612ceb565b5085935050505092915050565b60006020820190508181036000830152612d3f8184612cc7565b905092915050565b60008060408385031215612d5e57612d5d6126fb565b5b6000612d6c85828601612951565b9250506020612d7d85828601612bb8565b9150509250929050565b600067ffffffffffffffff821115612da257612da16129da565b5b612dab8261280f565b9050602081019050919050565b6000612dcb612dc684612d87565b612a3a565b905082815260208101848484011115612de757612de66129d5565b5b612df2848285612a86565b509392505050565b600082601f830112612e0f57612e0e6129d0565b5b8135612e1f848260208601612db8565b91505092915050565b60008060008060808587031215612e4257612e416126fb565b5b6000612e5087828801612951565b9450506020612e6187828801612951565b9350506040612e728782880161289c565b925050606085013567ffffffffffffffff811115612e9357612e92612700565b5b612e9f87828801612dfa565b91505092959194509250565b60008060408385031215612ec257612ec16126fb565b5b6000612ed085828601612951565b9250506020612ee185828601612951565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f3257607f821691505b602082108103612f4557612f44612eeb565b5b50919050565b7f5075626c69632073616c65206e6f742061637469766521000000000000000000600082015250565b6000612f816017836127cb565b9150612f8c82612f4b565b602082019050919050565b60006020820190508181036000830152612fb081612f74565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000612fed6014836127cb565b9150612ff882612fb7565b602082019050919050565b6000602082019050818103600083015261301c81612fe0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061305d8261287b565b91506130688361287b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561309d5761309c613023565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006130de6014836127cb565b91506130e9826130a8565b602082019050919050565b6000602082019050818103600083015261310d816130d1565b9050919050565b600061311f8261287b565b915061312a8361287b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561316357613162613023565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006131a46013836127cb565b91506131af8261316e565b602082019050919050565b600060208201905081810360008301526131d381613197565b9050919050565b7f546f6f206d616e79204e465473206d696e74656420746f2077616c6c65742e00600082015250565b6000613210601f836127cb565b915061321b826131da565b602082019050919050565b6000602082019050818103600083015261323f81613203565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006132d1602f836127cb565b91506132dc82613275565b604082019050919050565b60006020820190508181036000830152613300816132c4565b9050919050565b600081905092915050565b600061331d826127c0565b6133278185613307565b93506133378185602086016127dc565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461336581612f1a565b61336f8186613307565b9450600182166000811461338a576001811461339b576133ce565b60ff198316865281860193506133ce565b6133a485613343565b60005b838110156133c6578154818901526001820191506020810190506133a7565b838801955050505b50505092915050565b60006133e38286613312565b91506133ef8285613312565b91506133fb8284613358565b9150819050949350505050565b7f4d617820537570706c792045786365656465642e000000000000000000000000600082015250565b600061343e6014836127cb565b915061344982613408565b602082019050919050565b6000602082019050818103600083015261346d81613431565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134d06026836127cb565b91506134db82613474565b604082019050919050565b600060208201905081810360008301526134ff816134c3565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061353c601f836127cb565b915061354782613506565b602082019050919050565b6000602082019050818103600083015261356b8161352f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135a86020836127cb565b91506135b382613572565b602082019050919050565b600060208201905081810360008301526135d78161359b565b9050919050565b600081905092915050565b50565b60006135f96000836135de565b9150613604826135e9565b600082019050919050565b600061361a826135ec565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061365a6010836127cb565b915061366582613624565b602082019050919050565b600060208201905081810360008301526136898161364d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006136b782613690565b6136c1818561369b565b93506136d18185602086016127dc565b6136da8161280f565b840191505092915050565b60006080820190506136fa6000830187612910565b6137076020830186612910565b61371460408301856129a6565b818103606083015261372681846136ac565b905095945050505050565b60008151905061374081612731565b92915050565b60006020828403121561375c5761375b6126fb565b5b600061376a84828501613731565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122023510a8b71c1fd84e093c736b1dbff9e657901a6c84f914b02dbb35adc2cb7b664736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577a594331474d5747344459556465485032734c35523254645859775542676169654d43334c7367794432692f00000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80635a0b8b2311610123578063a22cb465116100ab578063e985e9c51161006f578063e985e9c51461077a578063eac989f8146107b7578063ed42eaf3146107e2578063f2fde38b1461080b578063f6484980146108345761021a565b8063a22cb465146106a4578063b071401b146106cd578063b88d4fde146106f6578063c87b56dd14610712578063d5abeb011461074f5761021a565b80637871e154116100f25780637871e154146105bd5780638462151c146105e65780638da5cb5b1461062357806394354fd01461064e57806395d89b41146106795761021a565b80635a0b8b23146105015780636352211e1461052c57806370a0823114610569578063715018a6146105a65761021a565b8063254a4737116101a65780633ec4de35116101755780633ec4de35146104295780633fa101351461046657806342842e0e1461048f57806353ac010a146104ab5780635503a0e8146104d65761021a565b8063254a4737146103975780632f9a7c58146103c0578063361fab25146103e95780633ccfd60b146104125761021a565b8063095ea7b3116101ed578063095ea7b3146102e0578063102e766d146102fc57806316ba10e01461032757806318160ddd1461035057806323b872dd1461037b5761021a565b806301ffc9a71461021f57806306fdde031461025c5780630788370314610287578063081812fc146102a3575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061275d565b61085d565b60405161025391906127a5565b60405180910390f35b34801561026857600080fd5b506102716108ef565b60405161027e9190612859565b60405180910390f35b6102a1600480360381019061029c91906128b1565b610981565b005b3480156102af57600080fd5b506102ca60048036038101906102c591906128b1565b610bcb565b6040516102d7919061291f565b60405180910390f35b6102fa60048036038101906102f59190612966565b610c4a565b005b34801561030857600080fd5b50610311610d8e565b60405161031e91906129b5565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190612b05565b610d94565b005b34801561035c57600080fd5b50610365610db6565b60405161037291906129b5565b60405180910390f35b61039560048036038101906103909190612b4e565b610dcd565b005b3480156103a357600080fd5b506103be60048036038101906103b99190612bcd565b6110ef565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906128b1565b611114565b005b3480156103f557600080fd5b50610410600480360381019061040b91906128b1565b611126565b005b34801561041e57600080fd5b50610427611138565b005b34801561043557600080fd5b50610450600480360381019061044b9190612bfa565b611166565b60405161045d91906129b5565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906128b1565b61117e565b005b6104a960048036038101906104a49190612b4e565b611190565b005b3480156104b757600080fd5b506104c06111b0565b6040516104cd91906127a5565b60405180910390f35b3480156104e257600080fd5b506104eb6111c3565b6040516104f89190612859565b60405180910390f35b34801561050d57600080fd5b50610516611251565b60405161052391906129b5565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e91906128b1565b611257565b604051610560919061291f565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612bfa565b611269565b60405161059d91906129b5565b60405180910390f35b3480156105b257600080fd5b506105bb611321565b005b3480156105c957600080fd5b506105e460048036038101906105df9190612c27565b611335565b005b3480156105f257600080fd5b5061060d60048036038101906106089190612bfa565b6113a2565b60405161061a9190612d25565b60405180910390f35b34801561062f57600080fd5b506106386114e6565b604051610645919061291f565b60405180910390f35b34801561065a57600080fd5b50610663611510565b60405161067091906129b5565b60405180910390f35b34801561068557600080fd5b5061068e611516565b60405161069b9190612859565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190612d47565b6115a8565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906128b1565b6116b3565b005b610710600480360381019061070b9190612e28565b6116c5565b005b34801561071e57600080fd5b50610739600480360381019061073491906128b1565b611738565b6040516107469190612859565b60405180910390f35b34801561075b57600080fd5b506107646117e2565b60405161077191906129b5565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190612eab565b6117e8565b6040516107ae91906127a5565b60405180910390f35b3480156107c357600080fd5b506107cc61187c565b6040516107d99190612859565b60405180910390f35b3480156107ee57600080fd5b50610809600480360381019061080491906128b1565b61190a565b005b34801561081757600080fd5b50610832600480360381019061082d9190612bfa565b611986565b005b34801561084057600080fd5b5061085b60048036038101906108569190612b05565b611a09565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546108fe90612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90612f1a565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b610989611a2b565b6000610993610db6565b9050601060009054906101000a900460ff166109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612f97565b60405180910390fd5b6000821180156109f65750600e548211155b610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90613003565b60405180910390fd5b600d548282610a449190613052565b1115610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906130f4565b60405180910390fd5b81600c54610a939190613114565b341015610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc906131ba565b60405180910390fd5b600f54601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f90613226565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ba79190613052565b92505081905550610bbf610bb9611a7a565b83611a82565b50610bc8611aa0565b50565b6000610bd682611aaa565b610c0c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5582611257565b90508073ffffffffffffffffffffffffffffffffffffffff16610c76611b09565b73ffffffffffffffffffffffffffffffffffffffff1614610cd957610ca281610c9d611b09565b6117e8565b610cd8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610d9c611b11565b80600b9080519060200190610db29291906125ff565b5050565b6000610dc0611b8f565b6001546000540303905090565b6000610dd882611b94565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e3f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e4b84611c60565b91509150610e618187610e5c611b09565b611c87565b610ead57610e7686610e71611b09565b6117e8565b610eac576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f13576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f208686866001611ccb565b8015610f2b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ff985610fd5888887611cd1565b7c020000000000000000000000000000000000000000000000000000000017611cf9565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361107f576000600185019050600060046000838152602001908152602001600020540361107d57600054811461107c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110e78686866001611d24565b505050505050565b6110f7611b11565b80601060006101000a81548160ff02191690831515021790555050565b61111c611b11565b80600c8190555050565b61112e611b11565b80600d8190555050565b611140611b11565b60004790506000811161115257600080fd5b61116361115d6114e6565b47611d2a565b50565b60116020528060005260406000206000915090505481565b611186611b11565b80600f8190555050565b6111ab838383604051806020016040528060008152506116c5565b505050565b601060009054906101000a900460ff1681565b600b80546111d090612f1a565b80601f01602080910402602001604051908101604052809291908181526020018280546111fc90612f1a565b80156112495780601f1061121e57610100808354040283529160200191611249565b820191906000526020600020905b81548152906001019060200180831161122c57829003601f168201915b505050505081565b600f5481565b600061126282611b94565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112d0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611329611b11565b6113336000611ddb565b565b61133d611b11565b600d5482611349610db6565b6113539190613052565b1115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906130f4565b60405180910390fd5b61139e8183611a82565b5050565b606060006113af83611269565b67ffffffffffffffff8111156113c8576113c76129da565b5b6040519080825280602002602001820160405280156113f65781602001602082028036833780820191505090505b5090506000611403611ea1565b905060008060005b838110156114d957600061141e82611eaa565b905080604001511561143057506114cc565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461147057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ca57818685806001019650815181106114bd576114bc613246565b5b6020026020010181815250505b505b808060010191505061140b565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b60606003805461152590612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461155190612f1a565b801561159e5780601f106115735761010080835404028352916020019161159e565b820191906000526020600020905b81548152906001019060200180831161158157829003601f168201915b5050505050905090565b80600760006115b5611b09565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611662611b09565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116a791906127a5565b60405180910390a35050565b6116bb611b11565b80600e8190555050565b6116d0848484610dcd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611732576116fb84848484611ed5565b611731576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061174382611aaa565b611782576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611779906132e7565b60405180910390fd5b600061178c612025565b905060008151116117ac57604051806020016040528060008152506117da565b806117b6846120b7565b600b6040516020016117ca939291906133d7565b6040516020818303038152906040525b915050919050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a805461188990612f1a565b80601f01602080910402602001604051908101604052809291908181526020018280546118b590612f1a565b80156119025780601f106118d757610100808354040283529160200191611902565b820191906000526020600020905b8154815290600101906020018083116118e557829003601f168201915b505050505081565b611912611b11565b61191a611a2b565b600d5481611926610db6565b6119309190613052565b1115611971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196890613454565b60405180910390fd5b61197b3382611a82565b611983611aa0565b50565b61198e611b11565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f4906134e6565b60405180910390fd5b611a0681611ddb565b50565b611a11611b11565b80600a9080519060200190611a279291906125ff565b5050565b600260095403611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613552565b60405180910390fd5b6002600981905550565b600033905090565b611a9c828260405180602001604052806000815250612185565b5050565b6001600981905550565b600081611ab5611b8f565b11158015611ac4575060005482105b8015611b02575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b611b19611a7a565b73ffffffffffffffffffffffffffffffffffffffff16611b376114e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b84906135be565b60405180910390fd5b565b600090565b60008082905080611ba3611b8f565b11611c2957600054811015611c285760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c26575b60008103611c1c576004600083600190039350838152602001908152602001600020549050611bf2565b8092505050611c5b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ce8868684612222565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d509061360f565b60006040518083038185875af1925050503d8060008114611d8d576040519150601f19603f3d011682016040523d82523d6000602084013e611d92565b606091505b5050905080611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcd90613670565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b611eb2612685565b611ece600460008481526020019081526020016000205461222b565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611efb611b09565b8786866040518563ffffffff1660e01b8152600401611f1d94939291906136e5565b6020604051808303816000875af1925050508015611f5957506040513d601f19601f82011682018060405250810190611f569190613746565b60015b611fd2573d8060008114611f89576040519150601f19603f3d011682016040523d82523d6000602084013e611f8e565b606091505b506000815103611fca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461203490612f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461206090612f1a565b80156120ad5780601f10612082576101008083540402835291602001916120ad565b820191906000526020600020905b81548152906001019060200180831161209057829003601f168201915b5050505050905090565b6060600060016120c6846122e1565b01905060008167ffffffffffffffff8111156120e5576120e46129da565b5b6040519080825280601f01601f1916602001820160405280156121175781602001600182028036833780820191505090505b509050600082602001820190505b60011561217a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161216e5761216d613773565b5b04945060008503612125575b819350505050919050565b61218f8383612434565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461221d57600080549050600083820390505b6121cf6000868380600101945086611ed5565b612205576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121bc57816000541461221a57600080fd5b50505b505050565b60009392505050565b612233612685565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061233f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161233557612334613773565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061237c576d04ee2d6d415b85acef8100000000838161237257612371613773565b5b0492506020810190505b662386f26fc1000083106123ab57662386f26fc1000083816123a1576123a0613773565b5b0492506010810190505b6305f5e10083106123d4576305f5e10083816123ca576123c9613773565b5b0492506008810190505b61271083106123f95761271083816123ef576123ee613773565b5b0492506004810190505b6064831061241c576064838161241257612411613773565b5b0492506002810190505b600a831061242b576001810190505b80915050919050565b60008054905060008203612474576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124816000848385611ccb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124f8836124e96000866000611cd1565b6124f2856125ef565b17611cf9565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461259957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061255e565b50600082036125d4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125ea6000848385611d24565b505050565b60006001821460e11b9050919050565b82805461260b90612f1a565b90600052602060002090601f01602090048101928261262d5760008555612674565b82601f1061264657805160ff1916838001178555612674565b82800160010185558215612674579182015b82811115612673578251825591602001919060010190612658565b5b50905061268191906126d4565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156126ed5760008160009055506001016126d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61273a81612705565b811461274557600080fd5b50565b60008135905061275781612731565b92915050565b600060208284031215612773576127726126fb565b5b600061278184828501612748565b91505092915050565b60008115159050919050565b61279f8161278a565b82525050565b60006020820190506127ba6000830184612796565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127fa5780820151818401526020810190506127df565b83811115612809576000848401525b50505050565b6000601f19601f8301169050919050565b600061282b826127c0565b61283581856127cb565b93506128458185602086016127dc565b61284e8161280f565b840191505092915050565b600060208201905081810360008301526128738184612820565b905092915050565b6000819050919050565b61288e8161287b565b811461289957600080fd5b50565b6000813590506128ab81612885565b92915050565b6000602082840312156128c7576128c66126fb565b5b60006128d58482850161289c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612909826128de565b9050919050565b612919816128fe565b82525050565b60006020820190506129346000830184612910565b92915050565b612943816128fe565b811461294e57600080fd5b50565b6000813590506129608161293a565b92915050565b6000806040838503121561297d5761297c6126fb565b5b600061298b85828601612951565b925050602061299c8582860161289c565b9150509250929050565b6129af8161287b565b82525050565b60006020820190506129ca60008301846129a6565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a128261280f565b810181811067ffffffffffffffff82111715612a3157612a306129da565b5b80604052505050565b6000612a446126f1565b9050612a508282612a09565b919050565b600067ffffffffffffffff821115612a7057612a6f6129da565b5b612a798261280f565b9050602081019050919050565b82818337600083830152505050565b6000612aa8612aa384612a55565b612a3a565b905082815260208101848484011115612ac457612ac36129d5565b5b612acf848285612a86565b509392505050565b600082601f830112612aec57612aeb6129d0565b5b8135612afc848260208601612a95565b91505092915050565b600060208284031215612b1b57612b1a6126fb565b5b600082013567ffffffffffffffff811115612b3957612b38612700565b5b612b4584828501612ad7565b91505092915050565b600080600060608486031215612b6757612b666126fb565b5b6000612b7586828701612951565b9350506020612b8686828701612951565b9250506040612b978682870161289c565b9150509250925092565b612baa8161278a565b8114612bb557600080fd5b50565b600081359050612bc781612ba1565b92915050565b600060208284031215612be357612be26126fb565b5b6000612bf184828501612bb8565b91505092915050565b600060208284031215612c1057612c0f6126fb565b5b6000612c1e84828501612951565b91505092915050565b60008060408385031215612c3e57612c3d6126fb565b5b6000612c4c8582860161289c565b9250506020612c5d85828601612951565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c9c8161287b565b82525050565b6000612cae8383612c93565b60208301905092915050565b6000602082019050919050565b6000612cd282612c67565b612cdc8185612c72565b9350612ce783612c83565b8060005b83811015612d18578151612cff8882612ca2565b9750612d0a83612cba565b925050600181019050612ceb565b5085935050505092915050565b60006020820190508181036000830152612d3f8184612cc7565b905092915050565b60008060408385031215612d5e57612d5d6126fb565b5b6000612d6c85828601612951565b9250506020612d7d85828601612bb8565b9150509250929050565b600067ffffffffffffffff821115612da257612da16129da565b5b612dab8261280f565b9050602081019050919050565b6000612dcb612dc684612d87565b612a3a565b905082815260208101848484011115612de757612de66129d5565b5b612df2848285612a86565b509392505050565b600082601f830112612e0f57612e0e6129d0565b5b8135612e1f848260208601612db8565b91505092915050565b60008060008060808587031215612e4257612e416126fb565b5b6000612e5087828801612951565b9450506020612e6187828801612951565b9350506040612e728782880161289c565b925050606085013567ffffffffffffffff811115612e9357612e92612700565b5b612e9f87828801612dfa565b91505092959194509250565b60008060408385031215612ec257612ec16126fb565b5b6000612ed085828601612951565b9250506020612ee185828601612951565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f3257607f821691505b602082108103612f4557612f44612eeb565b5b50919050565b7f5075626c69632073616c65206e6f742061637469766521000000000000000000600082015250565b6000612f816017836127cb565b9150612f8c82612f4b565b602082019050919050565b60006020820190508181036000830152612fb081612f74565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000612fed6014836127cb565b9150612ff882612fb7565b602082019050919050565b6000602082019050818103600083015261301c81612fe0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061305d8261287b565b91506130688361287b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561309d5761309c613023565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006130de6014836127cb565b91506130e9826130a8565b602082019050919050565b6000602082019050818103600083015261310d816130d1565b9050919050565b600061311f8261287b565b915061312a8361287b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561316357613162613023565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006131a46013836127cb565b91506131af8261316e565b602082019050919050565b600060208201905081810360008301526131d381613197565b9050919050565b7f546f6f206d616e79204e465473206d696e74656420746f2077616c6c65742e00600082015250565b6000613210601f836127cb565b915061321b826131da565b602082019050919050565b6000602082019050818103600083015261323f81613203565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006132d1602f836127cb565b91506132dc82613275565b604082019050919050565b60006020820190508181036000830152613300816132c4565b9050919050565b600081905092915050565b600061331d826127c0565b6133278185613307565b93506133378185602086016127dc565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461336581612f1a565b61336f8186613307565b9450600182166000811461338a576001811461339b576133ce565b60ff198316865281860193506133ce565b6133a485613343565b60005b838110156133c6578154818901526001820191506020810190506133a7565b838801955050505b50505092915050565b60006133e38286613312565b91506133ef8285613312565b91506133fb8284613358565b9150819050949350505050565b7f4d617820537570706c792045786365656465642e000000000000000000000000600082015250565b600061343e6014836127cb565b915061344982613408565b602082019050919050565b6000602082019050818103600083015261346d81613431565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134d06026836127cb565b91506134db82613474565b604082019050919050565b600060208201905081810360008301526134ff816134c3565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061353c601f836127cb565b915061354782613506565b602082019050919050565b6000602082019050818103600083015261356b8161352f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135a86020836127cb565b91506135b382613572565b602082019050919050565b600060208201905081810360008301526135d78161359b565b9050919050565b600081905092915050565b50565b60006135f96000836135de565b9150613604826135e9565b600082019050919050565b600061361a826135ec565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061365a6010836127cb565b915061366582613624565b602082019050919050565b600060208201905081810360008301526136898161364d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006136b782613690565b6136c1818561369b565b93506136d18185602086016127dc565b6136da8161280f565b840191505092915050565b60006080820190506136fa6000830187612910565b6137076020830186612910565b61371460408301856129a6565b818103606083015261372681846136ac565b905095945050505050565b60008151905061374081612731565b92915050565b60006020828403121561375c5761375b6126fb565b5b600061376a84828501613731565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122023510a8b71c1fd84e093c736b1dbff9e657901a6c84f914b02dbb35adc2cb7b664736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577a594331474d5747344459556465485032734c35523254645859775542676169654d43334c7367794432692f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmWzYC1GMWG4DYUdeHP2sL5R2TdXYwUBgaieMC3LsgyD2i/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d577a594331474d5747344459556465485032734c355232
Arg [3] : 54645859775542676169654d43334c7367794432692f00000000000000000000
Deployed Bytecode Sourcemap
97915:5354:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55813:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56715:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;99153:686;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;63206:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;62639:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98147:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100306:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;52466:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66845:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;101007:103;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100750:93;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100870:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;101260:180;;;;;;;;;;;;;:::i;:::-;;98366:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100598:132;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;69766:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98324:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98107;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98278:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58108:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53650:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33646:103;;;;;;;;;;;;;:::i;:::-;;99849:210;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;101780:792;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32998:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98234:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56891:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63764:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100435:136;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;70557:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;102689:395;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98196:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64155:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98083:17;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98947:198;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33904:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100216:82;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55813:639;55898:4;56237:10;56222:25;;:11;:25;;;;:102;;;;56314:10;56299:25;;:11;:25;;;;56222:102;:179;;;;56391:10;56376:25;;:11;:25;;;;56222:179;56202:199;;55813:639;;;:::o;56715:100::-;56769:13;56802:5;56795:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56715:100;:::o;99153:686::-;36808:21;:19;:21::i;:::-;99227:14:::1;99244:13;:11;:13::i;:::-;99227:30;;99309:13;;;;;;;;;;;99301:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;99383:1;99369:11;:15;:52;;;;;99403:18;;99388:11;:33;;99369:52;99361:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;99489:9;;99474:11;99465:6;:20;;;;:::i;:::-;:33;;99457:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;99569:11;99555;;:25;;;;:::i;:::-;99542:9;:38;;99534:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;99652:17;;99623:14;:26;99638:10;99623:26;;;;;;;;;;;;;;;;:46;99615:90;;;;;;;;;;;;:::i;:::-;;;;;;;;;99756:11;99726:14;:26;99741:10;99726:26;;;;;;;;;;;;;;;;:41;;;;;;;:::i;:::-;;;;;;;;99795:36;99805:12;:10;:12::i;:::-;99819:11;99795:9;:36::i;:::-;99216:623;36852:20:::0;:18;:20::i;:::-;99153:686;:::o;63206:218::-;63282:7;63307:16;63315:7;63307;:16::i;:::-;63302:64;;63332:34;;;;;;;;;;;;;;63302:64;63386:15;:24;63402:7;63386:24;;;;;;;;;;;:30;;;;;;;;;;;;63379:37;;63206:218;;;:::o;62639:408::-;62728:13;62744:16;62752:7;62744;:16::i;:::-;62728:32;;62800:5;62777:28;;:19;:17;:19::i;:::-;:28;;;62773:175;;62825:44;62842:5;62849:19;:17;:19::i;:::-;62825:16;:44::i;:::-;62820:128;;62897:35;;;;;;;;;;;;;;62820:128;62773:175;62993:2;62960:15;:24;62976:7;62960:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;63031:7;63027:2;63011:28;;63020:5;63011:28;;;;;;;;;;;;62717:330;62639:408;;:::o;98147:40::-;;;;:::o;100306:106::-;32884:13;:11;:13::i;:::-;100394:10:::1;100382:9;:22;;;;;;;;;;;;:::i;:::-;;100306:106:::0;:::o;52466:323::-;52527:7;52755:15;:13;:15::i;:::-;52740:12;;52724:13;;:28;:46;52717:53;;52466:323;:::o;66845:2825::-;66987:27;67017;67036:7;67017:18;:27::i;:::-;66987:57;;67102:4;67061:45;;67077:19;67061:45;;;67057:86;;67115:28;;;;;;;;;;;;;;67057:86;67157:27;67186:23;67213:35;67240:7;67213:26;:35::i;:::-;67156:92;;;;67348:68;67373:15;67390:4;67396:19;:17;:19::i;:::-;67348:24;:68::i;:::-;67343:180;;67436:43;67453:4;67459:19;:17;:19::i;:::-;67436:16;:43::i;:::-;67431:92;;67488:35;;;;;;;;;;;;;;67431:92;67343:180;67554:1;67540:16;;:2;:16;;;67536:52;;67565:23;;;;;;;;;;;;;;67536:52;67601:43;67623:4;67629:2;67633:7;67642:1;67601:21;:43::i;:::-;67737:15;67734:160;;;67877:1;67856:19;67849:30;67734:160;68274:18;:24;68293:4;68274:24;;;;;;;;;;;;;;;;68272:26;;;;;;;;;;;;68343:18;:22;68362:2;68343:22;;;;;;;;;;;;;;;;68341:24;;;;;;;;;;;68665:146;68702:2;68751:45;68766:4;68772:2;68776:19;68751:14;:45::i;:::-;48865:8;68723:73;68665:18;:146::i;:::-;68636:17;:26;68654:7;68636:26;;;;;;;;;;;:175;;;;68982:1;48865:8;68931:19;:47;:52;68927:627;;69004:19;69036:1;69026:7;:11;69004:33;;69193:1;69159:17;:30;69177:11;69159:30;;;;;;;;;;;;:35;69155:384;;69297:13;;69282:11;:28;69278:242;;69477:19;69444:17;:30;69462:11;69444:30;;;;;;;;;;;:52;;;;69278:242;69155:384;68985:569;68927:627;69601:7;69597:2;69582:27;;69591:4;69582:27;;;;;;;;;;;;69620:42;69641:4;69647:2;69651:7;69660:1;69620:20;:42::i;:::-;66976:2694;;;66845:2825;;;:::o;101007:103::-;32884:13;:11;:13::i;:::-;101093:9:::1;101077:13;;:25;;;;;;;;;;;;;;;;;;101007:103:::0;:::o;100750:93::-;32884:13;:11;:13::i;:::-;100830:5:::1;100816:11;:19;;;;100750:93:::0;:::o;100870:106::-;32884:13;:11;:13::i;:::-;100956:12:::1;100944:9;:24;;;;100870:106:::0;:::o;101260:180::-;32884:13;:11;:13::i;:::-;101308:16:::1;101327:21;101308:40;;101378:1;101367:8;:12;101359:21;;;::::0;::::1;;101391:41;101401:7;:5;:7::i;:::-;101410:21;101391:9;:41::i;:::-;101297:143;101260:180::o:0;98366:50::-;;;;;;;;;;;;;;;;;:::o;100598:132::-;32884:13;:11;:13::i;:::-;100704:18:::1;100684:17;:38;;;;100598:132:::0;:::o;69766:193::-;69912:39;69929:4;69935:2;69939:7;69912:39;;;;;;;;;;;;:16;:39::i;:::-;69766:193;;;:::o;98324:33::-;;;;;;;;;;;;;:::o;98107:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;98278:39::-;;;;:::o;58108:152::-;58180:7;58223:27;58242:7;58223:18;:27::i;:::-;58200:52;;58108:152;;;:::o;53650:233::-;53722:7;53763:1;53746:19;;:5;:19;;;53742:60;;53774:28;;;;;;;;;;;;;;53742:60;47809:13;53820:18;:25;53839:5;53820:25;;;;;;;;;;;;;;;;:55;53813:62;;53650:233;;;:::o;33646:103::-;32884:13;:11;:13::i;:::-;33711:30:::1;33738:1;33711:18;:30::i;:::-;33646:103::o:0;99849:210::-;32884:13;:11;:13::i;:::-;99973:9:::1;;99958:11;99942:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;99934:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;100018:33;100028:9;100039:11;100018:9;:33::i;:::-;99849:210:::0;;:::o;101780:792::-;101841:16;101895:18;101930:16;101940:5;101930:9;:16::i;:::-;101916:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101895:52;;101963:11;101977:14;:12;:14::i;:::-;101963:28;;102006:19;102040:25;102085:9;102080:447;102100:3;102096:1;:7;102080:447;;;102129:31;102163:15;102176:1;102163:12;:15::i;:::-;102129:49;;102201:9;:16;;;102197:73;;;102242:8;;;102197:73;102318:1;102292:28;;:9;:14;;;:28;;;102288:111;;102365:9;:14;;;102345:34;;102288:111;102442:5;102421:26;;:17;:26;;;102417:95;;102491:1;102472;102474:13;;;;;;102472:16;;;;;;;;:::i;:::-;;;;;;;:20;;;;;102417:95;102110:417;102080:447;102105:3;;;;;;;102080:447;;;;102548:1;102541:8;;;;;;101780:792;;;:::o;32998:87::-;33044:7;33071:6;;;;;;;;;;;33064:13;;32998:87;:::o;98234:37::-;;;;:::o;56891:104::-;56947:13;56980:7;56973:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56891:104;:::o;63764:234::-;63911:8;63859:18;:39;63878:19;:17;:19::i;:::-;63859:39;;;;;;;;;;;;;;;:49;63899:8;63859:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;63971:8;63935:55;;63950:19;:17;:19::i;:::-;63935:55;;;63981:8;63935:55;;;;;;:::i;:::-;;;;;;;;63764:234;;:::o;100435:136::-;32884:13;:11;:13::i;:::-;100544:19:::1;100523:18;:40;;;;100435:136:::0;:::o;70557:407::-;70732:31;70745:4;70751:2;70755:7;70732:12;:31::i;:::-;70796:1;70778:2;:14;;;:19;70774:183;;70817:56;70848:4;70854:2;70858:7;70867:5;70817:30;:56::i;:::-;70812:145;;70901:40;;;;;;;;;;;;;;70812:145;70774:183;70557:407;;;;:::o;102689:395::-;102763:13;102797:17;102805:8;102797:7;:17::i;:::-;102789:77;;;;;;;;;;;;:::i;:::-;;;;;;;;;102879:28;102910:10;:8;:10::i;:::-;102879:41;;102969:1;102944:14;102938:28;:32;:138;;;;;;;;;;;;;;;;;103010:14;103026:19;:8;:17;:19::i;:::-;103047:9;102993:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;102938:138;102931:145;;;102689:395;;;:::o;98196:31::-;;;;:::o;64155:164::-;64252:4;64276:18;:25;64295:5;64276:25;;;;;;;;;;;;;;;:35;64302:8;64276:35;;;;;;;;;;;;;;;;;;;;;;;;;64269:42;;64155:164;;;;:::o;98083:17::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;98947:198::-;32884:13;:11;:13::i;:::-;36808:21:::1;:19;:21::i;:::-;99063:9:::2;;99053:6;99037:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;99029:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;99108:29;99118:10;99130:6;99108:9;:29::i;:::-;36852:20:::1;:18;:20::i;:::-;98947:198:::0;:::o;33904:201::-;32884:13;:11;:13::i;:::-;34013:1:::1;33993:22;;:8;:22;;::::0;33985:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;34069:28;34088:8;34069:18;:28::i;:::-;33904:201:::0;:::o;100216:82::-;32884:13;:11;:13::i;:::-;100286:4:::1;100280:3;:10;;;;;;;;;;;;:::i;:::-;;100216:82:::0;:::o;36888:293::-;36290:1;37022:7;;:19;37014:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;36290:1;37155:7;:18;;;;36888:293::o;31549:98::-;31602:7;31629:10;31622:17;;31549:98;:::o;80717:112::-;80794:27;80804:2;80808:8;80794:27;;;;;;;;;;;;:9;:27::i;:::-;80717:112;;:::o;37189:213::-;36246:1;37372:7;:22;;;;37189:213::o;64577:282::-;64642:4;64698:7;64679:15;:13;:15::i;:::-;:26;;:66;;;;;64732:13;;64722:7;:23;64679:66;:153;;;;;64831:1;48585:8;64783:17;:26;64801:7;64783:26;;;;;;;;;;;;:44;:49;64679:153;64659:173;;64577:282;;;:::o;86885:105::-;86945:7;86972:10;86965:17;;86885:105;:::o;33163:132::-;33238:12;:10;:12::i;:::-;33227:23;;:7;:5;:7::i;:::-;:23;;;33219:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;33163:132::o;102580:101::-;102645:7;102580:101;:::o;59263:1275::-;59330:7;59350:12;59365:7;59350:22;;59433:4;59414:15;:13;:15::i;:::-;:23;59410:1061;;59467:13;;59460:4;:20;59456:1015;;;59505:14;59522:17;:23;59540:4;59522:23;;;;;;;;;;;;59505:40;;59639:1;48585:8;59611:6;:24;:29;59607:845;;60276:113;60293:1;60283:6;:11;60276:113;;60336:17;:25;60354:6;;;;;;;60336:25;;;;;;;;;;;;60327:34;;60276:113;;;60422:6;60415:13;;;;;;59607:845;59482:989;59456:1015;59410:1061;60499:31;;;;;;;;;;;;;;59263:1275;;;;:::o;65740:485::-;65842:27;65871:23;65912:38;65953:15;:24;65969:7;65953:24;;;;;;;;;;;65912:65;;66130:18;66107:41;;66187:19;66181:26;66162:45;;66092:126;65740:485;;;:::o;64968:659::-;65117:11;65282:16;65275:5;65271:28;65262:37;;65442:16;65431:9;65427:32;65414:45;;65592:15;65581:9;65578:30;65570:5;65559:9;65556:20;65553:56;65543:66;;64968:659;;;;;:::o;71626:159::-;;;;;:::o;86194:311::-;86329:7;86349:16;48989:3;86375:19;:41;;86349:68;;48989:3;86443:31;86454:4;86460:2;86464:9;86443:10;:31::i;:::-;86435:40;;:62;;86428:69;;;86194:311;;;;;:::o;61086:450::-;61166:14;61334:16;61327:5;61323:28;61314:37;;61511:5;61497:11;61472:23;61468:41;61465:52;61458:5;61455:63;61445:73;;61086:450;;;;:::o;72450:158::-;;;;;:::o;101448:180::-;101522:12;101540:8;:13;;101561:7;101540:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101521:52;;;101592:7;101584:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;101510:118;101448:180;;:::o;34265:191::-;34339:16;34358:6;;;;;;;;;;;34339:25;;34384:8;34375:6;;:17;;;;;;;;;;;;;;;;;;34439:8;34408:40;;34429:8;34408:40;;;;;;;;;;;;34328:128;34265:191;:::o;52153:103::-;52208:7;52235:13;;52228:20;;52153:103;:::o;58711:161::-;58779:21;;:::i;:::-;58820:44;58839:17;:24;58857:5;58839:24;;;;;;;;;;;;58820:18;:44::i;:::-;58813:51;;58711:161;;;:::o;73048:716::-;73211:4;73257:2;73232:45;;;73278:19;:17;:19::i;:::-;73299:4;73305:7;73314:5;73232:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;73228:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73532:1;73515:6;:13;:18;73511:235;;73561:40;;;;;;;;;;;;;;73511:235;73704:6;73698:13;73689:6;73685:2;73681:15;73674:38;73228:529;73401:54;;;73391:64;;;:6;:64;;;;73384:71;;;73048:716;;;;;;:::o;103092:104::-;103152:13;103185:3;103178:10;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103092:104;:::o;22866:716::-;22922:13;22973:14;23010:1;22990:17;23001:5;22990:10;:17::i;:::-;:21;22973:38;;23026:20;23060:6;23049:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23026:41;;23082:11;23211:6;23207:2;23203:15;23195:6;23191:28;23184:35;;23248:288;23255:4;23248:288;;;23280:5;;;;;;;;23422:8;23417:2;23410:5;23406:14;23401:30;23396:3;23388:44;23478:2;23469:11;;;;;;:::i;:::-;;;;;23512:1;23503:5;:10;23248:288;23499:21;23248:288;23557:6;23550:13;;;;;22866:716;;;:::o;79944:689::-;80075:19;80081:2;80085:8;80075:5;:19::i;:::-;80154:1;80136:2;:14;;;:19;80132:483;;80176:11;80190:13;;80176:27;;80222:13;80244:8;80238:3;:14;80222:30;;80271:233;80302:62;80341:1;80345:2;80349:7;;;;;;80358:5;80302:30;:62::i;:::-;80297:167;;80400:40;;;;;;;;;;;;;;80297:167;80499:3;80491:5;:11;80271:233;;80586:3;80569:13;;:20;80565:34;;80591:8;;;80565:34;80157:458;;80132:483;79944:689;;;:::o;85895:147::-;86032:6;85895:147;;;;;:::o;60637:366::-;60703:31;;:::i;:::-;60780:6;60747:9;:14;;:41;;;;;;;;;;;48468:3;60833:6;:33;;60799:9;:24;;:68;;;;;;;;;;;60925:1;48585:8;60897:6;:24;:29;;60878:9;:16;;:48;;;;;;;;;;;48989:3;60966:6;:28;;60937:9;:19;;:58;;;;;;;;;;;60637:366;;;:::o;19732:922::-;19785:7;19805:14;19822:1;19805:18;;19872:6;19863:5;:15;19859:102;;19908:6;19899:15;;;;;;:::i;:::-;;;;;19943:2;19933:12;;;;19859:102;19988:6;19979:5;:15;19975:102;;20024:6;20015:15;;;;;;:::i;:::-;;;;;20059:2;20049:12;;;;19975:102;20104:6;20095:5;:15;20091:102;;20140:6;20131:15;;;;;;:::i;:::-;;;;;20175:2;20165:12;;;;20091:102;20220:5;20211;:14;20207:99;;20255:5;20246:14;;;;;;:::i;:::-;;;;;20289:1;20279:11;;;;20207:99;20333:5;20324;:14;20320:99;;20368:5;20359:14;;;;;;:::i;:::-;;;;;20402:1;20392:11;;;;20320:99;20446:5;20437;:14;20433:99;;20481:5;20472:14;;;;;;:::i;:::-;;;;;20515:1;20505:11;;;;20433:99;20559:5;20550;:14;20546:66;;20595:1;20585:11;;;;20546:66;20640:6;20633:13;;;19732:922;;;:::o;74226:2966::-;74299:20;74322:13;;74299:36;;74362:1;74350:8;:13;74346:44;;74372:18;;;;;;;;;;;;;;74346:44;74403:61;74433:1;74437:2;74441:12;74455:8;74403:21;:61::i;:::-;74947:1;47947:2;74917:1;:26;;74916:32;74904:8;:45;74878:18;:22;74897:2;74878:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;75226:139;75263:2;75317:33;75340:1;75344:2;75348:1;75317:14;:33::i;:::-;75284:30;75305:8;75284:20;:30::i;:::-;:66;75226:18;:139::i;:::-;75192:17;:31;75210:12;75192:31;;;;;;;;;;;:173;;;;75382:16;75413:11;75442:8;75427:12;:23;75413:37;;75963:16;75959:2;75955:25;75943:37;;76335:12;76295:8;76254:1;76192:25;76133:1;76072;76045:335;76706:1;76692:12;76688:20;76646:346;76747:3;76738:7;76735:16;76646:346;;76965:7;76955:8;76952:1;76925:25;76922:1;76919;76914:59;76800:1;76791:7;76787:15;76776:26;;76646:346;;;76650:77;77037:1;77025:8;:13;77021:45;;77047:19;;;;;;;;;;;;;;77021:45;77099:3;77083:13;:19;;;;74652:2462;;77124:60;77153:1;77157:2;77161:12;77175:8;77124:20;:60::i;:::-;74288:2904;74226:2966;;:::o;61638:324::-;61708:14;61941:1;61931:8;61928:15;61902:24;61898:46;61888:56;;61638:324;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:117::-;5399:1;5396;5389:12;5413:117;5522:1;5519;5512:12;5536:180;5584:77;5581:1;5574:88;5681:4;5678:1;5671:15;5705:4;5702:1;5695:15;5722:281;5805:27;5827:4;5805:27;:::i;:::-;5797:6;5793:40;5935:6;5923:10;5920:22;5899:18;5887:10;5884:34;5881:62;5878:88;;;5946:18;;:::i;:::-;5878:88;5986:10;5982:2;5975:22;5765:238;5722:281;;:::o;6009:129::-;6043:6;6070:20;;:::i;:::-;6060:30;;6099:33;6127:4;6119:6;6099:33;:::i;:::-;6009:129;;;:::o;6144:308::-;6206:4;6296:18;6288:6;6285:30;6282:56;;;6318:18;;:::i;:::-;6282:56;6356:29;6378:6;6356:29;:::i;:::-;6348:37;;6440:4;6434;6430:15;6422:23;;6144:308;;;:::o;6458:154::-;6542:6;6537:3;6532;6519:30;6604:1;6595:6;6590:3;6586:16;6579:27;6458:154;;;:::o;6618:412::-;6696:5;6721:66;6737:49;6779:6;6737:49;:::i;:::-;6721:66;:::i;:::-;6712:75;;6810:6;6803:5;6796:21;6848:4;6841:5;6837:16;6886:3;6877:6;6872:3;6868:16;6865:25;6862:112;;;6893:79;;:::i;:::-;6862:112;6983:41;7017:6;7012:3;7007;6983:41;:::i;:::-;6702:328;6618:412;;;;;:::o;7050:340::-;7106:5;7155:3;7148:4;7140:6;7136:17;7132:27;7122:122;;7163:79;;:::i;:::-;7122:122;7280:6;7267:20;7305:79;7380:3;7372:6;7365:4;7357:6;7353:17;7305:79;:::i;:::-;7296:88;;7112:278;7050:340;;;;:::o;7396:509::-;7465:6;7514:2;7502:9;7493:7;7489:23;7485:32;7482:119;;;7520:79;;:::i;:::-;7482:119;7668:1;7657:9;7653:17;7640:31;7698:18;7690:6;7687:30;7684:117;;;7720:79;;:::i;:::-;7684:117;7825:63;7880:7;7871:6;7860:9;7856:22;7825:63;:::i;:::-;7815:73;;7611:287;7396:509;;;;:::o;7911:619::-;7988:6;7996;8004;8053:2;8041:9;8032:7;8028:23;8024:32;8021:119;;;8059:79;;:::i;:::-;8021:119;8179:1;8204:53;8249:7;8240:6;8229:9;8225:22;8204:53;:::i;:::-;8194:63;;8150:117;8306:2;8332:53;8377:7;8368:6;8357:9;8353:22;8332:53;:::i;:::-;8322:63;;8277:118;8434:2;8460:53;8505:7;8496:6;8485:9;8481:22;8460:53;:::i;:::-;8450:63;;8405:118;7911:619;;;;;:::o;8536:116::-;8606:21;8621:5;8606:21;:::i;:::-;8599:5;8596:32;8586:60;;8642:1;8639;8632:12;8586:60;8536:116;:::o;8658:133::-;8701:5;8739:6;8726:20;8717:29;;8755:30;8779:5;8755:30;:::i;:::-;8658:133;;;;:::o;8797:323::-;8853:6;8902:2;8890:9;8881:7;8877:23;8873:32;8870:119;;;8908:79;;:::i;:::-;8870:119;9028:1;9053:50;9095:7;9086:6;9075:9;9071:22;9053:50;:::i;:::-;9043:60;;8999:114;8797:323;;;;:::o;9126:329::-;9185:6;9234:2;9222:9;9213:7;9209:23;9205:32;9202:119;;;9240:79;;:::i;:::-;9202:119;9360:1;9385:53;9430:7;9421:6;9410:9;9406:22;9385:53;:::i;:::-;9375:63;;9331:117;9126:329;;;;:::o;9461:474::-;9529:6;9537;9586:2;9574:9;9565:7;9561:23;9557:32;9554:119;;;9592:79;;:::i;:::-;9554:119;9712:1;9737:53;9782:7;9773:6;9762:9;9758:22;9737:53;:::i;:::-;9727:63;;9683:117;9839:2;9865:53;9910:7;9901:6;9890:9;9886:22;9865:53;:::i;:::-;9855:63;;9810:118;9461:474;;;;;:::o;9941:114::-;10008:6;10042:5;10036:12;10026:22;;9941:114;;;:::o;10061:184::-;10160:11;10194:6;10189:3;10182:19;10234:4;10229:3;10225:14;10210:29;;10061:184;;;;:::o;10251:132::-;10318:4;10341:3;10333:11;;10371:4;10366:3;10362:14;10354:22;;10251:132;;;:::o;10389:108::-;10466:24;10484:5;10466:24;:::i;:::-;10461:3;10454:37;10389:108;;:::o;10503:179::-;10572:10;10593:46;10635:3;10627:6;10593:46;:::i;:::-;10671:4;10666:3;10662:14;10648:28;;10503:179;;;;:::o;10688:113::-;10758:4;10790;10785:3;10781:14;10773:22;;10688:113;;;:::o;10837:732::-;10956:3;10985:54;11033:5;10985:54;:::i;:::-;11055:86;11134:6;11129:3;11055:86;:::i;:::-;11048:93;;11165:56;11215:5;11165:56;:::i;:::-;11244:7;11275:1;11260:284;11285:6;11282:1;11279:13;11260:284;;;11361:6;11355:13;11388:63;11447:3;11432:13;11388:63;:::i;:::-;11381:70;;11474:60;11527:6;11474:60;:::i;:::-;11464:70;;11320:224;11307:1;11304;11300:9;11295:14;;11260:284;;;11264:14;11560:3;11553:10;;10961:608;;;10837:732;;;;:::o;11575:373::-;11718:4;11756:2;11745:9;11741:18;11733:26;;11805:9;11799:4;11795:20;11791:1;11780:9;11776:17;11769:47;11833:108;11936:4;11927:6;11833:108;:::i;:::-;11825:116;;11575:373;;;;:::o;11954:468::-;12019:6;12027;12076:2;12064:9;12055:7;12051:23;12047:32;12044:119;;;12082:79;;:::i;:::-;12044:119;12202:1;12227:53;12272:7;12263:6;12252:9;12248:22;12227:53;:::i;:::-;12217:63;;12173:117;12329:2;12355:50;12397:7;12388:6;12377:9;12373:22;12355:50;:::i;:::-;12345:60;;12300:115;11954:468;;;;;:::o;12428:307::-;12489:4;12579:18;12571:6;12568:30;12565:56;;;12601:18;;:::i;:::-;12565:56;12639:29;12661:6;12639:29;:::i;:::-;12631:37;;12723:4;12717;12713:15;12705:23;;12428:307;;;:::o;12741:410::-;12818:5;12843:65;12859:48;12900:6;12859:48;:::i;:::-;12843:65;:::i;:::-;12834:74;;12931:6;12924:5;12917:21;12969:4;12962:5;12958:16;13007:3;12998:6;12993:3;12989:16;12986:25;12983:112;;;13014:79;;:::i;:::-;12983:112;13104:41;13138:6;13133:3;13128;13104:41;:::i;:::-;12824:327;12741:410;;;;;:::o;13170:338::-;13225:5;13274:3;13267:4;13259:6;13255:17;13251:27;13241:122;;13282:79;;:::i;:::-;13241:122;13399:6;13386:20;13424:78;13498:3;13490:6;13483:4;13475:6;13471:17;13424:78;:::i;:::-;13415:87;;13231:277;13170:338;;;;:::o;13514:943::-;13609:6;13617;13625;13633;13682:3;13670:9;13661:7;13657:23;13653:33;13650:120;;;13689:79;;:::i;:::-;13650:120;13809:1;13834:53;13879:7;13870:6;13859:9;13855:22;13834:53;:::i;:::-;13824:63;;13780:117;13936:2;13962:53;14007:7;13998:6;13987:9;13983:22;13962:53;:::i;:::-;13952:63;;13907:118;14064:2;14090:53;14135:7;14126:6;14115:9;14111:22;14090:53;:::i;:::-;14080:63;;14035:118;14220:2;14209:9;14205:18;14192:32;14251:18;14243:6;14240:30;14237:117;;;14273:79;;:::i;:::-;14237:117;14378:62;14432:7;14423:6;14412:9;14408:22;14378:62;:::i;:::-;14368:72;;14163:287;13514:943;;;;;;;:::o;14463:474::-;14531:6;14539;14588:2;14576:9;14567:7;14563:23;14559:32;14556:119;;;14594:79;;:::i;:::-;14556:119;14714:1;14739:53;14784:7;14775:6;14764:9;14760:22;14739:53;:::i;:::-;14729:63;;14685:117;14841:2;14867:53;14912:7;14903:6;14892:9;14888:22;14867:53;:::i;:::-;14857:63;;14812:118;14463:474;;;;;:::o;14943:180::-;14991:77;14988:1;14981:88;15088:4;15085:1;15078:15;15112:4;15109:1;15102:15;15129:320;15173:6;15210:1;15204:4;15200:12;15190:22;;15257:1;15251:4;15247:12;15278:18;15268:81;;15334:4;15326:6;15322:17;15312:27;;15268:81;15396:2;15388:6;15385:14;15365:18;15362:38;15359:84;;15415:18;;:::i;:::-;15359:84;15180:269;15129:320;;;:::o;15455:173::-;15595:25;15591:1;15583:6;15579:14;15572:49;15455:173;:::o;15634:366::-;15776:3;15797:67;15861:2;15856:3;15797:67;:::i;:::-;15790:74;;15873:93;15962:3;15873:93;:::i;:::-;15991:2;15986:3;15982:12;15975:19;;15634:366;;;:::o;16006:419::-;16172:4;16210:2;16199:9;16195:18;16187:26;;16259:9;16253:4;16249:20;16245:1;16234:9;16230:17;16223:47;16287:131;16413:4;16287:131;:::i;:::-;16279:139;;16006:419;;;:::o;16431:170::-;16571:22;16567:1;16559:6;16555:14;16548:46;16431:170;:::o;16607:366::-;16749:3;16770:67;16834:2;16829:3;16770:67;:::i;:::-;16763:74;;16846:93;16935:3;16846:93;:::i;:::-;16964:2;16959:3;16955:12;16948:19;;16607:366;;;:::o;16979:419::-;17145:4;17183:2;17172:9;17168:18;17160:26;;17232:9;17226:4;17222:20;17218:1;17207:9;17203:17;17196:47;17260:131;17386:4;17260:131;:::i;:::-;17252:139;;16979:419;;;:::o;17404:180::-;17452:77;17449:1;17442:88;17549:4;17546:1;17539:15;17573:4;17570:1;17563:15;17590:305;17630:3;17649:20;17667:1;17649:20;:::i;:::-;17644:25;;17683:20;17701:1;17683:20;:::i;:::-;17678:25;;17837:1;17769:66;17765:74;17762:1;17759:81;17756:107;;;17843:18;;:::i;:::-;17756:107;17887:1;17884;17880:9;17873:16;;17590:305;;;;:::o;17901:170::-;18041:22;18037:1;18029:6;18025:14;18018:46;17901:170;:::o;18077:366::-;18219:3;18240:67;18304:2;18299:3;18240:67;:::i;:::-;18233:74;;18316:93;18405:3;18316:93;:::i;:::-;18434:2;18429:3;18425:12;18418:19;;18077:366;;;:::o;18449:419::-;18615:4;18653:2;18642:9;18638:18;18630:26;;18702:9;18696:4;18692:20;18688:1;18677:9;18673:17;18666:47;18730:131;18856:4;18730:131;:::i;:::-;18722:139;;18449:419;;;:::o;18874:348::-;18914:7;18937:20;18955:1;18937:20;:::i;:::-;18932:25;;18971:20;18989:1;18971:20;:::i;:::-;18966:25;;19159:1;19091:66;19087:74;19084:1;19081:81;19076:1;19069:9;19062:17;19058:105;19055:131;;;19166:18;;:::i;:::-;19055:131;19214:1;19211;19207:9;19196:20;;18874:348;;;;:::o;19228:169::-;19368:21;19364:1;19356:6;19352:14;19345:45;19228:169;:::o;19403:366::-;19545:3;19566:67;19630:2;19625:3;19566:67;:::i;:::-;19559:74;;19642:93;19731:3;19642:93;:::i;:::-;19760:2;19755:3;19751:12;19744:19;;19403:366;;;:::o;19775:419::-;19941:4;19979:2;19968:9;19964:18;19956:26;;20028:9;20022:4;20018:20;20014:1;20003:9;19999:17;19992:47;20056:131;20182:4;20056:131;:::i;:::-;20048:139;;19775:419;;;:::o;20200:181::-;20340:33;20336:1;20328:6;20324:14;20317:57;20200:181;:::o;20387:366::-;20529:3;20550:67;20614:2;20609:3;20550:67;:::i;:::-;20543:74;;20626:93;20715:3;20626:93;:::i;:::-;20744:2;20739:3;20735:12;20728:19;;20387:366;;;:::o;20759:419::-;20925:4;20963:2;20952:9;20948:18;20940:26;;21012:9;21006:4;21002:20;20998:1;20987:9;20983:17;20976:47;21040:131;21166:4;21040:131;:::i;:::-;21032:139;;20759:419;;;:::o;21184:180::-;21232:77;21229:1;21222:88;21329:4;21326:1;21319:15;21353:4;21350:1;21343:15;21370:234;21510:34;21506:1;21498:6;21494:14;21487:58;21579:17;21574:2;21566:6;21562:15;21555:42;21370:234;:::o;21610:366::-;21752:3;21773:67;21837:2;21832:3;21773:67;:::i;:::-;21766:74;;21849:93;21938:3;21849:93;:::i;:::-;21967:2;21962:3;21958:12;21951:19;;21610:366;;;:::o;21982:419::-;22148:4;22186:2;22175:9;22171:18;22163:26;;22235:9;22229:4;22225:20;22221:1;22210:9;22206:17;22199:47;22263:131;22389:4;22263:131;:::i;:::-;22255:139;;21982:419;;;:::o;22407:148::-;22509:11;22546:3;22531:18;;22407:148;;;;:::o;22561:377::-;22667:3;22695:39;22728:5;22695:39;:::i;:::-;22750:89;22832:6;22827:3;22750:89;:::i;:::-;22743:96;;22848:52;22893:6;22888:3;22881:4;22874:5;22870:16;22848:52;:::i;:::-;22925:6;22920:3;22916:16;22909:23;;22671:267;22561:377;;;;:::o;22944:141::-;22993:4;23016:3;23008:11;;23039:3;23036:1;23029:14;23073:4;23070:1;23060:18;23052:26;;22944:141;;;:::o;23115:845::-;23218:3;23255:5;23249:12;23284:36;23310:9;23284:36;:::i;:::-;23336:89;23418:6;23413:3;23336:89;:::i;:::-;23329:96;;23456:1;23445:9;23441:17;23472:1;23467:137;;;;23618:1;23613:341;;;;23434:520;;23467:137;23551:4;23547:9;23536;23532:25;23527:3;23520:38;23587:6;23582:3;23578:16;23571:23;;23467:137;;23613:341;23680:38;23712:5;23680:38;:::i;:::-;23740:1;23754:154;23768:6;23765:1;23762:13;23754:154;;;23842:7;23836:14;23832:1;23827:3;23823:11;23816:35;23892:1;23883:7;23879:15;23868:26;;23790:4;23787:1;23783:12;23778:17;;23754:154;;;23937:6;23932:3;23928:16;23921:23;;23620:334;;23434:520;;23222:738;;23115:845;;;;:::o;23966:589::-;24191:3;24213:95;24304:3;24295:6;24213:95;:::i;:::-;24206:102;;24325:95;24416:3;24407:6;24325:95;:::i;:::-;24318:102;;24437:92;24525:3;24516:6;24437:92;:::i;:::-;24430:99;;24546:3;24539:10;;23966:589;;;;;;:::o;24561:170::-;24701:22;24697:1;24689:6;24685:14;24678:46;24561:170;:::o;24737:366::-;24879:3;24900:67;24964:2;24959:3;24900:67;:::i;:::-;24893:74;;24976:93;25065:3;24976:93;:::i;:::-;25094:2;25089:3;25085:12;25078:19;;24737:366;;;:::o;25109:419::-;25275:4;25313:2;25302:9;25298:18;25290:26;;25362:9;25356:4;25352:20;25348:1;25337:9;25333:17;25326:47;25390:131;25516:4;25390:131;:::i;:::-;25382:139;;25109:419;;;:::o;25534:225::-;25674:34;25670:1;25662:6;25658:14;25651:58;25743:8;25738:2;25730:6;25726:15;25719:33;25534:225;:::o;25765:366::-;25907:3;25928:67;25992:2;25987:3;25928:67;:::i;:::-;25921:74;;26004:93;26093:3;26004:93;:::i;:::-;26122:2;26117:3;26113:12;26106:19;;25765:366;;;:::o;26137:419::-;26303:4;26341:2;26330:9;26326:18;26318:26;;26390:9;26384:4;26380:20;26376:1;26365:9;26361:17;26354:47;26418:131;26544:4;26418:131;:::i;:::-;26410:139;;26137:419;;;:::o;26562:181::-;26702:33;26698:1;26690:6;26686:14;26679:57;26562:181;:::o;26749:366::-;26891:3;26912:67;26976:2;26971:3;26912:67;:::i;:::-;26905:74;;26988:93;27077:3;26988:93;:::i;:::-;27106:2;27101:3;27097:12;27090:19;;26749:366;;;:::o;27121:419::-;27287:4;27325:2;27314:9;27310:18;27302:26;;27374:9;27368:4;27364:20;27360:1;27349:9;27345:17;27338:47;27402:131;27528:4;27402:131;:::i;:::-;27394:139;;27121:419;;;:::o;27546:182::-;27686:34;27682:1;27674:6;27670:14;27663:58;27546:182;:::o;27734:366::-;27876:3;27897:67;27961:2;27956:3;27897:67;:::i;:::-;27890:74;;27973:93;28062:3;27973:93;:::i;:::-;28091:2;28086:3;28082:12;28075:19;;27734:366;;;:::o;28106:419::-;28272:4;28310:2;28299:9;28295:18;28287:26;;28359:9;28353:4;28349:20;28345:1;28334:9;28330:17;28323:47;28387:131;28513:4;28387:131;:::i;:::-;28379:139;;28106:419;;;:::o;28531:147::-;28632:11;28669:3;28654:18;;28531:147;;;;:::o;28684:114::-;;:::o;28804:398::-;28963:3;28984:83;29065:1;29060:3;28984:83;:::i;:::-;28977:90;;29076:93;29165:3;29076:93;:::i;:::-;29194:1;29189:3;29185:11;29178:18;;28804:398;;;:::o;29208:379::-;29392:3;29414:147;29557:3;29414:147;:::i;:::-;29407:154;;29578:3;29571:10;;29208:379;;;:::o;29593:166::-;29733:18;29729:1;29721:6;29717:14;29710:42;29593:166;:::o;29765:366::-;29907:3;29928:67;29992:2;29987:3;29928:67;:::i;:::-;29921:74;;30004:93;30093:3;30004:93;:::i;:::-;30122:2;30117:3;30113:12;30106:19;;29765:366;;;:::o;30137:419::-;30303:4;30341:2;30330:9;30326:18;30318:26;;30390:9;30384:4;30380:20;30376:1;30365:9;30361:17;30354:47;30418:131;30544:4;30418:131;:::i;:::-;30410:139;;30137:419;;;:::o;30562:98::-;30613:6;30647:5;30641:12;30631:22;;30562:98;;;:::o;30666:168::-;30749:11;30783:6;30778:3;30771:19;30823:4;30818:3;30814:14;30799:29;;30666:168;;;;:::o;30840:360::-;30926:3;30954:38;30986:5;30954:38;:::i;:::-;31008:70;31071:6;31066:3;31008:70;:::i;:::-;31001:77;;31087:52;31132:6;31127:3;31120:4;31113:5;31109:16;31087:52;:::i;:::-;31164:29;31186:6;31164:29;:::i;:::-;31159:3;31155:39;31148:46;;30930:270;30840:360;;;;:::o;31206:640::-;31401:4;31439:3;31428:9;31424:19;31416:27;;31453:71;31521:1;31510:9;31506:17;31497:6;31453:71;:::i;:::-;31534:72;31602:2;31591:9;31587:18;31578:6;31534:72;:::i;:::-;31616;31684:2;31673:9;31669:18;31660:6;31616:72;:::i;:::-;31735:9;31729:4;31725:20;31720:2;31709:9;31705:18;31698:48;31763:76;31834:4;31825:6;31763:76;:::i;:::-;31755:84;;31206:640;;;;;;;:::o;31852:141::-;31908:5;31939:6;31933:13;31924:22;;31955:32;31981:5;31955:32;:::i;:::-;31852:141;;;;:::o;31999:349::-;32068:6;32117:2;32105:9;32096:7;32092:23;32088:32;32085:119;;;32123:79;;:::i;:::-;32085:119;32243:1;32268:63;32323:7;32314:6;32303:9;32299:22;32268:63;:::i;:::-;32258:73;;32214:127;31999:349;;;;:::o;32354:180::-;32402:77;32399:1;32392:88;32499:4;32496:1;32489:15;32523:4;32520:1;32513:15
Swarm Source
ipfs://23510a8b71c1fd84e093c736b1dbff9e657901a6c84f914b02dbb35adc2cb7b6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.