ERC-721
Overview
Max Total Supply
689 KOMO
Holders
90
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 KOMOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Komotopia
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-20 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // 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.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { 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/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/Komotopia.sol pragma solidity ^0.8.20; abstract contract KomoVenom { function burnVenom(uint256 typeId, address burnTokenAddress) external virtual; function balanceOf(address account, uint256 id) public view virtual returns (uint256); } contract Komotopia is ERC721A, Ownable, ReentrancyGuard { enum Mode { INIT, CLAIM, PRESALE, PUBLIC, FINAL } struct UserAmount { address user; uint96 amount; } using ECDSA for bytes32; using Strings for uint256; string private _tokenBaseURI; uint256 public constant MAX_QTY = 5_555; // gifting config uint256 public constant QTY_FOR_GIFT = 483; uint256 public qtyMintedForGifting; // presale config uint256 public presalePrice = 0.015 ether; uint256 public constant QTY_FOR_PRESALE = 5_072; uint256 public constant MAX_QTY_PER_PRESALE = 1; uint256 public qtyMintedForPresale; mapping(address => uint256) public presaleAddresses; address private presaleSigner; uint256 public constant MAX_QTY_PER_GUARANTEED = 2; mapping(address => uint256) public guaranteedAddresses; address private guaranteedSigner; // public sale config uint256 public publicPrice = 0.015 ether; uint256 public constant MAX_QTY_PER_PUBLIC = 2; uint256 public qtyMintedForPublic; mapping(address => uint256) public publicAddresses; // staking config bool public isStaking; struct StakingData { uint128 stakedAt; uint128 unstakedAt; bool staked; } mapping(uint256 => StakingData) public stakingData; event Stake(address indexed maker, uint256 indexed tokenId); event Unstake(address indexed maker, uint256 indexed tokenId); // venom config KomoVenom private immutable venom; bool public useVenom; mapping(uint256 => uint256) public venomUsage; event Injection(uint256 indexed tokenId); Mode public mode = Mode.INIT; bool public paused = false; constructor( address presaleSigner_, address guaranteedSigner_, string memory tokenBaseURI_, address venomAddress ) ERC721A("Komotopia", "KOMO") { presaleSigner = presaleSigner_; guaranteedSigner = guaranteedSigner_; _tokenBaseURI = tokenBaseURI_; venom = KomoVenom(venomAddress); } function gift(address to, uint256 qty) external onlyOwner nonReentrant { require(!paused, "paused"); require(mode == Mode.INIT, "not in init mode"); require(qtyMintedForGifting + qty <= QTY_FOR_GIFT, "exceeds gift qty"); require(totalSupply() + qty <= MAX_QTY, "exceeds total supply"); qtyMintedForGifting += qty; _safeMint(to, qty); } function recoverSigner(address sender, bytes memory signature) internal pure returns (address) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(sender))) ) ).recover(signature); } function presaleMint(uint256 qty, bytes calldata signature) external payable nonReentrant { require(!paused, "paused"); require(mode == Mode.PRESALE, "not in presale mode"); require(presaleSigner == recoverSigner(msg.sender, signature), "invalid signature"); require(tx.origin == msg.sender, "invalid origin"); require(qtyMintedForPresale + qty <= QTY_FOR_PRESALE, "exceeds total presale qty"); require(qty <= MAX_QTY_PER_PRESALE, "exceeds qty per mint"); require(totalSupply() + qty <= MAX_QTY, "exceeds total supply"); uint256 oldQty = presaleAddresses[msg.sender]; uint256 newQty = oldQty + qty; require(newQty <= MAX_QTY_PER_PRESALE, "exceeded allowed qty"); require(msg.value == presalePrice * qty, "incorrect eth"); presaleAddresses[msg.sender] = newQty; qtyMintedForPresale += qty; _safeMint(msg.sender, qty); } function guaranteedMint(uint256 qty, bytes calldata signature) external payable nonReentrant { require(!paused, "paused"); require(mode == Mode.PRESALE, "not in presale mode"); require(guaranteedSigner == recoverSigner(msg.sender, signature), "invalid signature"); require(tx.origin == msg.sender, "invalid origin"); require(qtyMintedForPresale + qty <= QTY_FOR_PRESALE, "exceeds total presale qty"); require(qty <= MAX_QTY_PER_GUARANTEED, "exceeds qty per mint"); require(totalSupply() + qty <= MAX_QTY, "exceeds total supply"); uint256 oldQty = guaranteedAddresses[msg.sender]; uint256 newQty = oldQty + qty; require(newQty <= MAX_QTY_PER_GUARANTEED, "exceeded allowed qty"); require(msg.value == presalePrice * qty, "incorrect eth"); guaranteedAddresses[msg.sender] = newQty; qtyMintedForPresale += qty; _safeMint(msg.sender, qty); } function publicMint(uint256 qty) external payable nonReentrant { require(!paused, "paused"); require(mode == Mode.PUBLIC, "not in public mode"); require(tx.origin == msg.sender, "invalid origin"); require(qty <= MAX_QTY_PER_PUBLIC, "exceeds qty per mint"); require(totalSupply() + qty <= MAX_QTY, "exceeds total supply"); uint256 oldQty = publicAddresses[msg.sender]; uint256 newQty = oldQty + qty; require(newQty <= MAX_QTY_PER_PUBLIC, "exceeds allowed qty"); require(msg.value == publicPrice * qty, "incorrect eth"); publicAddresses[msg.sender] = newQty; // qtyMintedForPublic += qty; _safeMint(msg.sender, qty); } function finalMint(address to) external onlyOwner nonReentrant { require(!paused, "paused"); require(mode == Mode.FINAL, "not in final mode"); uint256 unminted = MAX_QTY - totalSupply(); require(unminted > 0, "reached max qty"); _safeMint(to, unminted); } function airdrop(UserAmount[] calldata airdropData) external onlyOwner { require(!paused, "paused"); uint256 len = airdropData.length; for (uint256 i = 0; i < len; ++i) { _mint(airdropData[i].user, airdropData[i].amount); } require (_totalMinted() <= MAX_QTY, "Oversupply"); } function stake(uint256[] calldata tokenIds) external nonReentrant { unchecked { require(isStaking, "staking is not live"); uint256 len = tokenIds.length; for (uint256 i = 0; i < len; ++i) { uint256 tokenId = tokenIds[i]; require(msg.sender == ownerOf(tokenId) || msg.sender == owner(), "not allowed"); require(stakingData[tokenId].stakedAt <= stakingData[tokenId].unstakedAt, "already staked"); stakingData[tokenId].stakedAt = uint128(block.timestamp); stakingData[tokenId].staked = true; emit Stake(msg.sender, tokenId); } } } function unstake(uint256[] calldata tokenIds) external nonReentrant { unchecked { uint256 len = tokenIds.length; for (uint256 i = 0; i < len; ++i) { uint256 tokenId = tokenIds[i]; require(msg.sender == ownerOf(tokenId) || msg.sender == owner(), "not allowed"); StakingData memory sd = stakingData[tokenId]; require(sd.stakedAt > sd.unstakedAt, "not staked"); stakingData[tokenId].unstakedAt = uint128(block.timestamp); stakingData[tokenId].staked = false; emit Unstake(msg.sender, tokenId); } } } function injectVenom(uint256 venomTypeId, uint256 tokenId) external nonReentrant { require(useVenom, "can not inject now"); require(msg.sender == ownerOf(tokenId), "not allowed"); require(venom.balanceOf(msg.sender, venomTypeId) > 0, "not enough venom"); require(venomUsage[tokenId] < 4, "too much venom"); venom.burnVenom(venomTypeId, msg.sender); venomUsage[tokenId]++; emit Injection(tokenId); } function _startTokenId() internal view override virtual returns (uint256) { return 1; } function _baseURI() internal view virtual override returns (string memory) { return _tokenBaseURI; } function tokenBaseURI() external view returns (string memory) { return _tokenBaseURI; } function setTokenBaseURI(string calldata tokenBaseURI_) external onlyOwner { _tokenBaseURI = tokenBaseURI_; } function tokenURI(uint256 tokenId) public override view returns (string memory) { require(_exists(tokenId), "nonexistent token"); return string(abi.encodePacked(_tokenBaseURI, tokenId.toString())); } function setPresaleSigner(address presaleSigner_) external onlyOwner { presaleSigner = presaleSigner_; } function setGuaranteedSigner(address guaranteedSigner_) external onlyOwner { guaranteedSigner = guaranteedSigner_; } function setPaused(bool paused_) external onlyOwner { paused = paused_; } function setPresalePrice(uint256 presalePrice_) external onlyOwner { presalePrice = presalePrice_; } function setPublicPrice(uint256 publicPrice_) external onlyOwner { publicPrice = publicPrice_; } function withdraw() external onlyOwner { uint256 totalBalance = address(this).balance; require(totalBalance > 0, "no balance"); uint256 balanceA = totalBalance * 30 / 100; (bool success, ) = payable(0x2e04434e79Bc456c06F3E6e60143bEe69b7b0c43) .call{value: balanceA }(""); require(success, "failed transfer"); (success, ) = payable(owner()).call{value: totalBalance - balanceA}(""); require(success, "failed transfer"); } function setMode(Mode mode_) external onlyOwner { mode = mode_; } function setIsStaking(bool isStaking_) external onlyOwner { isStaking = isStaking_; } function setUseVenom(bool useVenom_) external onlyOwner { useVenom = useVenom_; } function transferFrom(address from, address to, uint256 tokenId) public payable override { require(!stakingData[tokenId].staked, "token is staked"); super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override { require(!stakingData[tokenId].staked, "token is staked"); super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public payable override { require(!stakingData[tokenId].staked, "token is staked"); super.safeTransferFrom(from, to, tokenId, _data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"presaleSigner_","type":"address"},{"internalType":"address","name":"guaranteedSigner_","type":"address"},{"internalType":"string","name":"tokenBaseURI_","type":"string"},{"internalType":"address","name":"venomAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Injection","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":"maker","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Unstake","type":"event"},{"inputs":[],"name":"MAX_QTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_QTY_PER_GUARANTEED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_QTY_PER_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_QTY_PER_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QTY_FOR_GIFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QTY_FOR_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint96","name":"amount","type":"uint96"}],"internalType":"struct Komotopia.UserAmount[]","name":"airdropData","type":"tuple[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"finalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"guaranteedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"guaranteedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"venomTypeId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"injectVenom","outputs":[],"stateMutability":"nonpayable","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":"isStaking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mode","outputs":[{"internalType":"enum Komotopia.Mode","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qtyMintedForGifting","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qtyMintedForPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qtyMintedForPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"guaranteedSigner_","type":"address"}],"name":"setGuaranteedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isStaking_","type":"bool"}],"name":"setIsStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Komotopia.Mode","name":"mode_","type":"uint8"}],"name":"setMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presalePrice_","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"presaleSigner_","type":"address"}],"name":"setPresaleSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicPrice_","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenBaseURI_","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"useVenom_","type":"bool"}],"name":"setUseVenom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingData","outputs":[{"internalType":"uint128","name":"stakedAt","type":"uint128"},{"internalType":"uint128","name":"unstakedAt","type":"uint128"},{"internalType":"bool","name":"staked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useVenom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"venomUsage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405266354a6ba7a18000600c8190556012556019805461ffff191690553480156200002b575f80fd5b5060405162003836380380620038368339810160408190526200004e916200019a565b604051806040016040528060098152602001684b6f6d6f746f70696160b81b815250604051806040016040528060048152602001634b4f4d4f60e01b81525081600290816200009e91906200032b565b506003620000ad82826200032b565b505060015f5550620000bf3362000119565b6001600955600f80546001600160a01b038087166001600160a01b0319928316179092556011805492861692909116919091179055600a6200010283826200032b565b506001600160a01b031660805250620003f3915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b80516001600160a01b038116811462000181575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215620001ae575f80fd5b620001b9856200016a565b93506020620001ca8187016200016a565b60408701519094506001600160401b0380821115620001e7575f80fd5b818801915088601f830112620001fb575f80fd5b81518181111562000210576200021062000186565b604051601f8201601f19908116603f011681019083821181831017156200023b576200023b62000186565b816040528281528b8684870101111562000253575f80fd5b5f93505b8284101562000276578484018601518185018701529285019262000257565b5f86848301015280975050505050505062000294606086016200016a565b905092959194509250565b600181811c90821680620002b457607f821691505b602082108103620002d357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000326575f81815260208120601f850160051c81016020861015620003015750805b601f850160051c820191505b8181101562000322578281556001016200030d565b5050505b505050565b81516001600160401b0381111562000347576200034762000186565b6200035f816200035884546200029f565b84620002d9565b602080601f83116001811462000395575f84156200037d5750858301515b5f19600386901b1c1916600185901b17855562000322565b5f85815260208120601f198616915b82811015620003c557888601518255948401946001909101908401620003a4565b5085821015620003e357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b608051613423620004135f395f81816110ea015261120401526134235ff3fe608060405260043610610365575f3560e01c806366fca980116101c8578063a945bf80116100fd578063c87b56dd1161009d578063f2fde38b1161006d578063f2fde38b1461099a578063f3bcbf63146109b9578063f736ef05146109d2578063fd24a854146109e7575f80fd5b8063c87b56dd1461091e578063cbce4c971461093d578063e449f3411461095c578063e985e9c51461097b575f80fd5b8063b9f67b25116100d8578063b9f67b25146108cb578063c1f34d35146108ea578063c5b3ea06146108a4578063c6275255146108ff575f80fd5b8063a945bf801461088f578063b34ac18a146108a4578063b88d4fde146108b8575f80fd5b806380090c04116101685780638ef79e91116101435780638ef79e911461081e57806395d89b411461083d578063a22cb46514610851578063a3de1a8014610870575f80fd5b806380090c04146107645780638c78070f1461078f5780638da5cb5b14610801575f80fd5b806370a08231116101a357806370a08231146106f3578063715018a6146107125780637a9712c4146107265780637cd9e75b14610745575f80fd5b806366fca980146106905780636d6b5bbd146106bb5780636db0fbe1146106da575f80fd5b806321175b4a1161029e5780633ccfd60b1161023e5780634e99b800116102195780634e99b8001461062a578063588163631461063e5780635c975abb146106535780636352211e14610671575f80fd5b80633ccfd60b146105d857806342842e0e146105ec5780634c98c27f146105ff575f80fd5b8063295a521211610279578063295a52121461056b5780632db11544146105915780633465e298146105a45780633549345e146105b9575f80fd5b806321175b4a1461052557806322acd3f41461054457806323b872dd14610558575f80fd5b80630ad5bf34116103095780630fdae72c116102e45780630fdae72c146104be57806316c38b3c146104dd57806318160ddd146104fc5780631c96cae914610510575f80fd5b80630ad5bf34146104555780630fbf0a93146104745780630fce420614610493575f80fd5b806306aa33431161034457806306aa3343146103d557806306fdde03146103ea578063081812fc1461040b578063095ea7b314610442575f80fd5b80620e7fa81461036957806301ffc9a71461039157806302365742146103c0575b5f80fd5b348015610374575f80fd5b5061037e600c5481565b6040519081526020015b60405180910390f35b34801561039c575f80fd5b506103b06103ab366004612b4b565b6109fa565b6040519015158152602001610388565b6103d36103ce366004612ba4565b610a4b565b005b3480156103e0575f80fd5b5061037e6101e381565b3480156103f5575f80fd5b506103fe610d13565b6040516103889190612c39565b348015610416575f80fd5b5061042a610425366004612c4b565b610da3565b6040516001600160a01b039091168152602001610388565b6103d3610450366004612c7d565b610de5565b348015610460575f80fd5b506103d361046f366004612cb4565b610e83565b34801561047f575f80fd5b506103d361048e366004612ccd565b610e9e565b34801561049e575f80fd5b5061037e6104ad366004612c4b565b60186020525f908152604090205481565b3480156104c9575f80fd5b506103d36104d8366004612d3c565b611045565b3480156104e8575f80fd5b506103d36104f7366004612cb4565b6112b6565b348015610507575f80fd5b5061037e6112d8565b34801561051b575f80fd5b5061037e6115b381565b348015610530575f80fd5b506103d361053f366004612d5c565b6112e4565b34801561054f575f80fd5b5061037e600181565b6103d3610566366004612d7a565b611313565b348015610576575f80fd5b506019546105849060ff1681565b6040516103889190612dc7565b6103d361059f366004612c4b565b61134f565b3480156105af575f80fd5b5061037e600d5481565b3480156105c4575f80fd5b506103d36105d3366004612c4b565b611507565b3480156105e3575f80fd5b506103d3611514565b6103d36105fa366004612d7a565b6116a6565b34801561060a575f80fd5b5061037e610619366004612ded565b60106020525f908152604090205481565b348015610635575f80fd5b506103fe6116e2565b348015610649575f80fd5b5061037e6113d081565b34801561065e575f80fd5b506019546103b090610100900460ff1681565b34801561067c575f80fd5b5061042a61068b366004612c4b565b6116f1565b34801561069b575f80fd5b5061037e6106aa366004612ded565b600e6020525f908152604090205481565b3480156106c6575f80fd5b506103d36106d5366004612ded565b6116fb565b3480156106e5575f80fd5b506017546103b09060ff1681565b3480156106fe575f80fd5b5061037e61070d366004612ded565b6117fa565b34801561071d575f80fd5b506103d3611847565b348015610731575f80fd5b506103d3610740366004612ded565b61185a565b348015610750575f80fd5b506103d361075f366004612e06565b611884565b34801561076f575f80fd5b5061037e61077e366004612ded565b60146020525f908152604090205481565b34801561079a575f80fd5b506107d96107a9366004612c4b565b60166020525f9081526040902080546001909101546001600160801b0380831692600160801b9004169060ff1683565b604080516001600160801b039485168152939092166020840152151590820152606001610388565b34801561080c575f80fd5b506008546001600160a01b031661042a565b348015610829575f80fd5b506103d3610838366004612e63565b611981565b348015610848575f80fd5b506103fe611996565b34801561085c575f80fd5b506103d361086b366004612ea2565b6119a5565b34801561087b575f80fd5b506103d361088a366004612cb4565b611a10565b34801561089a575f80fd5b5061037e60125481565b3480156108af575f80fd5b5061037e600281565b6103d36108c6366004612ee7565b611a2b565b3480156108d6575f80fd5b506103d36108e5366004612ded565b611a6e565b3480156108f5575f80fd5b5061037e600b5481565b34801561090a575f80fd5b506103d3610919366004612c4b565b611a98565b348015610929575f80fd5b506103fe610938366004612c4b565b611aa5565b348015610948575f80fd5b506103d3610957366004612c7d565b611b22565b348015610967575f80fd5b506103d3610976366004612ccd565b611c63565b348015610986575f80fd5b506103b0610995366004612fbc565b611dc8565b3480156109a5575f80fd5b506103d36109b4366004612ded565b611df5565b3480156109c4575f80fd5b506015546103b09060ff1681565b3480156109dd575f80fd5b5061037e60135481565b6103d36109f5366004612ba4565b611e6b565b5f6301ffc9a760e01b6001600160e01b031983161480610a2a57506380ac58cd60e01b6001600160e01b03198316145b80610a455750635b5e139f60e01b6001600160e01b03198316145b92915050565b610a53612109565b601954610100900460ff1615610a845760405162461bcd60e51b8152600401610a7b90612fe4565b60405180910390fd5b600260195460ff166004811115610a9d57610a9d612db3565b14610ae05760405162461bcd60e51b81526020600482015260136024820152726e6f7420696e2070726573616c65206d6f646560681b6044820152606401610a7b565b610b1f3383838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061216292505050565b6011546001600160a01b03908116911614610b705760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610a7b565b323314610b8f5760405162461bcd60e51b8152600401610a7b90613004565b6113d083600d54610ba09190613040565b1115610bea5760405162461bcd60e51b81526020600482015260196024820152786578636565647320746f74616c2070726573616c652071747960381b6044820152606401610a7b565b6002831115610c0b5760405162461bcd60e51b8152600401610a7b90613053565b6115b383610c176112d8565b610c219190613040565b1115610c3f5760405162461bcd60e51b8152600401610a7b90613081565b335f9081526010602052604081205490610c598583613040565b90506002811115610ca35760405162461bcd60e51b8152602060048201526014602482015273657863656564656420616c6c6f7765642071747960601b6044820152606401610a7b565b84600c54610cb191906130af565b3414610ccf5760405162461bcd60e51b8152600401610a7b906130c6565b335f908152601060205260408120829055600d8054879290610cf2908490613040565b90915550610d02905033866121d0565b5050610d0e6001600955565b505050565b606060028054610d22906130ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e906130ed565b8015610d995780601f10610d7057610100808354040283529160200191610d99565b820191905f5260205f20905b815481529060010190602001808311610d7c57829003601f168201915b5050505050905090565b5f610dad826121e9565b610dca576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610def826116f1565b9050336001600160a01b03821614610e2857610e0b8133611dc8565b610e28576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610e8b61221b565b6017805460ff1916911515919091179055565b610ea6612109565b60155460ff16610eee5760405162461bcd60e51b81526020600482015260136024820152727374616b696e67206973206e6f74206c69766560681b6044820152606401610a7b565b805f5b81811015611035575f848483818110610f0c57610f0c613125565b905060200201359050610f1e816116f1565b6001600160a01b0316336001600160a01b03161480610f4757506008546001600160a01b031633145b610f635760405162461bcd60e51b8152600401610a7b90613139565b5f818152601660205260409020546001600160801b03600160801b8204811691161115610fc35760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481cdd185ad95960921b6044820152606401610a7b565b5f8181526016602052604080822080546fffffffffffffffffffffffffffffffff1916426001600160801b03161781556001908101805460ff1916909117905551829133917febedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a9190a350600101610ef1565b50506110416001600955565b5050565b61104d612109565b60175460ff166110945760405162461bcd60e51b815260206004820152601260248201527163616e206e6f7420696e6a656374206e6f7760701b6044820152606401610a7b565b61109d816116f1565b6001600160a01b0316336001600160a01b0316146110cd5760405162461bcd60e51b8152600401610a7b90613139565b604051627eeac760e11b8152336004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e90604401602060405180830381865afa158015611136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115a919061315e565b1161119a5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682076656e6f6d60801b6044820152606401610a7b565b5f818152601860205260409020546004116111e85760405162461bcd60e51b815260206004820152600e60248201526d746f6f206d7563682076656e6f6d60901b6044820152606401610a7b565b60405163356593f960e01b8152600481018390523360248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063356593f9906044015f604051808303815f87803b15801561124d575f80fd5b505af115801561125f573d5f803e3d5ffd5b5050505f828152601860205260408120805492509061127d83613175565b909155505060405181907f59f9d80706292c3bb36ed6bc211e665b305e25433bcd21adb686815fba5a9d0b905f90a26110416001600955565b6112be61221b565b601980549115156101000261ff0019909216919091179055565b6001545f54035f190190565b6112ec61221b565b6019805482919060ff1916600183600481111561130b5761130b612db3565b021790555050565b5f8181526016602052604090206001015460ff16156113445760405162461bcd60e51b8152600401610a7b9061318d565b610d0e838383612275565b611357612109565b601954610100900460ff161561137f5760405162461bcd60e51b8152600401610a7b90612fe4565b600360195460ff16600481111561139857611398612db3565b146113da5760405162461bcd60e51b81526020600482015260126024820152716e6f7420696e207075626c6963206d6f646560701b6044820152606401610a7b565b3233146113f95760405162461bcd60e51b8152600401610a7b90613004565b600281111561141a5760405162461bcd60e51b8152600401610a7b90613053565b6115b3816114266112d8565b6114309190613040565b111561144e5760405162461bcd60e51b8152600401610a7b90613081565b335f90815260146020526040812054906114688383613040565b905060028111156114b15760405162461bcd60e51b81526020600482015260136024820152726578636565647320616c6c6f7765642071747960681b6044820152606401610a7b565b826012546114bf91906130af565b34146114dd5760405162461bcd60e51b8152600401610a7b906130c6565b335f8181526014602052604090208290556114f890846121d0565b50506115046001600955565b50565b61150f61221b565b600c55565b61151c61221b565b47806115575760405162461bcd60e51b815260206004820152600a6024820152696e6f2062616c616e636560b01b6044820152606401610a7b565b5f606461156583601e6130af565b61156f91906131b6565b6040519091505f90732e04434e79bc456c06f3e6e60143bee69b7b0c439083908381818185875af1925050503d805f81146115c5576040519150601f19603f3d011682016040523d82523d5f602084013e6115ca565b606091505b505090508061160d5760405162461bcd60e51b815260206004820152600f60248201526e3330b4b632b2103a3930b739b332b960891b6044820152606401610a7b565b6008546001600160a01b031661162383856131d5565b6040515f81818185875af1925050503d805f811461165c576040519150601f19603f3d011682016040523d82523d5f602084013e611661565b606091505b50508091505080610d0e5760405162461bcd60e51b815260206004820152600f60248201526e3330b4b632b2103a3930b739b332b960891b6044820152606401610a7b565b5f8181526016602052604090206001015460ff16156116d75760405162461bcd60e51b8152600401610a7b9061318d565b610d0e838383612405565b6060600a8054610d22906130ed565b5f610a458261241f565b61170361221b565b61170b612109565b601954610100900460ff16156117335760405162461bcd60e51b8152600401610a7b90612fe4565b600460195460ff16600481111561174c5761174c612db3565b1461178d5760405162461bcd60e51b81526020600482015260116024820152706e6f7420696e2066696e616c206d6f646560781b6044820152606401610a7b565b5f6117966112d8565b6117a2906115b36131d5565b90505f81116117e55760405162461bcd60e51b815260206004820152600f60248201526e72656163686564206d61782071747960881b6044820152606401610a7b565b6117ef82826121d0565b506115046001600955565b5f6001600160a01b038216611822576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61184f61221b565b6118585f612488565b565b61186261221b565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b61188c61221b565b601954610100900460ff16156118b45760405162461bcd60e51b8152600401610a7b90612fe4565b805f5b81811015611937576119278484838181106118d4576118d4613125565b6118ea9260206040909202019081019150612ded565b8585848181106118fc576118fc613125565b905060400201602001602081019061191491906131e8565b6bffffffffffffffffffffffff166124d9565b61193081613175565b90506118b7565b506115b36119465f545f190190565b1115610d0e5760405162461bcd60e51b815260206004820152600a6024820152694f766572737570706c7960b01b6044820152606401610a7b565b61198961221b565b600a610d0e828483613258565b606060038054610d22906130ed565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611a1861221b565b6015805460ff1916911515919091179055565b5f8281526016602052604090206001015460ff1615611a5c5760405162461bcd60e51b8152600401610a7b9061318d565b611a68848484846125d1565b50505050565b611a7661221b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611aa061221b565b601255565b6060611ab0826121e9565b611af05760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610a7b565b600a611afb83612615565b604051602001611b0c929190613313565b6040516020818303038152906040529050919050565b611b2a61221b565b611b32612109565b601954610100900460ff1615611b5a5760405162461bcd60e51b8152600401610a7b90612fe4565b5f60195460ff166004811115611b7257611b72612db3565b14611bb25760405162461bcd60e51b815260206004820152601060248201526f6e6f7420696e20696e6974206d6f646560801b6044820152606401610a7b565b6101e381600b54611bc39190613040565b1115611c045760405162461bcd60e51b815260206004820152601060248201526f6578636565647320676966742071747960801b6044820152606401610a7b565b6115b381611c106112d8565b611c1a9190613040565b1115611c385760405162461bcd60e51b8152600401610a7b90613081565b80600b5f828254611c499190613040565b90915550611c59905082826121d0565b6110416001600955565b611c6b612109565b805f5b81811015611035575f848483818110611c8957611c89613125565b905060200201359050611c9b816116f1565b6001600160a01b0316336001600160a01b03161480611cc457506008546001600160a01b031633145b611ce05760405162461bcd60e51b8152600401610a7b90613139565b5f81815260166020908152604091829020825160608101845281546001600160801b03808216808452600160801b9092041693820184905260019092015460ff1615159381019390935211611d645760405162461bcd60e51b815260206004820152600a6024820152691b9bdd081cdd185ad95960b21b6044820152606401610a7b565b5f8281526016602052604080822080546001600160801b03428116600160801b029116178155600101805460ff1916905551839133917f85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd9190a35050600101611c6e565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611dfd61221b565b6001600160a01b038116611e625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7b565b61150481612488565b611e73612109565b601954610100900460ff1615611e9b5760405162461bcd60e51b8152600401610a7b90612fe4565b600260195460ff166004811115611eb457611eb4612db3565b14611ef75760405162461bcd60e51b81526020600482015260136024820152726e6f7420696e2070726573616c65206d6f646560681b6044820152606401610a7b565b611f363383838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061216292505050565b600f546001600160a01b03908116911614611f875760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610a7b565b323314611fa65760405162461bcd60e51b8152600401610a7b90613004565b6113d083600d54611fb79190613040565b11156120015760405162461bcd60e51b81526020600482015260196024820152786578636565647320746f74616c2070726573616c652071747960381b6044820152606401610a7b565b60018311156120225760405162461bcd60e51b8152600401610a7b90613053565b6115b38361202e6112d8565b6120389190613040565b11156120565760405162461bcd60e51b8152600401610a7b90613081565b335f908152600e6020526040812054906120708583613040565b905060018111156120ba5760405162461bcd60e51b8152602060048201526014602482015273657863656564656420616c6c6f7765642071747960601b6044820152606401610a7b565b84600c546120c891906130af565b34146120e65760405162461bcd60e51b8152600401610a7b906130c6565b335f908152600e60205260408120829055600d8054879290610cf2908490613040565b60026009540361215b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a7b565b6002600955565b6040517f19457468657265756d205369676e6564204d6573736167653a0a33320000000060208201526001600160a01b038316603c8201525f906121c9908390605c01604051602081830303815290604052805190602001206126a590919063ffffffff16565b9392505050565b611041828260405180602001604052805f8152506126c7565b5f816001111580156121fb57505f5482105b8015610a455750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b031633146118585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a7b565b5f61227f8261241f565b9050836001600160a01b0316816001600160a01b0316146122b25760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176122fe576122e18633611dc8565b6122fe57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661232557604051633a954ecd60e21b815260040160405180910390fd5b801561232f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036123bb57600184015f8181526004602052604081205490036123b9575f5481146123b9575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d0e83838360405180602001604052805f815250611a2b565b5f818060011161246f575f5481101561246f575f8181526004602052604081205490600160e01b8216900361246d575b805f036121c957505f19015f8181526004602052604090205461244f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8054908290036124fd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146125a95780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612573565b50815f036125c957604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6125dc848484611313565b6001600160a01b0383163b15611a68576125f884848484612730565b611a68576040516368d2bf6b60e11b815260040160405180910390fd5b60605f61262183612817565b60010190505f8167ffffffffffffffff81111561264057612640612ed3565b6040519080825280601f01601f19166020018201604052801561266a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461267457509392505050565b5f805f6126b285856128ee565b915091506126bf81612930565b509392505050565b6126d183836124d9565b6001600160a01b0383163b15610d0e575f548281035b6126f95f868380600101945086612730565b612716576040516368d2bf6b60e11b815260040160405180910390fd5b8181106126e757815f5414612729575f80fd5b5050505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612764903390899088908890600401613396565b6020604051808303815f875af192505050801561279e575060408051601f3d908101601f1916820190925261279b918101906133d2565b60015b6127fa573d8080156127cb576040519150601f19603f3d011682016040523d82523d5f602084013e6127d0565b606091505b5080515f036127f2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128555772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612881576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061289f57662386f26fc10000830492506010015b6305f5e10083106128b7576305f5e100830492506008015b61271083106128cb57612710830492506004015b606483106128dd576064830492506002015b600a8310610a455760010192915050565b5f808251604103612922576020830151604084015160608501515f1a61291687828585612a79565b94509450505050612929565b505f905060025b9250929050565b5f81600481111561294357612943612db3565b0361294b5750565b600181600481111561295f5761295f612db3565b036129ac5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a7b565b60028160048111156129c0576129c0612db3565b03612a0d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a7b565b6003816004811115612a2157612a21612db3565b036115045760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a7b565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612aae57505f90506003612b2d565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612aff573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116612b27575f60019250925050612b2d565b91505f90505b94509492505050565b6001600160e01b031981168114611504575f80fd5b5f60208284031215612b5b575f80fd5b81356121c981612b36565b5f8083601f840112612b76575f80fd5b50813567ffffffffffffffff811115612b8d575f80fd5b602083019150836020828501011115612929575f80fd5b5f805f60408486031215612bb6575f80fd5b83359250602084013567ffffffffffffffff811115612bd3575f80fd5b612bdf86828701612b66565b9497909650939450505050565b5f5b83811015612c06578181015183820152602001612bee565b50505f910152565b5f8151808452612c25816020860160208601612bec565b601f01601f19169290920160200192915050565b602081525f6121c96020830184612c0e565b5f60208284031215612c5b575f80fd5b5035919050565b80356001600160a01b0381168114612c78575f80fd5b919050565b5f8060408385031215612c8e575f80fd5b612c9783612c62565b946020939093013593505050565b80358015158114612c78575f80fd5b5f60208284031215612cc4575f80fd5b6121c982612ca5565b5f8060208385031215612cde575f80fd5b823567ffffffffffffffff80821115612cf5575f80fd5b818501915085601f830112612d08575f80fd5b813581811115612d16575f80fd5b8660208260051b8501011115612d2a575f80fd5b60209290920196919550909350505050565b5f8060408385031215612d4d575f80fd5b50508035926020909101359150565b5f60208284031215612d6c575f80fd5b8135600581106121c9575f80fd5b5f805f60608486031215612d8c575f80fd5b612d9584612c62565b9250612da360208501612c62565b9150604084013590509250925092565b634e487b7160e01b5f52602160045260245ffd5b6020810160058310612de757634e487b7160e01b5f52602160045260245ffd5b91905290565b5f60208284031215612dfd575f80fd5b6121c982612c62565b5f8060208385031215612e17575f80fd5b823567ffffffffffffffff80821115612e2e575f80fd5b818501915085601f830112612e41575f80fd5b813581811115612e4f575f80fd5b8660208260061b8501011115612d2a575f80fd5b5f8060208385031215612e74575f80fd5b823567ffffffffffffffff811115612e8a575f80fd5b612e9685828601612b66565b90969095509350505050565b5f8060408385031215612eb3575f80fd5b612ebc83612c62565b9150612eca60208401612ca5565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215612efa575f80fd5b612f0385612c62565b9350612f1160208601612c62565b925060408501359150606085013567ffffffffffffffff80821115612f34575f80fd5b818701915087601f830112612f47575f80fd5b813581811115612f5957612f59612ed3565b604051601f8201601f19908116603f01168101908382118183101715612f8157612f81612ed3565b816040528281528a6020848701011115612f99575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f8060408385031215612fcd575f80fd5b612fd683612c62565b9150612eca60208401612c62565b6020808252600690820152651c185d5cd95960d21b604082015260600190565b6020808252600e908201526d34b73b30b634b21037b934b3b4b760911b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610a4557610a4561302c565b602080825260149082015273195e18d959591cc81c5d1e481c195c881b5a5b9d60621b604082015260600190565b6020808252601490820152736578636565647320746f74616c20737570706c7960601b604082015260600190565b8082028115828204841417610a4557610a4561302c565b6020808252600d908201526c0d2dcc6dee4e4cac6e840cae8d609b1b604082015260600190565b600181811c9082168061310157607f821691505b60208210810361311f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b5f6020828403121561316e575f80fd5b5051919050565b5f600182016131865761318661302c565b5060010190565b6020808252600f908201526e1d1bdad95b881a5cc81cdd185ad959608a1b604082015260600190565b5f826131d057634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610a4557610a4561302c565b5f602082840312156131f8575f80fd5b81356bffffffffffffffffffffffff811681146121c9575f80fd5b601f821115610d0e575f81815260208120601f850160051c810160208610156132395750805b601f850160051c820191505b818110156123fd57828155600101613245565b67ffffffffffffffff83111561327057613270612ed3565b6132848361327e83546130ed565b83613213565b5f601f8411600181146132b5575f851561329e5750838201355b5f19600387901b1c1916600186901b178355612729565b5f83815260209020601f19861690835b828110156132e557868501358255602094850194600190920191016132c5565b5086821015613301575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454613320816130ed565b60018281168015613338576001811461334d57613379565b60ff1984168752821515830287019450613379565b885f526020805f205f5b858110156133705781548a820152908401908201613357565b50505082870194505b50505050835161338d818360208801612bec565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906133c890830184612c0e565b9695505050505050565b5f602082840312156133e2575f80fd5b81516121c981612b3656fea2646970667358221220712b15277b9b107aa0cd483477f8fc093afd846d0543b1242769cf2231a1efab64736f6c6343000814003300000000000000000000000015f09559df63ea34e297fac19e57b58e1d976a7b000000000000000000000000d88642a9b13bccef8a4d8ed953e5ea9b74a78d0600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000398faa697091cdb995da64040e818029389c645000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f63646e2e6b6f6d6f746f7069612e636f6d2f756e72657665616c65642f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610365575f3560e01c806366fca980116101c8578063a945bf80116100fd578063c87b56dd1161009d578063f2fde38b1161006d578063f2fde38b1461099a578063f3bcbf63146109b9578063f736ef05146109d2578063fd24a854146109e7575f80fd5b8063c87b56dd1461091e578063cbce4c971461093d578063e449f3411461095c578063e985e9c51461097b575f80fd5b8063b9f67b25116100d8578063b9f67b25146108cb578063c1f34d35146108ea578063c5b3ea06146108a4578063c6275255146108ff575f80fd5b8063a945bf801461088f578063b34ac18a146108a4578063b88d4fde146108b8575f80fd5b806380090c04116101685780638ef79e91116101435780638ef79e911461081e57806395d89b411461083d578063a22cb46514610851578063a3de1a8014610870575f80fd5b806380090c04146107645780638c78070f1461078f5780638da5cb5b14610801575f80fd5b806370a08231116101a357806370a08231146106f3578063715018a6146107125780637a9712c4146107265780637cd9e75b14610745575f80fd5b806366fca980146106905780636d6b5bbd146106bb5780636db0fbe1146106da575f80fd5b806321175b4a1161029e5780633ccfd60b1161023e5780634e99b800116102195780634e99b8001461062a578063588163631461063e5780635c975abb146106535780636352211e14610671575f80fd5b80633ccfd60b146105d857806342842e0e146105ec5780634c98c27f146105ff575f80fd5b8063295a521211610279578063295a52121461056b5780632db11544146105915780633465e298146105a45780633549345e146105b9575f80fd5b806321175b4a1461052557806322acd3f41461054457806323b872dd14610558575f80fd5b80630ad5bf34116103095780630fdae72c116102e45780630fdae72c146104be57806316c38b3c146104dd57806318160ddd146104fc5780631c96cae914610510575f80fd5b80630ad5bf34146104555780630fbf0a93146104745780630fce420614610493575f80fd5b806306aa33431161034457806306aa3343146103d557806306fdde03146103ea578063081812fc1461040b578063095ea7b314610442575f80fd5b80620e7fa81461036957806301ffc9a71461039157806302365742146103c0575b5f80fd5b348015610374575f80fd5b5061037e600c5481565b6040519081526020015b60405180910390f35b34801561039c575f80fd5b506103b06103ab366004612b4b565b6109fa565b6040519015158152602001610388565b6103d36103ce366004612ba4565b610a4b565b005b3480156103e0575f80fd5b5061037e6101e381565b3480156103f5575f80fd5b506103fe610d13565b6040516103889190612c39565b348015610416575f80fd5b5061042a610425366004612c4b565b610da3565b6040516001600160a01b039091168152602001610388565b6103d3610450366004612c7d565b610de5565b348015610460575f80fd5b506103d361046f366004612cb4565b610e83565b34801561047f575f80fd5b506103d361048e366004612ccd565b610e9e565b34801561049e575f80fd5b5061037e6104ad366004612c4b565b60186020525f908152604090205481565b3480156104c9575f80fd5b506103d36104d8366004612d3c565b611045565b3480156104e8575f80fd5b506103d36104f7366004612cb4565b6112b6565b348015610507575f80fd5b5061037e6112d8565b34801561051b575f80fd5b5061037e6115b381565b348015610530575f80fd5b506103d361053f366004612d5c565b6112e4565b34801561054f575f80fd5b5061037e600181565b6103d3610566366004612d7a565b611313565b348015610576575f80fd5b506019546105849060ff1681565b6040516103889190612dc7565b6103d361059f366004612c4b565b61134f565b3480156105af575f80fd5b5061037e600d5481565b3480156105c4575f80fd5b506103d36105d3366004612c4b565b611507565b3480156105e3575f80fd5b506103d3611514565b6103d36105fa366004612d7a565b6116a6565b34801561060a575f80fd5b5061037e610619366004612ded565b60106020525f908152604090205481565b348015610635575f80fd5b506103fe6116e2565b348015610649575f80fd5b5061037e6113d081565b34801561065e575f80fd5b506019546103b090610100900460ff1681565b34801561067c575f80fd5b5061042a61068b366004612c4b565b6116f1565b34801561069b575f80fd5b5061037e6106aa366004612ded565b600e6020525f908152604090205481565b3480156106c6575f80fd5b506103d36106d5366004612ded565b6116fb565b3480156106e5575f80fd5b506017546103b09060ff1681565b3480156106fe575f80fd5b5061037e61070d366004612ded565b6117fa565b34801561071d575f80fd5b506103d3611847565b348015610731575f80fd5b506103d3610740366004612ded565b61185a565b348015610750575f80fd5b506103d361075f366004612e06565b611884565b34801561076f575f80fd5b5061037e61077e366004612ded565b60146020525f908152604090205481565b34801561079a575f80fd5b506107d96107a9366004612c4b565b60166020525f9081526040902080546001909101546001600160801b0380831692600160801b9004169060ff1683565b604080516001600160801b039485168152939092166020840152151590820152606001610388565b34801561080c575f80fd5b506008546001600160a01b031661042a565b348015610829575f80fd5b506103d3610838366004612e63565b611981565b348015610848575f80fd5b506103fe611996565b34801561085c575f80fd5b506103d361086b366004612ea2565b6119a5565b34801561087b575f80fd5b506103d361088a366004612cb4565b611a10565b34801561089a575f80fd5b5061037e60125481565b3480156108af575f80fd5b5061037e600281565b6103d36108c6366004612ee7565b611a2b565b3480156108d6575f80fd5b506103d36108e5366004612ded565b611a6e565b3480156108f5575f80fd5b5061037e600b5481565b34801561090a575f80fd5b506103d3610919366004612c4b565b611a98565b348015610929575f80fd5b506103fe610938366004612c4b565b611aa5565b348015610948575f80fd5b506103d3610957366004612c7d565b611b22565b348015610967575f80fd5b506103d3610976366004612ccd565b611c63565b348015610986575f80fd5b506103b0610995366004612fbc565b611dc8565b3480156109a5575f80fd5b506103d36109b4366004612ded565b611df5565b3480156109c4575f80fd5b506015546103b09060ff1681565b3480156109dd575f80fd5b5061037e60135481565b6103d36109f5366004612ba4565b611e6b565b5f6301ffc9a760e01b6001600160e01b031983161480610a2a57506380ac58cd60e01b6001600160e01b03198316145b80610a455750635b5e139f60e01b6001600160e01b03198316145b92915050565b610a53612109565b601954610100900460ff1615610a845760405162461bcd60e51b8152600401610a7b90612fe4565b60405180910390fd5b600260195460ff166004811115610a9d57610a9d612db3565b14610ae05760405162461bcd60e51b81526020600482015260136024820152726e6f7420696e2070726573616c65206d6f646560681b6044820152606401610a7b565b610b1f3383838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061216292505050565b6011546001600160a01b03908116911614610b705760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610a7b565b323314610b8f5760405162461bcd60e51b8152600401610a7b90613004565b6113d083600d54610ba09190613040565b1115610bea5760405162461bcd60e51b81526020600482015260196024820152786578636565647320746f74616c2070726573616c652071747960381b6044820152606401610a7b565b6002831115610c0b5760405162461bcd60e51b8152600401610a7b90613053565b6115b383610c176112d8565b610c219190613040565b1115610c3f5760405162461bcd60e51b8152600401610a7b90613081565b335f9081526010602052604081205490610c598583613040565b90506002811115610ca35760405162461bcd60e51b8152602060048201526014602482015273657863656564656420616c6c6f7765642071747960601b6044820152606401610a7b565b84600c54610cb191906130af565b3414610ccf5760405162461bcd60e51b8152600401610a7b906130c6565b335f908152601060205260408120829055600d8054879290610cf2908490613040565b90915550610d02905033866121d0565b5050610d0e6001600955565b505050565b606060028054610d22906130ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4e906130ed565b8015610d995780601f10610d7057610100808354040283529160200191610d99565b820191905f5260205f20905b815481529060010190602001808311610d7c57829003601f168201915b5050505050905090565b5f610dad826121e9565b610dca576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610def826116f1565b9050336001600160a01b03821614610e2857610e0b8133611dc8565b610e28576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610e8b61221b565b6017805460ff1916911515919091179055565b610ea6612109565b60155460ff16610eee5760405162461bcd60e51b81526020600482015260136024820152727374616b696e67206973206e6f74206c69766560681b6044820152606401610a7b565b805f5b81811015611035575f848483818110610f0c57610f0c613125565b905060200201359050610f1e816116f1565b6001600160a01b0316336001600160a01b03161480610f4757506008546001600160a01b031633145b610f635760405162461bcd60e51b8152600401610a7b90613139565b5f818152601660205260409020546001600160801b03600160801b8204811691161115610fc35760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481cdd185ad95960921b6044820152606401610a7b565b5f8181526016602052604080822080546fffffffffffffffffffffffffffffffff1916426001600160801b03161781556001908101805460ff1916909117905551829133917febedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a9190a350600101610ef1565b50506110416001600955565b5050565b61104d612109565b60175460ff166110945760405162461bcd60e51b815260206004820152601260248201527163616e206e6f7420696e6a656374206e6f7760701b6044820152606401610a7b565b61109d816116f1565b6001600160a01b0316336001600160a01b0316146110cd5760405162461bcd60e51b8152600401610a7b90613139565b604051627eeac760e11b8152336004820152602481018390525f907f0000000000000000000000000398faa697091cdb995da64040e818029389c6456001600160a01b03169062fdd58e90604401602060405180830381865afa158015611136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115a919061315e565b1161119a5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682076656e6f6d60801b6044820152606401610a7b565b5f818152601860205260409020546004116111e85760405162461bcd60e51b815260206004820152600e60248201526d746f6f206d7563682076656e6f6d60901b6044820152606401610a7b565b60405163356593f960e01b8152600481018390523360248201527f0000000000000000000000000398faa697091cdb995da64040e818029389c6456001600160a01b03169063356593f9906044015f604051808303815f87803b15801561124d575f80fd5b505af115801561125f573d5f803e3d5ffd5b5050505f828152601860205260408120805492509061127d83613175565b909155505060405181907f59f9d80706292c3bb36ed6bc211e665b305e25433bcd21adb686815fba5a9d0b905f90a26110416001600955565b6112be61221b565b601980549115156101000261ff0019909216919091179055565b6001545f54035f190190565b6112ec61221b565b6019805482919060ff1916600183600481111561130b5761130b612db3565b021790555050565b5f8181526016602052604090206001015460ff16156113445760405162461bcd60e51b8152600401610a7b9061318d565b610d0e838383612275565b611357612109565b601954610100900460ff161561137f5760405162461bcd60e51b8152600401610a7b90612fe4565b600360195460ff16600481111561139857611398612db3565b146113da5760405162461bcd60e51b81526020600482015260126024820152716e6f7420696e207075626c6963206d6f646560701b6044820152606401610a7b565b3233146113f95760405162461bcd60e51b8152600401610a7b90613004565b600281111561141a5760405162461bcd60e51b8152600401610a7b90613053565b6115b3816114266112d8565b6114309190613040565b111561144e5760405162461bcd60e51b8152600401610a7b90613081565b335f90815260146020526040812054906114688383613040565b905060028111156114b15760405162461bcd60e51b81526020600482015260136024820152726578636565647320616c6c6f7765642071747960681b6044820152606401610a7b565b826012546114bf91906130af565b34146114dd5760405162461bcd60e51b8152600401610a7b906130c6565b335f8181526014602052604090208290556114f890846121d0565b50506115046001600955565b50565b61150f61221b565b600c55565b61151c61221b565b47806115575760405162461bcd60e51b815260206004820152600a6024820152696e6f2062616c616e636560b01b6044820152606401610a7b565b5f606461156583601e6130af565b61156f91906131b6565b6040519091505f90732e04434e79bc456c06f3e6e60143bee69b7b0c439083908381818185875af1925050503d805f81146115c5576040519150601f19603f3d011682016040523d82523d5f602084013e6115ca565b606091505b505090508061160d5760405162461bcd60e51b815260206004820152600f60248201526e3330b4b632b2103a3930b739b332b960891b6044820152606401610a7b565b6008546001600160a01b031661162383856131d5565b6040515f81818185875af1925050503d805f811461165c576040519150601f19603f3d011682016040523d82523d5f602084013e611661565b606091505b50508091505080610d0e5760405162461bcd60e51b815260206004820152600f60248201526e3330b4b632b2103a3930b739b332b960891b6044820152606401610a7b565b5f8181526016602052604090206001015460ff16156116d75760405162461bcd60e51b8152600401610a7b9061318d565b610d0e838383612405565b6060600a8054610d22906130ed565b5f610a458261241f565b61170361221b565b61170b612109565b601954610100900460ff16156117335760405162461bcd60e51b8152600401610a7b90612fe4565b600460195460ff16600481111561174c5761174c612db3565b1461178d5760405162461bcd60e51b81526020600482015260116024820152706e6f7420696e2066696e616c206d6f646560781b6044820152606401610a7b565b5f6117966112d8565b6117a2906115b36131d5565b90505f81116117e55760405162461bcd60e51b815260206004820152600f60248201526e72656163686564206d61782071747960881b6044820152606401610a7b565b6117ef82826121d0565b506115046001600955565b5f6001600160a01b038216611822576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61184f61221b565b6118585f612488565b565b61186261221b565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b61188c61221b565b601954610100900460ff16156118b45760405162461bcd60e51b8152600401610a7b90612fe4565b805f5b81811015611937576119278484838181106118d4576118d4613125565b6118ea9260206040909202019081019150612ded565b8585848181106118fc576118fc613125565b905060400201602001602081019061191491906131e8565b6bffffffffffffffffffffffff166124d9565b61193081613175565b90506118b7565b506115b36119465f545f190190565b1115610d0e5760405162461bcd60e51b815260206004820152600a6024820152694f766572737570706c7960b01b6044820152606401610a7b565b61198961221b565b600a610d0e828483613258565b606060038054610d22906130ed565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611a1861221b565b6015805460ff1916911515919091179055565b5f8281526016602052604090206001015460ff1615611a5c5760405162461bcd60e51b8152600401610a7b9061318d565b611a68848484846125d1565b50505050565b611a7661221b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611aa061221b565b601255565b6060611ab0826121e9565b611af05760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610a7b565b600a611afb83612615565b604051602001611b0c929190613313565b6040516020818303038152906040529050919050565b611b2a61221b565b611b32612109565b601954610100900460ff1615611b5a5760405162461bcd60e51b8152600401610a7b90612fe4565b5f60195460ff166004811115611b7257611b72612db3565b14611bb25760405162461bcd60e51b815260206004820152601060248201526f6e6f7420696e20696e6974206d6f646560801b6044820152606401610a7b565b6101e381600b54611bc39190613040565b1115611c045760405162461bcd60e51b815260206004820152601060248201526f6578636565647320676966742071747960801b6044820152606401610a7b565b6115b381611c106112d8565b611c1a9190613040565b1115611c385760405162461bcd60e51b8152600401610a7b90613081565b80600b5f828254611c499190613040565b90915550611c59905082826121d0565b6110416001600955565b611c6b612109565b805f5b81811015611035575f848483818110611c8957611c89613125565b905060200201359050611c9b816116f1565b6001600160a01b0316336001600160a01b03161480611cc457506008546001600160a01b031633145b611ce05760405162461bcd60e51b8152600401610a7b90613139565b5f81815260166020908152604091829020825160608101845281546001600160801b03808216808452600160801b9092041693820184905260019092015460ff1615159381019390935211611d645760405162461bcd60e51b815260206004820152600a6024820152691b9bdd081cdd185ad95960b21b6044820152606401610a7b565b5f8281526016602052604080822080546001600160801b03428116600160801b029116178155600101805460ff1916905551839133917f85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd9190a35050600101611c6e565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611dfd61221b565b6001600160a01b038116611e625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7b565b61150481612488565b611e73612109565b601954610100900460ff1615611e9b5760405162461bcd60e51b8152600401610a7b90612fe4565b600260195460ff166004811115611eb457611eb4612db3565b14611ef75760405162461bcd60e51b81526020600482015260136024820152726e6f7420696e2070726573616c65206d6f646560681b6044820152606401610a7b565b611f363383838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061216292505050565b600f546001600160a01b03908116911614611f875760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610a7b565b323314611fa65760405162461bcd60e51b8152600401610a7b90613004565b6113d083600d54611fb79190613040565b11156120015760405162461bcd60e51b81526020600482015260196024820152786578636565647320746f74616c2070726573616c652071747960381b6044820152606401610a7b565b60018311156120225760405162461bcd60e51b8152600401610a7b90613053565b6115b38361202e6112d8565b6120389190613040565b11156120565760405162461bcd60e51b8152600401610a7b90613081565b335f908152600e6020526040812054906120708583613040565b905060018111156120ba5760405162461bcd60e51b8152602060048201526014602482015273657863656564656420616c6c6f7765642071747960601b6044820152606401610a7b565b84600c546120c891906130af565b34146120e65760405162461bcd60e51b8152600401610a7b906130c6565b335f908152600e60205260408120829055600d8054879290610cf2908490613040565b60026009540361215b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a7b565b6002600955565b6040517f19457468657265756d205369676e6564204d6573736167653a0a33320000000060208201526001600160a01b038316603c8201525f906121c9908390605c01604051602081830303815290604052805190602001206126a590919063ffffffff16565b9392505050565b611041828260405180602001604052805f8152506126c7565b5f816001111580156121fb57505f5482105b8015610a455750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b031633146118585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a7b565b5f61227f8261241f565b9050836001600160a01b0316816001600160a01b0316146122b25760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176122fe576122e18633611dc8565b6122fe57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661232557604051633a954ecd60e21b815260040160405180910390fd5b801561232f575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036123bb57600184015f8181526004602052604081205490036123b9575f5481146123b9575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d0e83838360405180602001604052805f815250611a2b565b5f818060011161246f575f5481101561246f575f8181526004602052604081205490600160e01b8216900361246d575b805f036121c957505f19015f8181526004602052604090205461244f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8054908290036124fd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146125a95780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612573565b50815f036125c957604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6125dc848484611313565b6001600160a01b0383163b15611a68576125f884848484612730565b611a68576040516368d2bf6b60e11b815260040160405180910390fd5b60605f61262183612817565b60010190505f8167ffffffffffffffff81111561264057612640612ed3565b6040519080825280601f01601f19166020018201604052801561266a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461267457509392505050565b5f805f6126b285856128ee565b915091506126bf81612930565b509392505050565b6126d183836124d9565b6001600160a01b0383163b15610d0e575f548281035b6126f95f868380600101945086612730565b612716576040516368d2bf6b60e11b815260040160405180910390fd5b8181106126e757815f5414612729575f80fd5b5050505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612764903390899088908890600401613396565b6020604051808303815f875af192505050801561279e575060408051601f3d908101601f1916820190925261279b918101906133d2565b60015b6127fa573d8080156127cb576040519150601f19603f3d011682016040523d82523d5f602084013e6127d0565b606091505b5080515f036127f2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128555772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612881576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061289f57662386f26fc10000830492506010015b6305f5e10083106128b7576305f5e100830492506008015b61271083106128cb57612710830492506004015b606483106128dd576064830492506002015b600a8310610a455760010192915050565b5f808251604103612922576020830151604084015160608501515f1a61291687828585612a79565b94509450505050612929565b505f905060025b9250929050565b5f81600481111561294357612943612db3565b0361294b5750565b600181600481111561295f5761295f612db3565b036129ac5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a7b565b60028160048111156129c0576129c0612db3565b03612a0d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a7b565b6003816004811115612a2157612a21612db3565b036115045760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a7b565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612aae57505f90506003612b2d565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612aff573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116612b27575f60019250925050612b2d565b91505f90505b94509492505050565b6001600160e01b031981168114611504575f80fd5b5f60208284031215612b5b575f80fd5b81356121c981612b36565b5f8083601f840112612b76575f80fd5b50813567ffffffffffffffff811115612b8d575f80fd5b602083019150836020828501011115612929575f80fd5b5f805f60408486031215612bb6575f80fd5b83359250602084013567ffffffffffffffff811115612bd3575f80fd5b612bdf86828701612b66565b9497909650939450505050565b5f5b83811015612c06578181015183820152602001612bee565b50505f910152565b5f8151808452612c25816020860160208601612bec565b601f01601f19169290920160200192915050565b602081525f6121c96020830184612c0e565b5f60208284031215612c5b575f80fd5b5035919050565b80356001600160a01b0381168114612c78575f80fd5b919050565b5f8060408385031215612c8e575f80fd5b612c9783612c62565b946020939093013593505050565b80358015158114612c78575f80fd5b5f60208284031215612cc4575f80fd5b6121c982612ca5565b5f8060208385031215612cde575f80fd5b823567ffffffffffffffff80821115612cf5575f80fd5b818501915085601f830112612d08575f80fd5b813581811115612d16575f80fd5b8660208260051b8501011115612d2a575f80fd5b60209290920196919550909350505050565b5f8060408385031215612d4d575f80fd5b50508035926020909101359150565b5f60208284031215612d6c575f80fd5b8135600581106121c9575f80fd5b5f805f60608486031215612d8c575f80fd5b612d9584612c62565b9250612da360208501612c62565b9150604084013590509250925092565b634e487b7160e01b5f52602160045260245ffd5b6020810160058310612de757634e487b7160e01b5f52602160045260245ffd5b91905290565b5f60208284031215612dfd575f80fd5b6121c982612c62565b5f8060208385031215612e17575f80fd5b823567ffffffffffffffff80821115612e2e575f80fd5b818501915085601f830112612e41575f80fd5b813581811115612e4f575f80fd5b8660208260061b8501011115612d2a575f80fd5b5f8060208385031215612e74575f80fd5b823567ffffffffffffffff811115612e8a575f80fd5b612e9685828601612b66565b90969095509350505050565b5f8060408385031215612eb3575f80fd5b612ebc83612c62565b9150612eca60208401612ca5565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215612efa575f80fd5b612f0385612c62565b9350612f1160208601612c62565b925060408501359150606085013567ffffffffffffffff80821115612f34575f80fd5b818701915087601f830112612f47575f80fd5b813581811115612f5957612f59612ed3565b604051601f8201601f19908116603f01168101908382118183101715612f8157612f81612ed3565b816040528281528a6020848701011115612f99575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f8060408385031215612fcd575f80fd5b612fd683612c62565b9150612eca60208401612c62565b6020808252600690820152651c185d5cd95960d21b604082015260600190565b6020808252600e908201526d34b73b30b634b21037b934b3b4b760911b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610a4557610a4561302c565b602080825260149082015273195e18d959591cc81c5d1e481c195c881b5a5b9d60621b604082015260600190565b6020808252601490820152736578636565647320746f74616c20737570706c7960601b604082015260600190565b8082028115828204841417610a4557610a4561302c565b6020808252600d908201526c0d2dcc6dee4e4cac6e840cae8d609b1b604082015260600190565b600181811c9082168061310157607f821691505b60208210810361311f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b5f6020828403121561316e575f80fd5b5051919050565b5f600182016131865761318661302c565b5060010190565b6020808252600f908201526e1d1bdad95b881a5cc81cdd185ad959608a1b604082015260600190565b5f826131d057634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610a4557610a4561302c565b5f602082840312156131f8575f80fd5b81356bffffffffffffffffffffffff811681146121c9575f80fd5b601f821115610d0e575f81815260208120601f850160051c810160208610156132395750805b601f850160051c820191505b818110156123fd57828155600101613245565b67ffffffffffffffff83111561327057613270612ed3565b6132848361327e83546130ed565b83613213565b5f601f8411600181146132b5575f851561329e5750838201355b5f19600387901b1c1916600186901b178355612729565b5f83815260209020601f19861690835b828110156132e557868501358255602094850194600190920191016132c5565b5086821015613301575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454613320816130ed565b60018281168015613338576001811461334d57613379565b60ff1984168752821515830287019450613379565b885f526020805f205f5b858110156133705781548a820152908401908201613357565b50505082870194505b50505050835161338d818360208801612bec565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906133c890830184612c0e565b9695505050505050565b5f602082840312156133e2575f80fd5b81516121c981612b3656fea2646970667358221220712b15277b9b107aa0cd483477f8fc093afd846d0543b1242769cf2231a1efab64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000015f09559df63ea34e297fac19e57b58e1d976a7b000000000000000000000000d88642a9b13bccef8a4d8ed953e5ea9b74a78d0600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000398faa697091cdb995da64040e818029389c645000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f63646e2e6b6f6d6f746f7069612e636f6d2f756e72657665616c65642f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : presaleSigner_ (address): 0x15F09559df63eA34e297fAC19E57b58E1D976A7B
Arg [1] : guaranteedSigner_ (address): 0xD88642A9B13BcceF8A4d8eD953E5ea9b74A78d06
Arg [2] : tokenBaseURI_ (string): https://cdn.komotopia.com/unrevealed/
Arg [3] : venomAddress (address): 0x0398FAA697091Cdb995DA64040e818029389C645
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000015f09559df63ea34e297fac19e57b58e1d976a7b
Arg [1] : 000000000000000000000000d88642a9b13bccef8a4d8ed953e5ea9b74a78d06
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000398faa697091cdb995da64040e818029389c645
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [5] : 68747470733a2f2f63646e2e6b6f6d6f746f7069612e636f6d2f756e72657665
Arg [6] : 616c65642f000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
95213:11011:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95768:41;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;95768:41:0;;;;;;;;61834:639;;;;;;;;;;-1:-1:-1;61834:639:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;61834:639:0;582:187:1;99141:973:0;;;;;;:::i;:::-;;:::i;:::-;;95653:42;;;;;;;;;;;;95692:3;95653:42;;62736:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;69227:218::-;;;;;;;;;;-1:-1:-1;69227:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2713:32:1;;;2695:51;;2683:2;2668:18;69227:218:0;2549:203:1;68660:408:0;;;;;;:::i;:::-;;:::i;105423:95::-;;;;;;;;;;-1:-1:-1;105423:95:0;;;;;:::i;:::-;;:::i;101529:704::-;;;;;;;;;;-1:-1:-1;101529:704:0;;;;;:::i;:::-;;:::i;96893:45::-;;;;;;;;;;-1:-1:-1;96893:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;102926:470;;;;;;;;;;-1:-1:-1;102926:470:0;;;;;:::i;:::-;;:::i;104381:87::-;;;;;;;;;;-1:-1:-1;104381:87:0;;;;;:::i;:::-;;:::i;58487:323::-;;;;;;;;;;;;;:::i;95582:39::-;;;;;;;;;;;;95616:5;95582:39;;105229:79;;;;;;;;;;-1:-1:-1;105229:79:0;;;;;:::i;:::-;;:::i;95870:47::-;;;;;;;;;;;;95916:1;95870:47;;105526:212;;;;;;:::i;:::-;;:::i;96996:28::-;;;;;;;;;;-1:-1:-1;96996:28:0;;;;;;;;;;;;;;;:::i;100122:735::-;;;;;;:::i;:::-;;:::i;95924:34::-;;;;;;;;;;;;;;;;104476:114;;;;;;;;;;-1:-1:-1;104476:114:0;;;;;:::i;:::-;;:::i;104716:505::-;;;;;;;;;;;;;:::i;105746:220::-;;;;;;:::i;:::-;;:::i;96116:54::-;;;;;;;;;;-1:-1:-1;96116:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;103635:101;;;;;;;;;;;;;:::i;95816:47::-;;;;;;;;;;;;95858:5;95816:47;;97031:26;;;;;;;;;;-1:-1:-1;97031:26:0;;;;;;;;;;;64129:152;;;;;;;;;;-1:-1:-1;64129:152:0;;;;;:::i;:::-;;:::i;95965:51::-;;;;;;;;;;-1:-1:-1;95965:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;100865:309;;;;;;;;;;-1:-1:-1;100865:309:0;;;;;:::i;:::-;;:::i;96866:20::-;;;;;;;;;;-1:-1:-1;96866:20:0;;;;;;;;59671:233;;;;;;;;;;-1:-1:-1;59671:233:0;;;;;:::i;:::-;;:::i;32722:103::-;;;;;;;;;;;;;:::i;104238:135::-;;;;;;;;;;-1:-1:-1;104238:135:0;;;;;:::i;:::-;;:::i;101182:339::-;;;;;;;;;;-1:-1:-1;101182:339:0;;;;;:::i;:::-;;:::i;96385:50::-;;;;;;;;;;-1:-1:-1;96385:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;96610;;;;;;;;;;-1:-1:-1;96610:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;96610:50:0;;;;-1:-1:-1;;;96610:50:0;;;;;;;;;;;;-1:-1:-1;;;;;6602:15:1;;;6584:34;;6654:15;;;;6649:2;6634:18;;6627:43;6713:14;6706:22;6686:18;;;6679:50;6519:2;6504:18;96610:50:0;6335:400:1;32081:87:0;;;;;;;;;;-1:-1:-1;32154:6:0;;-1:-1:-1;;;;;32154:6:0;32081:87;;103744:123;;;;;;;;;;-1:-1:-1;103744:123:0;;;;;:::i;:::-;;:::i;62912:104::-;;;;;;;;;;;;;:::i;69785:234::-;;;;;;;;;;-1:-1:-1;69785:234:0;;;;;:::i;:::-;;:::i;105316:99::-;;;;;;;;;;-1:-1:-1;105316:99:0;;;;;:::i;:::-;;:::i;96245:40::-;;;;;;;;;;;;;;;;96292:46;;;;;;;;;;;;96337:1;96292:46;;105974:247;;;;;;:::i;:::-;;:::i;104107:123::-;;;;;;;;;;-1:-1:-1;104107:123:0;;;;;:::i;:::-;;:::i;95702:34::-;;;;;;;;;;;;;;;;104598:110;;;;;;;;;;-1:-1:-1;104598:110:0;;;;;:::i;:::-;;:::i;103875:224::-;;;;;;;;;;-1:-1:-1;103875:224:0;;;;;:::i;:::-;;:::i;97453:398::-;;;;;;;;;;-1:-1:-1;97453:398:0;;;;;:::i;:::-;;:::i;102241:677::-;;;;;;;;;;-1:-1:-1;102241:677:0;;;;;:::i;:::-;;:::i;70176:164::-;;;;;;;;;;-1:-1:-1;70176:164:0;;;;;:::i;:::-;;:::i;32980:201::-;;;;;;;;;;-1:-1:-1;32980:201:0;;;;;:::i;:::-;;:::i;96467:21::-;;;;;;;;;;-1:-1:-1;96467:21:0;;;;;;;;96345:33;;;;;;;;;;;;;;;;98178:955;;;;;;:::i;:::-;;:::i;61834:639::-;61919:4;-1:-1:-1;;;;;;;;;62243:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;62320:25:0;;;62243:102;:179;;;-1:-1:-1;;;;;;;;;;62397:25:0;;;62243:179;62223:199;61834:639;-1:-1:-1;;61834:639:0:o;99141:973::-;29058:21;:19;:21::i;:::-;99254:6:::1;::::0;::::1;::::0;::::1;;;99253:7;99245:26;;;;-1:-1:-1::0;;;99245:26:0::1;;;;;;;:::i;:::-;;;;;;;;;99298:12;99290:4;::::0;::::1;;:20;::::0;::::1;;;;;;:::i;:::-;;99282:52;;;::::0;-1:-1:-1;;;99282:52:0;;9490:2:1;99282:52:0::1;::::0;::::1;9472:21:1::0;9529:2;9509:18;;;9502:30;-1:-1:-1;;;9548:18:1;;;9541:49;9607:18;;99282:52:0::1;9288:343:1::0;99282:52:0::1;99373:36;99387:10;99399:9;;99373:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;99373:13:0::1;::::0;-1:-1:-1;;;99373:36:0:i:1;:::-;99353:16;::::0;-1:-1:-1;;;;;99353:16:0;;::::1;:56:::0;::::1;;99345:86;;;::::0;-1:-1:-1;;;99345:86:0;;9838:2:1;99345:86:0::1;::::0;::::1;9820:21:1::0;9877:2;9857:18;;;9850:30;-1:-1:-1;;;9896:18:1;;;9889:47;9953:18;;99345:86:0::1;9636:341:1::0;99345:86:0::1;99450:9;99463:10;99450:23;99442:50;;;;-1:-1:-1::0;;;99442:50:0::1;;;;;;;:::i;:::-;95858:5;99533:3;99511:19;;:25;;;;:::i;:::-;:44;;99503:82;;;::::0;-1:-1:-1;;;99503:82:0;;10789:2:1;99503:82:0::1;::::0;::::1;10771:21:1::0;10828:2;10808:18;;;10801:30;-1:-1:-1;;;10847:18:1;;;10840:55;10912:18;;99503:82:0::1;10587:349:1::0;99503:82:0::1;96108:1;99604:3;:29;;99596:62;;;;-1:-1:-1::0;;;99596:62:0::1;;;;;;;:::i;:::-;95616:5;99693:3;99677:13;:11;:13::i;:::-;:19;;;;:::i;:::-;:30;;99669:63;;;;-1:-1:-1::0;;;99669:63:0::1;;;;;;;:::i;:::-;99782:10;99745:14;99762:31:::0;;;:19:::1;:31;::::0;;;;;;99821:12:::1;99830:3:::0;99762:31;99821:12:::1;:::i;:::-;99804:29;;96108:1;99852:6;:32;;99844:65;;;::::0;-1:-1:-1;;;99844:65:0;;11841:2:1;99844:65:0::1;::::0;::::1;11823:21:1::0;11880:2;11860:18;;;11853:30;-1:-1:-1;;;11899:18:1;;;11892:50;11959:18;;99844:65:0::1;11639:344:1::0;99844:65:0::1;99958:3;99943:12;;:18;;;;:::i;:::-;99930:9;:31;99922:57;;;;-1:-1:-1::0;;;99922:57:0::1;;;;;;;:::i;:::-;100010:10;99990:31;::::0;;;:19:::1;:31;::::0;;;;:40;;;100041:19:::1;:26:::0;;100064:3;;99990:31;100041:26:::1;::::0;100064:3;;100041:26:::1;:::i;:::-;::::0;;;-1:-1:-1;100080:26:0::1;::::0;-1:-1:-1;100090:10:0::1;100102:3:::0;100080:9:::1;:26::i;:::-;99234:880;;29102:20:::0;28496:1;29622:7;:22;29439:213;29102:20;99141:973;;;:::o;62736:100::-;62790:13;62823:5;62816:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62736:100;:::o;69227:218::-;69303:7;69328:16;69336:7;69328;:16::i;:::-;69323:64;;69353:34;;-1:-1:-1;;;69353:34:0;;;;;;;;;;;69323:64;-1:-1:-1;69407:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;69407:30:0;;69227:218::o;68660:408::-;68749:13;68765:16;68773:7;68765;:16::i;:::-;68749:32;-1:-1:-1;92993:10:0;-1:-1:-1;;;;;68798:28:0;;;68794:175;;68846:44;68863:5;92993:10;70176:164;:::i;68846:44::-;68841:128;;68918:35;;-1:-1:-1;;;68918:35:0;;;;;;;;;;;68841:128;68981:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;68981:35:0;-1:-1:-1;;;;;68981:35:0;;;;;;;;;69032:28;;68981:24;;69032:28;;;;;;;68738:330;68660:408;;:::o;105423:95::-;31967:13;:11;:13::i;:::-;105490:8:::1;:20:::0;;-1:-1:-1;;105490:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;105423:95::o;101529:704::-;29058:21;:19;:21::i;:::-;101639:9:::1;::::0;::::1;;101631:41;;;::::0;-1:-1:-1;;;101631:41:0;;13090:2:1;101631:41:0::1;::::0;::::1;13072:21:1::0;13129:2;13109:18;;;13102:30;-1:-1:-1;;;13148:18:1;;;13141:49;13207:18;;101631:41:0::1;12888:343:1::0;101631:41:0::1;101701:8:::0;101687:11:::1;101731:484;101755:3;101751:1;:7;101731:484;;;101784:15;101802:8;;101811:1;101802:11;;;;;;;:::i;:::-;;;;;;;101784:29;;101854:16;101862:7;101854;:16::i;:::-;-1:-1:-1::0;;;;;101840:30:0::1;:10;-1:-1:-1::0;;;;;101840:30:0::1;;:55;;;-1:-1:-1::0;32154:6:0;;-1:-1:-1;;;;;32154:6:0;101874:10:::1;:21;101840:55;101832:79;;;;-1:-1:-1::0;;;101832:79:0::1;;;;;;;:::i;:::-;101971:20;::::0;;;:11:::1;:20;::::0;;;;:31;-1:-1:-1;;;;;;;;101971:31:0;::::1;::::0;::::1;101938:29:::0;::::1;:64;;101930:91;;;::::0;-1:-1:-1;;;101930:91:0;;13910:2:1;101930:91:0::1;::::0;::::1;13892:21:1::0;13949:2;13929:18;;;13922:30;-1:-1:-1;;;13968:18:1;;;13961:44;14022:18;;101930:91:0::1;13708:338:1::0;101930:91:0::1;102040:20;::::0;;;:11:::1;:20;::::0;;;;;:56;;-1:-1:-1;;102040:56:0::1;102080:15;-1:-1:-1::0;;;;;102040:56:0::1;;::::0;;-1:-1:-1;102115:27:0;;::::1;:34:::0;;-1:-1:-1;;102115:34:0::1;::::0;;::::1;::::0;;102173:26;102040:20;;102179:10:::1;::::0;102173:26:::1;::::0;102040:20;102173:26:::1;-1:-1:-1::0;101760:3:0::1;;101731:484;;;;101606:620;29102:20:::0;28496:1;29622:7;:22;29439:213;29102:20;101529:704;;:::o;102926:470::-;29058:21;:19;:21::i;:::-;103026:8:::1;::::0;::::1;;103018:39;;;::::0;-1:-1:-1;;;103018:39:0;;14253:2:1;103018:39:0::1;::::0;::::1;14235:21:1::0;14292:2;14272:18;;;14265:30;-1:-1:-1;;;14311:18:1;;;14304:48;14369:18;;103018:39:0::1;14051:342:1::0;103018:39:0::1;103090:16;103098:7;103090;:16::i;:::-;-1:-1:-1::0;;;;;103076:30:0::1;:10;-1:-1:-1::0;;;;;103076:30:0::1;;103068:54;;;;-1:-1:-1::0;;;103068:54:0::1;;;;;;;:::i;:::-;103141:40;::::0;-1:-1:-1;;;103141:40:0;;103157:10:::1;103141:40;::::0;::::1;14572:51:1::0;14639:18;;;14632:34;;;103184:1:0::1;::::0;103141:5:::1;-1:-1:-1::0;;;;;103141:15:0::1;::::0;::::1;::::0;14545:18:1;;103141:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;103133:73;;;::::0;-1:-1:-1;;;103133:73:0;;15068:2:1;103133:73:0::1;::::0;::::1;15050:21:1::0;15107:2;15087:18;;;15080:30;-1:-1:-1;;;15126:18:1;;;15119:46;15182:18;;103133:73:0::1;14866:340:1::0;103133:73:0::1;103225:19;::::0;;;:10:::1;:19;::::0;;;;;103247:1:::1;-1:-1:-1::0;103217:50:0::1;;;::::0;-1:-1:-1;;;103217:50:0;;15413:2:1;103217:50:0::1;::::0;::::1;15395:21:1::0;15452:2;15432:18;;;15425:30;-1:-1:-1;;;15471:18:1;;;15464:44;15525:18;;103217:50:0::1;15211:338:1::0;103217:50:0::1;103280:40;::::0;-1:-1:-1;;;103280:40:0;;::::1;::::0;::::1;15728:25:1::0;;;103309:10:0::1;15769:18:1::0;;;15762:60;103280:5:0::1;-1:-1:-1::0;;;;;103280:15:0::1;::::0;::::1;::::0;15701:18:1;;103280:40:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;103331:19:0::1;::::0;;;:10:::1;:19;::::0;;;;:21;;;-1:-1:-1;103331:19:0;:21:::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;103370:18:0::1;::::0;103380:7;;103370:18:::1;::::0;;;::::1;29102:20:::0;28496:1;29622:7;:22;29439:213;104381:87;31967:13;:11;:13::i;:::-;104444:6:::1;:16:::0;;;::::1;;;;-1:-1:-1::0;;104444:16:0;;::::1;::::0;;;::::1;::::0;;104381:87::o;58487:323::-;103496:1;58761:12;58548:7;58745:13;:28;-1:-1:-1;;58745:46:0;;58487:323::o;105229:79::-;31967:13;:11;:13::i;:::-;105288:4:::1;:12:::0;;105295:5;;105288:4;-1:-1:-1;;105288:12:0::1;::::0;105295:5;105288:12:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;105229:79:::0;:::o;105526:212::-;105635:20;;;;:11;:20;;;;;:27;;;;;105634:28;105626:56;;;;-1:-1:-1;;;105626:56:0;;;;;;;:::i;:::-;105693:37;105712:4;105718:2;105722:7;105693:18;:37::i;100122:735::-;29058:21;:19;:21::i;:::-;100205:6:::1;::::0;::::1;::::0;::::1;;;100204:7;100196:26;;;;-1:-1:-1::0;;;100196:26:0::1;;;;;;;:::i;:::-;100249:11;100241:4;::::0;::::1;;:19;::::0;::::1;;;;;;:::i;:::-;;100233:50;;;::::0;-1:-1:-1;;;100233:50:0;;16519:2:1;100233:50:0::1;::::0;::::1;16501:21:1::0;16558:2;16538:18;;;16531:30;-1:-1:-1;;;16577:18:1;;;16570:48;16635:18;;100233:50:0::1;16317:342:1::0;100233:50:0::1;100302:9;100315:10;100302:23;100294:50;;;;-1:-1:-1::0;;;100294:50:0::1;;;;;;;:::i;:::-;96337:1;100363:3;:25;;100355:58;;;;-1:-1:-1::0;;;100355:58:0::1;;;;;;;:::i;:::-;95616:5;100448:3;100432:13;:11;:13::i;:::-;:19;;;;:::i;:::-;:30;;100424:63;;;;-1:-1:-1::0;;;100424:63:0::1;;;;;;;:::i;:::-;100533:10;100500:14;100517:27:::0;;;:15:::1;:27;::::0;;;;;;100572:12:::1;100581:3:::0;100517:27;100572:12:::1;:::i;:::-;100555:29;;96337:1;100603:6;:28;;100595:60;;;::::0;-1:-1:-1;;;100595:60:0;;16866:2:1;100595:60:0::1;::::0;::::1;16848:21:1::0;16905:2;16885:18;;;16878:30;-1:-1:-1;;;16924:18:1;;;16917:49;16983:18;;100595:60:0::1;16664:343:1::0;100595:60:0::1;100703:3;100689:11;;:17;;;;:::i;:::-;100676:9;:30;100668:56;;;;-1:-1:-1::0;;;100668:56:0::1;;;;;;;:::i;:::-;100751:10;100735:27;::::0;;;:15:::1;:27;::::0;;;;:36;;;100823:26:::1;::::0;100845:3;100823:9:::1;:26::i;:::-;100185:672;;29102:20:::0;28496:1;29622:7;:22;29439:213;29102:20;100122:735;:::o;104476:114::-;31967:13;:11;:13::i;:::-;104554:12:::1;:28:::0;104476:114::o;104716:505::-;31967:13;:11;:13::i;:::-;104789:21:::1;104829:16:::0;104821:39:::1;;;::::0;-1:-1:-1;;;104821:39:0;;17214:2:1;104821:39:0::1;::::0;::::1;17196:21:1::0;17253:2;17233:18;;;17226:30;-1:-1:-1;;;17272:18:1;;;17265:40;17322:18;;104821:39:0::1;17012:334:1::0;104821:39:0::1;104873:16;104912:3;104892:17;:12:::0;104907:2:::1;104892:17;:::i;:::-;:23;;;;:::i;:::-;104945:92;::::0;104873:42;;-1:-1:-1;104927:12:0::1;::::0;104953:42:::1;::::0;104873;;104927:12;104945:92;104927:12;104945:92;104873:42;104953;104945:92:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104926:111;;;105056:7;105048:35;;;::::0;-1:-1:-1;;;105048:35:0;;18117:2:1;105048:35:0::1;::::0;::::1;18099:21:1::0;18156:2;18136:18;;;18129:30;-1:-1:-1;;;18175:18:1;;;18168:45;18230:18;;105048:35:0::1;17915:339:1::0;105048:35:0::1;32154:6:::0;;-1:-1:-1;;;;;32154:6:0;105139:23:::1;105154:8:::0;105139:12;:23:::1;:::i;:::-;105110:57;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105096:71;;;;;105186:7;105178:35;;;::::0;-1:-1:-1;;;105178:35:0;;18117:2:1;105178:35:0::1;::::0;::::1;18099:21:1::0;18156:2;18136:18;;;18129:30;-1:-1:-1;;;18175:18:1;;;18168:45;18230:18;;105178:35:0::1;17915:339:1::0;105746:220:0;105859:20;;;;:11;:20;;;;;:27;;;;;105858:28;105850:56;;;;-1:-1:-1;;;105850:56:0;;;;;;;:::i;:::-;105917:41;105940:4;105946:2;105950:7;105917:22;:41::i;103635:101::-;103682:13;103715;103708:20;;;;;:::i;64129:152::-;64201:7;64244:27;64263:7;64244:18;:27::i;100865:309::-;31967:13;:11;:13::i;:::-;29058:21:::1;:19;:21::i;:::-;100948:6:::2;::::0;::::2;::::0;::::2;;;100947:7;100939:26;;;;-1:-1:-1::0;;;100939:26:0::2;;;;;;;:::i;:::-;100992:10;100984:4;::::0;::::2;;:18;::::0;::::2;;;;;;:::i;:::-;;100976:48;;;::::0;-1:-1:-1;;;100976:48:0;;18594:2:1;100976:48:0::2;::::0;::::2;18576:21:1::0;18633:2;18613:18;;;18606:30;-1:-1:-1;;;18652:18:1;;;18645:47;18709:18;;100976:48:0::2;18392:341:1::0;100976:48:0::2;101037:16;101066:13;:11;:13::i;:::-;101056:23;::::0;95616:5:::2;101056:23;:::i;:::-;101037:42;;101109:1;101098:8;:12;101090:40;;;::::0;-1:-1:-1;;;101090:40:0;;18940:2:1;101090:40:0::2;::::0;::::2;18922:21:1::0;18979:2;18959:18;;;18952:30;-1:-1:-1;;;18998:18:1;;;18991:45;19053:18;;101090:40:0::2;18738:339:1::0;101090:40:0::2;101143:23;101153:2;101157:8;101143:9;:23::i;:::-;100928:246;29102:20:::1;28496:1:::0;29622:7;:22;29439:213;59671:233;59743:7;-1:-1:-1;;;;;59767:19:0;;59763:60;;59795:28;;-1:-1:-1;;;59795:28:0;;;;;;;;;;;59763:60;-1:-1:-1;;;;;;59841:25:0;;;;;:18;:25;;;;;;53830:13;59841:55;;59671:233::o;32722:103::-;31967:13;:11;:13::i;:::-;32787:30:::1;32814:1;32787:18;:30::i;:::-;32722:103::o:0;104238:135::-;31967:13;:11;:13::i;:::-;104329:16:::1;:36:::0;;-1:-1:-1;;;;;;104329:36:0::1;-1:-1:-1::0;;;;;104329:36:0;;;::::1;::::0;;;::::1;::::0;;104238:135::o;101182:339::-;31967:13;:11;:13::i;:::-;101273:6:::1;::::0;::::1;::::0;::::1;;;101272:7;101264:26;;;;-1:-1:-1::0;;;101264:26:0::1;;;;;;;:::i;:::-;101315:11:::0;101301::::1;101344:110;101368:3;101364:1;:7;101344:110;;;101393:49;101399:11;;101411:1;101399:14;;;;;;;:::i;:::-;:19;::::0;::::1;:14;::::0;;::::1;;:19:::0;;::::1;::::0;-1:-1:-1;101399:19:0::1;:::i;:::-;101420:11;;101432:1;101420:14;;;;;;;:::i;:::-;;;;;;:21;;;;;;;;;;:::i;:::-;101393:49;;:5;:49::i;:::-;101373:3;::::0;::::1;:::i;:::-;;;101344:110;;;;95616:5;101473:14;58963:7:::0;59154:13;-1:-1:-1;;59154:31:0;;58908:296;101473:14:::1;:25;;101464:49;;;::::0;-1:-1:-1;;;101464:49:0;;19581:2:1;101464:49:0::1;::::0;::::1;19563:21:1::0;19620:2;19600:18;;;19593:30;-1:-1:-1;;;19639:18:1;;;19632:40;19689:18;;101464:49:0::1;19379:334:1::0;103744:123:0;31967:13;:11;:13::i;:::-;103830::::1;:29;103846:13:::0;;103830;:29:::1;:::i;62912:104::-:0;62968:13;63001:7;62994:14;;;;;:::i;69785:234::-;92993:10;69880:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;69880:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;69880:60:0;;;;;;;;;;69956:55;;722:41:1;;;69880:49:0;;92993:10;69956:55;;695:18:1;69956:55:0;;;;;;;69785:234;;:::o;105316:99::-;31967:13;:11;:13::i;:::-;105385:9:::1;:22:::0;;-1:-1:-1;;105385:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;105316:99::o;105974:247::-;106107:20;;;;:11;:20;;;;;:27;;;;;106106:28;106098:56;;;;-1:-1:-1;;;106098:56:0;;;;;;;:::i;:::-;106165:48;106188:4;106194:2;106198:7;106207:5;106165:22;:48::i;:::-;105974:247;;;;:::o;104107:123::-;31967:13;:11;:13::i;:::-;104192::::1;:30:::0;;-1:-1:-1;;;;;;104192:30:0::1;-1:-1:-1::0;;;;;104192:30:0;;;::::1;::::0;;;::::1;::::0;;104107:123::o;104598:110::-;31967:13;:11;:13::i;:::-;104674:11:::1;:26:::0;104598:110::o;103875:224::-;103940:13;103974:16;103982:7;103974;:16::i;:::-;103966:46;;;;-1:-1:-1;;;103966:46:0;;21978:2:1;103966:46:0;;;21960:21:1;22017:2;21997:18;;;21990:30;-1:-1:-1;;;22036:18:1;;;22029:47;22093:18;;103966:46:0;21776:341:1;103966:46:0;104056:13;104071:18;:7;:16;:18::i;:::-;104039:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;104025:66;;103875:224;;;:::o;97453:398::-;31967:13;:11;:13::i;:::-;29058:21:::1;:19;:21::i;:::-;97544:6:::2;::::0;::::2;::::0;::::2;;;97543:7;97535:26;;;;-1:-1:-1::0;;;97535:26:0::2;;;;;;;:::i;:::-;97588:9;97580:4;::::0;::::2;;:17;::::0;::::2;;;;;;:::i;:::-;;97572:46;;;::::0;-1:-1:-1;;;97572:46:0;;23349:2:1;97572:46:0::2;::::0;::::2;23331:21:1::0;23388:2;23368:18;;;23361:30;-1:-1:-1;;;23407:18:1;;;23400:46;23463:18;;97572:46:0::2;23147:340:1::0;97572:46:0::2;95692:3;97659;97637:19;;:25;;;;:::i;:::-;:41;;97629:70;;;::::0;-1:-1:-1;;;97629:70:0;;23694:2:1;97629:70:0::2;::::0;::::2;23676:21:1::0;23733:2;23713:18;;;23706:30;-1:-1:-1;;;23752:18:1;;;23745:46;23808:18;;97629:70:0::2;23492:340:1::0;97629:70:0::2;95616:5;97734:3;97718:13;:11;:13::i;:::-;:19;;;;:::i;:::-;:30;;97710:63;;;;-1:-1:-1::0;;;97710:63:0::2;;;;;;;:::i;:::-;97809:3;97786:19;;:26;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;97825:18:0::2;::::0;-1:-1:-1;97835:2:0;97839:3;97825:9:::2;:18::i;:::-;29102:20:::1;28496:1:::0;29622:7;:22;29439:213;102241:677;29058:21;:19;:21::i;:::-;102359:8;102345:11:::1;102389:511;102413:3;102409:1;:7;102389:511;;;102442:15;102460:8;;102469:1;102460:11;;;;;;;:::i;:::-;;;;;;;102442:29;;102512:16;102520:7;102512;:16::i;:::-;-1:-1:-1::0;;;;;102498:30:0::1;:10;-1:-1:-1::0;;;;;102498:30:0::1;;:55;;;-1:-1:-1::0;32154:6:0;;-1:-1:-1;;;;;32154:6:0;102532:10:::1;:21;102498:55;102490:79;;;;-1:-1:-1::0;;;102490:79:0::1;;;;;;;:::i;:::-;102588:21;102612:20:::0;;;:11:::1;:20;::::0;;;;;;;;102588:44;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;102588:44:0;;::::1;::::0;;;-1:-1:-1;;;102588:44:0;;::::1;;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;;;;::::0;;;;;;;102659:27:::1;102651:50;;;::::0;-1:-1:-1;;;102651:50:0;;24039:2:1;102651:50:0::1;::::0;::::1;24021:21:1::0;24078:2;24058:18;;;24051:30;-1:-1:-1;;;24097:18:1;;;24090:40;24147:18;;102651:50:0::1;23837:334:1::0;102651:50:0::1;102720:20;::::0;;;:11:::1;:20;::::0;;;;;:58;;-1:-1:-1;;;;;102762:15:0::1;102720:58:::0;::::1;-1:-1:-1::0;;;102720:58:0::1;::::0;::::1;;::::0;;-1:-1:-1;102797:27:0::1;:35:::0;;-1:-1:-1;;102797:35:0::1;::::0;;102856:28;102732:7;;102864:10:::1;::::0;102856:28:::1;::::0;102720:20;102856:28:::1;-1:-1:-1::0;;102418:3:0::1;;102389:511;;70176:164:::0;-1:-1:-1;;;;;70297:25:0;;;70273:4;70297:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;70176:164::o;32980:201::-;31967:13;:11;:13::i;:::-;-1:-1:-1;;;;;33069:22:0;::::1;33061:73;;;::::0;-1:-1:-1;;;33061:73:0;;24378:2:1;33061:73:0::1;::::0;::::1;24360:21:1::0;24417:2;24397:18;;;24390:30;24456:34;24436:18;;;24429:62;-1:-1:-1;;;24507:18:1;;;24500:36;24553:19;;33061:73:0::1;24176:402:1::0;33061:73:0::1;33145:28;33164:8;33145:18;:28::i;98178:955::-:0;29058:21;:19;:21::i;:::-;98288:6:::1;::::0;::::1;::::0;::::1;;;98287:7;98279:26;;;;-1:-1:-1::0;;;98279:26:0::1;;;;;;;:::i;:::-;98332:12;98324:4;::::0;::::1;;:20;::::0;::::1;;;;;;:::i;:::-;;98316:52;;;::::0;-1:-1:-1;;;98316:52:0;;9490:2:1;98316:52:0::1;::::0;::::1;9472:21:1::0;9529:2;9509:18;;;9502:30;-1:-1:-1;;;9548:18:1;;;9541:49;9607:18;;98316:52:0::1;9288:343:1::0;98316:52:0::1;98404:36;98418:10;98430:9;;98404:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;98404:13:0::1;::::0;-1:-1:-1;;;98404:36:0:i:1;:::-;98387:13;::::0;-1:-1:-1;;;;;98387:13:0;;::::1;:53:::0;::::1;;98379:83;;;::::0;-1:-1:-1;;;98379:83:0;;9838:2:1;98379:83:0::1;::::0;::::1;9820:21:1::0;9877:2;9857:18;;;9850:30;-1:-1:-1;;;9896:18:1;;;9889:47;9953:18;;98379:83:0::1;9636:341:1::0;98379:83:0::1;98481:9;98494:10;98481:23;98473:50;;;;-1:-1:-1::0;;;98473:50:0::1;;;;;;;:::i;:::-;95858:5;98564:3;98542:19;;:25;;;;:::i;:::-;:44;;98534:82;;;::::0;-1:-1:-1;;;98534:82:0;;10789:2:1;98534:82:0::1;::::0;::::1;10771:21:1::0;10828:2;10808:18;;;10801:30;-1:-1:-1;;;10847:18:1;;;10840:55;10912:18;;98534:82:0::1;10587:349:1::0;98534:82:0::1;95916:1;98635:3;:26;;98627:59;;;;-1:-1:-1::0;;;98627:59:0::1;;;;;;;:::i;:::-;95616:5;98721:3;98705:13;:11;:13::i;:::-;:19;;;;:::i;:::-;:30;;98697:63;;;;-1:-1:-1::0;;;98697:63:0::1;;;;;;;:::i;:::-;98807:10;98773:14;98790:28:::0;;;:16:::1;:28;::::0;;;;;;98846:12:::1;98855:3:::0;98790:28;98846:12:::1;:::i;:::-;98829:29;;95916:1;98877:6;:29;;98869:62;;;::::0;-1:-1:-1;;;98869:62:0;;11841:2:1;98869:62:0::1;::::0;::::1;11823:21:1::0;11880:2;11860:18;;;11853:30;-1:-1:-1;;;11899:18:1;;;11892:50;11959:18;;98869:62:0::1;11639:344:1::0;98869:62:0::1;98980:3;98965:12;;:18;;;;:::i;:::-;98952:9;:31;98944:57;;;;-1:-1:-1::0;;;98944:57:0::1;;;;;;;:::i;:::-;99029:10;99012:28;::::0;;;:16:::1;:28;::::0;;;;:37;;;99060:19:::1;:26:::0;;99083:3;;99012:28;99060:26:::1;::::0;99083:3;;99060:26:::1;:::i;29138:293::-:0;28540:1;29272:7;;:19;29264:63;;;;-1:-1:-1;;;29264:63:0;;24785:2:1;29264:63:0;;;24767:21:1;24824:2;24804:18;;;24797:30;24863:33;24843:18;;;24836:61;24914:18;;29264:63:0;24583:355:1;29264:63:0;28540:1;29405:7;:18;29138:293::o;97859:311::-;97996:136;;25185:66:1;97996:136:0;;;25173:79:1;-1:-1:-1;;;;;98092:24:0;;25268:12:1;;;25261:28;97945:7:0;;97972:190;;98152:9;;25305:12:1;;97996:136:0;;;;;;;;;;;;97972:171;;;;;;:179;;:190;;;;:::i;:::-;97965:197;97859:311;-1:-1:-1;;;97859:311:0:o;86738:112::-;86815:27;86825:2;86829:8;86815:27;;;;;;;;;;;;:9;:27::i;70598:282::-;70663:4;70719:7;103496:1;70700:26;;:66;;;;;70753:13;;70743:7;:23;70700:66;:153;;;;-1:-1:-1;;70804:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;70804:44:0;:49;;70598:282::o;32246:132::-;32154:6;;-1:-1:-1;;;;;32154:6:0;92993:10;32310:23;32302:68;;;;-1:-1:-1;;;32302:68:0;;25530:2:1;32302:68:0;;;25512:21:1;;;25549:18;;;25542:30;25608:34;25588:18;;;25581:62;25660:18;;32302:68:0;25328:356:1;72866:2825:0;73008:27;73038;73057:7;73038:18;:27::i;:::-;73008:57;;73123:4;-1:-1:-1;;;;;73082:45:0;73098:19;-1:-1:-1;;;;;73082:45:0;;73078:86;;73136:28;;-1:-1:-1;;;73136:28:0;;;;;;;;;;;73078:86;73178:27;71974:24;;;:15;:24;;;;;72202:26;;92993:10;71599:30;;;-1:-1:-1;;;;;71292:28:0;;71577:20;;;71574:56;73364:180;;73457:43;73474:4;92993:10;70176:164;:::i;73457:43::-;73452:92;;73509:35;;-1:-1:-1;;;73509:35:0;;;;;;;;;;;73452:92;-1:-1:-1;;;;;73561:16:0;;73557:52;;73586:23;;-1:-1:-1;;;73586:23:0;;;;;;;;;;;73557:52;73758:15;73755:160;;;73898:1;73877:19;73870:30;73755:160;-1:-1:-1;;;;;74295:24:0;;;;;;;:18;:24;;;;;;74293:26;;-1:-1:-1;;74293:26:0;;;74364:22;;;;;;;;;74362:24;;-1:-1:-1;74362:24:0;;;67518:11;67493:23;67489:41;67476:63;-1:-1:-1;;;67476:63:0;74657:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;74952:47:0;;:52;;74948:627;;75057:1;75047:11;;75025:19;75180:30;;;:17;:30;;;;;;:35;;75176:384;;75318:13;;75303:11;:28;75299:242;;75465:30;;;;:17;:30;;;;;:52;;;75299:242;75006:569;74948:627;75622:7;75618:2;-1:-1:-1;;;;;75603:27:0;75612:4;-1:-1:-1;;;;;75603:27:0;;;;;;;;;;;75641:42;72997:2694;;;72866:2825;;;:::o;75787:193::-;75933:39;75950:4;75956:2;75960:7;75933:39;;;;;;;;;;;;:16;:39::i;65284:1275::-;65351:7;65386;;103496:1;65435:23;65431:1061;;65488:13;;65481:4;:20;65477:1015;;;65526:14;65543:23;;;:17;:23;;;;;;;-1:-1:-1;;;65632:24:0;;:29;;65628:845;;66297:113;66304:6;66314:1;66304:11;66297:113;;-1:-1:-1;;;66375:6:0;66357:25;;;;:17;:25;;;;;;66297:113;;65628:845;65503:989;65477:1015;66520:31;;-1:-1:-1;;;66520:31:0;;;;;;;;;;;33341:191;33434:6;;;-1:-1:-1;;;;;33451:17:0;;;-1:-1:-1;;;;;;33451:17:0;;;;;;;33484:40;;33434:6;;;33451:17;33434:6;;33484:40;;33415:16;;33484:40;33404:128;33341:191;:::o;80247:2966::-;80320:20;80343:13;;;80371;;;80367:44;;80393:18;;-1:-1:-1;;;80393:18:0;;;;;;;;;;;80367:44;-1:-1:-1;;;;;80899:22:0;;;;;;:18;:22;;;;53968:2;80899:22;;;:71;;80937:32;80925:45;;80899:71;;;81213:31;;;:17;:31;;;;;-1:-1:-1;67949:15:0;;67923:24;67919:46;67518:11;67493:23;67489:41;67486:52;67476:63;;81213:173;;81448:23;;;;81213:31;;80899:22;;82213:25;80899:22;;82066:335;82727:1;82713:12;82709:20;82667:346;82768:3;82759:7;82756:16;82667:346;;82986:7;82976:8;82973:1;82946:25;82943:1;82940;82935:59;82821:1;82808:15;82667:346;;;82671:77;83046:8;83058:1;83046:13;83042:45;;83068:19;;-1:-1:-1;;;83068:19:0;;;;;;;;;;;83042:45;83104:13;:19;-1:-1:-1;99141:973:0;;;:::o;76578:407::-;76753:31;76766:4;76772:2;76776:7;76753:12;:31::i;:::-;-1:-1:-1;;;;;76799:14:0;;;:19;76795:183;;76838:56;76869:4;76875:2;76879:7;76888:5;76838:30;:56::i;:::-;76833:145;;76922:40;;-1:-1:-1;;;76922:40:0;;;;;;;;;;;14953:716;15009:13;15060:14;15077:17;15088:5;15077:10;:17::i;:::-;15097:1;15077:21;15060:38;;15113:20;15147:6;15136:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15136:18:0;-1:-1:-1;15113:41:0;-1:-1:-1;15278:28:0;;;15294:2;15278:28;15335:288;-1:-1:-1;;15367:5:0;-1:-1:-1;;;15504:2:0;15493:14;;15488:30;15367:5;15475:44;15565:2;15556:11;;;-1:-1:-1;15586:21:0;15335:288;15586:21;-1:-1:-1;15644:6:0;14953:716;-1:-1:-1;;;14953:716:0:o;21111:231::-;21189:7;21210:17;21229:18;21251:27;21262:4;21268:9;21251:10;:27::i;:::-;21209:69;;;;21289:18;21301:5;21289:11;:18::i;:::-;-1:-1:-1;21325:9:0;21111:231;-1:-1:-1;;;21111:231:0:o;85965:689::-;86096:19;86102:2;86106:8;86096:5;:19::i;:::-;-1:-1:-1;;;;;86157:14:0;;;:19;86153:483;;86197:11;86211:13;86259:14;;;86292:233;86323:62;86362:1;86366:2;86370:7;;;;;;86379:5;86323:30;:62::i;:::-;86318:167;;86421:40;;-1:-1:-1;;;86421:40:0;;;;;;;;;;;86318:167;86520:3;86512:5;:11;86292:233;;86607:3;86590:13;;:20;86586:34;;86612:8;;;86586:34;86178:458;;85965:689;;;:::o;79069:716::-;79253:88;;-1:-1:-1;;;79253:88:0;;79232:4;;-1:-1:-1;;;;;79253:45:0;;;;;:88;;92993:10;;79320:4;;79326:7;;79335:5;;79253:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79253:88:0;;;;;;;;-1:-1:-1;;79253:88:0;;;;;;;;;;;;:::i;:::-;;;79249:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79536:6;:13;79553:1;79536:18;79532:235;;79582:40;;-1:-1:-1;;;79582:40:0;;;;;;;;;;;79532:235;79725:6;79719:13;79710:6;79706:2;79702:15;79695:38;79249:529;-1:-1:-1;;;;;;79412:64:0;-1:-1:-1;;;79412:64:0;;-1:-1:-1;79069:716:0;;;;;;:::o;11787:948::-;11840:7;;-1:-1:-1;;;11918:17:0;;11914:106;;-1:-1:-1;;;11956:17:0;;;-1:-1:-1;12002:2:0;11992:12;11914:106;12047:8;12038:5;:17;12034:106;;12085:8;12076:17;;;-1:-1:-1;12122:2:0;12112:12;12034:106;12167:8;12158:5;:17;12154:106;;12205:8;12196:17;;;-1:-1:-1;12242:2:0;12232:12;12154:106;12287:7;12278:5;:16;12274:103;;12324:7;12315:16;;;-1:-1:-1;12360:1:0;12350:11;12274:103;12404:7;12395:5;:16;12391:103;;12441:7;12432:16;;;-1:-1:-1;12477:1:0;12467:11;12391:103;12521:7;12512:5;:16;12508:103;;12558:7;12549:16;;;-1:-1:-1;12594:1:0;12584:11;12508:103;12638:7;12629:5;:16;12625:68;;12676:1;12666:11;12721:6;11787:948;-1:-1:-1;;11787:948:0:o;19562:747::-;19643:7;19652:12;19681:9;:16;19701:2;19681:22;19677:625;;20025:4;20010:20;;20004:27;20075:4;20060:20;;20054:27;20133:4;20118:20;;20112:27;19720:9;20104:36;20176:25;20187:4;20104:36;20004:27;20054;20176:10;:25::i;:::-;20169:32;;;;;;;;;19677:625;-1:-1:-1;20250:1:0;;-1:-1:-1;20254:35:0;19677:625;19562:747;;;;;:::o;17955:521::-;18033:20;18024:5;:29;;;;;;;;:::i;:::-;;18020:449;;17955:521;:::o;18020:449::-;18131:29;18122:5;:38;;;;;;;;:::i;:::-;;18118:351;;18177:34;;-1:-1:-1;;;18177:34:0;;26639:2:1;18177:34:0;;;26621:21:1;26678:2;26658:18;;;26651:30;26717:26;26697:18;;;26690:54;26761:18;;18177:34:0;26437:348:1;18118:351:0;18242:35;18233:5;:44;;;;;;;;:::i;:::-;;18229:240;;18294:41;;-1:-1:-1;;;18294:41:0;;26992:2:1;18294:41:0;;;26974:21:1;27031:2;27011:18;;;27004:30;27070:33;27050:18;;;27043:61;27121:18;;18294:41:0;26790:355:1;18229:240:0;18366:30;18357:5;:39;;;;;;;;:::i;:::-;;18353:116;;18413:44;;-1:-1:-1;;;18413:44:0;;27352:2:1;18413:44:0;;;27334:21:1;27391:2;27371:18;;;27364:30;27430:34;27410:18;;;27403:62;-1:-1:-1;;;27481:18:1;;;27474:32;27523:19;;18413:44:0;27150:398:1;22495:1477:0;22583:7;;23517:66;23504:79;;23500:163;;;-1:-1:-1;23616:1:0;;-1:-1:-1;23620:30:0;23600:51;;23500:163;23777:24;;;23760:14;23777:24;;;;;;;;;27780:25:1;;;27853:4;27841:17;;27821:18;;;27814:45;;;;27875:18;;;27868:34;;;27918:18;;;27911:34;;;23777:24:0;;27752:19:1;;23777:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23777:24:0;;-1:-1:-1;;23777:24:0;;;-1:-1:-1;;;;;;;23816:20:0;;23812:103;;23869:1;23873:29;23853:50;;;;;;;23812:103;23935:6;-1:-1:-1;23943:20:0;;-1:-1:-1;22495:1477:0;;;;;;;;:::o;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:347::-;825:8;835:6;889:3;882:4;874:6;870:17;866:27;856:55;;907:1;904;897:12;856:55;-1:-1:-1;930:20:1;;973:18;962:30;;959:50;;;1005:1;1002;995:12;959:50;1042:4;1034:6;1030:17;1018:29;;1094:3;1087:4;1078:6;1070;1066:19;1062:30;1059:39;1056:59;;;1111:1;1108;1101:12;1126:477;1205:6;1213;1221;1274:2;1262:9;1253:7;1249:23;1245:32;1242:52;;;1290:1;1287;1280:12;1242:52;1326:9;1313:23;1303:33;;1387:2;1376:9;1372:18;1359:32;1414:18;1406:6;1403:30;1400:50;;;1446:1;1443;1436:12;1400:50;1485:58;1535:7;1526:6;1515:9;1511:22;1485:58;:::i;:::-;1126:477;;1562:8;;-1:-1:-1;1459:84:1;;-1:-1:-1;;;;1126:477:1:o;1608:250::-;1693:1;1703:113;1717:6;1714:1;1711:13;1703:113;;;1793:11;;;1787:18;1774:11;;;1767:39;1739:2;1732:10;1703:113;;;-1:-1:-1;;1850:1:1;1832:16;;1825:27;1608:250::o;1863:271::-;1905:3;1943:5;1937:12;1970:6;1965:3;1958:19;1986:76;2055:6;2048:4;2043:3;2039:14;2032:4;2025:5;2021:16;1986:76;:::i;:::-;2116:2;2095:15;-1:-1:-1;;2091:29:1;2082:39;;;;2123:4;2078:50;;1863:271;-1:-1:-1;;1863:271:1:o;2139:220::-;2288:2;2277:9;2270:21;2251:4;2308:45;2349:2;2338:9;2334:18;2326:6;2308:45;:::i;2364:180::-;2423:6;2476:2;2464:9;2455:7;2451:23;2447:32;2444:52;;;2492:1;2489;2482:12;2444:52;-1:-1:-1;2515:23:1;;2364:180;-1:-1:-1;2364:180:1:o;2757:173::-;2825:20;;-1:-1:-1;;;;;2874:31:1;;2864:42;;2854:70;;2920:1;2917;2910:12;2854:70;2757:173;;;:::o;2935:254::-;3003:6;3011;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3103:29;3122:9;3103:29;:::i;:::-;3093:39;3179:2;3164:18;;;;3151:32;;-1:-1:-1;;;2935:254:1:o;3194:160::-;3259:20;;3315:13;;3308:21;3298:32;;3288:60;;3344:1;3341;3334:12;3359:180;3415:6;3468:2;3456:9;3447:7;3443:23;3439:32;3436:52;;;3484:1;3481;3474:12;3436:52;3507:26;3523:9;3507:26;:::i;3544:615::-;3630:6;3638;3691:2;3679:9;3670:7;3666:23;3662:32;3659:52;;;3707:1;3704;3697:12;3659:52;3747:9;3734:23;3776:18;3817:2;3809:6;3806:14;3803:34;;;3833:1;3830;3823:12;3803:34;3871:6;3860:9;3856:22;3846:32;;3916:7;3909:4;3905:2;3901:13;3897:27;3887:55;;3938:1;3935;3928:12;3887:55;3978:2;3965:16;4004:2;3996:6;3993:14;3990:34;;;4020:1;4017;4010:12;3990:34;4073:7;4068:2;4058:6;4055:1;4051:14;4047:2;4043:23;4039:32;4036:45;4033:65;;;4094:1;4091;4084:12;4033:65;4125:2;4117:11;;;;;4147:6;;-1:-1:-1;3544:615:1;;-1:-1:-1;;;;3544:615:1:o;4164:248::-;4232:6;4240;4293:2;4281:9;4272:7;4268:23;4264:32;4261:52;;;4309:1;4306;4299:12;4261:52;-1:-1:-1;;4332:23:1;;;4402:2;4387:18;;;4374:32;;-1:-1:-1;4164:248:1:o;4417:265::-;4485:6;4538:2;4526:9;4517:7;4513:23;4509:32;4506:52;;;4554:1;4551;4544:12;4506:52;4593:9;4580:23;4632:1;4625:5;4622:12;4612:40;;4648:1;4645;4638:12;4687:328;4764:6;4772;4780;4833:2;4821:9;4812:7;4808:23;4804:32;4801:52;;;4849:1;4846;4839:12;4801:52;4872:29;4891:9;4872:29;:::i;:::-;4862:39;;4920:38;4954:2;4943:9;4939:18;4920:38;:::i;:::-;4910:48;;5005:2;4994:9;4990:18;4977:32;4967:42;;4687:328;;;;;:::o;5020:127::-;5081:10;5076:3;5072:20;5069:1;5062:31;5112:4;5109:1;5102:15;5136:4;5133:1;5126:15;5152:337;5293:2;5278:18;;5326:1;5315:13;;5305:144;;5371:10;5366:3;5362:20;5359:1;5352:31;5406:4;5403:1;5396:15;5434:4;5431:1;5424:15;5305:144;5458:25;;;5152:337;:::o;5494:186::-;5553:6;5606:2;5594:9;5585:7;5581:23;5577:32;5574:52;;;5622:1;5619;5612:12;5574:52;5645:29;5664:9;5645:29;:::i;5685:645::-;5801:6;5809;5862:2;5850:9;5841:7;5837:23;5833:32;5830:52;;;5878:1;5875;5868:12;5830:52;5918:9;5905:23;5947:18;5988:2;5980:6;5977:14;5974:34;;;6004:1;6001;5994:12;5974:34;6042:6;6031:9;6027:22;6017:32;;6087:7;6080:4;6076:2;6072:13;6068:27;6058:55;;6109:1;6106;6099:12;6058:55;6149:2;6136:16;6175:2;6167:6;6164:14;6161:34;;;6191:1;6188;6181:12;6161:34;6244:7;6239:2;6229:6;6226:1;6222:14;6218:2;6214:23;6210:32;6207:45;6204:65;;;6265:1;6262;6255:12;6740:410;6811:6;6819;6872:2;6860:9;6851:7;6847:23;6843:32;6840:52;;;6888:1;6885;6878:12;6840:52;6928:9;6915:23;6961:18;6953:6;6950:30;6947:50;;;6993:1;6990;6983:12;6947:50;7032:58;7082:7;7073:6;7062:9;7058:22;7032:58;:::i;:::-;7109:8;;7006:84;;-1:-1:-1;6740:410:1;-1:-1:-1;;;;6740:410:1:o;7155:254::-;7220:6;7228;7281:2;7269:9;7260:7;7256:23;7252:32;7249:52;;;7297:1;7294;7287:12;7249:52;7320:29;7339:9;7320:29;:::i;:::-;7310:39;;7368:35;7399:2;7388:9;7384:18;7368:35;:::i;:::-;7358:45;;7155:254;;;;;:::o;7414:127::-;7475:10;7470:3;7466:20;7463:1;7456:31;7506:4;7503:1;7496:15;7530:4;7527:1;7520:15;7546:1138;7641:6;7649;7657;7665;7718:3;7706:9;7697:7;7693:23;7689:33;7686:53;;;7735:1;7732;7725:12;7686:53;7758:29;7777:9;7758:29;:::i;:::-;7748:39;;7806:38;7840:2;7829:9;7825:18;7806:38;:::i;:::-;7796:48;;7891:2;7880:9;7876:18;7863:32;7853:42;;7946:2;7935:9;7931:18;7918:32;7969:18;8010:2;8002:6;7999:14;7996:34;;;8026:1;8023;8016:12;7996:34;8064:6;8053:9;8049:22;8039:32;;8109:7;8102:4;8098:2;8094:13;8090:27;8080:55;;8131:1;8128;8121:12;8080:55;8167:2;8154:16;8189:2;8185;8182:10;8179:36;;;8195:18;;:::i;:::-;8270:2;8264:9;8238:2;8324:13;;-1:-1:-1;;8320:22:1;;;8344:2;8316:31;8312:40;8300:53;;;8368:18;;;8388:22;;;8365:46;8362:72;;;8414:18;;:::i;:::-;8454:10;8450:2;8443:22;8489:2;8481:6;8474:18;8529:7;8524:2;8519;8515;8511:11;8507:20;8504:33;8501:53;;;8550:1;8547;8540:12;8501:53;8606:2;8601;8597;8593:11;8588:2;8580:6;8576:15;8563:46;8651:1;8646:2;8641;8633:6;8629:15;8625:24;8618:35;8672:6;8662:16;;;;;;;7546:1138;;;;;;;:::o;8689:260::-;8757:6;8765;8818:2;8806:9;8797:7;8793:23;8789:32;8786:52;;;8834:1;8831;8824:12;8786:52;8857:29;8876:9;8857:29;:::i;:::-;8847:39;;8905:38;8939:2;8928:9;8924:18;8905:38;:::i;8954:329::-;9156:2;9138:21;;;9195:1;9175:18;;;9168:29;-1:-1:-1;;;9228:2:1;9213:18;;9206:36;9274:2;9259:18;;8954:329::o;9982:338::-;10184:2;10166:21;;;10223:2;10203:18;;;10196:30;-1:-1:-1;;;10257:2:1;10242:18;;10235:44;10311:2;10296:18;;9982:338::o;10325:127::-;10386:10;10381:3;10377:20;10374:1;10367:31;10417:4;10414:1;10407:15;10441:4;10438:1;10431:15;10457:125;10522:9;;;10543:10;;;10540:36;;;10556:18;;:::i;10941:344::-;11143:2;11125:21;;;11182:2;11162:18;;;11155:30;-1:-1:-1;;;11216:2:1;11201:18;;11194:50;11276:2;11261:18;;10941:344::o;11290:::-;11492:2;11474:21;;;11531:2;11511:18;;;11504:30;-1:-1:-1;;;11565:2:1;11550:18;;11543:50;11625:2;11610:18;;11290:344::o;11988:168::-;12061:9;;;12092;;12109:15;;;12103:22;;12089:37;12079:71;;12130:18;;:::i;12161:337::-;12363:2;12345:21;;;12402:2;12382:18;;;12375:30;-1:-1:-1;;;12436:2:1;12421:18;;12414:43;12489:2;12474:18;;12161:337::o;12503:380::-;12582:1;12578:12;;;;12625;;;12646:61;;12700:4;12692:6;12688:17;12678:27;;12646:61;12753:2;12745:6;12742:14;12722:18;12719:38;12716:161;;12799:10;12794:3;12790:20;12787:1;12780:31;12834:4;12831:1;12824:15;12862:4;12859:1;12852:15;12716:161;;12503:380;;;:::o;13236:127::-;13297:10;13292:3;13288:20;13285:1;13278:31;13328:4;13325:1;13318:15;13352:4;13349:1;13342:15;13368:335;13570:2;13552:21;;;13609:2;13589:18;;;13582:30;-1:-1:-1;;;13643:2:1;13628:18;;13621:41;13694:2;13679:18;;13368:335::o;14677:184::-;14747:6;14800:2;14788:9;14779:7;14775:23;14771:32;14768:52;;;14816:1;14813;14806:12;14768:52;-1:-1:-1;14839:16:1;;14677:184;-1:-1:-1;14677:184:1:o;15833:135::-;15872:3;15893:17;;;15890:43;;15913:18;;:::i;:::-;-1:-1:-1;15960:1:1;15949:13;;15833:135::o;15973:339::-;16175:2;16157:21;;;16214:2;16194:18;;;16187:30;-1:-1:-1;;;16248:2:1;16233:18;;16226:45;16303:2;16288:18;;15973:339::o;17483:217::-;17523:1;17549;17539:132;;17593:10;17588:3;17584:20;17581:1;17574:31;17628:4;17625:1;17618:15;17656:4;17653:1;17646:15;17539:132;-1:-1:-1;17685:9:1;;17483:217::o;18259:128::-;18326:9;;;18347:11;;;18344:37;;;18361:18;;:::i;19082:292::-;19140:6;19193:2;19181:9;19172:7;19168:23;19164:32;19161:52;;;19209:1;19206;19199:12;19161:52;19248:9;19235:23;19298:26;19291:5;19287:38;19280:5;19277:49;19267:77;;19340:1;19337;19330:12;19844:545;19946:2;19941:3;19938:11;19935:448;;;19982:1;20007:5;20003:2;19996:17;20052:4;20048:2;20038:19;20122:2;20110:10;20106:19;20103:1;20099:27;20093:4;20089:38;20158:4;20146:10;20143:20;20140:47;;;-1:-1:-1;20181:4:1;20140:47;20236:2;20231:3;20227:12;20224:1;20220:20;20214:4;20210:31;20200:41;;20291:82;20309:2;20302:5;20299:13;20291:82;;;20354:17;;;20335:1;20324:13;20291:82;;20565:1206;20689:18;20684:3;20681:27;20678:53;;;20711:18;;:::i;:::-;20740:94;20830:3;20790:38;20822:4;20816:11;20790:38;:::i;:::-;20784:4;20740:94;:::i;:::-;20860:1;20885:2;20880:3;20877:11;20902:1;20897:616;;;;21557:1;21574:3;21571:93;;;-1:-1:-1;21630:19:1;;;21617:33;21571:93;-1:-1:-1;;20522:1:1;20518:11;;;20514:24;20510:29;20500:40;20546:1;20542:11;;;20497:57;21677:78;;20870:895;;20897:616;19791:1;19784:14;;;19828:4;19815:18;;-1:-1:-1;;20933:17:1;;;21034:9;21056:229;21070:7;21067:1;21064:14;21056:229;;;21159:19;;;21146:33;21131:49;;21266:4;21251:20;;;;21219:1;21207:14;;;;21086:12;21056:229;;;21060:3;21313;21304:7;21301:16;21298:159;;;21437:1;21433:6;21427:3;21421;21418:1;21414:11;21410:21;21406:34;21402:39;21389:9;21384:3;21380:19;21367:33;21363:79;21355:6;21348:95;21298:159;;;21500:1;21494:3;21491:1;21487:11;21483:19;21477:4;21470:33;20870:895;;20565:1206;;;:::o;22122:1020::-;22298:3;22327:1;22360:6;22354:13;22390:36;22416:9;22390:36;:::i;:::-;22445:1;22462:18;;;22489:133;;;;22636:1;22631:356;;;;22455:532;;22489:133;-1:-1:-1;;22522:24:1;;22510:37;;22595:14;;22588:22;22576:35;;22567:45;;;-1:-1:-1;22489:133:1;;22631:356;22662:6;22659:1;22652:17;22692:4;22737:2;22734:1;22724:16;22762:1;22776:165;22790:6;22787:1;22784:13;22776:165;;;22868:14;;22855:11;;;22848:35;22911:16;;;;22805:10;;22776:165;;;22780:3;;;22970:6;22965:3;22961:16;22954:23;;22455:532;;;;;23018:6;23012:13;23034:68;23093:8;23088:3;23081:4;23073:6;23069:17;23034:68;:::i;:::-;23118:18;;22122:1020;-1:-1:-1;;;;22122:1020:1:o;25689:489::-;-1:-1:-1;;;;;25958:15:1;;;25940:34;;26010:15;;26005:2;25990:18;;25983:43;26057:2;26042:18;;26035:34;;;26105:3;26100:2;26085:18;;26078:31;;;25883:4;;26126:46;;26152:19;;26144:6;26126:46;:::i;:::-;26118:54;25689:489;-1:-1:-1;;;;;;25689:489:1:o;26183:249::-;26252:6;26305:2;26293:9;26284:7;26280:23;26276:32;26273:52;;;26321:1;26318;26311:12;26273:52;26353:9;26347:16;26372:30;26396:5;26372:30;:::i
Swarm Source
ipfs://712b15277b9b107aa0cd483477f8fc093afd846d0543b1242769cf2231a1efab
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.