ERC-721
Overview
Max Total Supply
940 GGA
Holders
295
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GGALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GGAncients
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-24 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/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-rc.1) (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-rc.1) (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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/ggAncients.sol pragma solidity 0.8.14; contract GGAncients is ERC721AQueryable, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = "METADATA"; string public uriSuffix = ".json"; string public _contractURI = ""; string public hiddenMetadataUri; uint256 public cost = 0; uint256 public maxSupply = 4500; uint256 public maxMintAmountPerTx = 2; bool public paused = true; bool public revealed = false; uint256 public whitelistPhase = 0; uint256 public walletLimit = 0; mapping (address => uint256) public alreadyMinted; // MERKEL TREE STUFF bytes32 public merkleRoot = 0x9e36d13e68ab743d6d6b82c2d37d467466300d963044b6ec94dcf66c8aa631e3; constructor() ERC721A("GGAncients", "GGA") { _startTokenId(); setHiddenMetadataUri("https://www.starlite.top/ghidorah/hiddenMeta.json"); //https://www.starlite.gg/hiddenMeta.json setContractURI(""); //https://starlite.gg/sltcontract.json } function _startTokenId() internal pure override returns(uint256) { return 1; } modifier mintCompliance (uint256 _mintAmount) { if (whitelistPhase == 0) //GG Claims { walletLimit = 2; } else if (whitelistPhase == 1) //SXS Claims { walletLimit = 1; } else if (whitelistPhase == 2) // Public { walletLimit = 1; } require(!paused, "Minting is PAUSED!"); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(msg.sender == tx.origin, "No Bots!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(msg.value >= cost, "Insufficient funds!"); require(alreadyMinted[msg.sender] + _mintAmount <= walletLimit, "Max Mints Per Wallet Reached!"); _; } function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { merkleRoot = newMerkleRoot; } function setWalletLimit(uint256 _walletLimit) external onlyOwner { walletLimit = _walletLimit; } function setMintCost(uint256 _mintCost) external onlyOwner { cost = _mintCost; } function getAlreadyMinted(address a) public view returns (uint256) { return alreadyMinted[a]; } function getWhitelistState() public view returns (uint256) { return whitelistPhase; } function getPausedState() public view returns (bool) { return paused; } function getTotalSupply() public view returns (uint256) { return totalSupply(); } function whitelistMint(bytes32[] calldata _merkleProof, uint256 _mintAmount) external mintCompliance(_mintAmount) payable { if (whitelistPhase == 0 || whitelistPhase == 1) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Not on the Whitelist"); alreadyMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } else if (whitelistPhase == 2) { alreadyMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } else { alreadyMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } } function publicMint(uint256 _mintAmount) external mintCompliance(_mintAmount) payable { require(whitelistPhase == 2, "Still in Whitelist Sale!"); alreadyMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public payable onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); _safeMint(_receiver, _mintAmount); } function mintForAddressMultiple(address[] calldata addresses, uint256[] calldata amount) public onlyOwner { for (uint256 i; i < addresses.length; i++) { require(totalSupply() + amount[i] <= maxSupply, "Max supply exceeded!"); _safeMint(addresses[i], amount[i]); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view virtual override (ERC721A, IERC721A) returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _toString(_tokenId), uriSuffix)) : ""; } function contractURI() public view returns (string memory) { return bytes(_contractURI).length > 0 ? string(abi.encodePacked(_contractURI)) : ""; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setContractURI(string memory newContractURI) public onlyOwner { _contractURI = newContractURI; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setWhitelistPhase(uint256 _state) public onlyOwner { whitelistPhase = _state; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"getAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPausedState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"mintForAddressMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletLimit","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_state","type":"uint256"}],"name":"setWhitelistPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260086080819052674d4554414441544160c01b60a09081526200002b91600a919062000285565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005a91600b9162000285565b506040805160208101918290526000908190526200007b91600c9162000285565b506000600e819055611194600f5560026010556011805461ffff1916600117905560128190556013557f9e36d13e68ab743d6d6b82c2d37d467466300d963044b6ec94dcf66c8aa631e3601555348015620000d557600080fd5b50604080518082018252600a8152694747416e6369656e747360b01b60208083019182528351808501909452600384526247474160e81b908401528151919291620001239160029162000285565b5080516200013990600390602084019062000285565b50506001600055506200014c3362000190565b6200017060405180606001604052806031815260200162002ffc60319139620001e2565b6040805160208101909152600081526200018a9062000205565b62000367565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001ec62000224565b80516200020190600d90602084019062000285565b5050565b6200020f62000224565b80516200020190600c90602084019062000285565b6008546001600160a01b03163314620002835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b82805462000293906200032b565b90600052602060002090601f016020900481019282620002b7576000855562000302565b82601f10620002d257805160ff191683800117855562000302565b8280016001018555821562000302579182015b8281111562000302578251825591602001919060010190620002e5565b506200031092915062000314565b5090565b5b8082111562000310576000815560010162000315565b600181811c908216806200034057607f821691505b6020821081036200036157634e487b7160e01b600052602260045260246000fd5b50919050565b612c8580620003776000396000f3fe60806040526004361061036b5760003560e01c80637ec4a659116101c6578063b88d4fde116100f7578063de6c6d3611610095578063e985e9c51161006f578063e985e9c514610965578063efbd73f4146109ae578063f1d5f517146109c1578063f2fde38b146109e157600080fd5b8063de6c6d3614610910578063e0a8085314610930578063e8a3d4851461095057600080fd5b8063c4e41b22116100d1578063c4e41b221461088f578063c71fbb71146108a4578063c87b56dd146108da578063d5abeb01146108fa57600080fd5b8063b88d4fde1461083a578063c0e727401461084d578063c23dc68f1461086257600080fd5b806394354fd0116101645780639dddc2921161013e5780639dddc292146107d0578063a22cb465146107e5578063a45ba8e714610805578063b071401b1461081a57600080fd5b806394354fd01461078557806395d89b411461079b57806399a2557a146107b057600080fd5b80638545f4ea116101a05780638545f4ea14610707578063877850ef146107275780638da5cb5b14610747578063938e3d7b1461076557600080fd5b80637ec4a659146106b1578063815d544c146106d15780638462151c146106e757600080fd5b80633c8463a1116102a05780635bbb21771161023e5780636352211e116102185780636352211e1461063c57806370a082311461065c578063715018a61461067c5780637cb647591461069157600080fd5b80635bbb2177146105e05780635c975abb1461060d57806362b99ad41461062757600080fd5b8063438b63001161027a578063438b63001461055f5780634fdd43cb1461058c57806351830227146105ac5780635503a0e8146105cb57600080fd5b80633c8463a1146105215780633ccfd60b1461053757806342842e0e1461054c57600080fd5b806316c38b3c1161030d57806323b872dd116102e757806323b872dd146104d25780632904e6d9146104e55780632db11544146104f85780632eb4a7ab1461050b57600080fd5b806316c38b3c1461048557806318160ddd146104a55780631c0de051146104ba57600080fd5b8063095ea7b311610349578063095ea7b3146103ff5780630a398b881461041457806313faede61461044f57806316ba10e01461046557600080fd5b806301ffc9a71461037057806306fdde03146103a5578063081812fc146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b3660046124de565b610a01565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610a53565b60405161039c9190612553565b3480156103d357600080fd5b506103e76103e2366004612566565b610ae5565b6040516001600160a01b03909116815260200161039c565b61041261040d36600461259b565b610b29565b005b34801561042057600080fd5b5061044161042f3660046125c5565b60146020526000908152604090205481565b60405190815260200161039c565b34801561045b57600080fd5b50610441600e5481565b34801561047157600080fd5b5061041261048036600461266b565b610bc9565b34801561049157600080fd5b506104126104a03660046126c3565b610be8565b3480156104b157600080fd5b50610441610c03565b3480156104c657600080fd5b5060115460ff16610390565b6104126104e03660046126de565b610c11565b6104126104f3366004612765565b610da9565b610412610506366004612566565b611121565b34801561051757600080fd5b5061044160155481565b34801561052d57600080fd5b5061044160135481565b34801561054357600080fd5b5061041261139a565b61041261055a3660046126de565b611416565b34801561056b57600080fd5b5061057f61057a3660046125c5565b611436565b60405161039c91906127b0565b34801561059857600080fd5b506104126105a736600461266b565b611515565b3480156105b857600080fd5b5060115461039090610100900460ff1681565b3480156105d757600080fd5b506103ba611530565b3480156105ec57600080fd5b506106006105fb3660046127e8565b6115be565b60405161039c9190612865565b34801561061957600080fd5b506011546103909060ff1681565b34801561063357600080fd5b506103ba611689565b34801561064857600080fd5b506103e7610657366004612566565b611696565b34801561066857600080fd5b506104416106773660046125c5565b6116a1565b34801561068857600080fd5b506104126116ef565b34801561069d57600080fd5b506104126106ac366004612566565b611703565b3480156106bd57600080fd5b506104126106cc36600461266b565b611710565b3480156106dd57600080fd5b5061044160125481565b3480156106f357600080fd5b5061057f6107023660046125c5565b61172b565b34801561071357600080fd5b50610412610722366004612566565b611833565b34801561073357600080fd5b50610412610742366004612566565b611840565b34801561075357600080fd5b506008546001600160a01b03166103e7565b34801561077157600080fd5b5061041261078036600461266b565b61184d565b34801561079157600080fd5b5061044160105481565b3480156107a757600080fd5b506103ba611868565b3480156107bc57600080fd5b5061057f6107cb3660046128a7565b611877565b3480156107dc57600080fd5b50601254610441565b3480156107f157600080fd5b506104126108003660046128da565b6119fe565b34801561081157600080fd5b506103ba611a6a565b34801561082657600080fd5b50610412610835366004612566565b611a77565b61041261084836600461290d565b611a84565b34801561085957600080fd5b506103ba611ac8565b34801561086e57600080fd5b5061088261087d366004612566565b611ad5565b60405161039c9190612988565b34801561089b57600080fd5b50610441611b5d565b3480156108b057600080fd5b506104416108bf3660046125c5565b6001600160a01b031660009081526014602052604090205490565b3480156108e657600080fd5b506103ba6108f5366004612566565b611b6c565b34801561090657600080fd5b50610441600f5481565b34801561091c57600080fd5b5061041261092b366004612996565b611cdf565b34801561093c57600080fd5b5061041261094b3660046126c3565b611d9f565b34801561095c57600080fd5b506103ba611dc1565b34801561097157600080fd5b50610390610980366004612a01565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6104126109bc366004612a2b565b611e12565b3480156109cd57600080fd5b506104126109dc366004612566565b611e58565b3480156109ed57600080fd5b506104126109fc3660046125c5565b611e65565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610a6290612a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612a4e565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611edb565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b3482611696565b9050336001600160a01b03821614610b6d57610b508133610980565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bd1611f10565b8051610be490600b90602084019061242f565b5050565b610bf0611f10565b6011805460ff1916911515919091179055565b600154600054036000190190565b6000610c1c82611f6a565b9050836001600160a01b0316816001600160a01b031614610c4f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c9c57610c7f8633610980565b610c9c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cc357604051633a954ecd60e21b815260040160405180910390fd5b8015610cce57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d6057600184016000818152600460205260408120549003610d5e576000548114610d5e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b80601254600003610dbe576002601355610de2565b601254600103610dd2576001601355610de2565b601254600203610de25760016013555b60115460ff1615610e2f5760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973205041555345442160701b60448201526064015b60405180910390fd5b600081118015610e4157506010548111155b610e845760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e26565b333214610ebe5760405162461bcd60e51b81526020600482015260086024820152674e6f20426f74732160c01b6044820152606401610e26565b600f5481610eca610c03565b610ed49190612a9e565b1115610ef25760405162461bcd60e51b8152600401610e2690612ab6565b600e54341015610f3a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e26565b60135433600090815260146020526040902054610f58908390612a9e565b1115610fa65760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610e26565b6012541580610fb757506012546001145b156110ae576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611036858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611fd9565b6110795760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a194815da1a5d195b1a5cdd60621b6044820152606401610e26565b3360009081526014602052604081208054859290611098908490612a9e565b909155506110a890503384611fef565b5061111b565b6012546002036110ec5733600090815260146020526040812080548492906110d7908490612a9e565b909155506110e790503383611fef565b61111b565b336000908152601460205260408120805484929061110b908490612a9e565b9091555061111b90503383611fef565b50505050565b8060125460000361113657600260135561115a565b60125460010361114a57600160135561115a565b60125460020361115a5760016013555b60115460ff16156111a25760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973205041555345442160701b6044820152606401610e26565b6000811180156111b457506010548111155b6111f75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e26565b3332146112315760405162461bcd60e51b81526020600482015260086024820152674e6f20426f74732160c01b6044820152606401610e26565b600f548161123d610c03565b6112479190612a9e565b11156112655760405162461bcd60e51b8152600401610e2690612ab6565b600e543410156112ad5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e26565b601354336000908152601460205260409020546112cb908390612a9e565b11156113195760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610e26565b60125460021461136b5760405162461bcd60e51b815260206004820152601860248201527f5374696c6c20696e2057686974656c6973742053616c652100000000000000006044820152606401610e26565b336000908152601460205260408120805484929061138a908490612a9e565b90915550610be490503383611fef565b6113a2611f10565b60006113b66008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611400576040519150601f19603f3d011682016040523d82523d6000602084013e611405565b606091505b505090508061141357600080fd5b50565b61143183838360405180602001604052806000815250611a84565b505050565b60606000611443836116a1565b90506000816001600160401b0381111561145f5761145f6125e0565b604051908082528060200260200182016040528015611488578160200160208202803683370190505b509050600160005b83811080156114a15750600f548211155b1561150b5760006114b183611696565b9050866001600160a01b0316816001600160a01b0316036114f857828483815181106114df576114df612ae4565b6020908102919091010152816114f481612afa565b9250505b8261150281612afa565b93505050611490565b5090949350505050565b61151d611f10565b8051610be490600d90602084019061242f565b600b805461153d90612a4e565b80601f016020809104026020016040519081016040528092919081815260200182805461156990612a4e565b80156115b65780601f1061158b576101008083540402835291602001916115b6565b820191906000526020600020905b81548152906001019060200180831161159957829003601f168201915b505050505081565b6060816000816001600160401b038111156115db576115db6125e0565b60405190808252806020026020018201604052801561162d57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816115f95790505b50905060005b8281146116805761165b86868381811061164f5761164f612ae4565b90506020020135611ad5565b82828151811061166d5761166d612ae4565b6020908102919091010152600101611633565b50949350505050565b600a805461153d90612a4e565b6000610a4d82611f6a565b60006001600160a01b0382166116ca576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6116f7611f10565b6117016000612009565b565b61170b611f10565b601555565b611718611f10565b8051610be490600a90602084019061242f565b6060600080600061173b856116a1565b90506000816001600160401b03811115611757576117576125e0565b604051908082528060200260200182016040528015611780578160200160208202803683370190505b5090506117ad60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611827576117c08161205b565b9150816040015161181f5781516001600160a01b0316156117e057815194505b876001600160a01b0316856001600160a01b03160361181f578083878060010198508151811061181257611812612ae4565b6020026020010181815250505b6001016117b0565b50909695505050505050565b61183b611f10565b600e55565b611848611f10565b601255565b611855611f10565b8051610be490600c90602084019061242f565b606060038054610a6290612a4e565b606081831061189957604051631960ccad60e11b815260040160405180910390fd5b6000806118a560005490565b905060018510156118b557600194505b808411156118c1578093505b60006118cc876116a1565b9050848610156118eb57858503818110156118e5578091505b506118ef565b5060005b6000816001600160401b03811115611909576119096125e0565b604051908082528060200260200182016040528015611932578160200160208202803683370190505b509050816000036119485793506119f792505050565b600061195388611ad5565b905060008160400151611964575080515b885b8881141580156119765750848714155b156119eb576119848161205b565b925082604001516119e35782516001600160a01b0316156119a457825191505b8a6001600160a01b0316826001600160a01b0316036119e357808488806001019950815181106119d6576119d6612ae4565b6020026020010181815250505b600101611966565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d805461153d90612a4e565b611a7f611f10565b601055565b611a8f848484610c11565b6001600160a01b0383163b1561111b57611aab84848484612097565b61111b576040516368d2bf6b60e11b815260040160405180910390fd5b600c805461153d90612a4e565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611b2e57506000548310155b15611b395792915050565b611b428361205b565b9050806040015115611b545792915050565b6119f783612183565b6000611b67610c03565b905090565b6060611b7782611edb565b611bdb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e26565b601154610100900460ff161515600003611c8157600d8054611bfc90612a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2890612a4e565b8015611c755780601f10611c4a57610100808354040283529160200191611c75565b820191906000526020600020905b815481529060010190602001808311611c5857829003601f168201915b50505050509050919050565b6000611c8b6121b8565b90506000815111611cab57604051806020016040528060008152506119f7565b80611cb5846121c7565b600b604051602001611cc993929190612bac565b6040516020818303038152906040529392505050565b611ce7611f10565b60005b83811015611d9857600f54838383818110611d0757611d07612ae4565b90506020020135611d16610c03565b611d209190612a9e565b1115611d3e5760405162461bcd60e51b8152600401610e2690612ab6565b611d86858583818110611d5357611d53612ae4565b9050602002016020810190611d6891906125c5565b848484818110611d7a57611d7a612ae4565b90506020020135611fef565b80611d9081612afa565b915050611cea565b5050505050565b611da7611f10565b601180549115156101000261ff0019909216919091179055565b60606000600c8054611dd290612a4e565b905011611dec575060408051602081019091526000815290565b600c604051602001611dfe9190612be9565b604051602081830303815290604052905090565b611e1a611f10565b600f5482611e26610c03565b611e309190612a9e565b1115611e4e5760405162461bcd60e51b8152600401610e2690612ab6565b610be48183611fef565b611e60611f10565b601355565b611e6d611f10565b6001600160a01b038116611ed25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e26565b61141381612009565b600081600111158015611eef575060005482105b8015610a4d575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146117015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e26565b60008180600111611fc057600054811015611fc05760008181526004602052604081205490600160e01b82169003611fbe575b806000036119f7575060001901600081815260046020526040902054611f9d565b505b604051636f96cda160e11b815260040160405180910390fd5b600082611fe6858461220b565b14949350505050565b610be4828260405180602001604052806000815250612258565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a4d906122be565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906120cc903390899088908890600401612bf5565b6020604051808303816000875af1925050508015612107575060408051601f3d908101601f1916820190925261210491810190612c32565b60015b612165573d808015612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b50805160000361215d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a4d6121b383611f6a565b6122be565b6060600a8054610a6290612a4e565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806121e15750819003601f19909101908152919050565b600081815b84518110156122505761223c8286838151811061222f5761222f612ae4565b6020026020010151612305565b91508061224881612afa565b915050612210565b509392505050565b6122628383612331565b6001600160a01b0383163b15611431576000548281035b61228c6000868380600101945086612097565b6122a9576040516368d2bf6b60e11b815260040160405180910390fd5b818110612279578160005414611d9857600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008183106123215760008281526020849052604090206119f7565b5060009182526020526040902090565b60008054908290036123565760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461240557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016123cd565b508160000361242657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461243b90612a4e565b90600052602060002090601f01602090048101928261245d57600085556124a3565b82601f1061247657805160ff19168380011785556124a3565b828001600101855582156124a3579182015b828111156124a3578251825591602001919060010190612488565b506124af9291506124b3565b5090565b5b808211156124af57600081556001016124b4565b6001600160e01b03198116811461141357600080fd5b6000602082840312156124f057600080fd5b81356119f7816124c8565b60005b838110156125165781810151838201526020016124fe565b8381111561111b5750506000910152565b6000815180845261253f8160208601602086016124fb565b601f01601f19169290920160200192915050565b6020815260006119f76020830184612527565b60006020828403121561257857600080fd5b5035919050565b80356001600160a01b038116811461259657600080fd5b919050565b600080604083850312156125ae57600080fd5b6125b78361257f565b946020939093013593505050565b6000602082840312156125d757600080fd5b6119f78261257f565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612610576126106125e0565b604051601f8501601f19908116603f01168101908282118183101715612638576126386125e0565b8160405280935085815286868601111561265157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561267d57600080fd5b81356001600160401b0381111561269357600080fd5b8201601f810184136126a457600080fd5b61217b848235602084016125f6565b8035801515811461259657600080fd5b6000602082840312156126d557600080fd5b6119f7826126b3565b6000806000606084860312156126f357600080fd5b6126fc8461257f565b925061270a6020850161257f565b9150604084013590509250925092565b60008083601f84011261272c57600080fd5b5081356001600160401b0381111561274357600080fd5b6020830191508360208260051b850101111561275e57600080fd5b9250929050565b60008060006040848603121561277a57600080fd5b83356001600160401b0381111561279057600080fd5b61279c8682870161271a565b909790965060209590950135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015611827578351835292840192918401916001016127cc565b600080602083850312156127fb57600080fd5b82356001600160401b0381111561281157600080fd5b61281d8582860161271a565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561182757612894838551612829565b9284019260809290920191600101612881565b6000806000606084860312156128bc57600080fd5b6128c58461257f565b95602085013595506040909401359392505050565b600080604083850312156128ed57600080fd5b6128f68361257f565b9150612904602084016126b3565b90509250929050565b6000806000806080858703121561292357600080fd5b61292c8561257f565b935061293a6020860161257f565b92506040850135915060608501356001600160401b0381111561295c57600080fd5b8501601f8101871361296d57600080fd5b61297c878235602084016125f6565b91505092959194509250565b60808101610a4d8284612829565b600080600080604085870312156129ac57600080fd5b84356001600160401b03808211156129c357600080fd5b6129cf8883890161271a565b909650945060208701359150808211156129e857600080fd5b506129f58782880161271a565b95989497509550505050565b60008060408385031215612a1457600080fd5b612a1d8361257f565b91506129046020840161257f565b60008060408385031215612a3e57600080fd5b823591506129046020840161257f565b600181811c90821680612a6257607f821691505b602082108103612a8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ab157612ab1612a88565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612b0c57612b0c612a88565b5060010190565b8054600090600181811c9080831680612b2d57607f831692505b60208084108203612b4e57634e487b7160e01b600052602260045260246000fd5b818015612b625760018114612b7357612ba0565b60ff19861689528489019650612ba0565b60008881526020902060005b86811015612b985781548b820152908501908301612b7f565b505084890196505b50505050505092915050565b60008451612bbe8184602089016124fb565b845190830190612bd28183602089016124fb565b612bde81830186612b13565b979650505050505050565b60006119f78284612b13565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c2890830184612527565b9695505050505050565b600060208284031215612c4457600080fd5b81516119f7816124c856fea2646970667358221220f82a2dbcf0d47806576e668e5f9a9dd8c7daf9530081c4a1044f0f9bbae0d70a64736f6c634300080e003368747470733a2f2f7777772e737461726c6974652e746f702f676869646f7261682f68696464656e4d6574612e6a736f6e
Deployed Bytecode
0x60806040526004361061036b5760003560e01c80637ec4a659116101c6578063b88d4fde116100f7578063de6c6d3611610095578063e985e9c51161006f578063e985e9c514610965578063efbd73f4146109ae578063f1d5f517146109c1578063f2fde38b146109e157600080fd5b8063de6c6d3614610910578063e0a8085314610930578063e8a3d4851461095057600080fd5b8063c4e41b22116100d1578063c4e41b221461088f578063c71fbb71146108a4578063c87b56dd146108da578063d5abeb01146108fa57600080fd5b8063b88d4fde1461083a578063c0e727401461084d578063c23dc68f1461086257600080fd5b806394354fd0116101645780639dddc2921161013e5780639dddc292146107d0578063a22cb465146107e5578063a45ba8e714610805578063b071401b1461081a57600080fd5b806394354fd01461078557806395d89b411461079b57806399a2557a146107b057600080fd5b80638545f4ea116101a05780638545f4ea14610707578063877850ef146107275780638da5cb5b14610747578063938e3d7b1461076557600080fd5b80637ec4a659146106b1578063815d544c146106d15780638462151c146106e757600080fd5b80633c8463a1116102a05780635bbb21771161023e5780636352211e116102185780636352211e1461063c57806370a082311461065c578063715018a61461067c5780637cb647591461069157600080fd5b80635bbb2177146105e05780635c975abb1461060d57806362b99ad41461062757600080fd5b8063438b63001161027a578063438b63001461055f5780634fdd43cb1461058c57806351830227146105ac5780635503a0e8146105cb57600080fd5b80633c8463a1146105215780633ccfd60b1461053757806342842e0e1461054c57600080fd5b806316c38b3c1161030d57806323b872dd116102e757806323b872dd146104d25780632904e6d9146104e55780632db11544146104f85780632eb4a7ab1461050b57600080fd5b806316c38b3c1461048557806318160ddd146104a55780631c0de051146104ba57600080fd5b8063095ea7b311610349578063095ea7b3146103ff5780630a398b881461041457806313faede61461044f57806316ba10e01461046557600080fd5b806301ffc9a71461037057806306fdde03146103a5578063081812fc146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b3660046124de565b610a01565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610a53565b60405161039c9190612553565b3480156103d357600080fd5b506103e76103e2366004612566565b610ae5565b6040516001600160a01b03909116815260200161039c565b61041261040d36600461259b565b610b29565b005b34801561042057600080fd5b5061044161042f3660046125c5565b60146020526000908152604090205481565b60405190815260200161039c565b34801561045b57600080fd5b50610441600e5481565b34801561047157600080fd5b5061041261048036600461266b565b610bc9565b34801561049157600080fd5b506104126104a03660046126c3565b610be8565b3480156104b157600080fd5b50610441610c03565b3480156104c657600080fd5b5060115460ff16610390565b6104126104e03660046126de565b610c11565b6104126104f3366004612765565b610da9565b610412610506366004612566565b611121565b34801561051757600080fd5b5061044160155481565b34801561052d57600080fd5b5061044160135481565b34801561054357600080fd5b5061041261139a565b61041261055a3660046126de565b611416565b34801561056b57600080fd5b5061057f61057a3660046125c5565b611436565b60405161039c91906127b0565b34801561059857600080fd5b506104126105a736600461266b565b611515565b3480156105b857600080fd5b5060115461039090610100900460ff1681565b3480156105d757600080fd5b506103ba611530565b3480156105ec57600080fd5b506106006105fb3660046127e8565b6115be565b60405161039c9190612865565b34801561061957600080fd5b506011546103909060ff1681565b34801561063357600080fd5b506103ba611689565b34801561064857600080fd5b506103e7610657366004612566565b611696565b34801561066857600080fd5b506104416106773660046125c5565b6116a1565b34801561068857600080fd5b506104126116ef565b34801561069d57600080fd5b506104126106ac366004612566565b611703565b3480156106bd57600080fd5b506104126106cc36600461266b565b611710565b3480156106dd57600080fd5b5061044160125481565b3480156106f357600080fd5b5061057f6107023660046125c5565b61172b565b34801561071357600080fd5b50610412610722366004612566565b611833565b34801561073357600080fd5b50610412610742366004612566565b611840565b34801561075357600080fd5b506008546001600160a01b03166103e7565b34801561077157600080fd5b5061041261078036600461266b565b61184d565b34801561079157600080fd5b5061044160105481565b3480156107a757600080fd5b506103ba611868565b3480156107bc57600080fd5b5061057f6107cb3660046128a7565b611877565b3480156107dc57600080fd5b50601254610441565b3480156107f157600080fd5b506104126108003660046128da565b6119fe565b34801561081157600080fd5b506103ba611a6a565b34801561082657600080fd5b50610412610835366004612566565b611a77565b61041261084836600461290d565b611a84565b34801561085957600080fd5b506103ba611ac8565b34801561086e57600080fd5b5061088261087d366004612566565b611ad5565b60405161039c9190612988565b34801561089b57600080fd5b50610441611b5d565b3480156108b057600080fd5b506104416108bf3660046125c5565b6001600160a01b031660009081526014602052604090205490565b3480156108e657600080fd5b506103ba6108f5366004612566565b611b6c565b34801561090657600080fd5b50610441600f5481565b34801561091c57600080fd5b5061041261092b366004612996565b611cdf565b34801561093c57600080fd5b5061041261094b3660046126c3565b611d9f565b34801561095c57600080fd5b506103ba611dc1565b34801561097157600080fd5b50610390610980366004612a01565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6104126109bc366004612a2b565b611e12565b3480156109cd57600080fd5b506104126109dc366004612566565b611e58565b3480156109ed57600080fd5b506104126109fc3660046125c5565b611e65565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610a6290612a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612a4e565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611edb565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b3482611696565b9050336001600160a01b03821614610b6d57610b508133610980565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bd1611f10565b8051610be490600b90602084019061242f565b5050565b610bf0611f10565b6011805460ff1916911515919091179055565b600154600054036000190190565b6000610c1c82611f6a565b9050836001600160a01b0316816001600160a01b031614610c4f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c9c57610c7f8633610980565b610c9c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cc357604051633a954ecd60e21b815260040160405180910390fd5b8015610cce57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d6057600184016000818152600460205260408120549003610d5e576000548114610d5e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b80601254600003610dbe576002601355610de2565b601254600103610dd2576001601355610de2565b601254600203610de25760016013555b60115460ff1615610e2f5760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973205041555345442160701b60448201526064015b60405180910390fd5b600081118015610e4157506010548111155b610e845760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e26565b333214610ebe5760405162461bcd60e51b81526020600482015260086024820152674e6f20426f74732160c01b6044820152606401610e26565b600f5481610eca610c03565b610ed49190612a9e565b1115610ef25760405162461bcd60e51b8152600401610e2690612ab6565b600e54341015610f3a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e26565b60135433600090815260146020526040902054610f58908390612a9e565b1115610fa65760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610e26565b6012541580610fb757506012546001145b156110ae576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611036858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611fd9565b6110795760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a194815da1a5d195b1a5cdd60621b6044820152606401610e26565b3360009081526014602052604081208054859290611098908490612a9e565b909155506110a890503384611fef565b5061111b565b6012546002036110ec5733600090815260146020526040812080548492906110d7908490612a9e565b909155506110e790503383611fef565b61111b565b336000908152601460205260408120805484929061110b908490612a9e565b9091555061111b90503383611fef565b50505050565b8060125460000361113657600260135561115a565b60125460010361114a57600160135561115a565b60125460020361115a5760016013555b60115460ff16156111a25760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973205041555345442160701b6044820152606401610e26565b6000811180156111b457506010548111155b6111f75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e26565b3332146112315760405162461bcd60e51b81526020600482015260086024820152674e6f20426f74732160c01b6044820152606401610e26565b600f548161123d610c03565b6112479190612a9e565b11156112655760405162461bcd60e51b8152600401610e2690612ab6565b600e543410156112ad5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e26565b601354336000908152601460205260409020546112cb908390612a9e565b11156113195760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610e26565b60125460021461136b5760405162461bcd60e51b815260206004820152601860248201527f5374696c6c20696e2057686974656c6973742053616c652100000000000000006044820152606401610e26565b336000908152601460205260408120805484929061138a908490612a9e565b90915550610be490503383611fef565b6113a2611f10565b60006113b66008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611400576040519150601f19603f3d011682016040523d82523d6000602084013e611405565b606091505b505090508061141357600080fd5b50565b61143183838360405180602001604052806000815250611a84565b505050565b60606000611443836116a1565b90506000816001600160401b0381111561145f5761145f6125e0565b604051908082528060200260200182016040528015611488578160200160208202803683370190505b509050600160005b83811080156114a15750600f548211155b1561150b5760006114b183611696565b9050866001600160a01b0316816001600160a01b0316036114f857828483815181106114df576114df612ae4565b6020908102919091010152816114f481612afa565b9250505b8261150281612afa565b93505050611490565b5090949350505050565b61151d611f10565b8051610be490600d90602084019061242f565b600b805461153d90612a4e565b80601f016020809104026020016040519081016040528092919081815260200182805461156990612a4e565b80156115b65780601f1061158b576101008083540402835291602001916115b6565b820191906000526020600020905b81548152906001019060200180831161159957829003601f168201915b505050505081565b6060816000816001600160401b038111156115db576115db6125e0565b60405190808252806020026020018201604052801561162d57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816115f95790505b50905060005b8281146116805761165b86868381811061164f5761164f612ae4565b90506020020135611ad5565b82828151811061166d5761166d612ae4565b6020908102919091010152600101611633565b50949350505050565b600a805461153d90612a4e565b6000610a4d82611f6a565b60006001600160a01b0382166116ca576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6116f7611f10565b6117016000612009565b565b61170b611f10565b601555565b611718611f10565b8051610be490600a90602084019061242f565b6060600080600061173b856116a1565b90506000816001600160401b03811115611757576117576125e0565b604051908082528060200260200182016040528015611780578160200160208202803683370190505b5090506117ad60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611827576117c08161205b565b9150816040015161181f5781516001600160a01b0316156117e057815194505b876001600160a01b0316856001600160a01b03160361181f578083878060010198508151811061181257611812612ae4565b6020026020010181815250505b6001016117b0565b50909695505050505050565b61183b611f10565b600e55565b611848611f10565b601255565b611855611f10565b8051610be490600c90602084019061242f565b606060038054610a6290612a4e565b606081831061189957604051631960ccad60e11b815260040160405180910390fd5b6000806118a560005490565b905060018510156118b557600194505b808411156118c1578093505b60006118cc876116a1565b9050848610156118eb57858503818110156118e5578091505b506118ef565b5060005b6000816001600160401b03811115611909576119096125e0565b604051908082528060200260200182016040528015611932578160200160208202803683370190505b509050816000036119485793506119f792505050565b600061195388611ad5565b905060008160400151611964575080515b885b8881141580156119765750848714155b156119eb576119848161205b565b925082604001516119e35782516001600160a01b0316156119a457825191505b8a6001600160a01b0316826001600160a01b0316036119e357808488806001019950815181106119d6576119d6612ae4565b6020026020010181815250505b600101611966565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d805461153d90612a4e565b611a7f611f10565b601055565b611a8f848484610c11565b6001600160a01b0383163b1561111b57611aab84848484612097565b61111b576040516368d2bf6b60e11b815260040160405180910390fd5b600c805461153d90612a4e565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611b2e57506000548310155b15611b395792915050565b611b428361205b565b9050806040015115611b545792915050565b6119f783612183565b6000611b67610c03565b905090565b6060611b7782611edb565b611bdb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e26565b601154610100900460ff161515600003611c8157600d8054611bfc90612a4e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2890612a4e565b8015611c755780601f10611c4a57610100808354040283529160200191611c75565b820191906000526020600020905b815481529060010190602001808311611c5857829003601f168201915b50505050509050919050565b6000611c8b6121b8565b90506000815111611cab57604051806020016040528060008152506119f7565b80611cb5846121c7565b600b604051602001611cc993929190612bac565b6040516020818303038152906040529392505050565b611ce7611f10565b60005b83811015611d9857600f54838383818110611d0757611d07612ae4565b90506020020135611d16610c03565b611d209190612a9e565b1115611d3e5760405162461bcd60e51b8152600401610e2690612ab6565b611d86858583818110611d5357611d53612ae4565b9050602002016020810190611d6891906125c5565b848484818110611d7a57611d7a612ae4565b90506020020135611fef565b80611d9081612afa565b915050611cea565b5050505050565b611da7611f10565b601180549115156101000261ff0019909216919091179055565b60606000600c8054611dd290612a4e565b905011611dec575060408051602081019091526000815290565b600c604051602001611dfe9190612be9565b604051602081830303815290604052905090565b611e1a611f10565b600f5482611e26610c03565b611e309190612a9e565b1115611e4e5760405162461bcd60e51b8152600401610e2690612ab6565b610be48183611fef565b611e60611f10565b601355565b611e6d611f10565b6001600160a01b038116611ed25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e26565b61141381612009565b600081600111158015611eef575060005482105b8015610a4d575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146117015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e26565b60008180600111611fc057600054811015611fc05760008181526004602052604081205490600160e01b82169003611fbe575b806000036119f7575060001901600081815260046020526040902054611f9d565b505b604051636f96cda160e11b815260040160405180910390fd5b600082611fe6858461220b565b14949350505050565b610be4828260405180602001604052806000815250612258565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a4d906122be565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906120cc903390899088908890600401612bf5565b6020604051808303816000875af1925050508015612107575060408051601f3d908101601f1916820190925261210491810190612c32565b60015b612165573d808015612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b50805160000361215d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a4d6121b383611f6a565b6122be565b6060600a8054610a6290612a4e565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806121e15750819003601f19909101908152919050565b600081815b84518110156122505761223c8286838151811061222f5761222f612ae4565b6020026020010151612305565b91508061224881612afa565b915050612210565b509392505050565b6122628383612331565b6001600160a01b0383163b15611431576000548281035b61228c6000868380600101945086612097565b6122a9576040516368d2bf6b60e11b815260040160405180910390fd5b818110612279578160005414611d9857600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008183106123215760008281526020849052604090206119f7565b5060009182526020526040902090565b60008054908290036123565760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461240557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016123cd565b508160000361242657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461243b90612a4e565b90600052602060002090601f01602090048101928261245d57600085556124a3565b82601f1061247657805160ff19168380011785556124a3565b828001600101855582156124a3579182015b828111156124a3578251825591602001919060010190612488565b506124af9291506124b3565b5090565b5b808211156124af57600081556001016124b4565b6001600160e01b03198116811461141357600080fd5b6000602082840312156124f057600080fd5b81356119f7816124c8565b60005b838110156125165781810151838201526020016124fe565b8381111561111b5750506000910152565b6000815180845261253f8160208601602086016124fb565b601f01601f19169290920160200192915050565b6020815260006119f76020830184612527565b60006020828403121561257857600080fd5b5035919050565b80356001600160a01b038116811461259657600080fd5b919050565b600080604083850312156125ae57600080fd5b6125b78361257f565b946020939093013593505050565b6000602082840312156125d757600080fd5b6119f78261257f565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612610576126106125e0565b604051601f8501601f19908116603f01168101908282118183101715612638576126386125e0565b8160405280935085815286868601111561265157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561267d57600080fd5b81356001600160401b0381111561269357600080fd5b8201601f810184136126a457600080fd5b61217b848235602084016125f6565b8035801515811461259657600080fd5b6000602082840312156126d557600080fd5b6119f7826126b3565b6000806000606084860312156126f357600080fd5b6126fc8461257f565b925061270a6020850161257f565b9150604084013590509250925092565b60008083601f84011261272c57600080fd5b5081356001600160401b0381111561274357600080fd5b6020830191508360208260051b850101111561275e57600080fd5b9250929050565b60008060006040848603121561277a57600080fd5b83356001600160401b0381111561279057600080fd5b61279c8682870161271a565b909790965060209590950135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015611827578351835292840192918401916001016127cc565b600080602083850312156127fb57600080fd5b82356001600160401b0381111561281157600080fd5b61281d8582860161271a565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561182757612894838551612829565b9284019260809290920191600101612881565b6000806000606084860312156128bc57600080fd5b6128c58461257f565b95602085013595506040909401359392505050565b600080604083850312156128ed57600080fd5b6128f68361257f565b9150612904602084016126b3565b90509250929050565b6000806000806080858703121561292357600080fd5b61292c8561257f565b935061293a6020860161257f565b92506040850135915060608501356001600160401b0381111561295c57600080fd5b8501601f8101871361296d57600080fd5b61297c878235602084016125f6565b91505092959194509250565b60808101610a4d8284612829565b600080600080604085870312156129ac57600080fd5b84356001600160401b03808211156129c357600080fd5b6129cf8883890161271a565b909650945060208701359150808211156129e857600080fd5b506129f58782880161271a565b95989497509550505050565b60008060408385031215612a1457600080fd5b612a1d8361257f565b91506129046020840161257f565b60008060408385031215612a3e57600080fd5b823591506129046020840161257f565b600181811c90821680612a6257607f821691505b602082108103612a8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ab157612ab1612a88565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612b0c57612b0c612a88565b5060010190565b8054600090600181811c9080831680612b2d57607f831692505b60208084108203612b4e57634e487b7160e01b600052602260045260246000fd5b818015612b625760018114612b7357612ba0565b60ff19861689528489019650612ba0565b60008881526020902060005b86811015612b985781548b820152908501908301612b7f565b505084890196505b50505050505092915050565b60008451612bbe8184602089016124fb565b845190830190612bd28183602089016124fb565b612bde81830186612b13565b979650505050505050565b60006119f78284612b13565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c2890830184612527565b9695505050505050565b600060208284031215612c4457600080fd5b81516119f7816124c856fea2646970667358221220f82a2dbcf0d47806576e668e5f9a9dd8c7daf9530081c4a1044f0f9bbae0d70a64736f6c634300080e0033
Deployed Bytecode Sourcemap
89638:6619:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47476:639;;;;;;;;;;-1:-1:-1;47476:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;47476:639:0;;;;;;;;48378:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54869:218::-;;;;;;;;;;-1:-1:-1;54869:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;54869:218:0;1528:203:1;54302:408:0;;;;;;:::i;:::-;;:::i;:::-;;90205:49;;;;;;;;;;-1:-1:-1;90205:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2510:25:1;;;2498:2;2483:18;90205:49:0;2364:177:1;89955:23:0;;;;;;;;;;;;;;;;95595:100;;;;;;;;;;-1:-1:-1;95595:100:0;;;;;:::i;:::-;;:::i;95820:77::-;;;;;;;;;;-1:-1:-1;95820:77:0;;;;;:::i;:::-;;:::i;44129:323::-;;;;;;;;;;;;;:::i;92077:82::-;;;;;;;;;;-1:-1:-1;92147:6:0;;;;92077:82;;58508:2825;;;;;;:::i;:::-;;:::i;92263:714::-;;;;;;:::i;:::-;;:::i;92983:248::-;;;;;;:::i;:::-;;:::i;90283:94::-;;;;;;;;;;;;;;;;90168:30;;;;;;;;;;;;;;;;96005:137;;;;;;;;;;;;;:::i;61429:193::-;;;;;;:::i;:::-;;:::i;93764:635::-;;;;;;;;;;-1:-1:-1;93764:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;95351:132::-;;;;;;;;;;-1:-1:-1;95351:132:0;;;;;:::i;:::-;;:::i;90095:28::-;;;;;;;;;;-1:-1:-1;90095:28:0;;;;;;;;;;;89843:33;;;;;;;;;;;;;:::i;84779:528::-;;;;;;;;;;-1:-1:-1;84779:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;90065:25::-;;;;;;;;;;-1:-1:-1;90065:25:0;;;;;;;;89802:36;;;;;;;;;;;;;:::i;49771:152::-;;;;;;;;;;-1:-1:-1;49771:152:0;;;;;:::i;:::-;;:::i;45313:233::-;;;;;;;;;;-1:-1:-1;45313:233:0;;;;;:::i;:::-;;:::i;11501:103::-;;;;;;;;;;;;;:::i;91536:107::-;;;;;;;;;;-1:-1:-1;91536:107:0;;;;;:::i;:::-;;:::i;95489:100::-;;;;;;;;;;-1:-1:-1;95489:100:0;;;;;:::i;:::-;;:::i;90130:33::-;;;;;;;;;;;;;;;;88655:900;;;;;;;;;;-1:-1:-1;88655:900:0;;;;;:::i;:::-;;:::i;91764:93::-;;;;;;;;;;-1:-1:-1;91764:93:0;;;;;:::i;:::-;;:::i;95903:96::-;;;;;;;;;;-1:-1:-1;95903:96:0;;;;;:::i;:::-;;:::i;10853:87::-;;;;;;;;;;-1:-1:-1;10926:6:0;;-1:-1:-1;;;;;10926:6:0;10853:87;;95701:113;;;;;;;;;;-1:-1:-1;95701:113:0;;;;;:::i;:::-;;:::i;90021:37::-;;;;;;;;;;;;;;;;48554:104;;;;;;;;;;;;;:::i;85695:2513::-;;;;;;;;;;-1:-1:-1;85695:2513:0;;;;;:::i;:::-;;:::i;91975:96::-;;;;;;;;;;-1:-1:-1;92051:14:0;;91975:96;;55427:234;;;;;;;;;;-1:-1:-1;55427:234:0;;;;;:::i;:::-;;:::i;89917:31::-;;;;;;;;;;;;;:::i;95215:130::-;;;;;;;;;;-1:-1:-1;95215:130:0;;;;;:::i;:::-;;:::i;62220:407::-;;;;;;:::i;:::-;;:::i;89881:31::-;;;;;;;;;;;;;:::i;84192:428::-;;;;;;;;;;-1:-1:-1;84192:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92165:92::-;;;;;;;;;;;;;:::i;91863:106::-;;;;;;;;;;-1:-1:-1;91863:106:0;;;;;:::i;:::-;-1:-1:-1;;;;;91947:16:0;91921:7;91947:16;;;:13;:16;;;;;;;91863:106;94405:514;;;;;;;;;;-1:-1:-1;94405:514:0;;;;;:::i;:::-;;:::i;89985:31::-;;;;;;;;;;;;;;;;93458:300;;;;;;;;;;-1:-1:-1;93458:300:0;;;;;:::i;:::-;;:::i;95128:81::-;;;;;;;;;;-1:-1:-1;95128:81:0;;;;;:::i;:::-;;:::i;94925:197::-;;;;;;;;;;;;;:::i;55818:164::-;;;;;;;;;;-1:-1:-1;55818:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55939:25:0;;;55915:4;55939:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55818:164;93237:215;;;;;;:::i;:::-;;:::i;91649:109::-;;;;;;;;;;-1:-1:-1;91649:109:0;;;;;:::i;:::-;;:::i;11759:201::-;;;;;;;;;;-1:-1:-1;11759:201:0;;;;;:::i;:::-;;:::i;47476:639::-;47561:4;-1:-1:-1;;;;;;;;;47885:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47962:25:0;;;47885:102;:179;;;-1:-1:-1;;;;;;;;;;48039:25:0;;;47885:179;47865:199;47476:639;-1:-1:-1;;47476:639:0:o;48378:100::-;48432:13;48465:5;48458:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48378:100;:::o;54869:218::-;54945:7;54970:16;54978:7;54970;:16::i;:::-;54965:64;;54995:34;;-1:-1:-1;;;54995:34:0;;;;;;;;;;;54965:64;-1:-1:-1;55049:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;55049:30:0;;54869:218::o;54302:408::-;54391:13;54407:16;54415:7;54407;:16::i;:::-;54391:32;-1:-1:-1;78635:10:0;-1:-1:-1;;;;;54440:28:0;;;54436:175;;54488:44;54505:5;78635:10;55818:164;:::i;54488:44::-;54483:128;;54560:35;;-1:-1:-1;;;54560:35:0;;;;;;;;;;;54483:128;54623:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;54623:35:0;-1:-1:-1;;;;;54623:35:0;;;;;;;;;54674:28;;54623:24;;54674:28;;;;;;;54380:330;54302:408;;:::o;95595:100::-;10739:13;:11;:13::i;:::-;95667:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;95595:100:::0;:::o;95820:77::-;10739:13;:11;:13::i;:::-;95876:6:::1;:15:::0;;-1:-1:-1;;95876:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;95820:77::o;44129:323::-;90773:1;44403:12;44190:7;44387:13;:28;-1:-1:-1;;44387:46:0;;44129:323::o;58508:2825::-;58650:27;58680;58699:7;58680:18;:27::i;:::-;58650:57;;58765:4;-1:-1:-1;;;;;58724:45:0;58740:19;-1:-1:-1;;;;;58724:45:0;;58720:86;;58778:28;;-1:-1:-1;;;58778:28:0;;;;;;;;;;;58720:86;58820:27;57616:24;;;:15;:24;;;;;57844:26;;78635:10;57241:30;;;-1:-1:-1;;;;;56934:28:0;;57219:20;;;57216:56;59006:180;;59099:43;59116:4;78635:10;55818:164;:::i;59099:43::-;59094:92;;59151:35;;-1:-1:-1;;;59151:35:0;;;;;;;;;;;59094:92;-1:-1:-1;;;;;59203:16:0;;59199:52;;59228:23;;-1:-1:-1;;;59228:23:0;;;;;;;;;;;59199:52;59400:15;59397:160;;;59540:1;59519:19;59512:30;59397:160;-1:-1:-1;;;;;59937:24:0;;;;;;;:18;:24;;;;;;59935:26;;-1:-1:-1;;59935:26:0;;;60006:22;;;;;;;;;60004:24;;-1:-1:-1;60004:24:0;;;53160:11;53135:23;53131:41;53118:63;-1:-1:-1;;;53118:63:0;60299:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60594:47:0;;:52;;60590:627;;60699:1;60689:11;;60667:19;60822:30;;;:17;:30;;;;;;:35;;60818:384;;60960:13;;60945:11;:28;60941:242;;61107:30;;;;:17;:30;;;;;:52;;;60941:242;60648:569;60590:627;61264:7;61260:2;-1:-1:-1;;;;;61245:27:0;61254:4;-1:-1:-1;;;;;61245:27:0;;;;;;;;;;;58639:2694;;;58508:2825;;;:::o;92263:714::-;92364:11;90847:14;;90865:1;90847:19;90843:245;;90908:1;90894:11;:15;90843:245;;;90932:14;;90950:1;90932:19;90928:160;;90994:1;90980:11;:15;90928:160;;;91018:14;;91036:1;91018:19;91014:74;;91079:1;91065:11;:15;91014:74;91105:6;;;;91104:7;91096:38;;;;-1:-1:-1;;;91096:38:0;;11285:2:1;91096:38:0;;;11267:21:1;11324:2;11304:18;;;11297:30;-1:-1:-1;;;11343:18:1;;;11336:48;11401:18;;91096:38:0;;;;;;;;;91163:1;91149:11;:15;:52;;;;;91183:18;;91168:11;:33;;91149:52;91141:85;;;;-1:-1:-1;;;91141:85:0;;11632:2:1;91141:85:0;;;11614:21:1;11671:2;11651:18;;;11644:30;-1:-1:-1;;;11690:18:1;;;11683:50;11750:18;;91141:85:0;11430:344:1;91141:85:0;91241:10;91255:9;91241:23;91233:44;;;;-1:-1:-1;;;91233:44:0;;11981:2:1;91233:44:0;;;11963:21:1;12020:1;12000:18;;;11993:29;-1:-1:-1;;;12038:18:1;;;12031:38;12086:18;;91233:44:0;11779:331:1;91233:44:0;91323:9;;91308:11;91292:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;91284:73;;;;-1:-1:-1;;;91284:73:0;;;;;;;:::i;:::-;91385:4;;91372:9;:17;;91364:49;;;;-1:-1:-1;;;91364:49:0;;12931:2:1;91364:49:0;;;12913:21:1;12970:2;12950:18;;;12943:30;-1:-1:-1;;;12989:18:1;;;12982:49;13048:18;;91364:49:0;12729:343:1;91364:49:0;91471:11;;91442:10;91428:25;;;;:13;:25;;;;;;:39;;91456:11;;91428:39;:::i;:::-;:54;;91420:96;;;;-1:-1:-1;;;91420:96:0;;13279:2:1;91420:96:0;;;13261:21:1;13318:2;13298:18;;;13291:30;13357:31;13337:18;;;13330:59;13406:18;;91420:96:0;13077:353:1;91420:96:0;92399:14:::1;::::0;:19;;:42:::1;;;92422:14;;92440:1;92422:19;92399:42;92395:577;;;92482:28;::::0;-1:-1:-1;;92499:10:0::1;13584:2:1::0;13580:15;13576:53;92482:28:0::1;::::0;::::1;13564:66:1::0;92457:12:0::1;::::0;13646::1;;92482:28:0::1;;;;;;;;;;;;92472:39;;;;;;92457:54;;92530:50;92549:12;;92530:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;92563:10:0::1;::::0;;-1:-1:-1;92575:4:0;;-1:-1:-1;92530:18:0::1;:50::i;:::-;92522:83;;;::::0;-1:-1:-1;;;92522:83:0;;13871:2:1;92522:83:0::1;::::0;::::1;13853:21:1::0;13910:2;13890:18;;;13883:30;-1:-1:-1;;;13929:18:1;;;13922:50;13989:18;;92522:83:0::1;13669:344:1::0;92522:83:0::1;92630:10;92616:25;::::0;;;:13:::1;:25;::::0;;;;:40;;92645:11;;92616:25;:40:::1;::::0;92645:11;;92616:40:::1;:::i;:::-;::::0;;;-1:-1:-1;92665:34:0::1;::::0;-1:-1:-1;92675:10:0::1;92687:11:::0;92665:9:::1;:34::i;:::-;92448:259;92395:577;;;92722:14;;92740:1;92722:19:::0;92718:254:::1;;92771:10;92757:25;::::0;;;:13:::1;:25;::::0;;;;:40;;92786:11;;92757:25;:40:::1;::::0;92786:11;;92757:40:::1;:::i;:::-;::::0;;;-1:-1:-1;92806:34:0::1;::::0;-1:-1:-1;92816:10:0::1;92828:11:::0;92806:9:::1;:34::i;:::-;92718:254;;;92888:10;92874:25;::::0;;;:13:::1;:25;::::0;;;;:40;;92903:11;;92874:25;:40:::1;::::0;92903:11;;92874:40:::1;:::i;:::-;::::0;;;-1:-1:-1;92923:34:0::1;::::0;-1:-1:-1;92933:10:0::1;92945:11:::0;92923:9:::1;:34::i;:::-;92263:714:::0;;;;:::o;92983:248::-;93048:11;90847:14;;90865:1;90847:19;90843:245;;90908:1;90894:11;:15;90843:245;;;90932:14;;90950:1;90932:19;90928:160;;90994:1;90980:11;:15;90928:160;;;91018:14;;91036:1;91018:19;91014:74;;91079:1;91065:11;:15;91014:74;91105:6;;;;91104:7;91096:38;;;;-1:-1:-1;;;91096:38:0;;11285:2:1;91096:38:0;;;11267:21:1;11324:2;11304:18;;;11297:30;-1:-1:-1;;;11343:18:1;;;11336:48;11401:18;;91096:38:0;11083:342:1;91096:38:0;91163:1;91149:11;:15;:52;;;;;91183:18;;91168:11;:33;;91149:52;91141:85;;;;-1:-1:-1;;;91141:85:0;;11632:2:1;91141:85:0;;;11614:21:1;11671:2;11651:18;;;11644:30;-1:-1:-1;;;11690:18:1;;;11683:50;11750:18;;91141:85:0;11430:344:1;91141:85:0;91241:10;91255:9;91241:23;91233:44;;;;-1:-1:-1;;;91233:44:0;;11981:2:1;91233:44:0;;;11963:21:1;12020:1;12000:18;;;11993:29;-1:-1:-1;;;12038:18:1;;;12031:38;12086:18;;91233:44:0;11779:331:1;91233:44:0;91323:9;;91308:11;91292:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;91284:73;;;;-1:-1:-1;;;91284:73:0;;;;;;;:::i;:::-;91385:4;;91372:9;:17;;91364:49;;;;-1:-1:-1;;;91364:49:0;;12931:2:1;91364:49:0;;;12913:21:1;12970:2;12950:18;;;12943:30;-1:-1:-1;;;12989:18:1;;;12982:49;13048:18;;91364:49:0;12729:343:1;91364:49:0;91471:11;;91442:10;91428:25;;;;:13;:25;;;;;;:39;;91456:11;;91428:39;:::i;:::-;:54;;91420:96;;;;-1:-1:-1;;;91420:96:0;;13279:2:1;91420:96:0;;;13261:21:1;13318:2;13298:18;;;13291:30;13357:31;13337:18;;;13330:59;13406:18;;91420:96:0;13077:353:1;91420:96:0;93087:14:::1;;93105:1;93087:19;93079:56;;;::::0;-1:-1:-1;;;93079:56:0;;14220:2:1;93079:56:0::1;::::0;::::1;14202:21:1::0;14259:2;14239:18;;;14232:30;14298:26;14278:18;;;14271:54;14342:18;;93079:56:0::1;14018:348:1::0;93079:56:0::1;93158:10;93144:25;::::0;;;:13:::1;:25;::::0;;;;:40;;93173:11;;93144:25;:40:::1;::::0;93173:11;;93144:40:::1;:::i;:::-;::::0;;;-1:-1:-1;93191:34:0::1;::::0;-1:-1:-1;93201:10:0::1;93213:11:::0;93191:9:::1;:34::i;96005:137::-:0;10739:13;:11;:13::i;:::-;96050:7:::1;96071;10926:6:::0;;-1:-1:-1;;;;;10926:6:0;;10853:87;96071:7:::1;-1:-1:-1::0;;;;;96063:21:0::1;96092;96063:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96049:69;;;96133:2;96125:11;;;::::0;::::1;;96042:100;96005:137::o:0;61429:193::-;61575:39;61592:4;61598:2;61602:7;61575:39;;;;;;;;;;;;:16;:39::i;:::-;61429:193;;;:::o;93764:635::-;93839:16;93867:23;93893:17;93903:6;93893:9;:17::i;:::-;93867:43;;93917:30;93964:15;-1:-1:-1;;;;;93950:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93950:30:0;-1:-1:-1;93917:63:0;-1:-1:-1;94012:1:0;93987:22;94056:309;94081:15;94063;:33;:64;;;;;94118:9;;94100:14;:27;;94063:64;94056:309;;;94138:25;94166:23;94174:14;94166:7;:23::i;:::-;94138:51;;94225:6;-1:-1:-1;;;;;94204:27:0;:17;-1:-1:-1;;;;;94204:27:0;;94200:131;;94277:14;94244:13;94258:15;94244:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;94304:17;;;;:::i;:::-;;;;94200:131;94341:16;;;;:::i;:::-;;;;94129:236;94056:309;;;-1:-1:-1;94380:13:0;;93764:635;-1:-1:-1;;;;93764:635:0:o;95351:132::-;10739:13;:11;:13::i;:::-;95439:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;89843:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;84779:528::-;84923:23;85014:8;84989:22;85014:8;-1:-1:-1;;;;;85081:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85081:36:0;;-1:-1:-1;;85081:36:0;;;;;;;;;;;;85044:73;;85137:9;85132:125;85153:14;85148:1;:19;85132:125;;85209:32;85229:8;;85238:1;85229:11;;;;;;;:::i;:::-;;;;;;;85209:19;:32::i;:::-;85193:10;85204:1;85193:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;85169:3;;85132:125;;;-1:-1:-1;85278:10:0;84779:528;-1:-1:-1;;;;84779:528:0:o;89802:36::-;;;;;;;:::i;49771:152::-;49843:7;49886:27;49905:7;49886:18;:27::i;45313:233::-;45385:7;-1:-1:-1;;;;;45409:19:0;;45405:60;;45437:28;;-1:-1:-1;;;45437:28:0;;;;;;;;;;;45405:60;-1:-1:-1;;;;;;45483:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;45483:55:0;;45313:233::o;11501:103::-;10739:13;:11;:13::i;:::-;11566:30:::1;11593:1;11566:18;:30::i;:::-;11501:103::o:0;91536:107::-;10739:13;:11;:13::i;:::-;91611:10:::1;:26:::0;91536:107::o;95489:100::-;10739:13;:11;:13::i;:::-;95561:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;88655:900::-:0;88733:16;88787:19;88821:25;88861:22;88886:16;88896:5;88886:9;:16::i;:::-;88861:41;;88917:25;88959:14;-1:-1:-1;;;;;88945:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88945:29:0;;88917:57;;88989:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88989:31:0;90773:1;89035:472;89084:14;89069:11;:29;89035:472;;89136:15;89149:1;89136:12;:15::i;:::-;89124:27;;89174:9;:16;;;89215:8;89170:73;89265:14;;-1:-1:-1;;;;;89265:28:0;;89261:111;;89338:14;;;-1:-1:-1;89261:111:0;89415:5;-1:-1:-1;;;;;89394:26:0;:17;-1:-1:-1;;;;;89394:26:0;;89390:102;;89471:1;89445:8;89454:13;;;;;;89445:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;89390:102;89100:3;;89035:472;;;-1:-1:-1;89528:8:0;;88655:900;-1:-1:-1;;;;;;88655:900:0:o;91764:93::-;10739:13;:11;:13::i;:::-;91835:4:::1;:16:::0;91764:93::o;95903:96::-;10739:13;:11;:13::i;:::-;95970:14:::1;:23:::0;95903:96::o;95701:113::-;10739:13;:11;:13::i;:::-;95779:29;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;48554:104::-:0;48610:13;48643:7;48636:14;;;;;:::i;85695:2513::-;85838:16;85905:4;85896:5;:13;85892:45;;85918:19;;-1:-1:-1;;;85918:19:0;;;;;;;;;;;85892:45;85952:19;85986:17;86006:14;43871:7;43898:13;;43816:103;86006:14;85986:34;-1:-1:-1;90773:1:0;86098:5;:23;86094:87;;;90773:1;86142:23;;86094:87;86257:9;86250:4;:16;86246:73;;;86294:9;86287:16;;86246:73;86333:25;86361:16;86371:5;86361:9;:16::i;:::-;86333:44;;86555:4;86547:5;:12;86543:278;;;86602:12;;;86637:31;;;86633:111;;;86713:11;86693:31;;86633:111;86561:198;86543:278;;;-1:-1:-1;86804:1:0;86543:278;86835:25;86877:17;-1:-1:-1;;;;;86863:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86863:32:0;;86835:60;;86914:17;86935:1;86914:22;86910:78;;86964:8;-1:-1:-1;86957:15:0;;-1:-1:-1;;;86957:15:0;86910:78;87132:31;87166:26;87186:5;87166:19;:26::i;:::-;87132:60;;87207:25;87452:9;:16;;;87447:92;;-1:-1:-1;87509:14:0;;87447:92;87570:5;87553:478;87582:4;87577:1;:9;;:45;;;;;87605:17;87590:11;:32;;87577:45;87553:478;;;87660:15;87673:1;87660:12;:15::i;:::-;87648:27;;87698:9;:16;;;87739:8;87694:73;87789:14;;-1:-1:-1;;;;;87789:28:0;;87785:111;;87862:14;;;-1:-1:-1;87785:111:0;87939:5;-1:-1:-1;;;;;87918:26:0;:17;-1:-1:-1;;;;;87918:26:0;;87914:102;;87995:1;87969:8;87978:13;;;;;;87969:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;87914:102;87624:3;;87553:478;;;-1:-1:-1;;;88116:29:0;;;-1:-1:-1;88123:8:0;;-1:-1:-1;;85695:2513:0;;;;;;:::o;55427:234::-;78635:10;55522:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55522:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55522:60:0;;;;;;;;;;55598:55;;540:41:1;;;55522:49:0;;78635:10;55598:55;;513:18:1;55598:55:0;;;;;;;55427:234;;:::o;89917:31::-;;;;;;;:::i;95215:130::-;10739:13;:11;:13::i;:::-;95299:18:::1;:40:::0;95215:130::o;62220:407::-;62395:31;62408:4;62414:2;62418:7;62395:12;:31::i;:::-;-1:-1:-1;;;;;62441:14:0;;;:19;62437:183;;62480:56;62511:4;62517:2;62521:7;62530:5;62480:30;:56::i;:::-;62475:145;;62564:40;;-1:-1:-1;;;62564:40:0;;;;;;;;;;;89881:31;;;;;;;:::i;84192:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90773:1:0;84356:7;:25;:54;;;-1:-1:-1;43871:7:0;43898:13;84385:7;:25;;84356:54;84352:103;;;84434:9;84192:428;-1:-1:-1;;84192:428:0:o;84352:103::-;84477:21;84490:7;84477:12;:21::i;:::-;84465:33;;84513:9;:16;;;84509:65;;;84553:9;84192:428;-1:-1:-1;;84192:428:0:o;84509:65::-;84591:21;84604:7;84591:12;:21::i;92165:92::-;92212:7;92238:13;:11;:13::i;:::-;92231:20;;92165:92;:::o;94405:514::-;94524:13;94565:17;94573:8;94565:7;:17::i;:::-;94549:98;;;;-1:-1:-1;;;94549:98:0;;15055:2:1;94549:98:0;;;15037:21:1;15094:2;15074:18;;;15067:30;15133:34;15113:18;;;15106:62;-1:-1:-1;;;15184:18:1;;;15177:45;15239:19;;94549:98:0;14853:411:1;94549:98:0;94660:8;;;;;;;:17;;94672:5;94660:17;94656:64;;94695:17;94688:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94405:514;;;:::o;94656:64::-;94728:28;94759:10;:8;:10::i;:::-;94728:41;;94814:1;94789:14;94783:28;:32;:130;;;;;;;;;;;;;;;;;94851:14;94867:19;94877:8;94867:9;:19::i;:::-;94888:9;94834:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;94776:137;94405:514;-1:-1:-1;;;94405:514:0:o;93458:300::-;10739:13;:11;:13::i;:::-;93579:9:::1;93574:179;93590:20:::0;;::::1;93574:179;;;93668:9;;93655:6;;93662:1;93655:9;;;;;;;:::i;:::-;;;;;;;93639:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:38;;93631:71;;;;-1:-1:-1::0;;;93631:71:0::1;;;;;;;:::i;:::-;93711:34;93721:9;;93731:1;93721:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;93735:6;;93742:1;93735:9;;;;;;;:::i;:::-;;;;;;;93711;:34::i;:::-;93612:3:::0;::::1;::::0;::::1;:::i;:::-;;;;93574:179;;;;93458:300:::0;;;;:::o;95128:81::-;10739:13;:11;:13::i;:::-;95186:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;95186:17:0;;::::1;::::0;;;::::1;::::0;;95128:81::o;94925:197::-;94981:13;95047:1;95024:12;95018:26;;;;;:::i;:::-;;;:30;:98;;-1:-1:-1;95018:98:0;;;;;;;;;-1:-1:-1;95018:98:0;;;92165:92::o;95018:98::-;95086:12;95069:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;95011:105;;94925:197;:::o;93237:215::-;10739:13;:11;:13::i;:::-;93372:9:::1;;93357:11;93341:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;93333:73;;;;-1:-1:-1::0;;;93333:73:0::1;;;;;;;:::i;:::-;93413:33;93423:9;93434:11;93413:9;:33::i;91649:109::-:0;10739:13;:11;:13::i;:::-;91726:11:::1;:26:::0;91649:109::o;11759:201::-;10739:13;:11;:13::i;:::-;-1:-1:-1;;;;;11848:22:0;::::1;11840:73;;;::::0;-1:-1:-1;;;11840:73:0;;17332:2:1;11840:73:0::1;::::0;::::1;17314:21:1::0;17371:2;17351:18;;;17344:30;17410:34;17390:18;;;17383:62;-1:-1:-1;;;17461:18:1;;;17454:36;17507:19;;11840:73:0::1;17130:402:1::0;11840:73:0::1;11924:28;11943:8;11924:18;:28::i;56240:282::-:0;56305:4;56361:7;90773:1;56342:26;;:66;;;;;56395:13;;56385:7;:23;56342:66;:153;;;;-1:-1:-1;;56446:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;56446:44:0;:49;;56240:282::o;11018:132::-;10926:6;;-1:-1:-1;;;;;10926:6:0;78635:10;11082:23;11074:68;;;;-1:-1:-1;;;11074:68:0;;17739:2:1;11074:68:0;;;17721:21:1;;;17758:18;;;17751:30;17817:34;17797:18;;;17790:62;17869:18;;11074:68:0;17537:356:1;50926:1275:0;50993:7;51028;;90773:1;51077:23;51073:1061;;51130:13;;51123:4;:20;51119:1015;;;51168:14;51185:23;;;:17;:23;;;;;;;-1:-1:-1;;;51274:24:0;;:29;;51270:845;;51939:113;51946:6;51956:1;51946:11;51939:113;;-1:-1:-1;;;52017:6:0;51999:25;;;;:17;:25;;;;;;51939:113;;51270:845;51145:989;51119:1015;52162:31;;-1:-1:-1;;;52162:31:0;;;;;;;;;;;1219:190;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;72380:112::-;72457:27;72467:2;72471:8;72457:27;;;;;;;;;;;;:9;:27::i;12120:191::-;12213:6;;;-1:-1:-1;;;;;12230:17:0;;;-1:-1:-1;;;;;;12230:17:0;;;;;;;12263:40;;12213:6;;;12230:17;12213:6;;12263:40;;12194:16;;12263:40;12183:128;12120:191;:::o;50374:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50502:24:0;;;;:17;:24;;;;;;50483:44;;:18;:44::i;64711:716::-;64895:88;;-1:-1:-1;;;64895:88:0;;64874:4;;-1:-1:-1;;;;;64895:45:0;;;;;:88;;78635:10;;64962:4;;64968:7;;64977:5;;64895:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64895:88:0;;;;;;;;-1:-1:-1;;64895:88:0;;;;;;;;;;;;:::i;:::-;;;64891:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65178:6;:13;65195:1;65178:18;65174:235;;65224:40;;-1:-1:-1;;;65224:40:0;;;;;;;;;;;65174:235;65367:6;65361:13;65352:6;65348:2;65344:15;65337:38;64891:529;-1:-1:-1;;;;;;65054:64:0;-1:-1:-1;;;65054:64:0;;-1:-1:-1;64891:529:0;64711:716;;;;;;:::o;50112:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50223:47:0;50242:27;50261:7;50242:18;:27::i;:::-;50223:18;:47::i;96148:104::-;96208:13;96237:9;96230:16;;;;;:::i;78755:1745::-;78820:17;79254:4;79247;79241:11;79237:22;79346:1;79340:4;79333:15;79421:4;79418:1;79414:12;79407:19;;;79503:1;79498:3;79491:14;79607:3;79846:5;79828:428;79894:1;79889:3;79885:11;79878:18;;80065:2;80059:4;80055:13;80051:2;80047:22;80042:3;80034:36;80159:2;80149:13;;80216:25;79828:428;80216:25;-1:-1:-1;80286:13:0;;;-1:-1:-1;;80401:14:0;;;80463:19;;;80401:14;78755:1745;-1:-1:-1;78755:1745:0:o;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;71607:689::-;71738:19;71744:2;71748:8;71738:5;:19::i;:::-;-1:-1:-1;;;;;71799:14:0;;;:19;71795:483;;71839:11;71853:13;71901:14;;;71934:233;71965:62;72004:1;72008:2;72012:7;;;;;;72021:5;71965:30;:62::i;:::-;71960:167;;72063:40;;-1:-1:-1;;;72063:40:0;;;;;;;;;;;71960:167;72162:3;72154:5;:11;71934:233;;72249:3;72232:13;;:20;72228:34;;72254:8;;;52300:366;-1:-1:-1;;;;;;;;;;;;;52410:41:0;;;;40131:3;52496:33;;;-1:-1:-1;;;;;52462:68:0;-1:-1:-1;;;52462:68:0;-1:-1:-1;;;52560:24:0;;:29;;-1:-1:-1;;;52541:48:0;;;;40652:3;52629:28;;;;-1:-1:-1;;;52600:58:0;-1:-1:-1;52300:366:0:o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;-1:-1:-1;8518:13:0;8612:15;;;8648:4;8641:15;8695:4;8679:21;;;8293:149::o;65889:2966::-;65962:20;65985:13;;;66013;;;66009:44;;66035:18;;-1:-1:-1;;;66035:18:0;;;;;;;;;;;66009:44;-1:-1:-1;;;;;66541:22:0;;;;;;:18;:22;;;;39610:2;66541:22;;;:71;;66579:32;66567:45;;66541:71;;;66855:31;;;:17;:31;;;;;-1:-1:-1;53591:15:0;;53565:24;53561:46;53160:11;53135:23;53131:41;53128:52;53118:63;;66855:173;;67090:23;;;;66855:31;;66541:22;;67855:25;66541:22;;67708:335;68369:1;68355:12;68351:20;68309:346;68410:3;68401:7;68398:16;68309:346;;68628:7;68618:8;68615:1;68588:25;68585:1;68582;68577:59;68463:1;68450:15;68309:346;;;68313:77;68688:8;68700:1;68688:13;68684:45;;68710:19;;-1:-1:-1;;;68710:19:0;;;;;;;;;;;68684:45;68746:13;:19;-1:-1:-1;61429:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:186::-;2232:6;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2324:29;2343:9;2324:29;:::i;2546:127::-;2607:10;2602:3;2598:20;2595:1;2588:31;2638:4;2635:1;2628:15;2662:4;2659:1;2652:15;2678:632;2743:5;-1:-1:-1;;;;;2814:2:1;2806:6;2803:14;2800:40;;;2820:18;;:::i;:::-;2895:2;2889:9;2863:2;2949:15;;-1:-1:-1;;2945:24:1;;;2971:2;2941:33;2937:42;2925:55;;;2995:18;;;3015:22;;;2992:46;2989:72;;;3041:18;;:::i;:::-;3081:10;3077:2;3070:22;3110:6;3101:15;;3140:6;3132;3125:22;3180:3;3171:6;3166:3;3162:16;3159:25;3156:45;;;3197:1;3194;3187:12;3156:45;3247:6;3242:3;3235:4;3227:6;3223:17;3210:44;3302:1;3295:4;3286:6;3278;3274:19;3270:30;3263:41;;;;2678:632;;;;;:::o;3315:451::-;3384:6;3437:2;3425:9;3416:7;3412:23;3408:32;3405:52;;;3453:1;3450;3443:12;3405:52;3493:9;3480:23;-1:-1:-1;;;;;3518:6:1;3515:30;3512:50;;;3558:1;3555;3548:12;3512:50;3581:22;;3634:4;3626:13;;3622:27;-1:-1:-1;3612:55:1;;3663:1;3660;3653:12;3612:55;3686:74;3752:7;3747:2;3734:16;3729:2;3725;3721:11;3686:74;:::i;3771:160::-;3836:20;;3892:13;;3885:21;3875:32;;3865:60;;3921:1;3918;3911:12;3936:180;3992:6;4045:2;4033:9;4024:7;4020:23;4016:32;4013:52;;;4061:1;4058;4051:12;4013:52;4084:26;4100:9;4084:26;:::i;4121:328::-;4198:6;4206;4214;4267:2;4255:9;4246:7;4242:23;4238:32;4235:52;;;4283:1;4280;4273:12;4235:52;4306:29;4325:9;4306:29;:::i;:::-;4296:39;;4354:38;4388:2;4377:9;4373:18;4354:38;:::i;:::-;4344:48;;4439:2;4428:9;4424:18;4411:32;4401:42;;4121:328;;;;;:::o;4454:367::-;4517:8;4527:6;4581:3;4574:4;4566:6;4562:17;4558:27;4548:55;;4599:1;4596;4589:12;4548:55;-1:-1:-1;4622:20:1;;-1:-1:-1;;;;;4654:30:1;;4651:50;;;4697:1;4694;4687:12;4651:50;4734:4;4726:6;4722:17;4710:29;;4794:3;4787:4;4777:6;4774:1;4770:14;4762:6;4758:27;4754:38;4751:47;4748:67;;;4811:1;4808;4801:12;4748:67;4454:367;;;;;:::o;4826:505::-;4921:6;4929;4937;4990:2;4978:9;4969:7;4965:23;4961:32;4958:52;;;5006:1;5003;4996:12;4958:52;5046:9;5033:23;-1:-1:-1;;;;;5071:6:1;5068:30;5065:50;;;5111:1;5108;5101:12;5065:50;5150:70;5212:7;5203:6;5192:9;5188:22;5150:70;:::i;:::-;5239:8;;5124:96;;-1:-1:-1;5321:2:1;5306:18;;;;5293:32;;4826:505;-1:-1:-1;;;;4826:505:1:o;5518:632::-;5689:2;5741:21;;;5811:13;;5714:18;;;5833:22;;;5660:4;;5689:2;5912:15;;;;5886:2;5871:18;;;5660:4;5955:169;5969:6;5966:1;5963:13;5955:169;;;6030:13;;6018:26;;6099:15;;;;6064:12;;;;5991:1;5984:9;5955:169;;6155:437;6241:6;6249;6302:2;6290:9;6281:7;6277:23;6273:32;6270:52;;;6318:1;6315;6308:12;6270:52;6358:9;6345:23;-1:-1:-1;;;;;6383:6:1;6380:30;6377:50;;;6423:1;6420;6413:12;6377:50;6462:70;6524:7;6515:6;6504:9;6500:22;6462:70;:::i;:::-;6551:8;;6436:96;;-1:-1:-1;6155:437:1;-1:-1:-1;;;;6155:437:1:o;6597:349::-;6681:12;;-1:-1:-1;;;;;6677:38:1;6665:51;;6769:4;6758:16;;;6752:23;-1:-1:-1;;;;;6748:48:1;6732:14;;;6725:72;6860:4;6849:16;;;6843:23;6836:31;6829:39;6813:14;;;6806:63;6922:4;6911:16;;;6905:23;6930:8;6901:38;6885:14;;6878:62;6597:349::o;6951:724::-;7186:2;7238:21;;;7308:13;;7211:18;;;7330:22;;;7157:4;;7186:2;7409:15;;;;7383:2;7368:18;;;7157:4;7452:197;7466:6;7463:1;7460:13;7452:197;;;7515:52;7563:3;7554:6;7548:13;7515:52;:::i;:::-;7624:15;;;;7596:4;7587:14;;;;;7488:1;7481:9;7452:197;;7865:322;7942:6;7950;7958;8011:2;7999:9;7990:7;7986:23;7982:32;7979:52;;;8027:1;8024;8017:12;7979:52;8050:29;8069:9;8050:29;:::i;:::-;8040:39;8126:2;8111:18;;8098:32;;-1:-1:-1;8177:2:1;8162:18;;;8149:32;;7865:322;-1:-1:-1;;;7865:322:1:o;8192:254::-;8257:6;8265;8318:2;8306:9;8297:7;8293:23;8289:32;8286:52;;;8334:1;8331;8324:12;8286:52;8357:29;8376:9;8357:29;:::i;:::-;8347:39;;8405:35;8436:2;8425:9;8421:18;8405:35;:::i;:::-;8395:45;;8192:254;;;;;:::o;8451:667::-;8546:6;8554;8562;8570;8623:3;8611:9;8602:7;8598:23;8594:33;8591:53;;;8640:1;8637;8630:12;8591:53;8663:29;8682:9;8663:29;:::i;:::-;8653:39;;8711:38;8745:2;8734:9;8730:18;8711:38;:::i;:::-;8701:48;;8796:2;8785:9;8781:18;8768:32;8758:42;;8851:2;8840:9;8836:18;8823:32;-1:-1:-1;;;;;8870:6:1;8867:30;8864:50;;;8910:1;8907;8900:12;8864:50;8933:22;;8986:4;8978:13;;8974:27;-1:-1:-1;8964:55:1;;9015:1;9012;9005:12;8964:55;9038:74;9104:7;9099:2;9086:16;9081:2;9077;9073:11;9038:74;:::i;:::-;9028:84;;;8451:667;;;;;;;:::o;9123:268::-;9321:3;9306:19;;9334:51;9310:9;9367:6;9334:51;:::i;9396:773::-;9518:6;9526;9534;9542;9595:2;9583:9;9574:7;9570:23;9566:32;9563:52;;;9611:1;9608;9601:12;9563:52;9651:9;9638:23;-1:-1:-1;;;;;9721:2:1;9713:6;9710:14;9707:34;;;9737:1;9734;9727:12;9707:34;9776:70;9838:7;9829:6;9818:9;9814:22;9776:70;:::i;:::-;9865:8;;-1:-1:-1;9750:96:1;-1:-1:-1;9953:2:1;9938:18;;9925:32;;-1:-1:-1;9969:16:1;;;9966:36;;;9998:1;9995;9988:12;9966:36;;10037:72;10101:7;10090:8;10079:9;10075:24;10037:72;:::i;:::-;9396:773;;;;-1:-1:-1;10128:8:1;-1:-1:-1;;;;9396:773:1:o;10174:260::-;10242:6;10250;10303:2;10291:9;10282:7;10278:23;10274:32;10271:52;;;10319:1;10316;10309:12;10271:52;10342:29;10361:9;10342:29;:::i;:::-;10332:39;;10390:38;10424:2;10413:9;10409:18;10390:38;:::i;10439:254::-;10507:6;10515;10568:2;10556:9;10547:7;10543:23;10539:32;10536:52;;;10584:1;10581;10574:12;10536:52;10620:9;10607:23;10597:33;;10649:38;10683:2;10672:9;10668:18;10649:38;:::i;10698:380::-;10777:1;10773:12;;;;10820;;;10841:61;;10895:4;10887:6;10883:17;10873:27;;10841:61;10948:2;10940:6;10937:14;10917:18;10914:38;10911:161;;10994:10;10989:3;10985:20;10982:1;10975:31;11029:4;11026:1;11019:15;11057:4;11054:1;11047:15;10911:161;;10698:380;;;:::o;12115:127::-;12176:10;12171:3;12167:20;12164:1;12157:31;12207:4;12204:1;12197:15;12231:4;12228:1;12221:15;12247:128;12287:3;12318:1;12314:6;12311:1;12308:13;12305:39;;;12324:18;;:::i;:::-;-1:-1:-1;12360:9:1;;12247:128::o;12380:344::-;12582:2;12564:21;;;12621:2;12601:18;;;12594:30;-1:-1:-1;;;12655:2:1;12640:18;;12633:50;12715:2;12700:18;;12380:344::o;14581:127::-;14642:10;14637:3;14633:20;14630:1;14623:31;14673:4;14670:1;14663:15;14697:4;14694:1;14687:15;14713:135;14752:3;14773:17;;;14770:43;;14793:18;;:::i;:::-;-1:-1:-1;14840:1:1;14829:13;;14713:135::o;15395:973::-;15480:12;;15445:3;;15535:1;15555:18;;;;15608;;;;15635:61;;15689:4;15681:6;15677:17;15667:27;;15635:61;15715:2;15763;15755:6;15752:14;15732:18;15729:38;15726:161;;15809:10;15804:3;15800:20;15797:1;15790:31;15844:4;15841:1;15834:15;15872:4;15869:1;15862:15;15726:161;15903:18;15930:104;;;;16048:1;16043:319;;;;15896:466;;15930:104;-1:-1:-1;;15963:24:1;;15951:37;;16008:16;;;;-1:-1:-1;15930:104:1;;16043:319;15342:1;15335:14;;;15379:4;15366:18;;16137:1;16151:165;16165:6;16162:1;16159:13;16151:165;;;16243:14;;16230:11;;;16223:35;16286:16;;;;16180:10;;16151:165;;;16155:3;;16345:6;16340:3;16336:16;16329:23;;15896:466;;;;;;;15395:973;;;;:::o;16373:550::-;16597:3;16635:6;16629:13;16651:53;16697:6;16692:3;16685:4;16677:6;16673:17;16651:53;:::i;:::-;16767:13;;16726:16;;;;16789:57;16767:13;16726:16;16823:4;16811:17;;16789:57;:::i;:::-;16862:55;16907:8;16900:5;16896:20;16888:6;16862:55;:::i;:::-;16855:62;16373:550;-1:-1:-1;;;;;;;16373:550:1:o;16928:197::-;17056:3;17081:38;17115:3;17107:6;17081:38;:::i;17898:489::-;-1:-1:-1;;;;;18167:15:1;;;18149:34;;18219:15;;18214:2;18199:18;;18192:43;18266:2;18251:18;;18244:34;;;18314:3;18309:2;18294:18;;18287:31;;;18092:4;;18335:46;;18361:19;;18353:6;18335:46;:::i;:::-;18327:54;17898:489;-1:-1:-1;;;;;;17898:489:1:o;18392:249::-;18461:6;18514:2;18502:9;18493:7;18489:23;18485:32;18482:52;;;18530:1;18527;18520:12;18482:52;18562:9;18556:16;18581:30;18605:5;18581:30;:::i
Swarm Source
ipfs://f82a2dbcf0d47806576e668e5f9a9dd8c7daf9530081c4a1044f0f9bbae0d70a
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.