ERC-721
Overview
Max Total Supply
135 OrangeHare Zero
Holders
98
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OrangeHare ZeroLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OrangeHare
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-03 */ // 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/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // 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/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/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: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); 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 overridden 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 = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _burn(tokenId); } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: OrangeHair.sol pragma solidity ^0.8.9; contract OrangeHare is ERC721, ERC721Enumerable, Pausable, Ownable, ERC721Burnable { using Counters for Counters.Counter; using Strings for uint256; bytes32 public merkleRoot; Counters.Counter private _tokenIdTracker = Counters.Counter(1); mapping(address => uint256) public mint_per_address; mapping(address => uint256) public minted_per_address; uint256 public self_minted = 0; uint256 public max_mint = 500; bool public presaleEnable = true; string baseTokenURI = ""; string extension = ".json"; constructor(bytes32 _merkleRoot,string memory baseURI) ERC721("OrangeHare Zero", "OrangeHare Zero") { merkleRoot = _merkleRoot; setBaseURI(baseURI); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mintSelf(uint256 _count) public onlyOwner{ uint256 total = totalSupply(); require(total+_count <= max_mint,"Minting has ended."); for (uint256 i = 0; i < _count; i++) { uint256 newTokenId = _tokenIdTracker.current(); _tokenIdTracker.increment(); _safeMint(msg.sender, newTokenId); } self_minted += _count; } function mintPreSaleNFT(uint256 _count, bytes32[] calldata merkleProof) public payable{ uint256 total = totalSupply(); require(total+_count <= max_mint,"Minting has ended."); bytes32 node = keccak256(bytes.concat(keccak256(abi.encode(msg.sender)))); require( presaleEnable, "Pre-sale is not enable" ); require( MerkleProof.verify(merkleProof, merkleRoot, node), "MerkleDistributor: Invalid proof." ); uint256 can_mint; if (mint_per_address[msg.sender] == 0){ can_mint = 1; } else{ can_mint = mint_per_address[msg.sender]; } require(minted_per_address[msg.sender]+_count <= can_mint,"Exceeding the available quantity for minting."); for (uint256 i = 0; i < _count; i++) { uint256 newTokenId = _tokenIdTracker.current(); _tokenIdTracker.increment(); _safeMint(msg.sender, newTokenId); } minted_per_address[msg.sender] += _count; } function updateMerkleRoot(bytes32 newRoot) external onlyOwner { merkleRoot = newRoot; } function updateMintPerAdress(address[] memory adr,uint256[] memory newMints) external onlyOwner{ for (uint256 i = 0; i < adr.length; i += 1) { mint_per_address[adr[i]] = newMints[i]; } } function updatePreSale(bool newPre) external onlyOwner{ presaleEnable = newPre; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(abi.encodePacked(baseURI, tokenId.toString()),extension)) : ""; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function setExtension(string memory newExtension) public onlyOwner { extension = newExtension; } function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal whenNotPaused override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPreSaleNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintSelf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mint_per_address","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted_per_address","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"self_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newExtension","type":"string"}],"name":"setExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"adr","type":"address[]"},{"internalType":"uint256[]","name":"newMints","type":"uint256[]"}],"name":"updateMintPerAdress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newPre","type":"bool"}],"name":"updatePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60016080819052600c8190556000600f8190556101f46010556011805460ff191690921790915560c060405260a09081526012906200003f9082620002a4565b50604080518082019091526005815264173539b7b760d91b60208201526013906200006b9082620002a4565b503480156200007957600080fd5b5060405162002ca838038062002ca88339810160408190526200009c9162000370565b604080518082018252600f8082526e4f72616e676548617265205a65726f60881b6020808401829052845180860190955291845290830152906000620000e38382620002a4565b506001620000f28282620002a4565b5050600a805460ff19169055506200010a3362000122565b600b8290556200011a816200017c565b505062000450565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200018662000198565b6012620001948282620002a4565b5050565b600a546001600160a01b03610100909104163314620001fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022a57607f821691505b6020821081036200024b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029f57600081815260208120601f850160051c810160208610156200027a5750805b601f850160051c820191505b818110156200029b5782815560010162000286565b5050505b505050565b81516001600160401b03811115620002c057620002c0620001ff565b620002d881620002d1845462000215565b8462000251565b602080601f831160018114620003105760008415620002f75750858301515b600019600386901b1c1916600185901b1785556200029b565b600085815260208120601f198616915b82811015620003415788860151825594840194600190910190840162000320565b5085821015620003605787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080604083850312156200038457600080fd5b8251602080850151919350906001600160401b0380821115620003a657600080fd5b818601915086601f830112620003bb57600080fd5b815181811115620003d057620003d0620001ff565b604051601f8201601f19908116603f01168101908382118183101715620003fb57620003fb620001ff565b8160405282815289868487010111156200041457600080fd5b600093505b8284101562000438578484018601518185018701529285019262000419565b60008684830101528096505050505050509250929050565b61284880620004606000396000f3fe60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063d7c64e7f1161006f578063d7c64e7f146105e3578063dd16847b146105f9578063e2692d181461060f578063e985e9c51461063c578063f2fde38b1461068557600080fd5b8063b88d4fde14610556578063c0bfd4fd14610576578063c5d0f44914610596578063c87b56dd146105c357600080fd5b80638456cb59116100e75780638456cb59146104d65780638da5cb5b146104eb578063945242c61461050e57806395d89b4114610521578063a22cb4651461053657600080fd5b8063715018a614610467578063720eacad1461047c5780637e2285aa1461049c5780637ec18cf6146104bc57600080fd5b80633f4ba83a1161019b5780634f6ccce71161016a5780634f6ccce7146103cf57806355f804b3146103ef5780635c975abb1461040f5780636352211e1461042757806370a082311461044757600080fd5b80633f4ba83a1461035a57806342842e0e1461036f57806342966c681461038f5780634783f0ef146103af57600080fd5b806315cdafe6116101e257806315cdafe6146102c557806318160ddd146102e557806323b872dd146103045780632eb4a7ab146103245780632f745c591461033a57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611f5f565b6106a5565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106b6565b6040516102409190611fcc565b34801561027757600080fd5b5061028b610286366004611fdf565b610748565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004612014565b61076f565b005b3480156102d157600080fd5b506102c36102e0366004612114565b610889565b3480156102f157600080fd5b506008545b604051908152602001610240565b34801561031057600080fd5b506102c361031f3660046121d4565b610903565b34801561033057600080fd5b506102f6600b5481565b34801561034657600080fd5b506102f6610355366004612014565b610935565b34801561036657600080fd5b506102c36109cb565b34801561037b57600080fd5b506102c361038a3660046121d4565b6109dd565b34801561039b57600080fd5b506102c36103aa366004611fdf565b6109f8565b3480156103bb57600080fd5b506102c36103ca366004611fdf565b610a29565b3480156103db57600080fd5b506102f66103ea366004611fdf565b610a36565b3480156103fb57600080fd5b506102c361040a366004612268565b610ac9565b34801561041b57600080fd5b50600a5460ff16610234565b34801561043357600080fd5b5061028b610442366004611fdf565b610ae1565b34801561045357600080fd5b506102f66104623660046122b1565b610b41565b34801561047357600080fd5b506102c3610bc7565b34801561048857600080fd5b506102c3610497366004611fdf565b610bd9565b3480156104a857600080fd5b506102c36104b7366004612268565b610c9e565b3480156104c857600080fd5b506011546102349060ff1681565b3480156104e257600080fd5b506102c3610cb2565b3480156104f757600080fd5b50600a5461010090046001600160a01b031661028b565b6102c361051c3660046122cc565b610cc2565b34801561052d57600080fd5b5061025e610f69565b34801561054257600080fd5b506102c361055136600461235b565b610f78565b34801561056257600080fd5b506102c361057136600461238e565b610f83565b34801561058257600080fd5b506102c361059136600461240a565b610fbb565b3480156105a257600080fd5b506102f66105b13660046122b1565b600d6020526000908152604090205481565b3480156105cf57600080fd5b5061025e6105de366004611fdf565b610fd6565b3480156105ef57600080fd5b506102f660105481565b34801561060557600080fd5b506102f6600f5481565b34801561061b57600080fd5b506102f661062a3660046122b1565b600e6020526000908152604090205481565b34801561064857600080fd5b50610234610657366004612425565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102c36106a03660046122b1565b61105d565b60006106b0826110d3565b92915050565b6060600080546106c59061244f565b80601f01602080910402602001604051908101604052809291908181526020018280546106f19061244f565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b5050505050905090565b6000610753826110f8565b506000908152600460205260409020546001600160a01b031690565b600061077a82610ae1565b9050806001600160a01b0316836001600160a01b0316036107ec5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061080857506108088133610657565b61087a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107e3565b6108848383611157565b505050565b6108916111c5565b60005b8251811015610884578181815181106108af576108af612489565b6020026020010151600d60008584815181106108cd576108cd612489565b6020908102919091018101516001600160a01b03168252810191909152604001600020556108fc6001826124b5565b9050610894565b61090e335b82611225565b61092a5760405162461bcd60e51b81526004016107e3906124c8565b6108848383836112a4565b600061094083610b41565b82106109a25760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107e3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109d36111c5565b6109db611415565b565b61088483838360405180602001604052806000815250610f83565b610a0133610908565b610a1d5760405162461bcd60e51b81526004016107e3906124c8565b610a2681611467565b50565b610a316111c5565b600b55565b6000610a4160085490565b8210610aa45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107e3565b60088281548110610ab757610ab7612489565b90600052602060002001549050919050565b610ad16111c5565b6012610add8282612563565b5050565b6000818152600260205260408120546001600160a01b0316806106b05760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107e3565b60006001600160a01b038216610bab5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107e3565b506001600160a01b031660009081526003602052604090205490565b610bcf6111c5565b6109db600061150a565b610be16111c5565b6000610bec60085490565b601054909150610bfc83836124b5565b1115610c3f5760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b60448201526064016107e3565b60005b82811015610c82576000610c55600c5490565b9050610c65600c80546001019055565b610c6f3382611564565b5080610c7a81612623565b915050610c42565b5081600f6000828254610c9591906124b5565b90915550505050565b610ca66111c5565b6013610add8282612563565b610cba6111c5565b6109db61157e565b6000610ccd60085490565b601054909150610cdd85836124b5565b1115610d205760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b60448201526064016107e3565b604080513360208201526000910160408051601f198184030181528282528051602091820120908301520160408051601f19818403018152919052805160209091012060115490915060ff16610db15760405162461bcd60e51b81526020600482015260166024820152755072652d73616c65206973206e6f7420656e61626c6560501b60448201526064016107e3565b610df284848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506115bb565b610e485760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666044820152601760f91b60648201526084016107e3565b336000908152600d60205260408120548103610e6657506001610e78565b50336000908152600d60205260409020545b336000908152600e60205260409020548190610e959088906124b5565b1115610ef95760405162461bcd60e51b815260206004820152602d60248201527f457863656564696e672074686520617661696c61626c65207175616e7469747960448201526c103337b91036b4b73a34b7339760991b60648201526084016107e3565b60005b86811015610f3c576000610f0f600c5490565b9050610f1f600c80546001019055565b610f293382611564565b5080610f3481612623565b915050610efc565b50336000908152600e602052604081208054889290610f5c9084906124b5565b9091555050505050505050565b6060600180546106c59061244f565b610add3383836115d1565b610f8d3383611225565b610fa95760405162461bcd60e51b81526004016107e3906124c8565b610fb58484848461169f565b50505050565b610fc36111c5565b6011805460ff1916911515919091179055565b6060610fe1826110f8565b6000610feb6116d2565b9050600081511161100b5760405180602001604052806000815250611056565b80611015846116e1565b60405160200161102692919061263c565b60408051601f19818403018152908290526110469160139060200161266b565b6040516020818303038152906040525b9392505050565b6110656111c5565b6001600160a01b0381166110ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e3565b610a268161150a565b60006001600160e01b0319821663780e9d6360e01b14806106b057506106b082611774565b6000818152600260205260409020546001600160a01b0316610a265760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107e3565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061118c82610ae1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b036101009091041633146109db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b60008061123183610ae1565b9050806001600160a01b0316846001600160a01b0316148061127857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061129c5750836001600160a01b031661129184610748565b6001600160a01b0316145b949350505050565b826001600160a01b03166112b782610ae1565b6001600160a01b0316146112dd5760405162461bcd60e51b81526004016107e3906126f8565b6001600160a01b03821661133f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b61134c83838360016117c4565b826001600160a01b031661135f82610ae1565b6001600160a01b0316146113855760405162461bcd60e51b81526004016107e3906126f8565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61141d6117d8565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061147282610ae1565b90506114828160008460016117c4565b61148b82610ae1565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610add828260405180602001604052806000815250611821565b611586611854565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861144a3390565b6000826115c8858461189a565b14949350505050565b816001600160a01b0316836001600160a01b0316036116325760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116aa8484846112a4565b6116b6848484846118e7565b610fb55760405162461bcd60e51b81526004016107e39061273d565b6060601280546106c59061244f565b606060006116ee836119e8565b600101905060008167ffffffffffffffff81111561170e5761170e61203e565b6040519080825280601f01601f191660200182016040528015611738576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461174257509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117a557506001600160e01b03198216635b5e139f60e01b145b806106b057506301ffc9a760e01b6001600160e01b03198316146106b0565b6117cc611854565b610fb584848484611ac0565b600a5460ff166109db5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107e3565b61182b8383611bf4565b61183860008484846118e7565b6108845760405162461bcd60e51b81526004016107e39061273d565b600a5460ff16156109db5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e3565b600081815b84518110156118df576118cb828683815181106118be576118be612489565b6020026020010151611d8d565b9150806118d781612623565b91505061189f565b509392505050565b60006001600160a01b0384163b156119dd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192b90339089908890889060040161278f565b6020604051808303816000875af1925050508015611966575060408051601f3d908101601f19168201909252611963918101906127cc565b60015b6119c3573d808015611994576040519150601f19603f3d011682016040523d82523d6000602084013e611999565b606091505b5080516000036119bb5760405162461bcd60e51b81526004016107e39061273d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061129c565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a7157662386f26fc10000830492506010015b6305f5e1008310611a89576305f5e100830492506008015b6127108310611a9d57612710830492506004015b60648310611aaf576064830492506002015b600a83106106b05760010192915050565b6001811115611b2f5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016107e3565b816001600160a01b038516611b8b57611b8681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bae565b836001600160a01b0316856001600160a01b031614611bae57611bae8582611db9565b6001600160a01b038416611bca57611bc581611e56565b611bed565b846001600160a01b0316846001600160a01b031614611bed57611bed8482611f05565b5050505050565b6001600160a01b038216611c4a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e3565b6000818152600260205260409020546001600160a01b031615611caf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e3565b611cbd6000838360016117c4565b6000818152600260205260409020546001600160a01b031615611d225760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611da9576000828152602084905260409020611056565b5060009182526020526040902090565b60006001611dc684610b41565b611dd091906127e9565b600083815260076020526040902054909150808214611e23576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e68906001906127e9565b60008381526009602052604081205460088054939450909284908110611e9057611e90612489565b906000526020600020015490508060088381548110611eb157611eb1612489565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ee957611ee96127fc565b6001900381819060005260206000200160009055905550505050565b6000611f1083610b41565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a2657600080fd5b600060208284031215611f7157600080fd5b813561105681611f49565b60005b83811015611f97578181015183820152602001611f7f565b50506000910152565b60008151808452611fb8816020860160208601611f7c565b601f01601f19169290920160200192915050565b6020815260006110566020830184611fa0565b600060208284031215611ff157600080fd5b5035919050565b80356001600160a01b038116811461200f57600080fd5b919050565b6000806040838503121561202757600080fd5b61203083611ff8565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561207d5761207d61203e565b604052919050565b600067ffffffffffffffff82111561209f5761209f61203e565b5060051b60200190565b600082601f8301126120ba57600080fd5b813560206120cf6120ca83612085565b612054565b82815260059290921b840181019181810190868411156120ee57600080fd5b8286015b8481101561210957803583529183019183016120f2565b509695505050505050565b6000806040838503121561212757600080fd5b823567ffffffffffffffff8082111561213f57600080fd5b818501915085601f83011261215357600080fd5b813560206121636120ca83612085565b82815260059290921b8401810191818101908984111561218257600080fd5b948201945b838610156121a75761219886611ff8565b82529482019490820190612187565b965050860135925050808211156121bd57600080fd5b506121ca858286016120a9565b9150509250929050565b6000806000606084860312156121e957600080fd5b6121f284611ff8565b925061220060208501611ff8565b9150604084013590509250925092565b600067ffffffffffffffff83111561222a5761222a61203e565b61223d601f8401601f1916602001612054565b905082815283838301111561225157600080fd5b828260208301376000602084830101529392505050565b60006020828403121561227a57600080fd5b813567ffffffffffffffff81111561229157600080fd5b8201601f810184136122a257600080fd5b61129c84823560208401612210565b6000602082840312156122c357600080fd5b61105682611ff8565b6000806000604084860312156122e157600080fd5b83359250602084013567ffffffffffffffff8082111561230057600080fd5b818601915086601f83011261231457600080fd5b81358181111561232357600080fd5b8760208260051b850101111561233857600080fd5b6020830194508093505050509250925092565b8035801515811461200f57600080fd5b6000806040838503121561236e57600080fd5b61237783611ff8565b91506123856020840161234b565b90509250929050565b600080600080608085870312156123a457600080fd5b6123ad85611ff8565b93506123bb60208601611ff8565b925060408501359150606085013567ffffffffffffffff8111156123de57600080fd5b8501601f810187136123ef57600080fd5b6123fe87823560208401612210565b91505092959194509250565b60006020828403121561241c57600080fd5b6110568261234b565b6000806040838503121561243857600080fd5b61244183611ff8565b915061238560208401611ff8565b600181811c9082168061246357607f821691505b60208210810361248357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156106b0576106b061249f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f82111561088457600081815260208120601f850160051c8101602086101561253c5750805b601f850160051c820191505b8181101561255b57828155600101612548565b505050505050565b815167ffffffffffffffff81111561257d5761257d61203e565b6125918161258b845461244f565b84612515565b602080601f8311600181146125c657600084156125ae5750858301515b600019600386901b1c1916600185901b17855561255b565b600085815260208120601f198616915b828110156125f5578886015182559484019460019091019084016125d6565b50858210156126135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016126355761263561249f565b5060010190565b6000835161264e818460208801611f7c565b835190830190612662818360208801611f7c565b01949350505050565b60008351602061267e8285838901611f7c565b8184019150600085546126908161244f565b600182811680156126a857600181146126bd576126e9565b60ff19841687528215158302870194506126e9565b896000528560002060005b848110156126e1578154898201529083019087016126c8565b505082870194505b50929998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127c290830184611fa0565b9695505050505050565b6000602082840312156127de57600080fd5b815161105681611f49565b818103818111156106b0576106b061249f565b634e487b7160e01b600052603160045260246000fdfea264697066735822122021920dd37acf7c7055cf41cfab239daec7a49861bfc2b1cc89ecc5dd20a9094a64736f6c6343000812003307ec93989c1bcb20e5f26459484eb7f0c554ab0b4184e29fd80dee5dcafaec3700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569646e736d706b3735736a3465617170616b63676f33706c7a696f32333737377162376a726f717769697a786e786b77716b7a6d6d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063d7c64e7f1161006f578063d7c64e7f146105e3578063dd16847b146105f9578063e2692d181461060f578063e985e9c51461063c578063f2fde38b1461068557600080fd5b8063b88d4fde14610556578063c0bfd4fd14610576578063c5d0f44914610596578063c87b56dd146105c357600080fd5b80638456cb59116100e75780638456cb59146104d65780638da5cb5b146104eb578063945242c61461050e57806395d89b4114610521578063a22cb4651461053657600080fd5b8063715018a614610467578063720eacad1461047c5780637e2285aa1461049c5780637ec18cf6146104bc57600080fd5b80633f4ba83a1161019b5780634f6ccce71161016a5780634f6ccce7146103cf57806355f804b3146103ef5780635c975abb1461040f5780636352211e1461042757806370a082311461044757600080fd5b80633f4ba83a1461035a57806342842e0e1461036f57806342966c681461038f5780634783f0ef146103af57600080fd5b806315cdafe6116101e257806315cdafe6146102c557806318160ddd146102e557806323b872dd146103045780632eb4a7ab146103245780632f745c591461033a57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611f5f565b6106a5565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106b6565b6040516102409190611fcc565b34801561027757600080fd5b5061028b610286366004611fdf565b610748565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004612014565b61076f565b005b3480156102d157600080fd5b506102c36102e0366004612114565b610889565b3480156102f157600080fd5b506008545b604051908152602001610240565b34801561031057600080fd5b506102c361031f3660046121d4565b610903565b34801561033057600080fd5b506102f6600b5481565b34801561034657600080fd5b506102f6610355366004612014565b610935565b34801561036657600080fd5b506102c36109cb565b34801561037b57600080fd5b506102c361038a3660046121d4565b6109dd565b34801561039b57600080fd5b506102c36103aa366004611fdf565b6109f8565b3480156103bb57600080fd5b506102c36103ca366004611fdf565b610a29565b3480156103db57600080fd5b506102f66103ea366004611fdf565b610a36565b3480156103fb57600080fd5b506102c361040a366004612268565b610ac9565b34801561041b57600080fd5b50600a5460ff16610234565b34801561043357600080fd5b5061028b610442366004611fdf565b610ae1565b34801561045357600080fd5b506102f66104623660046122b1565b610b41565b34801561047357600080fd5b506102c3610bc7565b34801561048857600080fd5b506102c3610497366004611fdf565b610bd9565b3480156104a857600080fd5b506102c36104b7366004612268565b610c9e565b3480156104c857600080fd5b506011546102349060ff1681565b3480156104e257600080fd5b506102c3610cb2565b3480156104f757600080fd5b50600a5461010090046001600160a01b031661028b565b6102c361051c3660046122cc565b610cc2565b34801561052d57600080fd5b5061025e610f69565b34801561054257600080fd5b506102c361055136600461235b565b610f78565b34801561056257600080fd5b506102c361057136600461238e565b610f83565b34801561058257600080fd5b506102c361059136600461240a565b610fbb565b3480156105a257600080fd5b506102f66105b13660046122b1565b600d6020526000908152604090205481565b3480156105cf57600080fd5b5061025e6105de366004611fdf565b610fd6565b3480156105ef57600080fd5b506102f660105481565b34801561060557600080fd5b506102f6600f5481565b34801561061b57600080fd5b506102f661062a3660046122b1565b600e6020526000908152604090205481565b34801561064857600080fd5b50610234610657366004612425565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102c36106a03660046122b1565b61105d565b60006106b0826110d3565b92915050565b6060600080546106c59061244f565b80601f01602080910402602001604051908101604052809291908181526020018280546106f19061244f565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b5050505050905090565b6000610753826110f8565b506000908152600460205260409020546001600160a01b031690565b600061077a82610ae1565b9050806001600160a01b0316836001600160a01b0316036107ec5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061080857506108088133610657565b61087a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107e3565b6108848383611157565b505050565b6108916111c5565b60005b8251811015610884578181815181106108af576108af612489565b6020026020010151600d60008584815181106108cd576108cd612489565b6020908102919091018101516001600160a01b03168252810191909152604001600020556108fc6001826124b5565b9050610894565b61090e335b82611225565b61092a5760405162461bcd60e51b81526004016107e3906124c8565b6108848383836112a4565b600061094083610b41565b82106109a25760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107e3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109d36111c5565b6109db611415565b565b61088483838360405180602001604052806000815250610f83565b610a0133610908565b610a1d5760405162461bcd60e51b81526004016107e3906124c8565b610a2681611467565b50565b610a316111c5565b600b55565b6000610a4160085490565b8210610aa45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107e3565b60088281548110610ab757610ab7612489565b90600052602060002001549050919050565b610ad16111c5565b6012610add8282612563565b5050565b6000818152600260205260408120546001600160a01b0316806106b05760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107e3565b60006001600160a01b038216610bab5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107e3565b506001600160a01b031660009081526003602052604090205490565b610bcf6111c5565b6109db600061150a565b610be16111c5565b6000610bec60085490565b601054909150610bfc83836124b5565b1115610c3f5760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b60448201526064016107e3565b60005b82811015610c82576000610c55600c5490565b9050610c65600c80546001019055565b610c6f3382611564565b5080610c7a81612623565b915050610c42565b5081600f6000828254610c9591906124b5565b90915550505050565b610ca66111c5565b6013610add8282612563565b610cba6111c5565b6109db61157e565b6000610ccd60085490565b601054909150610cdd85836124b5565b1115610d205760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b60448201526064016107e3565b604080513360208201526000910160408051601f198184030181528282528051602091820120908301520160408051601f19818403018152919052805160209091012060115490915060ff16610db15760405162461bcd60e51b81526020600482015260166024820152755072652d73616c65206973206e6f7420656e61626c6560501b60448201526064016107e3565b610df284848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506115bb565b610e485760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666044820152601760f91b60648201526084016107e3565b336000908152600d60205260408120548103610e6657506001610e78565b50336000908152600d60205260409020545b336000908152600e60205260409020548190610e959088906124b5565b1115610ef95760405162461bcd60e51b815260206004820152602d60248201527f457863656564696e672074686520617661696c61626c65207175616e7469747960448201526c103337b91036b4b73a34b7339760991b60648201526084016107e3565b60005b86811015610f3c576000610f0f600c5490565b9050610f1f600c80546001019055565b610f293382611564565b5080610f3481612623565b915050610efc565b50336000908152600e602052604081208054889290610f5c9084906124b5565b9091555050505050505050565b6060600180546106c59061244f565b610add3383836115d1565b610f8d3383611225565b610fa95760405162461bcd60e51b81526004016107e3906124c8565b610fb58484848461169f565b50505050565b610fc36111c5565b6011805460ff1916911515919091179055565b6060610fe1826110f8565b6000610feb6116d2565b9050600081511161100b5760405180602001604052806000815250611056565b80611015846116e1565b60405160200161102692919061263c565b60408051601f19818403018152908290526110469160139060200161266b565b6040516020818303038152906040525b9392505050565b6110656111c5565b6001600160a01b0381166110ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e3565b610a268161150a565b60006001600160e01b0319821663780e9d6360e01b14806106b057506106b082611774565b6000818152600260205260409020546001600160a01b0316610a265760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107e3565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061118c82610ae1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b036101009091041633146109db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b60008061123183610ae1565b9050806001600160a01b0316846001600160a01b0316148061127857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061129c5750836001600160a01b031661129184610748565b6001600160a01b0316145b949350505050565b826001600160a01b03166112b782610ae1565b6001600160a01b0316146112dd5760405162461bcd60e51b81526004016107e3906126f8565b6001600160a01b03821661133f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b61134c83838360016117c4565b826001600160a01b031661135f82610ae1565b6001600160a01b0316146113855760405162461bcd60e51b81526004016107e3906126f8565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61141d6117d8565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061147282610ae1565b90506114828160008460016117c4565b61148b82610ae1565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610add828260405180602001604052806000815250611821565b611586611854565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861144a3390565b6000826115c8858461189a565b14949350505050565b816001600160a01b0316836001600160a01b0316036116325760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116aa8484846112a4565b6116b6848484846118e7565b610fb55760405162461bcd60e51b81526004016107e39061273d565b6060601280546106c59061244f565b606060006116ee836119e8565b600101905060008167ffffffffffffffff81111561170e5761170e61203e565b6040519080825280601f01601f191660200182016040528015611738576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461174257509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117a557506001600160e01b03198216635b5e139f60e01b145b806106b057506301ffc9a760e01b6001600160e01b03198316146106b0565b6117cc611854565b610fb584848484611ac0565b600a5460ff166109db5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107e3565b61182b8383611bf4565b61183860008484846118e7565b6108845760405162461bcd60e51b81526004016107e39061273d565b600a5460ff16156109db5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107e3565b600081815b84518110156118df576118cb828683815181106118be576118be612489565b6020026020010151611d8d565b9150806118d781612623565b91505061189f565b509392505050565b60006001600160a01b0384163b156119dd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192b90339089908890889060040161278f565b6020604051808303816000875af1925050508015611966575060408051601f3d908101601f19168201909252611963918101906127cc565b60015b6119c3573d808015611994576040519150601f19603f3d011682016040523d82523d6000602084013e611999565b606091505b5080516000036119bb5760405162461bcd60e51b81526004016107e39061273d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061129c565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a53576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a7157662386f26fc10000830492506010015b6305f5e1008310611a89576305f5e100830492506008015b6127108310611a9d57612710830492506004015b60648310611aaf576064830492506002015b600a83106106b05760010192915050565b6001811115611b2f5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016107e3565b816001600160a01b038516611b8b57611b8681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bae565b836001600160a01b0316856001600160a01b031614611bae57611bae8582611db9565b6001600160a01b038416611bca57611bc581611e56565b611bed565b846001600160a01b0316846001600160a01b031614611bed57611bed8482611f05565b5050505050565b6001600160a01b038216611c4a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e3565b6000818152600260205260409020546001600160a01b031615611caf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e3565b611cbd6000838360016117c4565b6000818152600260205260409020546001600160a01b031615611d225760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611da9576000828152602084905260409020611056565b5060009182526020526040902090565b60006001611dc684610b41565b611dd091906127e9565b600083815260076020526040902054909150808214611e23576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e68906001906127e9565b60008381526009602052604081205460088054939450909284908110611e9057611e90612489565b906000526020600020015490508060088381548110611eb157611eb1612489565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ee957611ee96127fc565b6001900381819060005260206000200160009055905550505050565b6000611f1083610b41565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a2657600080fd5b600060208284031215611f7157600080fd5b813561105681611f49565b60005b83811015611f97578181015183820152602001611f7f565b50506000910152565b60008151808452611fb8816020860160208601611f7c565b601f01601f19169290920160200192915050565b6020815260006110566020830184611fa0565b600060208284031215611ff157600080fd5b5035919050565b80356001600160a01b038116811461200f57600080fd5b919050565b6000806040838503121561202757600080fd5b61203083611ff8565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561207d5761207d61203e565b604052919050565b600067ffffffffffffffff82111561209f5761209f61203e565b5060051b60200190565b600082601f8301126120ba57600080fd5b813560206120cf6120ca83612085565b612054565b82815260059290921b840181019181810190868411156120ee57600080fd5b8286015b8481101561210957803583529183019183016120f2565b509695505050505050565b6000806040838503121561212757600080fd5b823567ffffffffffffffff8082111561213f57600080fd5b818501915085601f83011261215357600080fd5b813560206121636120ca83612085565b82815260059290921b8401810191818101908984111561218257600080fd5b948201945b838610156121a75761219886611ff8565b82529482019490820190612187565b965050860135925050808211156121bd57600080fd5b506121ca858286016120a9565b9150509250929050565b6000806000606084860312156121e957600080fd5b6121f284611ff8565b925061220060208501611ff8565b9150604084013590509250925092565b600067ffffffffffffffff83111561222a5761222a61203e565b61223d601f8401601f1916602001612054565b905082815283838301111561225157600080fd5b828260208301376000602084830101529392505050565b60006020828403121561227a57600080fd5b813567ffffffffffffffff81111561229157600080fd5b8201601f810184136122a257600080fd5b61129c84823560208401612210565b6000602082840312156122c357600080fd5b61105682611ff8565b6000806000604084860312156122e157600080fd5b83359250602084013567ffffffffffffffff8082111561230057600080fd5b818601915086601f83011261231457600080fd5b81358181111561232357600080fd5b8760208260051b850101111561233857600080fd5b6020830194508093505050509250925092565b8035801515811461200f57600080fd5b6000806040838503121561236e57600080fd5b61237783611ff8565b91506123856020840161234b565b90509250929050565b600080600080608085870312156123a457600080fd5b6123ad85611ff8565b93506123bb60208601611ff8565b925060408501359150606085013567ffffffffffffffff8111156123de57600080fd5b8501601f810187136123ef57600080fd5b6123fe87823560208401612210565b91505092959194509250565b60006020828403121561241c57600080fd5b6110568261234b565b6000806040838503121561243857600080fd5b61244183611ff8565b915061238560208401611ff8565b600181811c9082168061246357607f821691505b60208210810361248357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156106b0576106b061249f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f82111561088457600081815260208120601f850160051c8101602086101561253c5750805b601f850160051c820191505b8181101561255b57828155600101612548565b505050505050565b815167ffffffffffffffff81111561257d5761257d61203e565b6125918161258b845461244f565b84612515565b602080601f8311600181146125c657600084156125ae5750858301515b600019600386901b1c1916600185901b17855561255b565b600085815260208120601f198616915b828110156125f5578886015182559484019460019091019084016125d6565b50858210156126135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016126355761263561249f565b5060010190565b6000835161264e818460208801611f7c565b835190830190612662818360208801611f7c565b01949350505050565b60008351602061267e8285838901611f7c565b8184019150600085546126908161244f565b600182811680156126a857600181146126bd576126e9565b60ff19841687528215158302870194506126e9565b896000528560002060005b848110156126e1578154898201529083019087016126c8565b505082870194505b50929998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127c290830184611fa0565b9695505050505050565b6000602082840312156127de57600080fd5b815161105681611f49565b818103818111156106b0576106b061249f565b634e487b7160e01b600052603160045260246000fdfea264697066735822122021920dd37acf7c7055cf41cfab239daec7a49861bfc2b1cc89ecc5dd20a9094a64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
07ec93989c1bcb20e5f26459484eb7f0c554ab0b4184e29fd80dee5dcafaec3700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569646e736d706b3735736a3465617170616b63676f33706c7a696f32333737377162376a726f717769697a786e786b77716b7a6d6d2f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x07ec93989c1bcb20e5f26459484eb7f0c554ab0b4184e29fd80dee5dcafaec37
Arg [1] : baseURI (string): ipfs://bafybeidnsmpk75sj4eaqpakcgo3plzio23777qb7jroqwiizxnxkwqkzmm/
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 07ec93989c1bcb20e5f26459484eb7f0c554ab0b4184e29fd80dee5dcafaec37
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [3] : 697066733a2f2f62616679626569646e736d706b3735736a3465617170616b63
Arg [4] : 676f33706c7a696f32333737377162376a726f717769697a786e786b77716b7a
Arg [5] : 6d6d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
77318:3961:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81064:212;;;;;;;;;;-1:-1:-1;81064:212:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;81064:212:0;;;;;;;;54233:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55745:171::-;;;;;;;;;;-1:-1:-1;55745:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;55745:171:0;1533:203:1;55263:416:0;;;;;;;;;;-1:-1:-1;55263:416:0;;;;;:::i;:::-;;:::i;:::-;;79739:214;;;;;;;;;;-1:-1:-1;79739:214:0;;;;;:::i;:::-;;:::i;71953:113::-;;;;;;;;;;-1:-1:-1;72041:10:0;:17;71953:113;;;4742:25:1;;;4730:2;4715:18;71953:113:0;4596:177:1;56445:335:0;;;;;;;;;;-1:-1:-1;56445:335:0;;;;;:::i;:::-;;:::i;77482:25::-;;;;;;;;;;;;;;;;71621:256;;;;;;;;;;-1:-1:-1;71621:256:0;;;;;:::i;:::-;;:::i;78125:65::-;;;;;;;;;;;;;:::i;56851:185::-;;;;;;;;;;-1:-1:-1;56851:185:0;;;;;:::i;:::-;;:::i;70038:242::-;;;;;;;;;;-1:-1:-1;70038:242:0;;;;;:::i;:::-;;:::i;79632:99::-;;;;;;;;;;-1:-1:-1;79632:99:0;;;;;:::i;:::-;;:::i;72143:233::-;;;;;;;;;;-1:-1:-1;72143:233:0;;;;;:::i;:::-;;:::i;80502:101::-;;;;;;;;;;-1:-1:-1;80502:101:0;;;;;:::i;:::-;;:::i;31491:86::-;;;;;;;;;;-1:-1:-1;31562:7:0;;;;31491:86;;53943:223;;;;;;;;;;-1:-1:-1;53943:223:0;;;;;:::i;:::-;;:::i;53674:207::-;;;;;;;;;;-1:-1:-1;53674:207:0;;;;;:::i;:::-;;:::i;29001:103::-;;;;;;;;;;;;;:::i;78198:399::-;;;;;;;;;;-1:-1:-1;78198:399:0;;;;;:::i;:::-;;:::i;80611:110::-;;;;;;;;;;-1:-1:-1;80611:110:0;;;;;:::i;:::-;;:::i;77774:32::-;;;;;;;;;;-1:-1:-1;77774:32:0;;;;;;;;78056:61;;;;;;;;;;;;;:::i;28353:87::-;;;;;;;;;;-1:-1:-1;28426:6:0;;;;;-1:-1:-1;;;;;28426:6:0;28353:87;;78605:1019;;;;;;:::i;:::-;;:::i;54402:104::-;;;;;;;;;;;;;:::i;55988:155::-;;;;;;;;;;-1:-1:-1;55988:155:0;;;;;:::i;:::-;;:::i;57107:322::-;;;;;;;;;;-1:-1:-1;57107:322:0;;;;;:::i;:::-;;:::i;79961:95::-;;;;;;;;;;-1:-1:-1;79961:95:0;;;;;:::i;:::-;;:::i;77583:51::-;;;;;;;;;;-1:-1:-1;77583:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;80064:309;;;;;;;;;;-1:-1:-1;80064:309:0;;;;;:::i;:::-;;:::i;77738:29::-;;;;;;;;;;;;;;;;77701:30;;;;;;;;;;;;;;;;77641:53;;;;;;;;;;-1:-1:-1;77641:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;56214:164;;;;;;;;;;-1:-1:-1;56214:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;56335:25:0;;;56311:4;56335:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;56214:164;29259:201;;;;;;;;;;-1:-1:-1;29259:201:0;;;;;:::i;:::-;;:::i;81064:212::-;81203:4;81232:36;81256:11;81232:23;:36::i;:::-;81225:43;81064:212;-1:-1:-1;;81064:212:0:o;54233:100::-;54287:13;54320:5;54313:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54233:100;:::o;55745:171::-;55821:7;55841:23;55856:7;55841:14;:23::i;:::-;-1:-1:-1;55884:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;55884:24:0;;55745:171::o;55263:416::-;55344:13;55360:23;55375:7;55360:14;:23::i;:::-;55344:39;;55408:5;-1:-1:-1;;;;;55402:11:0;:2;-1:-1:-1;;;;;55402:11:0;;55394:57;;;;-1:-1:-1;;;55394:57:0;;9358:2:1;55394:57:0;;;9340:21:1;9397:2;9377:18;;;9370:30;9436:34;9416:18;;;9409:62;-1:-1:-1;;;9487:18:1;;;9480:31;9528:19;;55394:57:0;;;;;;;;;26984:10;-1:-1:-1;;;;;55486:21:0;;;;:62;;-1:-1:-1;55511:37:0;55528:5;26984:10;56214:164;:::i;55511:37::-;55464:173;;;;-1:-1:-1;;;55464:173:0;;9760:2:1;55464:173:0;;;9742:21:1;9799:2;9779:18;;;9772:30;9838:34;9818:18;;;9811:62;9909:31;9889:18;;;9882:59;9958:19;;55464:173:0;9558:425:1;55464:173:0;55650:21;55659:2;55663:7;55650:8;:21::i;:::-;55333:346;55263:416;;:::o;79739:214::-;28239:13;:11;:13::i;:::-;79848:9:::1;79843:103;79867:3;:10;79863:1;:14;79843:103;;;79925:8;79934:1;79925:11;;;;;;;;:::i;:::-;;;;;;;79898:16;:24;79915:3;79919:1;79915:6;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;79898:24:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;79898:24:0;:38;79879:6:::1;79884:1;79879:6:::0;::::1;:::i;:::-;;;79843:103;;56445:335:::0;56640:41;26984:10;56659:12;56673:7;56640:18;:41::i;:::-;56632:99;;;;-1:-1:-1;;;56632:99:0;;;;;;;:::i;:::-;56744:28;56754:4;56760:2;56764:7;56744:9;:28::i;71621:256::-;71718:7;71754:23;71771:5;71754:16;:23::i;:::-;71746:5;:31;71738:87;;;;-1:-1:-1;;;71738:87:0;;10998:2:1;71738:87:0;;;10980:21:1;11037:2;11017:18;;;11010:30;11076:34;11056:18;;;11049:62;-1:-1:-1;;;11127:18:1;;;11120:41;11178:19;;71738:87:0;10796:407:1;71738:87:0;-1:-1:-1;;;;;;71843:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;71621:256::o;78125:65::-;28239:13;:11;:13::i;:::-;78172:10:::1;:8;:10::i;:::-;78125:65::o:0;56851:185::-;56989:39;57006:4;57012:2;57016:7;56989:39;;;;;;;;;;;;:16;:39::i;70038:242::-;70156:41;26984:10;70175:12;26904:98;70156:41;70148:99;;;;-1:-1:-1;;;70148:99:0;;;;;;;:::i;:::-;70258:14;70264:7;70258:5;:14::i;:::-;70038:242;:::o;79632:99::-;28239:13;:11;:13::i;:::-;79703:10:::1;:20:::0;79632:99::o;72143:233::-;72218:7;72254:30;72041:10;:17;;71953:113;72254:30;72246:5;:38;72238:95;;;;-1:-1:-1;;;72238:95:0;;11410:2:1;72238:95:0;;;11392:21:1;11449:2;11429:18;;;11422:30;11488:34;11468:18;;;11461:62;-1:-1:-1;;;11539:18:1;;;11532:42;11591:19;;72238:95:0;11208:408:1;72238:95:0;72351:10;72362:5;72351:17;;;;;;;;:::i;:::-;;;;;;;;;72344:24;;72143:233;;;:::o;80502:101::-;28239:13;:11;:13::i;:::-;80573:12:::1;:22;80588:7:::0;80573:12;:22:::1;:::i;:::-;;80502:101:::0;:::o;53943:223::-;54015:7;58830:16;;;:7;:16;;;;;;-1:-1:-1;;;;;58830:16:0;;54079:56;;;;-1:-1:-1;;;54079:56:0;;14027:2:1;54079:56:0;;;14009:21:1;14066:2;14046:18;;;14039:30;-1:-1:-1;;;14085:18:1;;;14078:54;14149:18;;54079:56:0;13825:348:1;53674:207:0;53746:7;-1:-1:-1;;;;;53774:19:0;;53766:73;;;;-1:-1:-1;;;53766:73:0;;14380:2:1;53766:73:0;;;14362:21:1;14419:2;14399:18;;;14392:30;14458:34;14438:18;;;14431:62;-1:-1:-1;;;14509:18:1;;;14502:39;14558:19;;53766:73:0;14178:405:1;53766:73:0;-1:-1:-1;;;;;;53857:16:0;;;;;:9;:16;;;;;;;53674:207::o;29001:103::-;28239:13;:11;:13::i;:::-;29066:30:::1;29093:1;29066:18;:30::i;78198:399::-:0;28239:13;:11;:13::i;:::-;78259::::1;78275;72041:10:::0;:17;;71953:113;78275:13:::1;78323:8;::::0;78259:29;;-1:-1:-1;78307:12:0::1;78313:6:::0;78259:29;78307:12:::1;:::i;:::-;:24;;78299:54;;;::::0;-1:-1:-1;;;78299:54:0;;14790:2:1;78299:54:0::1;::::0;::::1;14772:21:1::0;14829:2;14809:18;;;14802:30;-1:-1:-1;;;14848:18:1;;;14841:48;14906:18;;78299:54:0::1;14588:342:1::0;78299:54:0::1;78369:9;78364:194;78388:6;78384:1;:10;78364:194;;;78414:18;78435:25;:15;10525:14:::0;;10433:114;78435:25:::1;78414:46;;78473:27;:15;10644:19:::0;;10662:1;10644:19;;;10555:127;78473:27:::1;78513:33;78523:10;78535;78513:9;:33::i;:::-;-1:-1:-1::0;78396:3:0;::::1;::::0;::::1;:::i;:::-;;;;78364:194;;;;78583:6;78568:11;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;78198:399:0:o;80611:110::-;28239:13;:11;:13::i;:::-;80689:9:::1;:24;80701:12:::0;80689:9;:24:::1;:::i;78056:61::-:0;28239:13;:11;:13::i;:::-;78101:8:::1;:6;:8::i;78605:1019::-:0;78700:13;78716;72041:10;:17;;71953:113;78716:13;78762:8;;78700:29;;-1:-1:-1;78746:12:0;78752:6;78700:29;78746:12;:::i;:::-;:24;;78738:54;;;;-1:-1:-1;;;78738:54:0;;14790:2:1;78738:54:0;;;14772:21:1;14829:2;14809:18;;;14802:30;-1:-1:-1;;;14848:18:1;;;14841:48;14906:18;;78738:54:0;14588:342:1;78738:54:0;78849:22;;;78860:10;78849:22;;;1679:51:1;78801:12:0;;1652:18:1;78849:22:0;;;-1:-1:-1;;78849:22:0;;;;;;;;;78839:33;;78849:22;78839:33;;;;78826:47;;;15204:19:1;15239:12;78826:47:0;;;-1:-1:-1;;78826:47:0;;;;;;;;;78816:58;;78826:47;78816:58;;;;78901:13;;78816:58;;-1:-1:-1;78901:13:0;;78883:76;;;;-1:-1:-1;;;78883:76:0;;15464:2:1;78883:76:0;;;15446:21:1;15503:2;15483:18;;;15476:30;-1:-1:-1;;;15522:18:1;;;15515:52;15584:18;;78883:76:0;15262:346:1;78883:76:0;78986:49;79005:11;;78986:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;79018:10:0;;;-1:-1:-1;79030:4:0;;-1:-1:-1;78986:18:0;:49::i;:::-;78968:123;;;;-1:-1:-1;;;78968:123:0;;15815:2:1;78968:123:0;;;15797:21:1;15854:2;15834:18;;;15827:30;15893:34;15873:18;;;15866:62;-1:-1:-1;;;15944:18:1;;;15937:31;15985:19;;78968:123:0;15613:397:1;78968:123:0;79146:10;79100:16;79129:28;;;:16;:28;;;;;;:33;;79125:136;;-1:-1:-1;79185:1:0;79125:136;;;-1:-1:-1;79240:10:0;79223:28;;;;:16;:28;;;;;;79125:136;79296:10;79277:30;;;;:18;:30;;;;;;79318:8;;79277:37;;79308:6;;79277:37;:::i;:::-;:49;;79269:106;;;;-1:-1:-1;;;79269:106:0;;16217:2:1;79269:106:0;;;16199:21:1;16256:2;16236:18;;;16229:30;16295:34;16275:18;;;16268:62;-1:-1:-1;;;16346:18:1;;;16339:43;16399:19;;79269:106:0;16015:409:1;79269:106:0;79389:9;79384:186;79408:6;79404:1;:10;79384:186;;;79432:18;79453:25;:15;10525:14;;10433:114;79453:25;79432:46;;79489:27;:15;10644:19;;10662:1;10644:19;;;10555:127;79489:27;79527:33;79537:10;79549;79527:9;:33::i;:::-;-1:-1:-1;79416:3:0;;;;:::i;:::-;;;;79384:186;;;-1:-1:-1;79597:10:0;79578:30;;;;:18;:30;;;;;:40;;79612:6;;79578:30;:40;;79612:6;;79578:40;:::i;:::-;;;;-1:-1:-1;;;;;;;;78605:1019:0:o;54402:104::-;54458:13;54491:7;54484:14;;;;;:::i;55988:155::-;56083:52;26984:10;56116:8;56126;56083:18;:52::i;57107:322::-;57281:41;26984:10;57314:7;57281:18;:41::i;:::-;57273:99;;;;-1:-1:-1;;;57273:99:0;;;;;;;:::i;:::-;57383:38;57397:4;57403:2;57407:7;57416:4;57383:13;:38::i;:::-;57107:322;;;;:::o;79961:95::-;28239:13;:11;:13::i;:::-;80026::::1;:22:::0;;-1:-1:-1;;80026:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;79961:95::o;80064:309::-;80137:13;80163:23;80178:7;80163:14;:23::i;:::-;80199:21;80223:10;:8;:10::i;:::-;80199:34;;80275:1;80257:7;80251:21;:25;:114;;;;;;;;;;;;;;;;;80320:7;80329:18;:7;:16;:18::i;:::-;80303:45;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;80303:45:0;;;;;;;;;;80286:73;;80349:9;;80303:45;80286:73;;:::i;:::-;;;;;;;;;;;;;80251:114;80244:121;80064:309;-1:-1:-1;;;80064:309:0:o;29259:201::-;28239:13;:11;:13::i;:::-;-1:-1:-1;;;;;29348:22:0;::::1;29340:73;;;::::0;-1:-1:-1;;;29340:73:0;;18186:2:1;29340:73:0::1;::::0;::::1;18168:21:1::0;18225:2;18205:18;;;18198:30;18264:34;18244:18;;;18237:62;-1:-1:-1;;;18315:18:1;;;18308:36;18361:19;;29340:73:0::1;17984:402:1::0;29340:73:0::1;29424:28;29443:8;29424:18;:28::i;71313:224::-:0;71415:4;-1:-1:-1;;;;;;71439:50:0;;-1:-1:-1;;;71439:50:0;;:90;;;71493:36;71517:11;71493:23;:36::i;65564:135::-;59232:4;58830:16;;;:7;:16;;;;;;-1:-1:-1;;;;;58830:16:0;65638:53;;;;-1:-1:-1;;;65638:53:0;;14027:2:1;65638:53:0;;;14009:21:1;14066:2;14046:18;;;14039:30;-1:-1:-1;;;14085:18:1;;;14078:54;14149:18;;65638:53:0;13825:348:1;64843:174:0;64918:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;64918:29:0;-1:-1:-1;;;;;64918:29:0;;;;;;;;:24;;64972:23;64918:24;64972:14;:23::i;:::-;-1:-1:-1;;;;;64963:46:0;;;;;;;;;;;64843:174;;:::o;28518:132::-;28426:6;;-1:-1:-1;;;;;28426:6:0;;;;;26984:10;28582:23;28574:68;;;;-1:-1:-1;;;28574:68:0;;18593:2:1;28574:68:0;;;18575:21:1;;;18612:18;;;18605:30;18671:34;18651:18;;;18644:62;18723:18;;28574:68:0;18391:356:1;59462:264:0;59555:4;59572:13;59588:23;59603:7;59588:14;:23::i;:::-;59572:39;;59641:5;-1:-1:-1;;;;;59630:16:0;:7;-1:-1:-1;;;;;59630:16:0;;:52;;;-1:-1:-1;;;;;;56335:25:0;;;56311:4;56335:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;59650:32;59630:87;;;;59710:7;-1:-1:-1;;;;;59686:31:0;:20;59698:7;59686:11;:20::i;:::-;-1:-1:-1;;;;;59686:31:0;;59630:87;59622:96;59462:264;-1:-1:-1;;;;59462:264:0:o;63461:1263::-;63620:4;-1:-1:-1;;;;;63593:31:0;:23;63608:7;63593:14;:23::i;:::-;-1:-1:-1;;;;;63593:31:0;;63585:81;;;;-1:-1:-1;;;63585:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63685:16:0;;63677:65;;;;-1:-1:-1;;;63677:65:0;;19360:2:1;63677:65:0;;;19342:21:1;19399:2;19379:18;;;19372:30;19438:34;19418:18;;;19411:62;-1:-1:-1;;;19489:18:1;;;19482:34;19533:19;;63677:65:0;19158:400:1;63677:65:0;63755:42;63776:4;63782:2;63786:7;63795:1;63755:20;:42::i;:::-;63927:4;-1:-1:-1;;;;;63900:31:0;:23;63915:7;63900:14;:23::i;:::-;-1:-1:-1;;;;;63900:31:0;;63892:81;;;;-1:-1:-1;;;63892:81:0;;;;;;;:::i;:::-;64045:24;;;;:15;:24;;;;;;;;64038:31;;-1:-1:-1;;;;;;64038:31:0;;;;;;-1:-1:-1;;;;;64521:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;64521:20:0;;;64556:13;;;;;;;;;:18;;64038:31;64556:18;;;64596:16;;;:7;:16;;;;;;:21;;;;;;;;;;64635:27;;64061:7;;64635:27;;;55333:346;55263:416;;:::o;32346:120::-;31355:16;:14;:16::i;:::-;32405:7:::1;:15:::0;;-1:-1:-1;;32405:15:0::1;::::0;;32436:22:::1;26984:10:::0;32445:12:::1;32436:22;::::0;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;32436:22:0::1;;;;;;;32346:120::o:0;62341:783::-;62401:13;62417:23;62432:7;62417:14;:23::i;:::-;62401:39;;62453:51;62474:5;62489:1;62493:7;62502:1;62453:20;:51::i;:::-;62617:23;62632:7;62617:14;:23::i;:::-;62688:24;;;;:15;:24;;;;;;;;62681:31;;-1:-1:-1;;;;;;62681:31:0;;;;;;-1:-1:-1;;;;;62933:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;62933:21:0;;;62983:16;;;:7;:16;;;;;;62976:23;;;;;;;63017:36;62609:31;;-1:-1:-1;62704:7:0;;63017:36;;62688:24;;63017:36;80573:22:::1;80502:101:::0;:::o;29620:191::-;29713:6;;;-1:-1:-1;;;;;29730:17:0;;;29713:6;29730:17;;;-1:-1:-1;;;;;;29730:17:0;;;;;;29763:40;;29713:6;;;;;;;;29763:40;;29694:16;;29763:40;29683:128;29620:191;:::o;60068:110::-;60144:26;60154:2;60158:7;60144:26;;;;;;;;;;;;:9;:26::i;32087:118::-;31096:19;:17;:19::i;:::-;32147:7:::1;:14:::0;;-1:-1:-1;;32147:14:0::1;32157:4;32147:14;::::0;;32177:20:::1;32184:12;26984:10:::0;;26904:98;1222:190;1347:4;1400;1371:25;1384:5;1391:4;1371:12;:25::i;:::-;:33;;1222:190;-1:-1:-1;;;;1222:190:0:o;65160:315::-;65315:8;-1:-1:-1;;;;;65306:17:0;:5;-1:-1:-1;;;;;65306:17:0;;65298:55;;;;-1:-1:-1;;;65298:55:0;;19765:2:1;65298:55:0;;;19747:21:1;19804:2;19784:18;;;19777:30;19843:27;19823:18;;;19816:55;19888:18;;65298:55:0;19563:349:1;65298:55:0;-1:-1:-1;;;;;65364:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;65364:46:0;;;;;;;;;;65426:41;;540::1;;;65426::0;;513:18:1;65426:41:0;;;;;;;65160:315;;;:::o;58310:313::-;58466:28;58476:4;58482:2;58486:7;58466:9;:28::i;:::-;58513:47;58536:4;58542:2;58546:7;58555:4;58513:22;:47::i;:::-;58505:110;;;;-1:-1:-1;;;58505:110:0;;;;;;;:::i;80381:113::-;80441:13;80474:12;80467:19;;;;;:::i;24331:716::-;24387:13;24438:14;24455:17;24466:5;24455:10;:17::i;:::-;24475:1;24455:21;24438:38;;24491:20;24525:6;24514:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24514:18:0;-1:-1:-1;24491:41:0;-1:-1:-1;24656:28:0;;;24672:2;24656:28;24713:288;-1:-1:-1;;24745:5:0;-1:-1:-1;;;24882:2:0;24871:14;;24866:30;24745:5;24853:44;24943:2;24934:11;;;-1:-1:-1;24964:21:0;24713:288;24964:21;-1:-1:-1;25022:6:0;24331:716;-1:-1:-1;;;24331:716:0:o;53305:305::-;53407:4;-1:-1:-1;;;;;;53444:40:0;;-1:-1:-1;;;53444:40:0;;:105;;-1:-1:-1;;;;;;;53501:48:0;;-1:-1:-1;;;53501:48:0;53444:105;:158;;;-1:-1:-1;;;;;;;;;;44846:40:0;;;53566:36;44737:157;80729:257;31096:19;:17;:19::i;:::-;80922:56:::1;80949:4;80955:2;80959:7;80968:9;80922:26;:56::i;31835:108::-:0;31562:7;;;;31894:41;;;;-1:-1:-1;;;31894:41:0;;20670:2:1;31894:41:0;;;20652:21:1;20709:2;20689:18;;;20682:30;-1:-1:-1;;;20728:18:1;;;20721:50;20788:18;;31894:41:0;20468:344:1;60405:319:0;60534:18;60540:2;60544:7;60534:5;:18::i;:::-;60585:53;60616:1;60620:2;60624:7;60633:4;60585:22;:53::i;:::-;60563:153;;;;-1:-1:-1;;;60563:153:0;;;;;;;:::i;31650:108::-;31562:7;;;;31720:9;31712:38;;;;-1:-1:-1;;;31712:38:0;;21019:2:1;31712:38:0;;;21001:21:1;21058:2;21038:18;;;21031:30;-1:-1:-1;;;21077:18:1;;;21070:46;21133:18;;31712:38:0;20817:340:1;2089:296:0;2172:7;2215:4;2172:7;2230:118;2254:5;:12;2250:1;:16;2230:118;;;2303:33;2313:12;2327:5;2333:1;2327:8;;;;;;;;:::i;:::-;;;;;;;2303:9;:33::i;:::-;2288:48;-1:-1:-1;2268:3:0;;;;:::i;:::-;;;;2230:118;;;-1:-1:-1;2365:12:0;2089:296;-1:-1:-1;;;2089:296:0:o;66263:853::-;66417:4;-1:-1:-1;;;;;66438:13:0;;34001:19;:23;66434:675;;66474:71;;-1:-1:-1;;;66474:71:0;;-1:-1:-1;;;;;66474:36:0;;;;;:71;;26984:10;;66525:4;;66531:7;;66540:4;;66474:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66474:71:0;;;;;;;;-1:-1:-1;;66474:71:0;;;;;;;;;;;;:::i;:::-;;;66470:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66715:6;:13;66732:1;66715:18;66711:328;;66758:60;;-1:-1:-1;;;66758:60:0;;;;;;;:::i;66711:328::-;66989:6;66983:13;66974:6;66970:2;66966:15;66959:38;66470:584;-1:-1:-1;;;;;;66596:51:0;-1:-1:-1;;;66596:51:0;;-1:-1:-1;66589:58:0;;66434:675;-1:-1:-1;67093:4:0;66263:853;;;;;;:::o;21197:922::-;21250:7;;-1:-1:-1;;;21328:15:0;;21324:102;;-1:-1:-1;;;21364:15:0;;;-1:-1:-1;21408:2:0;21398:12;21324:102;21453:6;21444:5;:15;21440:102;;21489:6;21480:15;;;-1:-1:-1;21524:2:0;21514:12;21440:102;21569:6;21560:5;:15;21556:102;;21605:6;21596:15;;;-1:-1:-1;21640:2:0;21630:12;21556:102;21685:5;21676;:14;21672:99;;21720:5;21711:14;;;-1:-1:-1;21754:1:0;21744:11;21672:99;21798:5;21789;:14;21785:99;;21833:5;21824:14;;;-1:-1:-1;21867:1:0;21857:11;21785:99;21911:5;21902;:14;21898:99;;21946:5;21937:14;;;-1:-1:-1;21980:1:0;21970:11;21898:99;22024:5;22015;:14;22011:66;;22060:1;22050:11;22105:6;21197:922;-1:-1:-1;;21197:922:0:o;72450:915::-;72717:1;72705:9;:13;72701:222;;;72848:63;;-1:-1:-1;;;72848:63:0;;22112:2:1;72848:63:0;;;22094:21:1;22151:2;22131:18;;;22124:30;22190:34;22170:18;;;22163:62;-1:-1:-1;;;22241:18:1;;;22234:51;22302:19;;72848:63:0;21910:417:1;72701:222:0;72953:12;-1:-1:-1;;;;;72982:18:0;;72978:187;;73017:40;73049:7;74192:10;:17;;74165:24;;;;:15;:24;;;;;:44;;;74220:24;;;;;;;;;;;;74088:164;73017:40;72978:187;;;73087:2;-1:-1:-1;;;;;73079:10:0;:4;-1:-1:-1;;;;;73079:10:0;;73075:90;;73106:47;73139:4;73145:7;73106:32;:47::i;:::-;-1:-1:-1;;;;;73179:16:0;;73175:183;;73212:45;73249:7;73212:36;:45::i;:::-;73175:183;;;73285:4;-1:-1:-1;;;;;73279:10:0;:2;-1:-1:-1;;;;;73279:10:0;;73275:83;;73306:40;73334:2;73338:7;73306:27;:40::i;:::-;72616:749;72450:915;;;;:::o;61060:942::-;-1:-1:-1;;;;;61140:16:0;;61132:61;;;;-1:-1:-1;;;61132:61:0;;22534:2:1;61132:61:0;;;22516:21:1;;;22553:18;;;22546:30;22612:34;22592:18;;;22585:62;22664:18;;61132:61:0;22332:356:1;61132:61:0;59232:4;58830:16;;;:7;:16;;;;;;-1:-1:-1;;;;;58830:16:0;59256:31;61204:58;;;;-1:-1:-1;;;61204:58:0;;22895:2:1;61204:58:0;;;22877:21:1;22934:2;22914:18;;;22907:30;22973;22953:18;;;22946:58;23021:18;;61204:58:0;22693:352:1;61204:58:0;61275:48;61304:1;61308:2;61312:7;61321:1;61275:20;:48::i;:::-;59232:4;58830:16;;;:7;:16;;;;;;-1:-1:-1;;;;;58830:16:0;59256:31;61413:58;;;;-1:-1:-1;;;61413:58:0;;22895:2:1;61413:58:0;;;22877:21:1;22934:2;22914:18;;;22907:30;22973;22953:18;;;22946:58;23021:18;;61413:58:0;22693:352:1;61413:58:0;-1:-1:-1;;;;;61820:13:0;;;;;;:9;:13;;;;;;;;:18;;61837:1;61820:18;;;61862:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;61862:21:0;;;;;61901:33;61870:7;;61820:13;;61901:33;;61820:13;;61901:33;80573:22:::1;80502:101:::0;:::o;9129:149::-;9192:7;9223:1;9219;:5;:51;;9354:13;9448:15;;;9484:4;9477:15;;;9531:4;9515:21;;9219:51;;;-1:-1:-1;9354:13:0;9448:15;;;9484:4;9477:15;9531:4;9515:21;;;9129:149::o;74879:988::-;75145:22;75195:1;75170:22;75187:4;75170:16;:22::i;:::-;:26;;;;:::i;:::-;75207:18;75228:26;;;:17;:26;;;;;;75145:51;;-1:-1:-1;75361:28:0;;;75357:328;;-1:-1:-1;;;;;75428:18:0;;75406:19;75428:18;;;:12;:18;;;;;;;;:34;;;;;;;;;75479:30;;;;;;:44;;;75596:30;;:17;:30;;;;;:43;;;75357:328;-1:-1:-1;75781:26:0;;;;:17;:26;;;;;;;;75774:33;;;-1:-1:-1;;;;;75825:18:0;;;;;:12;:18;;;;;:34;;;;;;;75818:41;74879:988::o;76162:1079::-;76440:10;:17;76415:22;;76440:21;;76460:1;;76440:21;:::i;:::-;76472:18;76493:24;;;:15;:24;;;;;;76866:10;:26;;76415:46;;-1:-1:-1;76493:24:0;;76415:46;;76866:26;;;;;;:::i;:::-;;;;;;;;;76844:48;;76930:11;76905:10;76916;76905:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;77010:28;;;:15;:28;;;;;;;:41;;;77182:24;;;;;77175:31;77217:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;76233:1008;;;76162:1079;:::o;73666:221::-;73751:14;73768:20;73785:2;73768:16;:20::i;:::-;-1:-1:-1;;;;;73799:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;73844:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;73666:221: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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:275;2381:2;2375:9;2446:2;2427:13;;-1:-1:-1;;2423:27:1;2411:40;;2481:18;2466:34;;2502:22;;;2463:62;2460:88;;;2528:18;;:::i;:::-;2564:2;2557:22;2310:275;;-1:-1:-1;2310:275:1:o;2590:183::-;2650:4;2683:18;2675:6;2672:30;2669:56;;;2705:18;;:::i;:::-;-1:-1:-1;2750:1:1;2746:14;2762:4;2742:25;;2590:183::o;2778:662::-;2832:5;2885:3;2878:4;2870:6;2866:17;2862:27;2852:55;;2903:1;2900;2893:12;2852:55;2939:6;2926:20;2965:4;2989:60;3005:43;3045:2;3005:43;:::i;:::-;2989:60;:::i;:::-;3083:15;;;3169:1;3165:10;;;;3153:23;;3149:32;;;3114:12;;;;3193:15;;;3190:35;;;3221:1;3218;3211:12;3190:35;3257:2;3249:6;3245:15;3269:142;3285:6;3280:3;3277:15;3269:142;;;3351:17;;3339:30;;3389:12;;;;3302;;3269:142;;;-1:-1:-1;3429:5:1;2778:662;-1:-1:-1;;;;;;2778:662:1:o;3445:1146::-;3563:6;3571;3624:2;3612:9;3603:7;3599:23;3595:32;3592:52;;;3640:1;3637;3630:12;3592:52;3680:9;3667:23;3709:18;3750:2;3742:6;3739:14;3736:34;;;3766:1;3763;3756:12;3736:34;3804:6;3793:9;3789:22;3779:32;;3849:7;3842:4;3838:2;3834:13;3830:27;3820:55;;3871:1;3868;3861:12;3820:55;3907:2;3894:16;3929:4;3953:60;3969:43;4009:2;3969:43;:::i;3953:60::-;4047:15;;;4129:1;4125:10;;;;4117:19;;4113:28;;;4078:12;;;;4153:19;;;4150:39;;;4185:1;4182;4175:12;4150:39;4209:11;;;;4229:148;4245:6;4240:3;4237:15;4229:148;;;4311:23;4330:3;4311:23;:::i;:::-;4299:36;;4262:12;;;;4355;;;;4229:148;;;4396:5;-1:-1:-1;;4439:18:1;;4426:32;;-1:-1:-1;;4470:16:1;;;4467:36;;;4499:1;4496;4489:12;4467:36;;4522:63;4577:7;4566:8;4555:9;4551:24;4522:63;:::i;:::-;4512:73;;;3445:1146;;;;;:::o;4778:328::-;4855:6;4863;4871;4924:2;4912:9;4903:7;4899:23;4895:32;4892:52;;;4940:1;4937;4930:12;4892:52;4963:29;4982:9;4963:29;:::i;:::-;4953:39;;5011:38;5045:2;5034:9;5030:18;5011:38;:::i;:::-;5001:48;;5096:2;5085:9;5081:18;5068:32;5058:42;;4778:328;;;;;:::o;5478:407::-;5543:5;5577:18;5569:6;5566:30;5563:56;;;5599:18;;:::i;:::-;5637:57;5682:2;5661:15;;-1:-1:-1;;5657:29:1;5688:4;5653:40;5637:57;:::i;:::-;5628:66;;5717:6;5710:5;5703:21;5757:3;5748:6;5743:3;5739:16;5736:25;5733:45;;;5774:1;5771;5764:12;5733:45;5823:6;5818:3;5811:4;5804:5;5800:16;5787:43;5877:1;5870:4;5861:6;5854:5;5850:18;5846:29;5839:40;5478:407;;;;;:::o;5890:451::-;5959:6;6012:2;6000:9;5991:7;5987:23;5983:32;5980:52;;;6028:1;6025;6018:12;5980:52;6068:9;6055:23;6101:18;6093:6;6090:30;6087:50;;;6133:1;6130;6123:12;6087:50;6156:22;;6209:4;6201:13;;6197:27;-1:-1:-1;6187:55:1;;6238:1;6235;6228:12;6187:55;6261:74;6327:7;6322:2;6309:16;6304:2;6300;6296:11;6261:74;:::i;6346:186::-;6405:6;6458:2;6446:9;6437:7;6433:23;6429:32;6426:52;;;6474:1;6471;6464:12;6426:52;6497:29;6516:9;6497:29;:::i;6537:683::-;6632:6;6640;6648;6701:2;6689:9;6680:7;6676:23;6672:32;6669:52;;;6717:1;6714;6707:12;6669:52;6753:9;6740:23;6730:33;;6814:2;6803:9;6799:18;6786:32;6837:18;6878:2;6870:6;6867:14;6864:34;;;6894:1;6891;6884:12;6864:34;6932:6;6921:9;6917:22;6907:32;;6977:7;6970:4;6966:2;6962:13;6958:27;6948:55;;6999:1;6996;6989:12;6948:55;7039:2;7026:16;7065:2;7057:6;7054:14;7051:34;;;7081:1;7078;7071:12;7051:34;7134:7;7129:2;7119:6;7116:1;7112:14;7108:2;7104:23;7100:32;7097:45;7094:65;;;7155:1;7152;7145:12;7094:65;7186:2;7182;7178:11;7168:21;;7208:6;7198:16;;;;;6537:683;;;;;:::o;7225:160::-;7290:20;;7346:13;;7339:21;7329:32;;7319:60;;7375:1;7372;7365:12;7390:254;7455:6;7463;7516:2;7504:9;7495:7;7491:23;7487:32;7484:52;;;7532:1;7529;7522:12;7484:52;7555:29;7574:9;7555:29;:::i;:::-;7545:39;;7603:35;7634:2;7623:9;7619:18;7603:35;:::i;:::-;7593:45;;7390:254;;;;;:::o;7649:667::-;7744:6;7752;7760;7768;7821:3;7809:9;7800:7;7796:23;7792:33;7789:53;;;7838:1;7835;7828:12;7789:53;7861:29;7880:9;7861:29;:::i;:::-;7851:39;;7909:38;7943:2;7932:9;7928:18;7909:38;:::i;:::-;7899:48;;7994:2;7983:9;7979:18;7966:32;7956:42;;8049:2;8038:9;8034:18;8021:32;8076:18;8068:6;8065:30;8062:50;;;8108:1;8105;8098:12;8062:50;8131:22;;8184:4;8176:13;;8172:27;-1:-1:-1;8162:55:1;;8213:1;8210;8203:12;8162:55;8236:74;8302:7;8297:2;8284:16;8279:2;8275;8271:11;8236:74;:::i;:::-;8226:84;;;7649:667;;;;;;;:::o;8321:180::-;8377:6;8430:2;8418:9;8409:7;8405:23;8401:32;8398:52;;;8446:1;8443;8436:12;8398:52;8469:26;8485:9;8469:26;:::i;8506:260::-;8574:6;8582;8635:2;8623:9;8614:7;8610:23;8606:32;8603:52;;;8651:1;8648;8641:12;8603:52;8674:29;8693:9;8674:29;:::i;:::-;8664:39;;8722:38;8756:2;8745:9;8741:18;8722:38;:::i;8771:380::-;8850:1;8846:12;;;;8893;;;8914:61;;8968:4;8960:6;8956:17;8946:27;;8914:61;9021:2;9013:6;9010:14;8990:18;8987:38;8984:161;;9067:10;9062:3;9058:20;9055:1;9048:31;9102:4;9099:1;9092:15;9130:4;9127:1;9120:15;8984:161;;8771:380;;;:::o;9988:127::-;10049:10;10044:3;10040:20;10037:1;10030:31;10080:4;10077:1;10070:15;10104:4;10101:1;10094:15;10120:127;10181:10;10176:3;10172:20;10169:1;10162:31;10212:4;10209:1;10202:15;10236:4;10233:1;10226:15;10252:125;10317:9;;;10338:10;;;10335:36;;;10351:18;;:::i;10382:409::-;10584:2;10566:21;;;10623:2;10603:18;;;10596:30;10662:34;10657:2;10642:18;;10635:62;-1:-1:-1;;;10728:2:1;10713:18;;10706:43;10781:3;10766:19;;10382:409::o;11747:545::-;11849:2;11844:3;11841:11;11838:448;;;11885:1;11910:5;11906:2;11899:17;11955:4;11951:2;11941:19;12025:2;12013:10;12009:19;12006:1;12002:27;11996:4;11992:38;12061:4;12049:10;12046:20;12043:47;;;-1:-1:-1;12084:4:1;12043:47;12139:2;12134:3;12130:12;12127:1;12123:20;12117:4;12113:31;12103:41;;12194:82;12212:2;12205:5;12202:13;12194:82;;;12257:17;;;12238:1;12227:13;12194:82;;;12198:3;;;11747:545;;;:::o;12468:1352::-;12594:3;12588:10;12621:18;12613:6;12610:30;12607:56;;;12643:18;;:::i;:::-;12672:97;12762:6;12722:38;12754:4;12748:11;12722:38;:::i;:::-;12716:4;12672:97;:::i;:::-;12824:4;;12888:2;12877:14;;12905:1;12900:663;;;;13607:1;13624:6;13621:89;;;-1:-1:-1;13676:19:1;;;13670:26;13621:89;-1:-1:-1;;12425:1:1;12421:11;;;12417:24;12413:29;12403:40;12449:1;12445:11;;;12400:57;13723:81;;12870:944;;12900:663;11694:1;11687:14;;;11731:4;11718:18;;-1:-1:-1;;12936:20:1;;;13054:236;13068:7;13065:1;13062:14;13054:236;;;13157:19;;;13151:26;13136:42;;13249:27;;;;13217:1;13205:14;;;;13084:19;;13054:236;;;13058:3;13318:6;13309:7;13306:19;13303:201;;;13379:19;;;13373:26;-1:-1:-1;;13462:1:1;13458:14;;;13474:3;13454:24;13450:37;13446:42;13431:58;13416:74;;13303:201;-1:-1:-1;;;;;13550:1:1;13534:14;;;13530:22;13517:36;;-1:-1:-1;12468:1352:1:o;14935:135::-;14974:3;14995:17;;;14992:43;;15015:18;;:::i;:::-;-1:-1:-1;15062:1:1;15051:13;;14935:135::o;16429:496::-;16608:3;16646:6;16640:13;16662:66;16721:6;16716:3;16709:4;16701:6;16697:17;16662:66;:::i;:::-;16791:13;;16750:16;;;;16813:70;16791:13;16750:16;16860:4;16848:17;;16813:70;:::i;:::-;16899:20;;16429:496;-1:-1:-1;;;;16429:496:1:o;16930:1049::-;17104:3;17142:6;17136:13;17168:4;17181:64;17238:6;17233:3;17228:2;17220:6;17216:15;17181:64;:::i;:::-;17276:6;17271:3;17267:16;17254:29;;17303:1;17336:6;17330:13;17368:36;17394:9;17368:36;:::i;:::-;17423:1;17440:18;;;17467:141;;;;17622:1;17617:337;;;;17433:521;;17467:141;-1:-1:-1;;17502:24:1;;17488:39;;17579:16;;17572:24;17558:39;;17547:51;;;-1:-1:-1;17467:141:1;;17617:337;17648:6;17645:1;17638:17;17696:2;17693:1;17683:16;17721:1;17735:169;17749:8;17746:1;17743:15;17735:169;;;17831:14;;17816:13;;;17809:37;17874:16;;;;17766:10;;17735:169;;;17739:3;;17935:8;17928:5;17924:20;17917:27;;17433:521;-1:-1:-1;17970:3:1;;16930:1049;-1:-1:-1;;;;;;;;;16930:1049:1:o;18752:401::-;18954:2;18936:21;;;18993:2;18973:18;;;18966:30;19032:34;19027:2;19012:18;;19005:62;-1:-1:-1;;;19098:2:1;19083:18;;19076:35;19143:3;19128:19;;18752:401::o;19917:414::-;20119:2;20101:21;;;20158:2;20138:18;;;20131:30;20197:34;20192:2;20177:18;;20170:62;-1:-1:-1;;;20263:2:1;20248:18;;20241:48;20321:3;20306:19;;19917:414::o;21162:489::-;-1:-1:-1;;;;;21431:15:1;;;21413:34;;21483:15;;21478:2;21463:18;;21456:43;21530:2;21515:18;;21508:34;;;21578:3;21573:2;21558:18;;21551:31;;;21356:4;;21599:46;;21625:19;;21617:6;21599:46;:::i;:::-;21591:54;21162:489;-1:-1:-1;;;;;;21162:489:1:o;21656:249::-;21725:6;21778:2;21766:9;21757:7;21753:23;21749:32;21746:52;;;21794:1;21791;21784:12;21746:52;21826:9;21820:16;21845:30;21869:5;21845:30;:::i;23050:128::-;23117:9;;;23138:11;;;23135:37;;;23152:18;;:::i;23183:127::-;23244:10;23239:3;23235:20;23232:1;23225:31;23275:4;23272:1;23265:15;23299:4;23296:1;23289:15
Swarm Source
ipfs://21920dd37acf7c7055cf41cfab239daec7a49861bfc2b1cc89ecc5dd20a9094a
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.