ERC-721
Overview
Max Total Supply
2,499 GEM
Holders
472
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GEMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheGemesisByJohnathanSchultz
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-10 */ // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /* GGGGGGGGGGGGGEEEEEEEEEEEEEEEEEEEEEEMMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS IIIIIIIIII SSSSSSSSSSSSSSS GGG::::::::::::GE::::::::::::::::::::EM:::::::M M:::::::ME::::::::::::::::::::E SS:::::::::::::::SI::::::::I SS:::::::::::::::S GG:::::::::::::::GE::::::::::::::::::::EM::::::::M M::::::::ME::::::::::::::::::::ES:::::SSSSSS::::::SI::::::::IS:::::SSSSSS::::::S G:::::GGGGGGGG::::GEE::::::EEEEEEEEE::::EM:::::::::M M:::::::::MEE::::::EEEEEEEEE::::ES:::::S SSSSSSSII::::::IIS:::::S SSSSSSS G:::::G GGGGGG E:::::E EEEEEEM::::::::::M M::::::::::M E:::::E EEEEEES:::::S I::::I S:::::S G:::::G E:::::E M:::::::::::M M:::::::::::M E:::::E S:::::S I::::I S:::::S G:::::G E::::::EEEEEEEEEE M:::::::M::::M M::::M:::::::M E::::::EEEEEEEEEE S::::SSSS I::::I S::::SSSS G:::::G GGGGGGGGGG E:::::::::::::::E M::::::M M::::M M::::M M::::::M E:::::::::::::::E SS::::::SSSSS I::::I SS::::::SSSSS G:::::G G::::::::G E:::::::::::::::E M::::::M M::::M::::M M::::::M E:::::::::::::::E SSS::::::::SS I::::I SSS::::::::SS G:::::G GGGGG::::G E::::::EEEEEEEEEE M::::::M M:::::::M M::::::M E::::::EEEEEEEEEE SSSSSS::::S I::::I SSSSSS::::S G:::::G G::::G E:::::E M::::::M M:::::M M::::::M E:::::E S:::::S I::::I S:::::S G:::::G G::::G E:::::E EEEEEEM::::::M MMMMM M::::::M E:::::E EEEEEE S:::::S I::::I S:::::S G:::::GGGGGGGG::::GEE::::::EEEEEEEE:::::EM::::::M M::::::MEE::::::EEEEEEEE:::::ESSSSSSS S:::::SII::::::IISSSSSSS S:::::S GG:::::::::::::::GE::::::::::::::::::::EM::::::M M::::::ME::::::::::::::::::::ES::::::SSSSSS:::::SI::::::::IS::::::SSSSSS:::::S GGG::::::GGG:::GE::::::::::::::::::::EM::::::M M::::::ME::::::::::::::::::::ES:::::::::::::::SS I::::::::IS:::::::::::::::SS GGGGGG GGGGEEEEEEEEEEEEEEEEEEEEEEMMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS IIIIIIIIII SSSSSSSSSSSSSSS BY JOHNATHAN SCHULTZ */ /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: contracts/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/cryptography/EIP712.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; // EIP-712 is Final as of 2022-08-11. This file is deprecated. // 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/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) public _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == 0x2a55205a || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) internal returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/TheGemesisByJohnathanSchultz.sol pragma solidity ^0.8.0 <0.9.0; contract TheGemesisByJohnathanSchultz is ERC721A, Ownable, ReentrancyGuard, EIP712, ERC2981, DefaultOperatorFilterer { uint8 public currentMintTier; string public contractURI; uint256 private royaltyFeesInBips; address private royaltyAddress; string public uriPrefix = ''; string public uriSuffix = '.json'; string public hiddenMetadataUri; uint256 public cost; uint256 public maxSupply; uint256 public maxMintAmountPerTx = 1; bool public paused = true; bool public revealed = false; struct NFTVoucher { uint256 minTokenId; uint256 maxTokenId; uint256 quantity; uint256 minPrice; address creator; uint256 signatureTime; } struct merkleRoot { bytes32 merkleRoot; uint256 mintPrice; uint256 maxMintAmountPerTx; bool whitelistMintEnabled; } // PreciousGems -> 0 , TrueGems -> 1, FineGems -> 2 , GemList -> 3 enum Tiers { PreciousGems, TrueGems, FineGems, GemList, Marketing } mapping(Tiers => merkleRoot) public merkleRootValue; mapping(bytes => uint256) public signatures; //mint mapping(address => uint8) public mints; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _cost, uint256 _maxSupply, uint256 _maxMintAmountPerTx, string memory _hiddenMetadataUri, uint96 _royaltyFeesInBips, string memory _contractURI ) ERC721A(_tokenName, _tokenSymbol) EIP712("GemSet Lazy Contract", "1.0") { cost = _cost; maxSupply = _maxSupply; maxMintAmountPerTx = _maxMintAmountPerTx; setHiddenMetadataUri(_hiddenMetadataUri); setRoyaltyInfo(owner(), _royaltyFeesInBips); contractURI = _contractURI; } modifier signatureVerify(NFTVoucher calldata _voucher,bytes memory _signature,uint256 _mintQuantity) { address signer = _verify(_voucher, _signature); require(signer == _voucher.creator, "Signature invalid or unauthorized creator"); require((currentIndex() <= _voucher.maxTokenId) && (currentIndex() >= _voucher.minTokenId), "Signature invalid or invalid maxTokenId or invalid minTokenId!"); require((((currentIndex() + _mintQuantity - 1)) <= _voucher.maxTokenId) && (_mintQuantity <= _voucher.quantity), "Signature invalid or invalid maxTokenId or invalid quantity !"); _; } // Verify whitelist requirements // _tier == 0 (Tiers.PreciousGems) => merkleRootValue[_tier] // _tier == 1 (Tiers.TrueGems) => merkleRootValue[_tier] // _tier == 2 (Tiers.FineGems) => merkleRootValue[_tier] // _tier == 3 (Tiers.GemList) => merkleRootValue[_tier] function whitelistMint(Tiers _tier,NFTVoucher calldata _voucher,uint256 _mintQuantity, bytes32[] calldata _merkleProof,bytes memory _signature) public payable signatureVerify(_voucher,_signature,_mintQuantity) { require(merkleRootValue[_tier].whitelistMintEnabled, "The whitelist sale is not enabled!"); require(_mintQuantity > 0 && (currentIndex() + _mintQuantity) <= maxSupply, "Invalid mint amount!"); require(mints[msg.sender] + _mintQuantity <= merkleRootValue[_tier].maxMintAmountPerTx, "Max supply exceeded!"); require(msg.value >= merkleRootValue[_tier].mintPrice * _mintQuantity, "Insufficient funds!"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRootValue[_tier].merkleRoot, leaf), "Invalid proof!"); _safeMint(msg.sender, _mintQuantity); signatures[_signature] += _mintQuantity; mints[msg.sender]++; } function mint(NFTVoucher calldata _voucher,uint256 _mintQuantity,bytes memory _signature) public payable signatureVerify(_voucher,_signature,_mintQuantity) { require((!paused) && (_voucher.minPrice <= cost), "The contract is paused or Invalid mint price!"); require(_mintQuantity > 0 && (currentIndex() + _mintQuantity) <= maxSupply, "Invalid mint amount!"); require(mints[msg.sender] + _mintQuantity <= maxMintAmountPerTx, "Max supply exceeded!"); require(msg.value >= cost * _mintQuantity, "Insufficient funds!"); _safeMint(msg.sender, _mintQuantity); signatures[_signature] += _mintQuantity; mints[msg.sender]++; } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function _hash(NFTVoucher calldata voucher) internal view returns (bytes32) { return _hashTypedDataV4(keccak256(abi.encode( keccak256("NFTVoucher(uint256 minTokenId,uint256 maxTokenId,uint256 quantity,uint256 minPrice,address creator,uint256 signatureTime)"), voucher.minTokenId, voucher.maxTokenId, voucher.quantity, voucher.minPrice, voucher.creator, voucher.signatureTime ))); } function _verify(NFTVoucher calldata voucher, bytes memory signature) internal view returns (address) { bytes32 digest = _hash(voucher); return ECDSA.recover(digest,signature); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function currentIndex() public view returns(uint256) { return _currentIndex; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, Strings.toString(_tokenId), uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost,uint256 _maxMintAmountPerTx) public onlyOwner { cost = _cost; maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string calldata _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string calldata _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setMerkleRoot(bytes32 _merkleRoot,Tiers _tier,uint256 _mintPrice,uint256 _maxMintAmountPerTx,bool _whitelistMintEnabled) public onlyOwner { merkleRootValue[_tier] = merkleRoot( _merkleRoot, _mintPrice, _maxMintAmountPerTx, _whitelistMintEnabled ); if(_whitelistMintEnabled == true){ currentMintTier = uint8(_tier); } } function setWhitelistMintEnabled(Tiers _tier, bool _state) public onlyOwner { merkleRootValue[_tier].whitelistMintEnabled = _state; if(_state == true){ currentMintTier = uint8(_tier); } } function setContractTokenURI(string memory _contractURI) public onlyOwner { contractURI = _contractURI; } function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { royaltyAddress = _receiver; royaltyFeesInBips = _royaltyFeesInBips; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { return (royaltyAddress, calculateRoyalty(_salePrice)); } // ((10000 / 10000) * 250) => (2.5 % * 10000) => 250 function calculateRoyalty(uint256 _salePrice) view public returns (uint256) { return (_salePrice / 10000) * royaltyFeesInBips; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId) || super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"string","name":"_contractURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_addressData","outputs":[{"internalType":"uint64","name":"balance","type":"uint64"},{"internalType":"uint64","name":"numberMinted","type":"uint64"},{"internalType":"uint64","name":"numberBurned","type":"uint64"},{"internalType":"uint64","name":"aux","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculateRoyalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMintTier","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"enum TheGemesisByJohnathanSchultz.Tiers","name":"","type":"uint8"}],"name":"merkleRootValue","outputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxMintAmountPerTx","type":"uint256"},{"internalType":"bool","name":"whitelistMintEnabled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"minTokenId","type":"uint256"},{"internalType":"uint256","name":"maxTokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"signatureTime","type":"uint256"}],"internalType":"struct TheGemesisByJohnathanSchultz.NFTVoucher","name":"_voucher","type":"tuple"},{"internalType":"uint256","name":"_mintQuantity","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"enum TheGemesisByJohnathanSchultz.Tiers","name":"_tier","type":"uint8"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"bool","name":"_whitelistMintEnabled","type":"bool"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TheGemesisByJohnathanSchultz.Tiers","name":"_tier","type":"uint8"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"signatures","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum TheGemesisByJohnathanSchultz.Tiers","name":"_tier","type":"uint8"},{"components":[{"internalType":"uint256","name":"minTokenId","type":"uint256"},{"internalType":"uint256","name":"maxTokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"signatureTime","type":"uint256"}],"internalType":"struct TheGemesisByJohnathanSchultz.NFTVoucher","name":"_voucher","type":"tuple"},{"internalType":"uint256","name":"_mintQuantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61016060405260006101409081526010906200001c908262000509565b50604080518082019091526005815264173539b7b760d91b602082015260119062000048908262000509565b50600160158190556016805461ffff191690911790553480156200006b57600080fd5b5060405162003ef238038062003ef28339810160408190526200008e91620006a1565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601481526020017f47656d536574204c617a7920436f6e7472616374000000000000000000000000815250604051806040016040528060038152602001620312e360ec1b8152508b8b81600290816200010a919062000509565b50600362000119828262000509565b50506001600055506200012c336200035c565b6001600955815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c094850190915281519190950120905291909152610120526daaeb6d7670e522a718067333cd4e3b15620003055780156200025357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200023457600080fd5b505af115801562000249573d6000803e3d6000fd5b5050505062000305565b6001600160a01b03821615620002a45760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000219565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002eb57600080fd5b505af115801562000300573d6000803e3d6000fd5b505050505b50506013869055601485905560158490556200032183620003ae565b6200033f620003386008546001600160a01b031690565b83620003ca565b600d6200034d828262000509565b5050505050505050506200078a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003b862000403565b6012620003c6828262000509565b5050565b620003d462000403565b600f80546001600160a01b0319166001600160a01b0393909316929092179091556001600160601b0316600e55565b6008546001600160a01b03163314620004625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200048f57607f821691505b602082108103620004b057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050457600081815260208120601f850160051c81016020861015620004df5750805b601f850160051c820191505b818110156200050057828155600101620004eb565b5050505b505050565b81516001600160401b0381111562000525576200052562000464565b6200053d816200053684546200047a565b84620004b6565b602080601f8311600181146200057557600084156200055c5750858301515b600019600386901b1c1916600185901b17855562000500565b600085815260208120601f198616915b82811015620005a65788860151825594840194600190910190840162000585565b5085821015620005c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620005e757600080fd5b81516001600160401b038082111562000604576200060462000464565b604051601f8301601f19908116603f011681019082821181831017156200062f576200062f62000464565b816040528381526020925086838588010111156200064c57600080fd5b600091505b8382101562000670578582018301518183018401529082019062000651565b600093810190920192909252949350505050565b80516001600160601b03811681146200069c57600080fd5b919050565b600080600080600080600080610100898b031215620006bf57600080fd5b88516001600160401b0380821115620006d757600080fd5b620006e58c838d01620005d5565b995060208b0151915080821115620006fc57600080fd5b6200070a8c838d01620005d5565b985060408b0151975060608b0151965060808b0151955060a08b01519150808211156200073657600080fd5b620007448c838d01620005d5565b94506200075460c08c0162000684565b935060e08b01519150808211156200076b57600080fd5b506200077a8b828c01620005d5565b9150509295985092959890939650565b60805160a05160c05160e0516101005161012051613718620007da6000396000612a1e01526000612a6d01526000612a48015260006129a1015260006129cb015260006129f501526137186000f3fe6080604052600436106102ae5760003560e01c80635c975abb11610175578063a2e69613116100dc578063d31e22de11610095578063e8a3d4851161006f578063e8a3d48514610918578063e9520f8a1461092d578063e985e9c514610947578063f2fde38b1461096757600080fd5b8063d31e22de146108aa578063d5abeb01146108e2578063e0a80853146108f857600080fd5b8063a2e696131461079a578063a45ba8e7146107ba578063b07eb4a3146107cf578063b88d4fde14610857578063bf960a7514610877578063c87b56dd1461088a57600080fd5b80637696e0881161012e5780637696e088146106f15780637ec4a659146107115780638da5cb5b1461073157806394354fd01461074f57806395d89b4114610765578063a22cb4651461077a57600080fd5b80635c975abb1461064d57806362b99ad4146106675780636352211e1461067c57806368209a621461069c57806370a08231146106bc578063715018a6146106dc57600080fd5b806323b872dd11610219578063438b6300116101d2578063438b6300146105235780634c501243146105505780634fdd43cb146105b757806351830227146105d75780635503a0e8146105f65780635660f8511461060b57600080fd5b806323b872dd1461045857806326987b60146104785780632a55205a1461048d5780633ccfd60b146104cc57806341f43434146104e157806342842e0e1461050357600080fd5b806313faede61161026b57806313faede6146103a457806316ba10e0146103c857806316c38b3c146103e857806318160ddd146104085780631a573d77146104255780631ae706b01461044557600080fd5b806301ffc9a7146102b357806302fa7c47146102e857806303a6735a1461030a57806306fdde031461032a578063081812fc1461034c578063095ea7b314610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612b95565b610987565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b50610308610303366004612bce565b6109b6565b005b34801561031657600080fd5b50610308610325366004612ca1565b6109f2565b34801561033657600080fd5b5061033f610a0a565b6040516102df9190612d39565b34801561035857600080fd5b5061036c610367366004612d4c565b610a9c565b6040516001600160a01b0390911681526020016102df565b34801561039057600080fd5b5061030861039f366004612d65565b610ae0565b3480156103b057600080fd5b506103ba60135481565b6040519081526020016102df565b3480156103d457600080fd5b506103086103e3366004612d8f565b610af9565b3480156103f457600080fd5b50610308610403366004612e0e565b610b0e565b34801561041457600080fd5b5060015460005403600019016103ba565b34801561043157600080fd5b50610308610440366004612e3a565b610b29565b610308610453366004612e9e565b610baf565b34801561046457600080fd5b50610308610473366004612f65565b61102c565b34801561048457600080fd5b506000546103ba565b34801561049957600080fd5b506104ad6104a8366004612fa1565b611057565b604080516001600160a01b0390931683526020830191909152016102df565b3480156104d857600080fd5b5061030861107d565b3480156104ed57600080fd5b5061036c6daaeb6d7670e522a718067333cd4e81565b34801561050f57600080fd5b5061030861051e366004612f65565b61110b565b34801561052f57600080fd5b5061054361053e366004612fc3565b611130565b6040516102df9190612fde565b34801561055c57600080fd5b5061059561056b366004613022565b60176020526000908152604090208054600182015460028301546003909301549192909160ff1684565b60408051948552602085019390935291830152151560608201526080016102df565b3480156105c357600080fd5b506103086105d2366004612ca1565b611276565b3480156105e357600080fd5b506016546102d390610100900460ff1681565b34801561060257600080fd5b5061033f61128a565b34801561061757600080fd5b5061063b610626366004612fc3565b60196020526000908152604090205460ff1681565b60405160ff90911681526020016102df565b34801561065957600080fd5b506016546102d39060ff1681565b34801561067357600080fd5b5061033f611318565b34801561068857600080fd5b5061036c610697366004612d4c565b611325565b3480156106a857600080fd5b506103086106b736600461303d565b611337565b3480156106c857600080fd5b506103ba6106d7366004612fc3565b611407565b3480156106e857600080fd5b50610308611455565b3480156106fd57600080fd5b5061030861070c366004612fa1565b611467565b34801561071d57600080fd5b5061030861072c366004612d8f565b61147a565b34801561073d57600080fd5b506008546001600160a01b031661036c565b34801561075b57600080fd5b506103ba60155481565b34801561077157600080fd5b5061033f61148f565b34801561078657600080fd5b50610308610795366004613091565b61149e565b3480156107a657600080fd5b506103ba6107b5366004612d4c565b6114b2565b3480156107c657600080fd5b5061033f6114ce565b3480156107db57600080fd5b506108246107ea366004612fc3565b6005602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102df565b34801561086357600080fd5b506103086108723660046130ad565b6114db565b610308610885366004613114565b611501565b34801561089657600080fd5b5061033f6108a5366004612d4c565b6117ff565b3480156108b657600080fd5b506103ba6108c536600461316c565b805160208183018101805160188252928201919093012091525481565b3480156108ee57600080fd5b506103ba60145481565b34801561090457600080fd5b50610308610913366004612e0e565b611980565b34801561092457600080fd5b5061033f6119a2565b34801561093957600080fd5b50600c5461063b9060ff1681565b34801561095357600080fd5b506102d36109623660046131a0565b6119af565b34801561097357600080fd5b50610308610982366004612fc3565b6119dd565b600061099282611a56565b806109a157506109a182611ac1565b806109b057506109b082611ac1565b92915050565b6109be611ae6565b600f80546001600160a01b0319166001600160a01b0393909316929092179091556bffffffffffffffffffffffff16600e55565b6109fa611ae6565b600d610a068282613255565b5050565b606060028054610a19906131d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a45906131d3565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b5050505050905090565b6000610aa782611b40565b610ac4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610aea81611b79565b610af48383611c34565b505050565b610b01611ae6565b6011610af4828483613314565b610b16611ae6565b6016805460ff1916911515919091179055565b610b31611ae6565b8060176000846004811115610b4857610b486133d3565b6004811115610b5957610b596133d3565b81526020810191909152604001600020600301805460ff1916911515919091179055801515600103610a0657816004811115610b9757610b976133d3565b600c805460ff191660ff929092169190911790555050565b8481856000610bbe8484611cbc565b9050610bd060a0850160808601612fc3565b6001600160a01b0316816001600160a01b031614610c095760405162461bcd60e51b8152600401610c00906133e9565b60405180910390fd5b8360200135610c1760005490565b11158015610c2e57508335610c2b60005490565b10155b610c4a5760405162461bcd60e51b8152600401610c0090613432565b8360200135600183610c5b60005490565b610c6591906134a5565b610c6f91906134b8565b11158015610c81575083604001358211155b610c9d5760405162461bcd60e51b8152600401610c00906134cb565b601760008b6004811115610cb357610cb36133d3565b6004811115610cc457610cc46133d3565b815260208101919091526040016000206003015460ff16610d325760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610c00565b600088118015610d57575060145488610d4a60005490565b610d5491906134a5565b11155b610d9a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601760008b6004811115610db057610db06133d3565b6004811115610dc157610dc16133d3565b8152602080820192909252604090810160009081206002015433825260199093522054610df2908a9060ff166134a5565b1115610e375760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b87601760008c6004811115610e4e57610e4e6133d3565b6004811115610e5f57610e5f6133d3565b815260200190815260200160002060010154610e7b9190613528565b341015610ec05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610f6e88888080602002602001604051908101604052809392919081815260200183836020028082843760009201829052506017935091508f90506004811115610f4557610f456133d3565b6004811115610f5657610f566133d3565b81526020019081526020016000206000015483611cdc565b610fab5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c00565b610fb5338a611cf2565b88601887604051610fc6919061353f565b90815260200160405180910390206000828254610fe391906134a5565b9091555050336000908152601960205260408120805460ff16916110068361355b565b91906101000a81548160ff021916908360ff160217905550505050505050505050505050565b826001600160a01b03811633146110465761104633611b79565b611051848484611d0c565b50505050565b600f5460009081906001600160a01b0316611071846114b2565b915091505b9250929050565b611085611ae6565b61108d611d17565b60006110a16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110eb576040519150601f19603f3d011682016040523d82523d6000602084013e6110f0565b606091505b50509050806110fe57600080fd5b506111096001600955565b565b826001600160a01b03811633146111255761112533611b79565b611051848484611d70565b6060600061113d83611407565b90506000816001600160401b0381111561115957611159612c16565b604051908082528060200260200182016040528015611182578160200160208202803683370190505b50905060016000805b848210801561119c57506014548311155b1561126b57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282018390529091611209575080516001600160a01b031615155b1561121357805191505b876001600160a01b0316826001600160a01b031603611258578385848151811061123f5761123f61357a565b60209081029190910101528261125481613590565b9350505b8361126281613590565b9450505061118b565b509195945050505050565b61127e611ae6565b6012610a068282613255565b60118054611297906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546112c3906131d3565b80156113105780601f106112e557610100808354040283529160200191611310565b820191906000526020600020905b8154815290600101906020018083116112f357829003601f168201915b505050505081565b60108054611297906131d3565b600061133082611d8b565b5192915050565b61133f611ae6565b604051806080016040528086815260200184815260200183815260200182151581525060176000866004811115611378576113786133d3565b6004811115611389576113896133d3565b8152602080820192909252604090810160002083518155918301516001808401919091559083015160028301556060909201516003909101805460ff19169115159190911790558115159003611400578360048111156113eb576113eb6133d3565b600c805460ff191660ff929092169190911790555b5050505050565b60006001600160a01b038216611430576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61145d611ae6565b6111096000611eb2565b61146f611ae6565b601391909155601555565b611482611ae6565b6010610af4828483613314565b606060038054610a19906131d3565b816114a881611b79565b610af48383611f04565b600e546000906114c4612710846135a9565b6109b09190613528565b60128054611297906131d3565b836001600160a01b03811633146114f5576114f533611b79565b61140085858585611f99565b82818360006115108484611cbc565b905061152260a0850160808601612fc3565b6001600160a01b0316816001600160a01b0316146115525760405162461bcd60e51b8152600401610c00906133e9565b836020013561156060005490565b111580156115775750833561157460005490565b10155b6115935760405162461bcd60e51b8152600401610c0090613432565b83602001356001836115a460005490565b6115ae91906134a5565b6115b891906134b8565b111580156115ca575083604001358211155b6115e65760405162461bcd60e51b8152600401610c00906134cb565b60165460ff161580156115ff5750601354876060013511155b6116615760405162461bcd60e51b815260206004820152602d60248201527f54686520636f6e747261637420697320706175736564206f7220496e76616c6960448201526c64206d696e742070726963652160981b6064820152608401610c00565b60008611801561168657506014548661167960005490565b61168391906134a5565b11155b6116c95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601554336000908152601960205260409020546116ea90889060ff166134a5565b111561172f5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b8560135461173d9190613528565b3410156117825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b61178c3387611cf2565b8560188660405161179d919061353f565b908152602001604051809103902060008282546117ba91906134a5565b9091555050336000908152601960205260408120805460ff16916117dd8361355b565b91906101000a81548160ff021916908360ff1602179055505050505050505050565b606061180a82611b40565b61186e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c00565b601654610100900460ff161515600003611914576012805461188f906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546118bb906131d3565b80156119085780601f106118dd57610100808354040283529160200191611908565b820191906000526020600020905b8154815290600101906020018083116118eb57829003601f168201915b50505050509050919050565b600061192b60408051602081019091526000815290565b9050600081511161194b5760405180602001604052806000815250611979565b8061195584611fe4565b6011604051602001611969939291906135cb565b6040516020818303038152906040525b9392505050565b611988611ae6565b601680549115156101000261ff0019909216919091179055565b600d8054611297906131d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6119e5611ae6565b6001600160a01b038116611a4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c00565b611a5381611eb2565b50565b60006001600160e01b031982166380ac58cd60e01b1480611a87575063152a902d60e11b6001600160e01b03198316145b80611aa257506001600160e01b03198216635b5e139f60e01b145b806109b057506301ffc9a760e01b6001600160e01b03198316146109b0565b60006001600160e01b0319821663152a902d60e11b14806109b057506109b082611a56565b6008546001600160a01b031633146111095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b600081600111158015611b54575060005482105b80156109b0575050600090815260046020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b15611a5357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c919061366b565b611a5357604051633b79c77360e21b81526001600160a01b0382166004820152602401610c00565b6000611c3f82611325565b9050806001600160a01b0316836001600160a01b031603611c735760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590611c935750611c9181336119af565b155b15611cb1576040516367d9dca160e11b815260040160405180910390fd5b610af4838383612076565b600080611cc8846120d2565b9050611cd48184612178565b949350505050565b600082611ce9858461219c565b14949350505050565b610a068282604051806020016040528060008152506121e1565b610af48383836121ee565b600260095403611d695760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002600955565b610af4838383604051806020016040528060008152506114db565b60408051606081018252600080825260208201819052918101919091528180600111158015611dbb575060005481105b15611e9957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611e975780516001600160a01b031615611e2e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611e92579392505050565b611e2e565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b03831603611f2d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611fa48484846121ee565b6001600160a01b0383163b15158015611fc65750611fc4848484846123ff565b155b15611051576040516368d2bf6b60e11b815260040160405180910390fd5b60606000611ff1836124ea565b60010190506000816001600160401b0381111561201057612010612c16565b6040519080825280601f01601f19166020018201604052801561203a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461204457509392505050565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109b07f5012e7918aa89886d1e213d3933ce9d8ac8deb8b2814d259b9accc663873fe42833560208501356040860135606087013561211960a0890160808a01612fc3565b6040805160208101979097528601949094526060850192909252608084015260a0838101919091526001600160a01b0390911660c083015284013560e082015261010001604051602081830303815290604052805190602001206125c2565b60008060006121878585612610565b9150915061219481612652565b509392505050565b600081815b8451811015612194576121cd828683815181106121c0576121c061357a565b602002602001015161279c565b9150806121d981613590565b9150506121a1565b610af483838360016127c8565b60006121f982611d8b565b80519091506000906001600160a01b0316336001600160a01b031614806122275750815161222790336119af565b8061224257503361223784610a9c565b6001600160a01b0316145b90508061226257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146122975760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166122be57604051633a954ecd60e21b815260040160405180910390fd5b6122ce6000848460000151612076565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166123b8576000548110156123b857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611400565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612434903390899088908890600401613688565b6020604051808303816000875af192505050801561246f575060408051601f3d908101601f1916820190925261246c918101906136c5565b60015b6124cd573d80801561249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b5080516000036124c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125295772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612555576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061257357662386f26fc10000830492506010015b6305f5e100831061258b576305f5e100830492506008015b612710831061259f57612710830492506004015b606483106125b1576064830492506002015b600a83106109b05760010192915050565b60006109b06125cf612994565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008082516041036126465760208301516040840151606085015160001a61263a87828585612abb565b94509450505050611076565b50600090506002611076565b6000816004811115612666576126666133d3565b0361266e5750565b6001816004811115612682576126826133d3565b036126cf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c00565b60028160048111156126e3576126e36133d3565b036127305760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c00565b6003816004811115612744576127446133d3565b03611a535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c00565b60008183106127b8576000828152602084905260409020611979565b5060009182526020526040902090565b6000546001600160a01b0385166127f157604051622e076360e81b815260040160405180910390fd5b836000036128125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156128be57506001600160a01b0387163b15155b15612946575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461290f60008884806001019550886123ff565b61292c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036128c457826000541461294157600080fd5b61298b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203612947575b50600055611400565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156129ed57507f000000000000000000000000000000000000000000000000000000000000000046145b15612a1757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612af25750600090506003612b76565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b46573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612b6f57600060019250925050612b76565b9150600090505b94509492505050565b6001600160e01b031981168114611a5357600080fd5b600060208284031215612ba757600080fd5b813561197981612b7f565b80356001600160a01b0381168114612bc957600080fd5b919050565b60008060408385031215612be157600080fd5b612bea83612bb2565b915060208301356bffffffffffffffffffffffff81168114612c0b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612c4657612c46612c16565b604051601f8501601f19908116603f01168101908282118183101715612c6e57612c6e612c16565b81604052809350858152868686011115612c8757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612cb357600080fd5b81356001600160401b03811115612cc957600080fd5b8201601f81018413612cda57600080fd5b611cd484823560208401612c2c565b60005b83811015612d04578181015183820152602001612cec565b50506000910152565b60008151808452612d25816020860160208601612ce9565b601f01601f19169290920160200192915050565b6020815260006119796020830184612d0d565b600060208284031215612d5e57600080fd5b5035919050565b60008060408385031215612d7857600080fd5b612d8183612bb2565b946020939093013593505050565b60008060208385031215612da257600080fd5b82356001600160401b0380821115612db957600080fd5b818501915085601f830112612dcd57600080fd5b813581811115612ddc57600080fd5b866020828501011115612dee57600080fd5b60209290920196919550909350505050565b8015158114611a5357600080fd5b600060208284031215612e2057600080fd5b813561197981612e00565b803560058110612bc957600080fd5b60008060408385031215612e4d57600080fd5b612e5683612e2b565b91506020830135612c0b81612e00565b600060c08284031215612e7857600080fd5b50919050565b600082601f830112612e8f57600080fd5b61197983833560208501612c2c565b6000806000806000806101408789031215612eb857600080fd5b612ec187612e2b565b9550612ed08860208901612e66565b945060e087013593506101008701356001600160401b0380821115612ef457600080fd5b818901915089601f830112612f0857600080fd5b813581811115612f1757600080fd5b8a60208260051b8501011115612f2c57600080fd5b60208301955080945050610120890135915080821115612f4b57600080fd5b50612f5889828a01612e7e565b9150509295509295509295565b600080600060608486031215612f7a57600080fd5b612f8384612bb2565b9250612f9160208501612bb2565b9150604084013590509250925092565b60008060408385031215612fb457600080fd5b50508035926020909101359150565b600060208284031215612fd557600080fd5b61197982612bb2565b6020808252825182820181905260009190848201906040850190845b8181101561301657835183529284019291840191600101612ffa565b50909695505050505050565b60006020828403121561303457600080fd5b61197982612e2b565b600080600080600060a0868803121561305557600080fd5b8535945061306560208701612e2b565b93506040860135925060608601359150608086013561308381612e00565b809150509295509295909350565b600080604083850312156130a457600080fd5b612e5683612bb2565b600080600080608085870312156130c357600080fd5b6130cc85612bb2565b93506130da60208601612bb2565b92506040850135915060608501356001600160401b038111156130fc57600080fd5b61310887828801612e7e565b91505092959194509250565b6000806000610100848603121561312a57600080fd5b6131348585612e66565b925060c0840135915060e08401356001600160401b0381111561315657600080fd5b61316286828701612e7e565b9150509250925092565b60006020828403121561317e57600080fd5b81356001600160401b0381111561319457600080fd5b611cd484828501612e7e565b600080604083850312156131b357600080fd5b6131bc83612bb2565b91506131ca60208401612bb2565b90509250929050565b600181811c908216806131e757607f821691505b602082108103612e7857634e487b7160e01b600052602260045260246000fd5b601f821115610af457600081815260208120601f850160051c8101602086101561322e5750805b601f850160051c820191505b8181101561324d5782815560010161323a565b505050505050565b81516001600160401b0381111561326e5761326e612c16565b6132828161327c84546131d3565b84613207565b602080601f8311600181146132b7576000841561329f5750858301515b600019600386901b1c1916600185901b17855561324d565b600085815260208120601f198616915b828110156132e6578886015182559484019460019091019084016132c7565b50858210156133045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0383111561332b5761332b612c16565b61333f8361333983546131d3565b83613207565b6000601f841160018114613373576000851561335b5750838201355b600019600387901b1c1916600186901b178355611400565b600083815260209020601f19861690835b828110156133a45786850135825560209485019460019092019101613384565b50868210156133c15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526029908201527f5369676e617475726520696e76616c6964206f7220756e617574686f72697a65604082015268321031b932b0ba37b960b91b606082015260800190565b6020808252603e908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964206d696e546f6b656e4964210000606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109b0576109b061348f565b818103818111156109b0576109b061348f565b6020808252603d908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964207175616e746974792021000000606082015260800190565b80820281158282048414176109b0576109b061348f565b60008251613551818460208701612ce9565b9190910192915050565b600060ff821660ff81036135715761357161348f565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016135a2576135a261348f565b5060010190565b6000826135c657634e487b7160e01b600052601260045260246000fd5b500490565b6000845160206135de8285838a01612ce9565b8551918401916135f18184848a01612ce9565b8554920191600090613602816131d3565b6001828116801561361a576001811461362f5761365b565b60ff198416875282151583028701945061365b565b896000528560002060005b848110156136535781548982015290830190870161363a565b505082870194505b50929a9950505050505050505050565b60006020828403121561367d57600080fd5b815161197981612e00565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136bb90830184612d0d565b9695505050505050565b6000602082840312156136d757600080fd5b815161197981612b7f56fea2646970667358221220674890826a33fec0d464ee4c29a59a88d3757c47cf12b86f5e0bf252e8a27dfd64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000205468652047656d65736973206279204a6f686e617468616e20536368756c747a000000000000000000000000000000000000000000000000000000000000000347454d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f697066732f516d6150616a54456742664b4671574764474468744e714343697555457454396b427a6d33664353614a474e78332f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f697066732f516d6150616a54456742664b4671574764474468744e714343697555457454396b427a6d33664353614a474e78332f0000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c80635c975abb11610175578063a2e69613116100dc578063d31e22de11610095578063e8a3d4851161006f578063e8a3d48514610918578063e9520f8a1461092d578063e985e9c514610947578063f2fde38b1461096757600080fd5b8063d31e22de146108aa578063d5abeb01146108e2578063e0a80853146108f857600080fd5b8063a2e696131461079a578063a45ba8e7146107ba578063b07eb4a3146107cf578063b88d4fde14610857578063bf960a7514610877578063c87b56dd1461088a57600080fd5b80637696e0881161012e5780637696e088146106f15780637ec4a659146107115780638da5cb5b1461073157806394354fd01461074f57806395d89b4114610765578063a22cb4651461077a57600080fd5b80635c975abb1461064d57806362b99ad4146106675780636352211e1461067c57806368209a621461069c57806370a08231146106bc578063715018a6146106dc57600080fd5b806323b872dd11610219578063438b6300116101d2578063438b6300146105235780634c501243146105505780634fdd43cb146105b757806351830227146105d75780635503a0e8146105f65780635660f8511461060b57600080fd5b806323b872dd1461045857806326987b60146104785780632a55205a1461048d5780633ccfd60b146104cc57806341f43434146104e157806342842e0e1461050357600080fd5b806313faede61161026b57806313faede6146103a457806316ba10e0146103c857806316c38b3c146103e857806318160ddd146104085780631a573d77146104255780631ae706b01461044557600080fd5b806301ffc9a7146102b357806302fa7c47146102e857806303a6735a1461030a57806306fdde031461032a578063081812fc1461034c578063095ea7b314610384575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612b95565b610987565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b50610308610303366004612bce565b6109b6565b005b34801561031657600080fd5b50610308610325366004612ca1565b6109f2565b34801561033657600080fd5b5061033f610a0a565b6040516102df9190612d39565b34801561035857600080fd5b5061036c610367366004612d4c565b610a9c565b6040516001600160a01b0390911681526020016102df565b34801561039057600080fd5b5061030861039f366004612d65565b610ae0565b3480156103b057600080fd5b506103ba60135481565b6040519081526020016102df565b3480156103d457600080fd5b506103086103e3366004612d8f565b610af9565b3480156103f457600080fd5b50610308610403366004612e0e565b610b0e565b34801561041457600080fd5b5060015460005403600019016103ba565b34801561043157600080fd5b50610308610440366004612e3a565b610b29565b610308610453366004612e9e565b610baf565b34801561046457600080fd5b50610308610473366004612f65565b61102c565b34801561048457600080fd5b506000546103ba565b34801561049957600080fd5b506104ad6104a8366004612fa1565b611057565b604080516001600160a01b0390931683526020830191909152016102df565b3480156104d857600080fd5b5061030861107d565b3480156104ed57600080fd5b5061036c6daaeb6d7670e522a718067333cd4e81565b34801561050f57600080fd5b5061030861051e366004612f65565b61110b565b34801561052f57600080fd5b5061054361053e366004612fc3565b611130565b6040516102df9190612fde565b34801561055c57600080fd5b5061059561056b366004613022565b60176020526000908152604090208054600182015460028301546003909301549192909160ff1684565b60408051948552602085019390935291830152151560608201526080016102df565b3480156105c357600080fd5b506103086105d2366004612ca1565b611276565b3480156105e357600080fd5b506016546102d390610100900460ff1681565b34801561060257600080fd5b5061033f61128a565b34801561061757600080fd5b5061063b610626366004612fc3565b60196020526000908152604090205460ff1681565b60405160ff90911681526020016102df565b34801561065957600080fd5b506016546102d39060ff1681565b34801561067357600080fd5b5061033f611318565b34801561068857600080fd5b5061036c610697366004612d4c565b611325565b3480156106a857600080fd5b506103086106b736600461303d565b611337565b3480156106c857600080fd5b506103ba6106d7366004612fc3565b611407565b3480156106e857600080fd5b50610308611455565b3480156106fd57600080fd5b5061030861070c366004612fa1565b611467565b34801561071d57600080fd5b5061030861072c366004612d8f565b61147a565b34801561073d57600080fd5b506008546001600160a01b031661036c565b34801561075b57600080fd5b506103ba60155481565b34801561077157600080fd5b5061033f61148f565b34801561078657600080fd5b50610308610795366004613091565b61149e565b3480156107a657600080fd5b506103ba6107b5366004612d4c565b6114b2565b3480156107c657600080fd5b5061033f6114ce565b3480156107db57600080fd5b506108246107ea366004612fc3565b6005602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102df565b34801561086357600080fd5b506103086108723660046130ad565b6114db565b610308610885366004613114565b611501565b34801561089657600080fd5b5061033f6108a5366004612d4c565b6117ff565b3480156108b657600080fd5b506103ba6108c536600461316c565b805160208183018101805160188252928201919093012091525481565b3480156108ee57600080fd5b506103ba60145481565b34801561090457600080fd5b50610308610913366004612e0e565b611980565b34801561092457600080fd5b5061033f6119a2565b34801561093957600080fd5b50600c5461063b9060ff1681565b34801561095357600080fd5b506102d36109623660046131a0565b6119af565b34801561097357600080fd5b50610308610982366004612fc3565b6119dd565b600061099282611a56565b806109a157506109a182611ac1565b806109b057506109b082611ac1565b92915050565b6109be611ae6565b600f80546001600160a01b0319166001600160a01b0393909316929092179091556bffffffffffffffffffffffff16600e55565b6109fa611ae6565b600d610a068282613255565b5050565b606060028054610a19906131d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a45906131d3565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b5050505050905090565b6000610aa782611b40565b610ac4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610aea81611b79565b610af48383611c34565b505050565b610b01611ae6565b6011610af4828483613314565b610b16611ae6565b6016805460ff1916911515919091179055565b610b31611ae6565b8060176000846004811115610b4857610b486133d3565b6004811115610b5957610b596133d3565b81526020810191909152604001600020600301805460ff1916911515919091179055801515600103610a0657816004811115610b9757610b976133d3565b600c805460ff191660ff929092169190911790555050565b8481856000610bbe8484611cbc565b9050610bd060a0850160808601612fc3565b6001600160a01b0316816001600160a01b031614610c095760405162461bcd60e51b8152600401610c00906133e9565b60405180910390fd5b8360200135610c1760005490565b11158015610c2e57508335610c2b60005490565b10155b610c4a5760405162461bcd60e51b8152600401610c0090613432565b8360200135600183610c5b60005490565b610c6591906134a5565b610c6f91906134b8565b11158015610c81575083604001358211155b610c9d5760405162461bcd60e51b8152600401610c00906134cb565b601760008b6004811115610cb357610cb36133d3565b6004811115610cc457610cc46133d3565b815260208101919091526040016000206003015460ff16610d325760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610c00565b600088118015610d57575060145488610d4a60005490565b610d5491906134a5565b11155b610d9a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601760008b6004811115610db057610db06133d3565b6004811115610dc157610dc16133d3565b8152602080820192909252604090810160009081206002015433825260199093522054610df2908a9060ff166134a5565b1115610e375760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b87601760008c6004811115610e4e57610e4e6133d3565b6004811115610e5f57610e5f6133d3565b815260200190815260200160002060010154610e7b9190613528565b341015610ec05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610f6e88888080602002602001604051908101604052809392919081815260200183836020028082843760009201829052506017935091508f90506004811115610f4557610f456133d3565b6004811115610f5657610f566133d3565b81526020019081526020016000206000015483611cdc565b610fab5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c00565b610fb5338a611cf2565b88601887604051610fc6919061353f565b90815260200160405180910390206000828254610fe391906134a5565b9091555050336000908152601960205260408120805460ff16916110068361355b565b91906101000a81548160ff021916908360ff160217905550505050505050505050505050565b826001600160a01b03811633146110465761104633611b79565b611051848484611d0c565b50505050565b600f5460009081906001600160a01b0316611071846114b2565b915091505b9250929050565b611085611ae6565b61108d611d17565b60006110a16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110eb576040519150601f19603f3d011682016040523d82523d6000602084013e6110f0565b606091505b50509050806110fe57600080fd5b506111096001600955565b565b826001600160a01b03811633146111255761112533611b79565b611051848484611d70565b6060600061113d83611407565b90506000816001600160401b0381111561115957611159612c16565b604051908082528060200260200182016040528015611182578160200160208202803683370190505b50905060016000805b848210801561119c57506014548311155b1561126b57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282018390529091611209575080516001600160a01b031615155b1561121357805191505b876001600160a01b0316826001600160a01b031603611258578385848151811061123f5761123f61357a565b60209081029190910101528261125481613590565b9350505b8361126281613590565b9450505061118b565b509195945050505050565b61127e611ae6565b6012610a068282613255565b60118054611297906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546112c3906131d3565b80156113105780601f106112e557610100808354040283529160200191611310565b820191906000526020600020905b8154815290600101906020018083116112f357829003601f168201915b505050505081565b60108054611297906131d3565b600061133082611d8b565b5192915050565b61133f611ae6565b604051806080016040528086815260200184815260200183815260200182151581525060176000866004811115611378576113786133d3565b6004811115611389576113896133d3565b8152602080820192909252604090810160002083518155918301516001808401919091559083015160028301556060909201516003909101805460ff19169115159190911790558115159003611400578360048111156113eb576113eb6133d3565b600c805460ff191660ff929092169190911790555b5050505050565b60006001600160a01b038216611430576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61145d611ae6565b6111096000611eb2565b61146f611ae6565b601391909155601555565b611482611ae6565b6010610af4828483613314565b606060038054610a19906131d3565b816114a881611b79565b610af48383611f04565b600e546000906114c4612710846135a9565b6109b09190613528565b60128054611297906131d3565b836001600160a01b03811633146114f5576114f533611b79565b61140085858585611f99565b82818360006115108484611cbc565b905061152260a0850160808601612fc3565b6001600160a01b0316816001600160a01b0316146115525760405162461bcd60e51b8152600401610c00906133e9565b836020013561156060005490565b111580156115775750833561157460005490565b10155b6115935760405162461bcd60e51b8152600401610c0090613432565b83602001356001836115a460005490565b6115ae91906134a5565b6115b891906134b8565b111580156115ca575083604001358211155b6115e65760405162461bcd60e51b8152600401610c00906134cb565b60165460ff161580156115ff5750601354876060013511155b6116615760405162461bcd60e51b815260206004820152602d60248201527f54686520636f6e747261637420697320706175736564206f7220496e76616c6960448201526c64206d696e742070726963652160981b6064820152608401610c00565b60008611801561168657506014548661167960005490565b61168391906134a5565b11155b6116c95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610c00565b601554336000908152601960205260409020546116ea90889060ff166134a5565b111561172f5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610c00565b8560135461173d9190613528565b3410156117825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c00565b61178c3387611cf2565b8560188660405161179d919061353f565b908152602001604051809103902060008282546117ba91906134a5565b9091555050336000908152601960205260408120805460ff16916117dd8361355b565b91906101000a81548160ff021916908360ff1602179055505050505050505050565b606061180a82611b40565b61186e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c00565b601654610100900460ff161515600003611914576012805461188f906131d3565b80601f01602080910402602001604051908101604052809291908181526020018280546118bb906131d3565b80156119085780601f106118dd57610100808354040283529160200191611908565b820191906000526020600020905b8154815290600101906020018083116118eb57829003601f168201915b50505050509050919050565b600061192b60408051602081019091526000815290565b9050600081511161194b5760405180602001604052806000815250611979565b8061195584611fe4565b6011604051602001611969939291906135cb565b6040516020818303038152906040525b9392505050565b611988611ae6565b601680549115156101000261ff0019909216919091179055565b600d8054611297906131d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6119e5611ae6565b6001600160a01b038116611a4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c00565b611a5381611eb2565b50565b60006001600160e01b031982166380ac58cd60e01b1480611a87575063152a902d60e11b6001600160e01b03198316145b80611aa257506001600160e01b03198216635b5e139f60e01b145b806109b057506301ffc9a760e01b6001600160e01b03198316146109b0565b60006001600160e01b0319821663152a902d60e11b14806109b057506109b082611a56565b6008546001600160a01b031633146111095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b600081600111158015611b54575060005482105b80156109b0575050600090815260046020526040902054600160e01b900460ff161590565b6daaeb6d7670e522a718067333cd4e3b15611a5357604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c919061366b565b611a5357604051633b79c77360e21b81526001600160a01b0382166004820152602401610c00565b6000611c3f82611325565b9050806001600160a01b0316836001600160a01b031603611c735760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590611c935750611c9181336119af565b155b15611cb1576040516367d9dca160e11b815260040160405180910390fd5b610af4838383612076565b600080611cc8846120d2565b9050611cd48184612178565b949350505050565b600082611ce9858461219c565b14949350505050565b610a068282604051806020016040528060008152506121e1565b610af48383836121ee565b600260095403611d695760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002600955565b610af4838383604051806020016040528060008152506114db565b60408051606081018252600080825260208201819052918101919091528180600111158015611dbb575060005481105b15611e9957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611e975780516001600160a01b031615611e2e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611e92579392505050565b611e2e565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b03831603611f2d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611fa48484846121ee565b6001600160a01b0383163b15158015611fc65750611fc4848484846123ff565b155b15611051576040516368d2bf6b60e11b815260040160405180910390fd5b60606000611ff1836124ea565b60010190506000816001600160401b0381111561201057612010612c16565b6040519080825280601f01601f19166020018201604052801561203a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461204457509392505050565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109b07f5012e7918aa89886d1e213d3933ce9d8ac8deb8b2814d259b9accc663873fe42833560208501356040860135606087013561211960a0890160808a01612fc3565b6040805160208101979097528601949094526060850192909252608084015260a0838101919091526001600160a01b0390911660c083015284013560e082015261010001604051602081830303815290604052805190602001206125c2565b60008060006121878585612610565b9150915061219481612652565b509392505050565b600081815b8451811015612194576121cd828683815181106121c0576121c061357a565b602002602001015161279c565b9150806121d981613590565b9150506121a1565b610af483838360016127c8565b60006121f982611d8b565b80519091506000906001600160a01b0316336001600160a01b031614806122275750815161222790336119af565b8061224257503361223784610a9c565b6001600160a01b0316145b90508061226257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146122975760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166122be57604051633a954ecd60e21b815260040160405180910390fd5b6122ce6000848460000151612076565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166123b8576000548110156123b857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611400565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612434903390899088908890600401613688565b6020604051808303816000875af192505050801561246f575060408051601f3d908101601f1916820190925261246c918101906136c5565b60015b6124cd573d80801561249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b5080516000036124c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125295772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612555576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061257357662386f26fc10000830492506010015b6305f5e100831061258b576305f5e100830492506008015b612710831061259f57612710830492506004015b606483106125b1576064830492506002015b600a83106109b05760010192915050565b60006109b06125cf612994565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008082516041036126465760208301516040840151606085015160001a61263a87828585612abb565b94509450505050611076565b50600090506002611076565b6000816004811115612666576126666133d3565b0361266e5750565b6001816004811115612682576126826133d3565b036126cf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c00565b60028160048111156126e3576126e36133d3565b036127305760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c00565b6003816004811115612744576127446133d3565b03611a535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c00565b60008183106127b8576000828152602084905260409020611979565b5060009182526020526040902090565b6000546001600160a01b0385166127f157604051622e076360e81b815260040160405180910390fd5b836000036128125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156128be57506001600160a01b0387163b15155b15612946575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461290f60008884806001019550886123ff565b61292c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036128c457826000541461294157600080fd5b61298b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203612947575b50600055611400565b6000306001600160a01b037f0000000000000000000000003dbe6054376bdcdd0fadcae004c7db3be2ed2707161480156129ed57507f000000000000000000000000000000000000000000000000000000000000000146145b15612a1757507fbb3f06c40d3f6e1aca2bf17e2da0c4c5704502515b19bb1ef5789b617bce673f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527fffe95345557ab27584e308579fbcaa1fcf177167ff95dfe09c2a8f16bd3495ac828401527fe6bbd6277e1bf288eed5e8d1780f9a50b239e86b153736bceebccf4ea79d90b360608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612af25750600090506003612b76565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b46573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612b6f57600060019250925050612b76565b9150600090505b94509492505050565b6001600160e01b031981168114611a5357600080fd5b600060208284031215612ba757600080fd5b813561197981612b7f565b80356001600160a01b0381168114612bc957600080fd5b919050565b60008060408385031215612be157600080fd5b612bea83612bb2565b915060208301356bffffffffffffffffffffffff81168114612c0b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612c4657612c46612c16565b604051601f8501601f19908116603f01168101908282118183101715612c6e57612c6e612c16565b81604052809350858152868686011115612c8757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612cb357600080fd5b81356001600160401b03811115612cc957600080fd5b8201601f81018413612cda57600080fd5b611cd484823560208401612c2c565b60005b83811015612d04578181015183820152602001612cec565b50506000910152565b60008151808452612d25816020860160208601612ce9565b601f01601f19169290920160200192915050565b6020815260006119796020830184612d0d565b600060208284031215612d5e57600080fd5b5035919050565b60008060408385031215612d7857600080fd5b612d8183612bb2565b946020939093013593505050565b60008060208385031215612da257600080fd5b82356001600160401b0380821115612db957600080fd5b818501915085601f830112612dcd57600080fd5b813581811115612ddc57600080fd5b866020828501011115612dee57600080fd5b60209290920196919550909350505050565b8015158114611a5357600080fd5b600060208284031215612e2057600080fd5b813561197981612e00565b803560058110612bc957600080fd5b60008060408385031215612e4d57600080fd5b612e5683612e2b565b91506020830135612c0b81612e00565b600060c08284031215612e7857600080fd5b50919050565b600082601f830112612e8f57600080fd5b61197983833560208501612c2c565b6000806000806000806101408789031215612eb857600080fd5b612ec187612e2b565b9550612ed08860208901612e66565b945060e087013593506101008701356001600160401b0380821115612ef457600080fd5b818901915089601f830112612f0857600080fd5b813581811115612f1757600080fd5b8a60208260051b8501011115612f2c57600080fd5b60208301955080945050610120890135915080821115612f4b57600080fd5b50612f5889828a01612e7e565b9150509295509295509295565b600080600060608486031215612f7a57600080fd5b612f8384612bb2565b9250612f9160208501612bb2565b9150604084013590509250925092565b60008060408385031215612fb457600080fd5b50508035926020909101359150565b600060208284031215612fd557600080fd5b61197982612bb2565b6020808252825182820181905260009190848201906040850190845b8181101561301657835183529284019291840191600101612ffa565b50909695505050505050565b60006020828403121561303457600080fd5b61197982612e2b565b600080600080600060a0868803121561305557600080fd5b8535945061306560208701612e2b565b93506040860135925060608601359150608086013561308381612e00565b809150509295509295909350565b600080604083850312156130a457600080fd5b612e5683612bb2565b600080600080608085870312156130c357600080fd5b6130cc85612bb2565b93506130da60208601612bb2565b92506040850135915060608501356001600160401b038111156130fc57600080fd5b61310887828801612e7e565b91505092959194509250565b6000806000610100848603121561312a57600080fd5b6131348585612e66565b925060c0840135915060e08401356001600160401b0381111561315657600080fd5b61316286828701612e7e565b9150509250925092565b60006020828403121561317e57600080fd5b81356001600160401b0381111561319457600080fd5b611cd484828501612e7e565b600080604083850312156131b357600080fd5b6131bc83612bb2565b91506131ca60208401612bb2565b90509250929050565b600181811c908216806131e757607f821691505b602082108103612e7857634e487b7160e01b600052602260045260246000fd5b601f821115610af457600081815260208120601f850160051c8101602086101561322e5750805b601f850160051c820191505b8181101561324d5782815560010161323a565b505050505050565b81516001600160401b0381111561326e5761326e612c16565b6132828161327c84546131d3565b84613207565b602080601f8311600181146132b7576000841561329f5750858301515b600019600386901b1c1916600185901b17855561324d565b600085815260208120601f198616915b828110156132e6578886015182559484019460019091019084016132c7565b50858210156133045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0383111561332b5761332b612c16565b61333f8361333983546131d3565b83613207565b6000601f841160018114613373576000851561335b5750838201355b600019600387901b1c1916600186901b178355611400565b600083815260209020601f19861690835b828110156133a45786850135825560209485019460019092019101613384565b50868210156133c15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052602160045260246000fd5b60208082526029908201527f5369676e617475726520696e76616c6964206f7220756e617574686f72697a65604082015268321031b932b0ba37b960b91b606082015260800190565b6020808252603e908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964206d696e546f6b656e4964210000606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109b0576109b061348f565b818103818111156109b0576109b061348f565b6020808252603d908201527f5369676e617475726520696e76616c6964206f7220696e76616c6964206d617860408201527f546f6b656e4964206f7220696e76616c6964207175616e746974792021000000606082015260800190565b80820281158282048414176109b0576109b061348f565b60008251613551818460208701612ce9565b9190910192915050565b600060ff821660ff81036135715761357161348f565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016135a2576135a261348f565b5060010190565b6000826135c657634e487b7160e01b600052601260045260246000fd5b500490565b6000845160206135de8285838a01612ce9565b8551918401916135f18184848a01612ce9565b8554920191600090613602816131d3565b6001828116801561361a576001811461362f5761365b565b60ff198416875282151583028701945061365b565b896000528560002060005b848110156136535781548982015290830190870161363a565b505082870194505b50929a9950505050505050505050565b60006020828403121561367d57600080fd5b815161197981612e00565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136bb90830184612d0d565b9695505050505050565b6000602082840312156136d757600080fd5b815161197981612b7f56fea2646970667358221220674890826a33fec0d464ee4c29a59a88d3757c47cf12b86f5e0bf252e8a27dfd64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009c40000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000205468652047656d65736973206279204a6f686e617468616e20536368756c747a000000000000000000000000000000000000000000000000000000000000000347454d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f697066732f516d6150616a54456742664b4671574764474468744e714343697555457454396b427a6d33664353614a474e78332f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f697066732f516d6150616a54456742664b4671574764474468744e714343697555457454396b427a6d33664353614a474e78332f0000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): The Gemesis by Johnathan Schultz
Arg [1] : _tokenSymbol (string): GEM
Arg [2] : _cost (uint256): 0
Arg [3] : _maxSupply (uint256): 2500
Arg [4] : _maxMintAmountPerTx (uint256): 1
Arg [5] : _hiddenMetadataUri (string): https://gemset.mypinata.cloud/ipfs/QmaPajTEgBfKFqWGdGDhtNqCCiuUEtT9kBzm3fCSaJGNx3/
Arg [6] : _royaltyFeesInBips (uint96): 1000
Arg [7] : _contractURI (string): https://gemset.mypinata.cloud/ipfs/QmaPajTEgBfKFqWGdGDhtNqCCiuUEtT9kBzm3fCSaJGNx3/
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [9] : 5468652047656d65736973206279204a6f686e617468616e20536368756c747a
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 47454d0000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [13] : 68747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f6970
Arg [14] : 66732f516d6150616a54456742664b4671574764474468744e71434369755545
Arg [15] : 7454396b427a6d33664353614a474e78332f0000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [17] : 68747470733a2f2f67656d7365742e6d7970696e6174612e636c6f75642f6970
Arg [18] : 66732f516d6150616a54456742664b4671574764474468744e71434369755545
Arg [19] : 7454396b427a6d33664353614a474e78332f0000000000000000000000000000
Deployed Bytecode Sourcemap
112407:10487:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122578:313;;;;;;;;;;-1:-1:-1;122578:313:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;122578:313:0;;;;;;;;121816:181;;;;;;;;;;-1:-1:-1;121816:181:0;;;;;:::i;:::-;;:::i;:::-;;121689:119;;;;;;;;;;-1:-1:-1;121689:119:0;;;;;:::i;:::-;;:::i;98221:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;99732:204::-;;;;;;;;;;-1:-1:-1;99732:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3471:32:1;;;3453:51;;3441:2;3426:18;99732:204:0;3307:203:1;117831:157:0;;;;;;;;;;-1:-1:-1;117831:157:0;;;;;:::i;:::-;;:::i;112802:19::-;;;;;;;;;;;;;;;;;;;3920:25:1;;;3908:2;3893:18;112802:19:0;3774:177:1;120801:108:0;;;;;;;;;;-1:-1:-1;120801:108:0;;;;;:::i;:::-;;:::i;120917:83::-;;;;;;;;;;-1:-1:-1;120917:83:0;;;;;:::i;:::-;;:::i;94056:303::-;;;;;;;;;;-1:-1:-1;119664:1:0;94310:12;94100:7;94294:13;:28;-1:-1:-1;;94294:46:0;94056:303;;121449:232;;;;;;;;;;-1:-1:-1;121449:232:0;;;;;:::i;:::-;;:::i;115310:1021::-;;;;;;:::i;:::-;;:::i;117061:163::-;;;;;;;;;;-1:-1:-1;117061:163:0;;;;;:::i;:::-;;:::i;119681:92::-;;;;;;;;;;-1:-1:-1;119725:7:0;119752:13;119681:92;;122173:187;;;;;;;;;;-1:-1:-1;122173:187:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7683:32:1;;;7665:51;;7747:2;7732:18;;7725:34;;;;7638:18;122173:187:0;7491:274:1;122005:160:0;;;;;;;;;;;;;:::i;18592:143::-;;;;;;;;;;;;18692:42;18592:143;;117232:171;;;;;;;;;;-1:-1:-1;117232:171:0;;;;;:::i;:::-;;:::i;118708:854::-;;;;;;;;;;-1:-1:-1;118708:854:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;113543:51::-;;;;;;;;;;-1:-1:-1;113543:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9266:25:1;;;9322:2;9307:18;;9300:34;;;;9350:18;;;9343:34;9420:14;9413:22;9408:2;9393:18;;9386:50;9253:3;9238:19;113543:51:0;9041:401:1;120539:138:0;;;;;;;;;;-1:-1:-1;120539:138:0;;;;;:::i;:::-;;:::i;112937:28::-;;;;;;;;;;-1:-1:-1;112937:28:0;;;;;;;;;;;112718:33;;;;;;;;;;;;;:::i;113666:38::-;;;;;;;;;;-1:-1:-1;113666:38:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9619:4:1;9607:17;;;9589:36;;9577:2;9562:18;113666:38:0;9447:184:1;112905:25:0;;;;;;;;;;-1:-1:-1;112905:25:0;;;;;;;;112683:28;;;;;;;;;;;;;:::i;98030:124::-;;;;;;;;;;-1:-1:-1;98030:124:0;;;;;:::i;:::-;;:::i;121008:433::-;;;;;;;;;;-1:-1:-1;121008:433:0;;;;;:::i;:::-;;:::i;95205:206::-;;;;;;;;;;-1:-1:-1;95205:206:0;;;;;:::i;:::-;;:::i;65033:103::-;;;;;;;;;;;;;:::i;120372:159::-;;;;;;;;;;-1:-1:-1;120372:159:0;;;;;:::i;:::-;;:::i;120685:108::-;;;;;;;;;;-1:-1:-1;120685:108:0;;;;;:::i;:::-;;:::i;64385:87::-;;;;;;;;;;-1:-1:-1;64458:6:0;;-1:-1:-1;;;;;64458:6:0;64385:87;;112859:37;;;;;;;;;;;;;;;;98390:104;;;;;;;;;;;;;:::i;117647:176::-;;;;;;;;;;-1:-1:-1;117647:176:0;;;;;:::i;:::-;;:::i;122428:142::-;;;;;;;;;;-1:-1:-1;122428:142:0;;;;;:::i;:::-;;:::i;112758:31::-;;;;;;;;;;;;;:::i;93226:51::-;;;;;;;;;;-1:-1:-1;93226:51:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;93226:51:0;;;;-1:-1:-1;;;93226:51:0;;;;;-1:-1:-1;;;93226:51:0;;;;;-1:-1:-1;;;93226:51:0;;;;;;;;;-1:-1:-1;;;;;10773:15:1;;;10755:34;;10825:15;;;10820:2;10805:18;;10798:43;10877:15;;;10857:18;;;10850:43;;;;10929:15;;;10924:2;10909:18;;10902:43;10705:3;10690:19;93226:51:0;10495:456:1;117411:228:0;;;;;;;;;;-1:-1:-1;117411:228:0;;;;;:::i;:::-;;:::i;116339:710::-;;;;;;:::i;:::-;;:::i;119781:488::-;;;;;;;;;;-1:-1:-1;119781:488:0;;;;;:::i;:::-;;:::i;113601:43::-;;;;;;;;;;-1:-1:-1;113601:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;112828:24;;;;;;;;;;;;;;;;120277:87;;;;;;;;;;-1:-1:-1;120277:87:0;;;;;:::i;:::-;;:::i;112572:25::-;;;;;;;;;;;;;:::i;112537:28::-;;;;;;;;;;-1:-1:-1;112537:28:0;;;;;;;;100366:164;;;;;;;;;;-1:-1:-1;100366:164:0;;;;;:::i;:::-;;:::i;65291:201::-;;;;;;;;;;-1:-1:-1;65291:201:0;;;;;:::i;:::-;;:::i;122578:313::-;122697:4;122735:38;122761:11;122735:25;:38::i;:::-;:94;;;;122791:38;122817:11;122791:25;:38::i;:::-;122735:148;;;;122847:36;122871:11;122847:23;:36::i;:::-;122714:169;122578:313;-1:-1:-1;;122578:313:0:o;121816:181::-;64271:13;:11;:13::i;:::-;121914:14:::1;:26:::0;;-1:-1:-1;;;;;;121914:26:0::1;-1:-1:-1::0;;;;;121914:26:0;;;::::1;::::0;;;::::1;::::0;;;121951:38:::1;;:17;:38:::0;121816:181::o;121689:119::-;64271:13;:11;:13::i;:::-;121774:11:::1;:26;121788:12:::0;121774:11;:26:::1;:::i;:::-;;121689:119:::0;:::o;98221:100::-;98275:13;98308:5;98301:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98221:100;:::o;99732:204::-;99800:7;99825:16;99833:7;99825;:16::i;:::-;99820:64;;99850:34;;-1:-1:-1;;;99850:34:0;;;;;;;;;;;99820:64;-1:-1:-1;99904:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;99904:24:0;;99732:204::o;117831:157::-;117927:8;20113:30;20134:8;20113:20;:30::i;:::-;117948:32:::1;117962:8;117972:7;117948:13;:32::i;:::-;117831:157:::0;;;:::o;120801:108::-;64271:13;:11;:13::i;:::-;120879:9:::1;:22;120891:10:::0;;120879:9;:22:::1;:::i;120917:83::-:0;64271:13;:11;:13::i;:::-;120977:6:::1;:15:::0;;-1:-1:-1;;120977:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;120917:83::o;121449:232::-;64271:13;:11;:13::i;:::-;121582:6:::1;121536:15;:22;121552:5;121536:22;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;121536:22:0;:43:::1;;:52:::0;;-1:-1:-1;;121536:52:0::1;::::0;::::1;;::::0;;;::::1;::::0;;121602:14;::::1;;-1:-1:-1::0;121602:14:0;121599:75:::1;;121656:5;121650:12;;;;;;;;:::i;:::-;121632:15;:30:::0;;-1:-1:-1;;121632:30:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;121449:232:0:o;115310:1021::-;115495:8;115504:10;115515:13;114467:14;114484:29;114492:8;114502:10;114484:7;:29::i;:::-;114467:46;-1:-1:-1;114542:16:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;114532:26:0;:6;-1:-1:-1;;;;;114532:26:0;;114524:80;;;;-1:-1:-1;;;114524:80:0;;;;;;;:::i;:::-;;;;;;;;;114642:8;:19;;;114624:14;119725:7;119752:13;;119681:92;114624:14;:37;;114623:82;;;;-1:-1:-1;114685:19:0;;114667:14;119725:7;119752:13;;119681:92;114667:14;:37;;114623:82;114615:157;;;;-1:-1:-1;;;114615:157:0;;;;;;;:::i;:::-;114834:8;:19;;;114827:1;114811:13;114794:14;119725:7;119752:13;;119681:92;114794:14;:30;;;;:::i;:::-;:34;;;;:::i;:::-;114792:61;;114791:103;;;;;114876:8;:17;;;114859:13;:34;;114791:103;114783:177;;;;-1:-1:-1;;;114783:177:0;;;;;;;:::i;:::-;115564:15:::1;:22;115580:5;115564:22;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;115564:22:0;:43:::1;;::::0;::::1;;115556:90;;;::::0;-1:-1:-1;;;115556:90:0;;18416:2:1;115556:90:0::1;::::0;::::1;18398:21:1::0;18455:2;18435:18;;;18428:30;18494:34;18474:18;;;18467:62;-1:-1:-1;;;18545:18:1;;;18538:32;18587:19;;115556:90:0::1;18214:398:1::0;115556:90:0::1;115683:1;115667:13;:17;:66;;;;;115724:9;;115706:13;115689:14;119725:7:::0;119752:13;;119681:92;115689:14:::1;:30;;;;:::i;:::-;115688:45;;115667:66;115659:99;;;::::0;-1:-1:-1;;;115659:99:0;;18819:2:1;115659:99:0::1;::::0;::::1;18801:21:1::0;18858:2;18838:18;;;18831:30;-1:-1:-1;;;18877:18:1;;;18870:50;18937:18;;115659:99:0::1;18617:344:1::0;115659:99:0::1;115816:15;:22;115832:5;115816:22;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;115816:22:0;;;:41:::1;;::::0;115785:10:::1;115779:17:::0;;:5:::1;:17:::0;;;;;:33:::1;::::0;115799:13;;115779:17:::1;;:33;:::i;:::-;:78;;115771:111;;;::::0;-1:-1:-1;;;115771:111:0;;19168:2:1;115771:111:0::1;::::0;::::1;19150:21:1::0;19207:2;19187:18;;;19180:30;-1:-1:-1;;;19226:18:1;;;19219:50;19286:18;;115771:111:0::1;18966:344:1::0;115771:111:0::1;115951:13;115916:15;:22;115932:5;115916:22;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;:32;;;:48;;;;:::i;:::-;115903:9;:61;;115895:93;;;::::0;-1:-1:-1;;;115895:93:0;;19690:2:1;115895:93:0::1;::::0;::::1;19672:21:1::0;19729:2;19709:18;;;19702:30;-1:-1:-1;;;19748:18:1;;;19741:49;19807:18;;115895:93:0::1;19488:343:1::0;115895:93:0::1;116044:28;::::0;-1:-1:-1;;116061:10:0::1;19985:2:1::0;19981:15;19977:53;116044:28:0::1;::::0;::::1;19965:66:1::0;116019:12:0::1;::::0;20047::1;;116044:28:0::1;;;;;;;;;;;;116034:39;;;;;;116019:54;;116102:73;116121:12;;116102:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;116135:15:0::1;::::0;-1:-1:-1;116102:73:0;-1:-1:-1;116151:5:0;;-1:-1:-1;116135:22:0::1;::::0;::::1;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;:33;;;116170:4;116102:18;:73::i;:::-;116094:100;;;::::0;-1:-1:-1;;;116094:100:0;;20272:2:1;116094:100:0::1;::::0;::::1;20254:21:1::0;20311:2;20291:18;;;20284:30;-1:-1:-1;;;20330:18:1;;;20323:44;20384:18;;116094:100:0::1;20070:338:1::0;116094:100:0::1;116207:36;116217:10;116229:13;116207:9;:36::i;:::-;116280:13;116254:10;116265;116254:22;;;;;;:::i;:::-;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;116310:10:0::1;116304:17;::::0;;;:5:::1;:17;::::0;;;;:19;;::::1;;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;115535:796;114456:524:::0;115310:1021;;;;;;;;;:::o;117061:163::-;117162:4;-1:-1:-1;;;;;19933:18:0;;19941:10;19933:18;19929:83;;19968:32;19989:10;19968:20;:32::i;:::-;117179:37:::1;117198:4;117204:2;117208:7;117179:18;:37::i;:::-;117061:163:::0;;;;:::o;122173:187::-;122307:14;;122270:7;;;;-1:-1:-1;;;;;122307:14:0;122323:28;122340:10;122323:16;:28::i;:::-;122299:53;;;;122173:187;;;;;;:::o;122005:160::-;64271:13;:11;:13::i;:::-;23243:21:::1;:19;:21::i;:::-;122067:7:::2;122088;64458:6:::0;;-1:-1:-1;;;;;64458:6:0;;64385:87;122088:7:::2;-1:-1:-1::0;;;;;122080:21:0::2;122109;122080:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122066:69;;;122154:2;122146:11;;;::::0;::::2;;122055:110;23287:20:::1;22681:1:::0;23807:7;:22;23624:213;23287:20:::1;122005:160::o:0;117232:171::-;117337:4;-1:-1:-1;;;;;19933:18:0;;19941:10;19933:18;19929:83;;19968:32;19989:10;19968:20;:32::i;:::-;117354:41:::1;117377:4;117383:2;117387:7;117354:22;:41::i;118708:854::-:0;118768:16;118797:23;118823:17;118833:6;118823:9;:17::i;:::-;118797:43;;118851:30;118898:15;-1:-1:-1;;;;;118884:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118884:30:0;-1:-1:-1;118851:63:0;-1:-1:-1;119664:1:0;118925:22;;119053:469;119078:15;119060;:33;:64;;;;;119115:9;;119097:14;:27;;119060:64;119053:469;;;119137:31;119171:27;;;:11;:27;;;;;;;;;119137:61;;;;;;;;;-1:-1:-1;;;;;119137:61:0;;;;-1:-1:-1;;;119137:61:0;;-1:-1:-1;;;;;119137:61:0;;;;;;;;-1:-1:-1;;;119137:61:0;;;;;;;;;;;;;;;;119215:49;;-1:-1:-1;119236:14:0;;-1:-1:-1;;;;;119236:28:0;;;119215:49;119211:117;;;119302:14;;;-1:-1:-1;119211:117:0;119366:6;-1:-1:-1;;;;;119344:28:0;:18;-1:-1:-1;;;;;119344:28:0;;119340:142;;119422:14;119389:13;119403:15;119389:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;119453:17;;;;:::i;:::-;;;;119340:142;119494:16;;;;:::i;:::-;;;;119126:396;119053:469;;;-1:-1:-1;119541:13:0;;118708:854;-1:-1:-1;;;;;118708:854:0:o;120539:138::-;64271:13;:11;:13::i;:::-;120631:17:::1;:38;120651:18:::0;120631:17;:38:::1;:::i;112718:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;112683:28::-;;;;;;;:::i;98030:124::-;98094:7;98121:20;98133:7;98121:11;:20::i;:::-;:25;;98030:124;-1:-1:-1;;98030:124:0:o;121008:433::-;64271:13;:11;:13::i;:::-;121191:142:::1;;;;;;;;121216:11;121191:142;;;;121242:10;121191:142;;;;121267:19;121191:142;;;;121301:21;121191:142;;;;::::0;121166:15:::1;:22;121182:5;121166:22;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;121166:22:0;:167;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;121166:167:0::1;::::0;::::1;;::::0;;;::::1;::::0;;121347:29;::::1;;::::0;;121344:90:::1;;121416:5;121410:12;;;;;;;;:::i;:::-;121392:15;:30:::0;;-1:-1:-1;;121392:30:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;121344:90:::1;121008:433:::0;;;;;:::o;95205:206::-;95269:7;-1:-1:-1;;;;;95293:19:0;;95289:60;;95321:28;;-1:-1:-1;;;95321:28:0;;;;;;;;;;;95289:60;-1:-1:-1;;;;;;95375:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;95375:27:0;;95205:206::o;65033:103::-;64271:13;:11;:13::i;:::-;65098:30:::1;65125:1;65098:18;:30::i;120372:159::-:0;64271:13;:11;:13::i;:::-;120460:4:::1;:12:::0;;;;120483:18:::1;:40:::0;120372:159::o;120685:108::-;64271:13;:11;:13::i;:::-;120763:9:::1;:22;120775:10:::0;;120763:9;:22:::1;:::i;98390:104::-:0;98446:13;98479:7;98472:14;;;;;:::i;117647:176::-;117751:8;20113:30;20134:8;20113:20;:30::i;:::-;117772:43:::1;117796:8;117806;117772:23;:43::i;122428:142::-:0;122545:17;;122495:7;;122523:18;122536:5;122523:10;:18;:::i;:::-;122522:40;;;;:::i;112758:31::-;;;;;;;:::i;117411:228::-;117562:4;-1:-1:-1;;;;;19933:18:0;;19941:10;19933:18;19929:83;;19968:32;19989:10;19968:20;:32::i;:::-;117584:47:::1;117607:4;117613:2;117617:7;117626:4;117584:22;:47::i;116339:710::-:0;116470:8;116479:10;116490:13;114467:14;114484:29;114492:8;114502:10;114484:7;:29::i;:::-;114467:46;-1:-1:-1;114542:16:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;114532:26:0;:6;-1:-1:-1;;;;;114532:26:0;;114524:80;;;;-1:-1:-1;;;114524:80:0;;;;;;;:::i;:::-;114642:8;:19;;;114624:14;119725:7;119752:13;;119681:92;114624:14;:37;;114623:82;;;;-1:-1:-1;114685:19:0;;114667:14;119725:7;119752:13;;119681:92;114667:14;:37;;114623:82;114615:157;;;;-1:-1:-1;;;114615:157:0;;;;;;;:::i;:::-;114834:8;:19;;;114827:1;114811:13;114794:14;119725:7;119752:13;;119681:92;114794:14;:30;;;;:::i;:::-;:34;;;;:::i;:::-;114792:61;;114791:103;;;;;114876:8;:17;;;114859:13;:34;;114791:103;114783:177;;;;-1:-1:-1;;;114783:177:0;;;;;;;:::i;:::-;116531:6:::1;::::0;::::1;;116530:7;116529:40:::0;::::1;;;;116564:4;;116543:8;:17;;;:25;;116529:40;116521:98;;;::::0;-1:-1:-1;;;116521:98:0;;21923:2:1;116521:98:0::1;::::0;::::1;21905:21:1::0;21962:2;21942:18;;;21935:30;22001:34;21981:18;;;21974:62;-1:-1:-1;;;22052:18:1;;;22045:43;22105:19;;116521:98:0::1;21721:409:1::0;116521:98:0::1;116656:1;116640:13;:17;:66;;;;;116697:9;;116679:13;116662:14;119725:7:::0;119752:13;;119681:92;116662:14:::1;:30;;;;:::i;:::-;116661:45;;116640:66;116632:99;;;::::0;-1:-1:-1;;;116632:99:0;;18819:2:1;116632:99:0::1;::::0;::::1;18801:21:1::0;18858:2;18838:18;;;18831:30;-1:-1:-1;;;18877:18:1;;;18870:50;18937:18;;116632:99:0::1;18617:344:1::0;116632:99:0::1;116789:18;::::0;116758:10:::1;116752:17;::::0;;;:5:::1;:17;::::0;;;;;:33:::1;::::0;116772:13;;116752:17:::1;;:33;:::i;:::-;:55;;116744:88;;;::::0;-1:-1:-1;;;116744:88:0;;19168:2:1;116744:88:0::1;::::0;::::1;19150:21:1::0;19207:2;19187:18;;;19180:30;-1:-1:-1;;;19226:18:1;;;19219:50;19286:18;;116744:88:0::1;18966:344:1::0;116744:88:0::1;116875:13;116868:4;;:20;;;;:::i;:::-;116855:9;:33;;116847:65;;;::::0;-1:-1:-1;;;116847:65:0;;19690:2:1;116847:65:0::1;::::0;::::1;19672:21:1::0;19729:2;19709:18;;;19702:30;-1:-1:-1;;;19748:18:1;;;19741:49;19807:18;;116847:65:0::1;19488:343:1::0;116847:65:0::1;116925:36;116935:10;116947:13;116925:9;:36::i;:::-;116998:13;116972:10;116983;116972:22;;;;;;:::i;:::-;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;117028:10:0::1;117022:17;::::0;;;:5:::1;:17;::::0;;;;:19;;::::1;;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;114456:524:::0;116339:710;;;;;;:::o;119781:488::-;119855:13;119889:17;119897:8;119889:7;:17::i;:::-;119881:77;;;;-1:-1:-1;;;119881:77:0;;22337:2:1;119881:77:0;;;22319:21:1;22376:2;22356:18;;;22349:30;22415:34;22395:18;;;22388:62;-1:-1:-1;;;22466:18:1;;;22459:45;22521:19;;119881:77:0;22135:411:1;119881:77:0;119975:8;;;;;;;:17;;119987:5;119975:17;119971:74;;120016:17;120009:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119781:488;;;:::o;119971:74::-;120057:28;120088:10;99208:9;;;;;;;;;-1:-1:-1;99208:9:0;;;99131:94;120088:10;120057:41;;120147:1;120122:14;120116:28;:32;:145;;;;;;;;;;;;;;;;;120188:14;120204:26;120221:8;120204:16;:26::i;:::-;120232:9;120171:71;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;120116:145;120109:152;119781:488;-1:-1:-1;;;119781:488:0:o;120277:87::-;64271:13;:11;:13::i;:::-;120339:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;120339:17:0;;::::1;::::0;;;::::1;::::0;;120277:87::o;112572:25::-;;;;;;;:::i;100366:164::-;-1:-1:-1;;;;;100487:25:0;;;100463:4;100487:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;100366:164::o;65291:201::-;64271:13;:11;:13::i;:::-;-1:-1:-1;;;;;65380:22:0;::::1;65372:73;;;::::0;-1:-1:-1;;;65372:73:0;;24014:2:1;65372:73:0::1;::::0;::::1;23996:21:1::0;24053:2;24033:18;;;24026:30;24092:34;24072:18;;;24065:62;-1:-1:-1;;;24143:18:1;;;24136:36;24189:19;;65372:73:0::1;23812:402:1::0;65372:73:0::1;65456:28;65475:8;65456:18;:28::i;:::-;65291:201:::0;:::o;94807:334::-;94909:4;-1:-1:-1;;;;;;94946:40:0;;-1:-1:-1;;;94946:40:0;;:69;;-1:-1:-1;;;;;;;;;;94990:25:0;;;94946:69;:134;;;-1:-1:-1;;;;;;;95032:48:0;;-1:-1:-1;;;95032:48:0;94946:134;:187;;;-1:-1:-1;;;;;;;;;;79121:40:0;;;95097:36;79012:157;80562:215;80664:4;-1:-1:-1;;;;;;80688:41:0;;-1:-1:-1;;;80688:41:0;;:81;;;80733:36;80757:11;80733:23;:36::i;64550:132::-;64458:6;;-1:-1:-1;;;;;64458:6:0;63016:10;64614:23;64606:68;;;;-1:-1:-1;;;64606:68:0;;24421:2:1;64606:68:0;;;24403:21:1;;;24440:18;;;24433:30;24499:34;24479:18;;;24472:62;24551:18;;64606:68:0;24219:356:1;101718:187:0;101775:4;101818:7;119664:1;101799:26;;:53;;;;;101839:13;;101829:7;:23;101799:53;:98;;;;-1:-1:-1;;101870:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;101870:27:0;;;;101869:28;;101718:187::o;20171:414::-;18692:42;20357:45;:49;20353:225;;20428:67;;-1:-1:-1;;;20428:67:0;;20479:4;20428:67;;;24792:34:1;-1:-1:-1;;;;;24862:15:1;;24842:18;;;24835:43;18692:42:0;;20428;;24727:18:1;;20428:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20423:144;;20523:28;;-1:-1:-1;;;20523:28:0;;-1:-1:-1;;;;;3471:32:1;;20523:28:0;;;3453:51:1;3426:18;;20523:28:0;3307:203:1;99287:379:0;99368:13;99384:24;99400:7;99384:15;:24::i;:::-;99368:40;;99429:5;-1:-1:-1;;;;;99423:11:0;:2;-1:-1:-1;;;;;99423:11:0;;99419:48;;99443:24;;-1:-1:-1;;;99443:24:0;;;;;;;;;;;99419:48;63016:10;-1:-1:-1;;;;;99484:21:0;;;;;;:63;;-1:-1:-1;99510:37:0;99527:5;63016:10;100366:164;:::i;99510:37::-;99509:38;99484:63;99480:138;;;99571:35;;-1:-1:-1;;;99571:35:0;;;;;;;;;;;99480:138;99630:28;99639:2;99643:7;99652:5;99630:8;:28::i;118499:201::-;118592:7;118612:14;118629;118635:7;118629:5;:14::i;:::-;118612:31;;118661;118675:6;118682:9;118661:13;:31::i;:::-;118654:38;118499:201;-1:-1:-1;;;;118499:201:0:o;25066:190::-;25191:4;25244;25215:25;25228:5;25235:4;25215:12;:25::i;:::-;:33;;25066:190;-1:-1:-1;;;;25066:190:0:o;101913:104::-;101982:27;101992:2;101996:8;101982:27;;;;;;;;;;;;:9;:27::i;100597:170::-;100731:28;100741:4;100747:2;100751:7;100731:9;:28::i;23323:293::-;22725:1;23457:7;;:19;23449:63;;;;-1:-1:-1;;;23449:63:0;;25341:2:1;23449:63:0;;;25323:21:1;25380:2;25360:18;;;25353:30;25419:33;25399:18;;;25392:61;25470:18;;23449:63:0;25139:355:1;23449:63:0;22725:1;23590:7;:18;23323:293::o;100838:185::-;100976:39;100993:4;100999:2;101003:7;100976:39;;;;;;;;;;;;:16;:39::i;96860:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;96970:7:0;;119664:1;97019:23;;:47;;;;;97053:13;;97046:4;:20;97019:47;97015:886;;;97087:31;97121:17;;;:11;:17;;;;;;;;;97087:51;;;;;;;;;-1:-1:-1;;;;;97087:51:0;;;;-1:-1:-1;;;97087:51:0;;-1:-1:-1;;;;;97087:51:0;;;;;;;;-1:-1:-1;;;97087:51:0;;;;;;;;;;;;;;97157:729;;97207:14;;-1:-1:-1;;;;;97207:28:0;;97203:101;;97271:9;96860:1108;-1:-1:-1;;;96860:1108:0:o;97203:101::-;-1:-1:-1;;;97646:6:0;97691:17;;;;:11;:17;;;;;;;;;97679:29;;;;;;;;;-1:-1:-1;;;;;97679:29:0;;;;;-1:-1:-1;;;97679:29:0;;-1:-1:-1;;;;;97679:29:0;;;;;;;;-1:-1:-1;;;97679:29:0;;;;;;;;;;;;;97739:28;97735:109;;97807:9;96860:1108;-1:-1:-1;;;96860:1108:0:o;97735:109::-;97606:261;;;97068:833;97015:886;97929:31;;-1:-1:-1;;;97929:31:0;;;;;;;;;;;65652:191;65745:6;;;-1:-1:-1;;;;;65762:17:0;;;-1:-1:-1;;;;;;65762:17:0;;;;;;;65795:40;;65745:6;;;65762:17;65745:6;;65795:40;;65726:16;;65795:40;65715:128;65652:191;:::o;100008:287::-;63016:10;-1:-1:-1;;;;;100107:24:0;;;100103:54;;100140:17;;-1:-1:-1;;;100140:17:0;;;;;;;;;;;100103:54;63016:10;100170:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;100170:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;100170:53:0;;;;;;;;;;100239:48;;540:41:1;;;100170:42:0;;63016:10;100239:48;;513:18:1;100239:48:0;;;;;;;100008:287;;:::o;101094:369::-;101261:28;101271:4;101277:2;101281:7;101261:9;:28::i;:::-;-1:-1:-1;;;;;101304:13:0;;67378:19;:23;;101304:76;;;;;101324:56;101355:4;101361:2;101365:7;101374:5;101324:30;:56::i;:::-;101323:57;101304:76;101300:156;;;101404:40;;-1:-1:-1;;;101404:40:0;;;;;;;;;;;46710:716;46766:13;46817:14;46834:17;46845:5;46834:10;:17::i;:::-;46854:1;46834:21;46817:38;;46870:20;46904:6;-1:-1:-1;;;;;46893:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46893:18:0;-1:-1:-1;46870:41:0;-1:-1:-1;47035:28:0;;;47051:2;47035:28;47092:288;-1:-1:-1;;47124:5:0;-1:-1:-1;;;47261:2:0;47250:14;;47245:30;47124:5;47232:44;47322:2;47313:11;;;-1:-1:-1;47343:21:0;47092:288;47343:21;-1:-1:-1;47401:6:0;46710:716;-1:-1:-1;;;46710:716:0:o;109329:196::-;109444:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;109444:29:0;-1:-1:-1;;;;;109444:29:0;;;;;;;;;109489:28;;109444:24;;109489:28;;;;;;;109329:196;;;:::o;117996:495::-;118063:7;118090:393;118142:134;118291:18;;118324;;;;118357:16;;;;118388;;;;118419:15;;;;;;;;:::i;:::-;118117:364;;;;;;25814:25:1;;;;25855:18;;25848:34;;;;25898:18;;;25891:34;;;;25941:18;;;25934:34;118449:21:0;25984:19:1;;;25977:35;;;;-1:-1:-1;;;;;26049:32:1;;;26028:19;;;26021:61;118449:21:0;;;26098:19:1;;;26091:35;25786:19;;118117:364:0;;;;;;;;;;;;118107:375;;;;;;118090:16;:393::i;52360:231::-;52438:7;52459:17;52478:18;52500:27;52511:4;52517:9;52500:10;:27::i;:::-;52458:69;;;;52538:18;52550:5;52538:11;:18::i;:::-;-1:-1:-1;52574:9:0;52360:231;-1:-1:-1;;;52360:231:0:o;25933:296::-;26016:7;26059:4;26016:7;26074:118;26098:5;:12;26094:1;:16;26074:118;;;26147:33;26157:12;26171:5;26177:1;26171:8;;;;;;;;:::i;:::-;;;;;;;26147:9;:33::i;:::-;26132:48;-1:-1:-1;26112:3:0;;;;:::i;:::-;;;;26074:118;;102380:163;102503:32;102509:2;102513:8;102523:5;102530:4;102503:5;:32::i;104831:2112::-;104946:35;104984:20;104996:7;104984:11;:20::i;:::-;105059:18;;104946:58;;-1:-1:-1;105017:22:0;;-1:-1:-1;;;;;105043:34:0;63016:10;-1:-1:-1;;;;;105043:34:0;;:101;;;-1:-1:-1;105111:18:0;;105094:50;;63016:10;100366:164;:::i;105094:50::-;105043:154;;;-1:-1:-1;63016:10:0;105161:20;105173:7;105161:11;:20::i;:::-;-1:-1:-1;;;;;105161:36:0;;105043:154;105017:181;;105216:17;105211:66;;105242:35;;-1:-1:-1;;;105242:35:0;;;;;;;;;;;105211:66;105314:4;-1:-1:-1;;;;;105292:26:0;:13;:18;;;-1:-1:-1;;;;;105292:26:0;;105288:67;;105327:28;;-1:-1:-1;;;105327:28:0;;;;;;;;;;;105288:67;-1:-1:-1;;;;;105370:16:0;;105366:52;;105395:23;;-1:-1:-1;;;105395:23:0;;;;;;;;;;;105366:52;105539:49;105556:1;105560:7;105569:13;:18;;;105539:8;:49::i;:::-;-1:-1:-1;;;;;105884:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;105884:31:0;;;-1:-1:-1;;;;;105884:31:0;;;-1:-1:-1;;105884:31:0;;;;;;;105930:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;105930:29:0;;;;;;;;;;;105976:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;106021:61:0;;;;-1:-1:-1;;;106066:15:0;106021:61;;;;;;;;;;;106356:11;;;106386:24;;;;;:29;106356:11;;106386:29;106382:445;;106611:13;;106597:11;:27;106593:219;;;106681:18;;;106649:24;;;:11;:24;;;;;;;;:50;;106764:28;;;;-1:-1:-1;;;;;106722:70:0;-1:-1:-1;;;106722:70:0;-1:-1:-1;;;;;;106722:70:0;;;-1:-1:-1;;;;;106649:50:0;;;106722:70;;;;;;;106593:219;105859:979;106874:7;106870:2;-1:-1:-1;;;;;106855:27:0;106864:4;-1:-1:-1;;;;;106855:27:0;;;;;;;;;;;106893:42;117061:163;110017:668;110202:72;;-1:-1:-1;;;110202:72:0;;110181:4;;-1:-1:-1;;;;;110202:36:0;;;;;:72;;63016:10;;110253:4;;110259:7;;110268:5;;110202:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110202:72:0;;;;;;;;-1:-1:-1;;110202:72:0;;;;;;;;;;;;:::i;:::-;;;110198:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110436:6;:13;110453:1;110436:18;110432:235;;110482:40;;-1:-1:-1;;;110482:40:0;;;;;;;;;;;110432:235;110625:6;110619:13;110610:6;110606:2;110602:15;110595:38;110198:480;-1:-1:-1;;;;;;110321:55:0;-1:-1:-1;;;110321:55:0;;-1:-1:-1;110017:668:0;;;;;;:::o;43576:922::-;43629:7;;-1:-1:-1;;;43707:15:0;;43703:102;;-1:-1:-1;;;43743:15:0;;;-1:-1:-1;43787:2:0;43777:12;43703:102;43832:6;43823:5;:15;43819:102;;43868:6;43859:15;;;-1:-1:-1;43903:2:0;43893:12;43819:102;43948:6;43939:5;:15;43935:102;;43984:6;43975:15;;;-1:-1:-1;44019:2:0;44009:12;43935:102;44064:5;44055;:14;44051:99;;44099:5;44090:14;;;-1:-1:-1;44133:1:0;44123:11;44051:99;44177:5;44168;:14;44164:99;;44212:5;44203:14;;;-1:-1:-1;44246:1:0;44236:11;44164:99;44290:5;44281;:14;44277:99;;44325:5;44316:14;;;-1:-1:-1;44359:1:0;44349:11;44277:99;44403:5;44394;:14;44390:66;;44439:1;44429:11;44484:6;43576:922;-1:-1:-1;;43576:922:0:o;61825:167::-;61902:7;61929:55;61951:20;:18;:20::i;:::-;61973:10;57292:57;;-1:-1:-1;;;57292:57:0;;;28259:27:1;28302:11;;;28295:27;;;28338:12;;;28331:28;;;57255:7:0;;28375:12:1;;57292:57:0;;;;;;;;;;;;57282:68;;;;;;57275:75;;57162:196;;;;;50811:747;50892:7;50901:12;50930:9;:16;50950:2;50930:22;50926:625;;51274:4;51259:20;;51253:27;51324:4;51309:20;;51303:27;51382:4;51367:20;;51361:27;50969:9;51353:36;51425:25;51436:4;51353:36;51253:27;51303;51425:10;:25::i;:::-;51418:32;;;;;;;;;50926:625;-1:-1:-1;51499:1:0;;-1:-1:-1;51503:35:0;51483:56;;49204:521;49282:20;49273:5;:29;;;;;;;;:::i;:::-;;49269:449;;49204:521;:::o;49269:449::-;49380:29;49371:5;:38;;;;;;;;:::i;:::-;;49367:351;;49426:34;;-1:-1:-1;;;49426:34:0;;27087:2:1;49426:34:0;;;27069:21:1;27126:2;27106:18;;;27099:30;27165:26;27145:18;;;27138:54;27209:18;;49426:34:0;26885:348:1;49367:351:0;49491:35;49482:5;:44;;;;;;;;:::i;:::-;;49478:240;;49543:41;;-1:-1:-1;;;49543:41:0;;27440:2:1;49543:41:0;;;27422:21:1;27479:2;27459:18;;;27452:30;27518:33;27498:18;;;27491:61;27569:18;;49543:41:0;27238:355:1;49478:240:0;49615:30;49606:5;:39;;;;;;;;:::i;:::-;;49602:116;;49662:44;;-1:-1:-1;;;49662:44:0;;27800:2:1;49662:44:0;;;27782:21:1;27839:2;27819:18;;;27812:30;27878:34;27858:18;;;27851:62;-1:-1:-1;;;27929:18:1;;;27922:32;27971:19;;49662:44:0;27598:398:1;32973:149:0;33036:7;33067:1;33063;:5;:51;;33198:13;33292:15;;;33328:4;33321:15;;;33375:4;33359:21;;33063:51;;;-1:-1:-1;33198:13:0;33292:15;;;33328:4;33321:15;33375:4;33359:21;;;32973:149::o;102802:1775::-;102941:20;102964:13;-1:-1:-1;;;;;102992:16:0;;102988:48;;103017:19;;-1:-1:-1;;;103017:19:0;;;;;;;;;;;102988:48;103051:8;103063:1;103051:13;103047:44;;103073:18;;-1:-1:-1;;;103073:18:0;;;;;;;;;;;103047:44;-1:-1:-1;;;;;103442:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;103501:49:0;;-1:-1:-1;;;;;103442:44:0;;;;;;;103501:49;;;-1:-1:-1;;;;;103442:44:0;;;;;;103501:49;;;;;;;;;;;;;;;;103567:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;103617:66:0;;;;-1:-1:-1;;;103667:15:0;103617:66;;;;;;;;;;103567:25;103764:23;;;103808:4;:23;;;;-1:-1:-1;;;;;;103816:13:0;;67378:19;:23;;103816:15;103804:641;;;103852:314;103883:38;;103908:12;;-1:-1:-1;;;;;103883:38:0;;;103900:1;;103883:38;;103900:1;;103883:38;103949:69;103988:1;103992:2;103996:14;;;;;;104012:5;103949:30;:69::i;:::-;103944:174;;104054:40;;-1:-1:-1;;;104054:40:0;;;;;;;;;;;103944:174;104161:3;104145:12;:19;103852:314;;104247:12;104230:13;;:29;104226:43;;104261:8;;;104226:43;103804:641;;;104310:120;104341:40;;104366:14;;;;;-1:-1:-1;;;;;104341:40:0;;;104358:1;;104341:40;;104358:1;;104341:40;104425:3;104409:12;:19;104310:120;;103804:641;-1:-1:-1;104459:13:0;:28;104509:60;117061:163;60598:314;60651:7;60683:4;-1:-1:-1;;;;;60692:12:0;60675:29;;:66;;;;;60725:16;60708:13;:33;60675:66;60671:234;;;-1:-1:-1;60765:24:0;;60598:314::o;60671:234::-;-1:-1:-1;61101:73:0;;;60851:10;61101:73;;;;29060:25:1;;;;60863:12:0;29101:18:1;;;29094:34;60877:15:0;29144:18:1;;;29137:34;61145:13:0;29187:18:1;;;29180:34;61168:4:0;29230:19:1;;;;29223:61;;;;61101:73:0;;;;;;;;;;29032:19:1;;;;61101:73:0;;;61091:84;;;;;;60598:314::o;53812:1520::-;53943:7;;54877:66;54864:79;;54860:163;;;-1:-1:-1;54976:1:0;;-1:-1:-1;54980:30:0;54960:51;;54860:163;55137:24;;;55120:14;55137:24;;;;;;;;;28625:25:1;;;28698:4;28686:17;;28666:18;;;28659:45;;;;28720:18;;;28713:34;;;28763:18;;;28756:34;;;55137:24:0;;28597:19:1;;55137:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55137:24:0;;-1:-1:-1;;55137:24:0;;;-1:-1:-1;;;;;;;55176:20:0;;55172:103;;55229:1;55233:29;55213:50;;;;;;;55172:103;55295:6;-1:-1:-1;55303:20:0;;-1:-1:-1;53812:1520:0;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;1060:26;1053:5;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:127::-;1202:10;1197:3;1193:20;1190:1;1183:31;1233:4;1230:1;1223:15;1257:4;1254:1;1247:15;1273:632;1338:5;-1:-1:-1;;;;;1409:2:1;1401:6;1398:14;1395:40;;;1415:18;;:::i;:::-;1490:2;1484:9;1458:2;1544:15;;-1:-1:-1;;1540:24:1;;;1566:2;1536:33;1532:42;1520:55;;;1590:18;;;1610:22;;;1587:46;1584:72;;;1636:18;;:::i;:::-;1676:10;1672:2;1665:22;1705:6;1696:15;;1735:6;1727;1720:22;1775:3;1766:6;1761:3;1757:16;1754:25;1751:45;;;1792:1;1789;1782:12;1751:45;1842:6;1837:3;1830:4;1822:6;1818:17;1805:44;1897:1;1890:4;1881:6;1873;1869:19;1865:30;1858:41;;;;1273:632;;;;;:::o;1910:451::-;1979:6;2032:2;2020:9;2011:7;2007:23;2003:32;2000:52;;;2048:1;2045;2038:12;2000:52;2088:9;2075:23;-1:-1:-1;;;;;2113:6:1;2110:30;2107:50;;;2153:1;2150;2143:12;2107:50;2176:22;;2229:4;2221:13;;2217:27;-1:-1:-1;2207:55:1;;2258:1;2255;2248:12;2207:55;2281:74;2347:7;2342:2;2329:16;2324:2;2320;2316:11;2281:74;:::i;2366:250::-;2451:1;2461:113;2475:6;2472:1;2469:13;2461:113;;;2551:11;;;2545:18;2532:11;;;2525:39;2497:2;2490:10;2461:113;;;-1:-1:-1;;2608:1:1;2590:16;;2583:27;2366:250::o;2621:271::-;2663:3;2701:5;2695:12;2728:6;2723:3;2716:19;2744:76;2813:6;2806:4;2801:3;2797:14;2790:4;2783:5;2779:16;2744:76;:::i;:::-;2874:2;2853:15;-1:-1:-1;;2849:29:1;2840:39;;;;2881:4;2836:50;;2621:271;-1:-1:-1;;2621:271:1:o;2897:220::-;3046:2;3035:9;3028:21;3009:4;3066:45;3107:2;3096:9;3092:18;3084:6;3066:45;:::i;3122:180::-;3181:6;3234:2;3222:9;3213:7;3209:23;3205:32;3202:52;;;3250:1;3247;3240:12;3202:52;-1:-1:-1;3273:23:1;;3122:180;-1:-1:-1;3122:180:1:o;3515:254::-;3583:6;3591;3644:2;3632:9;3623:7;3619:23;3615:32;3612:52;;;3660:1;3657;3650:12;3612:52;3683:29;3702:9;3683:29;:::i;:::-;3673:39;3759:2;3744:18;;;;3731:32;;-1:-1:-1;;;3515:254:1:o;3956:592::-;4027:6;4035;4088:2;4076:9;4067:7;4063:23;4059:32;4056:52;;;4104:1;4101;4094:12;4056:52;4144:9;4131:23;-1:-1:-1;;;;;4214:2:1;4206:6;4203:14;4200:34;;;4230:1;4227;4220:12;4200:34;4268:6;4257:9;4253:22;4243:32;;4313:7;4306:4;4302:2;4298:13;4294:27;4284:55;;4335:1;4332;4325:12;4284:55;4375:2;4362:16;4401:2;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4462:7;4457:2;4448:6;4444:2;4440:15;4436:24;4433:37;4430:57;;;4483:1;4480;4473:12;4430:57;4514:2;4506:11;;;;;4536:6;;-1:-1:-1;3956:592:1;;-1:-1:-1;;;;3956:592:1:o;4553:118::-;4639:5;4632:13;4625:21;4618:5;4615:32;4605:60;;4661:1;4658;4651:12;4676:241;4732:6;4785:2;4773:9;4764:7;4760:23;4756:32;4753:52;;;4801:1;4798;4791:12;4753:52;4840:9;4827:23;4859:28;4881:5;4859:28;:::i;4922:146::-;4993:20;;5042:1;5032:12;;5022:40;;5058:1;5055;5048:12;5073:328;5148:6;5156;5209:2;5197:9;5188:7;5184:23;5180:32;5177:52;;;5225:1;5222;5215:12;5177:52;5248:32;5270:9;5248:32;:::i;:::-;5238:42;;5330:2;5319:9;5315:18;5302:32;5343:28;5365:5;5343:28;:::i;5406:159::-;5469:5;5514:3;5505:6;5500:3;5496:16;5492:26;5489:46;;;5531:1;5528;5521:12;5489:46;-1:-1:-1;5553:6:1;5406:159;-1:-1:-1;5406:159:1:o;5570:221::-;5612:5;5665:3;5658:4;5650:6;5646:17;5642:27;5632:55;;5683:1;5680;5673:12;5632:55;5705:80;5781:3;5772:6;5759:20;5752:4;5744:6;5740:17;5705:80;:::i;5796:1104::-;5967:6;5975;5983;5991;5999;6007;6060:3;6048:9;6039:7;6035:23;6031:33;6028:53;;;6077:1;6074;6067:12;6028:53;6100:32;6122:9;6100:32;:::i;:::-;6090:42;;6151:66;6209:7;6204:2;6193:9;6189:18;6151:66;:::i;:::-;6141:76;;6264:3;6253:9;6249:19;6236:33;6226:43;;6320:3;6309:9;6305:19;6292:33;-1:-1:-1;;;;;6385:2:1;6377:6;6374:14;6371:34;;;6401:1;6398;6391:12;6371:34;6439:6;6428:9;6424:22;6414:32;;6484:7;6477:4;6473:2;6469:13;6465:27;6455:55;;6506:1;6503;6496:12;6455:55;6546:2;6533:16;6572:2;6564:6;6561:14;6558:34;;;6588:1;6585;6578:12;6558:34;6641:7;6636:2;6626:6;6623:1;6619:14;6615:2;6611:23;6607:32;6604:45;6601:65;;;6662:1;6659;6652:12;6601:65;6693:2;6689;6685:11;6675:21;;6715:6;6705:16;;;6774:3;6763:9;6759:19;6746:33;6730:49;;6804:2;6794:8;6791:16;6788:36;;;6820:1;6817;6810:12;6788:36;;6843:51;6886:7;6875:8;6864:9;6860:24;6843:51;:::i;:::-;6833:61;;;5796:1104;;;;;;;;:::o;6905:328::-;6982:6;6990;6998;7051:2;7039:9;7030:7;7026:23;7022:32;7019:52;;;7067:1;7064;7057:12;7019:52;7090:29;7109:9;7090:29;:::i;:::-;7080:39;;7138:38;7172:2;7161:9;7157:18;7138:38;:::i;:::-;7128:48;;7223:2;7212:9;7208:18;7195:32;7185:42;;6905:328;;;;;:::o;7238:248::-;7306:6;7314;7367:2;7355:9;7346:7;7342:23;7338:32;7335:52;;;7383:1;7380;7373:12;7335:52;-1:-1:-1;;7406:23:1;;;7476:2;7461:18;;;7448:32;;-1:-1:-1;7238:248:1:o;8009:186::-;8068:6;8121:2;8109:9;8100:7;8096:23;8092:32;8089:52;;;8137:1;8134;8127:12;8089:52;8160:29;8179:9;8160:29;:::i;8200:632::-;8371:2;8423:21;;;8493:13;;8396:18;;;8515:22;;;8342:4;;8371:2;8594:15;;;;8568:2;8553:18;;;8342:4;8637:169;8651:6;8648:1;8645:13;8637:169;;;8712:13;;8700:26;;8781:15;;;;8746:12;;;;8673:1;8666:9;8637:169;;;-1:-1:-1;8823:3:1;;8200:632;-1:-1:-1;;;;;;8200:632:1:o;8837:199::-;8906:6;8959:2;8947:9;8938:7;8934:23;8930:32;8927:52;;;8975:1;8972;8965:12;8927:52;8998:32;9020:9;8998:32;:::i;9636:534::-;9738:6;9746;9754;9762;9770;9823:3;9811:9;9802:7;9798:23;9794:33;9791:53;;;9840:1;9837;9830:12;9791:53;9876:9;9863:23;9853:33;;9905:41;9942:2;9931:9;9927:18;9905:41;:::i;:::-;9895:51;;9993:2;9982:9;9978:18;9965:32;9955:42;;10044:2;10033:9;10029:18;10016:32;10006:42;;10098:3;10087:9;10083:19;10070:33;10112:28;10134:5;10112:28;:::i;:::-;10159:5;10149:15;;;9636:534;;;;;;;;:::o;10175:315::-;10240:6;10248;10301:2;10289:9;10280:7;10276:23;10272:32;10269:52;;;10317:1;10314;10307:12;10269:52;10340:29;10359:9;10340:29;:::i;10956:537::-;11051:6;11059;11067;11075;11128:3;11116:9;11107:7;11103:23;11099:33;11096:53;;;11145:1;11142;11135:12;11096:53;11168:29;11187:9;11168:29;:::i;:::-;11158:39;;11216:38;11250:2;11239:9;11235:18;11216:38;:::i;:::-;11206:48;;11301:2;11290:9;11286:18;11273:32;11263:42;;11356:2;11345:9;11341:18;11328:32;-1:-1:-1;;;;;11375:6:1;11372:30;11369:50;;;11415:1;11412;11405:12;11369:50;11438:49;11479:7;11470:6;11459:9;11455:22;11438:49;:::i;:::-;11428:59;;;10956:537;;;;;;;:::o;11498:523::-;11614:6;11622;11630;11683:3;11671:9;11662:7;11658:23;11654:33;11651:53;;;11700:1;11697;11690:12;11651:53;11723:57;11772:7;11761:9;11723:57;:::i;:::-;11713:67;;11827:3;11816:9;11812:19;11799:33;11789:43;;11883:3;11872:9;11868:19;11855:33;-1:-1:-1;;;;;11903:6:1;11900:30;11897:50;;;11943:1;11940;11933:12;11897:50;11966:49;12007:7;11998:6;11987:9;11983:22;11966:49;:::i;:::-;11956:59;;;11498:523;;;;;:::o;12026:320::-;12094:6;12147:2;12135:9;12126:7;12122:23;12118:32;12115:52;;;12163:1;12160;12153:12;12115:52;12203:9;12190:23;-1:-1:-1;;;;;12228:6:1;12225:30;12222:50;;;12268:1;12265;12258:12;12222:50;12291:49;12332:7;12323:6;12312:9;12308:22;12291:49;:::i;12351:260::-;12419:6;12427;12480:2;12468:9;12459:7;12455:23;12451:32;12448:52;;;12496:1;12493;12486:12;12448:52;12519:29;12538:9;12519:29;:::i;:::-;12509:39;;12567:38;12601:2;12590:9;12586:18;12567:38;:::i;:::-;12557:48;;12351:260;;;;;:::o;12616:380::-;12695:1;12691:12;;;;12738;;;12759:61;;12813:4;12805:6;12801:17;12791:27;;12759:61;12866:2;12858:6;12855:14;12835:18;12832:38;12829:161;;12912:10;12907:3;12903:20;12900:1;12893:31;12947:4;12944:1;12937:15;12975:4;12972:1;12965:15;13127:545;13229:2;13224:3;13221:11;13218:448;;;13265:1;13290:5;13286:2;13279:17;13335:4;13331:2;13321:19;13405:2;13393:10;13389:19;13386:1;13382:27;13376:4;13372:38;13441:4;13429:10;13426:20;13423:47;;;-1:-1:-1;13464:4:1;13423:47;13519:2;13514:3;13510:12;13507:1;13503:20;13497:4;13493:31;13483:41;;13574:82;13592:2;13585:5;13582:13;13574:82;;;13637:17;;;13618:1;13607:13;13574:82;;;13578:3;;;13127:545;;;:::o;13848:1352::-;13974:3;13968:10;-1:-1:-1;;;;;13993:6:1;13990:30;13987:56;;;14023:18;;:::i;:::-;14052:97;14142:6;14102:38;14134:4;14128:11;14102:38;:::i;:::-;14096:4;14052:97;:::i;:::-;14204:4;;14268:2;14257:14;;14285:1;14280:663;;;;14987:1;15004:6;15001:89;;;-1:-1:-1;15056:19:1;;;15050:26;15001:89;-1:-1:-1;;13805:1:1;13801:11;;;13797:24;13793:29;13783:40;13829:1;13825:11;;;13780:57;15103:81;;14250:944;;14280:663;13074:1;13067:14;;;13111:4;13098:18;;-1:-1:-1;;14316:20:1;;;14434:236;14448:7;14445:1;14442:14;14434:236;;;14537:19;;;14531:26;14516:42;;14629:27;;;;14597:1;14585:14;;;;14464:19;;14434:236;;;14438:3;14698:6;14689:7;14686:19;14683:201;;;14759:19;;;14753:26;-1:-1:-1;;14842:1:1;14838:14;;;14854:3;14834:24;14830:37;14826:42;14811:58;14796:74;;14683:201;-1:-1:-1;;;;;14930:1:1;14914:14;;;14910:22;14897:36;;-1:-1:-1;13848:1352:1:o;15205:1206::-;-1:-1:-1;;;;;15324:3:1;15321:27;15318:53;;;15351:18;;:::i;:::-;15380:94;15470:3;15430:38;15462:4;15456:11;15430:38;:::i;:::-;15424:4;15380:94;:::i;:::-;15500:1;15525:2;15520:3;15517:11;15542:1;15537:616;;;;16197:1;16214:3;16211:93;;;-1:-1:-1;16270:19:1;;;16257:33;16211:93;-1:-1:-1;;13805:1:1;13801:11;;;13797:24;13793:29;13783:40;13829:1;13825:11;;;13780:57;16317:78;;15510:895;;15537:616;13074:1;13067:14;;;13111:4;13098:18;;-1:-1:-1;;15573:17:1;;;15674:9;15696:229;15710:7;15707:1;15704:14;15696:229;;;15799:19;;;15786:33;15771:49;;15906:4;15891:20;;;;15859:1;15847:14;;;;15726:12;15696:229;;;15700:3;15953;15944:7;15941:16;15938:159;;;16077:1;16073:6;16067:3;16061;16058:1;16054:11;16050:21;16046:34;16042:39;16029:9;16024:3;16020:19;16007:33;16003:79;15995:6;15988:95;15938:159;;;16140:1;16134:3;16131:1;16127:11;16123:19;16117:4;16110:33;15510:895;;15205:1206;;;:::o;16416:127::-;16477:10;16472:3;16468:20;16465:1;16458:31;16508:4;16505:1;16498:15;16532:4;16529:1;16522:15;16548:405;16750:2;16732:21;;;16789:2;16769:18;;;16762:30;16828:34;16823:2;16808:18;;16801:62;-1:-1:-1;;;16894:2:1;16879:18;;16872:39;16943:3;16928:19;;16548:405::o;16958:426::-;17160:2;17142:21;;;17199:2;17179:18;;;17172:30;17238:34;17233:2;17218:18;;17211:62;17309:32;17304:2;17289:18;;17282:60;17374:3;17359:19;;16958:426::o;17389:127::-;17450:10;17445:3;17441:20;17438:1;17431:31;17481:4;17478:1;17471:15;17505:4;17502:1;17495:15;17521:125;17586:9;;;17607:10;;;17604:36;;;17620:18;;:::i;17651:128::-;17718:9;;;17739:11;;;17736:37;;;17753:18;;:::i;17784:425::-;17986:2;17968:21;;;18025:2;18005:18;;;17998:30;18064:34;18059:2;18044:18;;18037:62;18135:31;18130:2;18115:18;;18108:59;18199:3;18184:19;;17784:425::o;19315:168::-;19388:9;;;19419;;19436:15;;;19430:22;;19416:37;19406:71;;19457:18;;:::i;20413:287::-;20542:3;20580:6;20574:13;20596:66;20655:6;20650:3;20643:4;20635:6;20631:17;20596:66;:::i;:::-;20678:16;;;;;20413:287;-1:-1:-1;;20413:287:1:o;20705:175::-;20742:3;20786:4;20779:5;20775:16;20815:4;20806:7;20803:17;20800:43;;20823:18;;:::i;:::-;20872:1;20859:15;;20705:175;-1:-1:-1;;20705:175:1:o;21095:127::-;21156:10;21151:3;21147:20;21144:1;21137:31;21187:4;21184:1;21177:15;21211:4;21208:1;21201:15;21227:135;21266:3;21287:17;;;21284:43;;21307:18;;:::i;:::-;-1:-1:-1;21354:1:1;21343:13;;21227:135::o;21499:217::-;21539:1;21565;21555:132;;21609:10;21604:3;21600:20;21597:1;21590:31;21644:4;21641:1;21634:15;21672:4;21669:1;21662:15;21555:132;-1:-1:-1;21701:9:1;;21499:217::o;22551:1256::-;22775:3;22813:6;22807:13;22839:4;22852:64;22909:6;22904:3;22899:2;22891:6;22887:15;22852:64;:::i;:::-;22979:13;;22938:16;;;;23001:68;22979:13;22938:16;23036:15;;;23001:68;:::i;:::-;23158:13;;23091:20;;;23131:1;;23196:36;23158:13;23196:36;:::i;:::-;23251:1;23268:18;;;23295:141;;;;23450:1;23445:337;;;;23261:521;;23295:141;-1:-1:-1;;23330:24:1;;23316:39;;23407:16;;23400:24;23386:39;;23375:51;;;-1:-1:-1;23295:141:1;;23445:337;23476:6;23473:1;23466:17;23524:2;23521:1;23511:16;23549:1;23563:169;23577:8;23574:1;23571:15;23563:169;;;23659:14;;23644:13;;;23637:37;23702:16;;;;23594:10;;23563:169;;;23567:3;;23763:8;23756:5;23752:20;23745:27;;23261:521;-1:-1:-1;23798:3:1;;22551:1256;-1:-1:-1;;;;;;;;;;22551:1256:1:o;24889:245::-;24956:6;25009:2;24997:9;24988:7;24984:23;24980:32;24977:52;;;25025:1;25022;25015:12;24977:52;25057:9;25051:16;25076:28;25098:5;25076:28;:::i;26137:489::-;-1:-1:-1;;;;;26406:15:1;;;26388:34;;26458:15;;26453:2;26438:18;;26431:43;26505:2;26490:18;;26483:34;;;26553:3;26548:2;26533:18;;26526:31;;;26331:4;;26574:46;;26600:19;;26592:6;26574:46;:::i;:::-;26566:54;26137:489;-1:-1:-1;;;;;;26137:489:1:o;26631:249::-;26700:6;26753:2;26741:9;26732:7;26728:23;26724:32;26721:52;;;26769:1;26766;26759:12;26721:52;26801:9;26795:16;26820:30;26844:5;26820:30;:::i
Swarm Source
ipfs://674890826a33fec0d464ee4c29a59a88d3757c47cf12b86f5e0bf252e8a27dfd
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.