Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
16 CSKSW
Holders
14
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CSKSWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC721HTCxKSW
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-10 */ pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } pragma solidity ^0.8.13; /** * @title UpdatableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the * OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address, * which will bypass registry checks. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract UpdatableOperatorFilterer { error OperatorNotAllowed(address operator); error OnlyOwner(); IOperatorFilterRegistry public operatorFilterRegistry; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) { IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry); operatorFilterRegistry = registry; // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(registry).code.length > 0) { if (subscribe) { registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { registry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be bypassed. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public virtual { if (msg.sender != owner()) { revert OnlyOwner(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @dev assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract */ function owner() public view virtual returns (address); function _checkFilterOperator(address operator) internal view virtual { IOperatorFilterRegistry registry = operatorFilterRegistry; // Check registry code length to facilitate testing in environments without a deployed registry. if (address(registry) != address(0) && address(registry).code.length > 0) { if (!registry.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } pragma solidity ^0.8.13; /** * @title RevokableOperatorFilterer * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The * Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at * any point. As implemented, this abstract contract allows the contract owner to permanently skip the * OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry * address cannot be further updated. * Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer { error RegistryHasBeenRevoked(); error InitialRegistryAddressCannotBeZeroAddress(); bool public isOperatorFilterRegistryRevoked; constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe) { // don't allow creating a contract with a permanently revoked registry if (_registry == address(0)) { revert InitialRegistryAddressCannotBeZeroAddress(); } } function _checkFilterOperator(address operator) internal view virtual override { if (address(operatorFilterRegistry) != address(0)) { super._checkFilterOperator(operator); } } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public override { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); } /** * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner. */ function revokeOperatorFilterRegistry() public { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } // set to zero address to bypass checks operatorFilterRegistry = IOperatorFilterRegistry(address(0)); isOperatorFilterRegistryRevoked = true; } } pragma solidity ^0.8.13; /** * @title RevokableDefaultOperatorFilterer * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription. * Note that OpenSea will disable creator fee enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() RevokableOperatorFilterer(0x000000000000AAeB6D7670E522A718067333cd4E, DEFAULT_SUBSCRIPTION, true) {} } // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // 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; } } // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } pragma solidity 0.8.17; contract ERC721HTCxKSW is Ownable, ERC721Enumerable, RevokableDefaultOperatorFilterer { string private contractUri; string private _baseTokenURI; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Only minter can do mint. mapping (address => bool) minters; // Record the minted quantity of each address mapping (address => uint256) public mintedQuantity; // maxMintQuantity for each address uint256 public maxMintQuantity; event SpecialBurn( address owner, uint256 tokenIdA, uint256 tokenIdB, uint256 tokenIdC ); event MinterRoleChanged(address account, bool isMinter); event ContractUriChanged(string contractUri); event BaseUriChanged(string baseUri); event TokenUriChanged(uint256 tokenId, string tokenUri); event MaxMintQuantityChanged(address account, uint256 quantity); event ClearMintedQuantity(address account); constructor( string memory _name, string memory _symbol, string memory _contractUri ) ERC721(_name, _symbol) { contractUri = _contractUri; } function contractURI() external view returns (string memory) { return contractUri; } function setContractUri(string memory _uri) external onlyOwner { contractUri = _uri; emit ContractUriChanged(_uri); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseUri(string memory baseTokenURI) external onlyOwner { _baseTokenURI = baseTokenURI; emit BaseUriChanged(baseTokenURI); } function getBaseUri() external view returns (string memory) { return _baseTokenURI; } function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner { _setTokenURI(tokenId, _tokenURI); } function grantMinterRole(address account) external onlyOwner { if(minters[account] != true) { minters[account] = true; emit MinterRoleChanged(account, true); } } function revokeMinterRole(address account) external onlyOwner { if(minters[account] == true) { minters[account] = false; emit MinterRoleChanged(account, false); } } function hasMinterRole(address account) public view returns (bool) { return minters[account]; } function mint(address to, uint256 _tokenId, string memory _tokenURI) external { require(hasMinterRole(msg.sender), "Caller is not the minter"); require(mintedQuantity[to] < maxMintQuantity, "Already reach max mint quantity"); mintedQuantity[to] = mintedQuantity[to] + 1; // We cannot just use balanceOf to create the new tokenId because tokens // can be burned (destroyed), so we need a separate counter. _safeMint(to, _tokenId); _setTokenURI(_tokenId, _tokenURI); } function setMaxMintQuantity(uint256 quantity) external onlyOwnerOrMinter { maxMintQuantity = quantity; emit MaxMintQuantityChanged(msg.sender, quantity); } function clearMintedQuantity(address account) external onlyOwnerOrMinter { mintedQuantity[account] = 0; emit ClearMintedQuantity(account); } // Burn 3 tokens at a time. function batchBurn(uint256 _tokenIdA, uint256 _tokenIdB, uint256 _tokenIdC) external { require(ownerOf(_tokenIdA) == msg.sender, "ERC721: batchBurn caller is not owner"); require(ownerOf(_tokenIdB) == msg.sender, "ERC721: batchBurn caller is not owner"); require(ownerOf(_tokenIdC) == msg.sender, "ERC721: batchBurn caller is not owner"); _burn(_tokenIdA); _burn(_tokenIdB); _burn(_tokenIdC); // Since this function is for special purpose, add another event. emit SpecialBurn(msg.sender, _tokenIdA, _tokenIdB, _tokenIdC); } function burn(uint256 _tokenId) external { require(ownerOf(_tokenId) == msg.sender, "ERC721: burn caller is not owner"); _burn(_tokenId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If base URI is exist, go ERC721 tokenURI, base+id return super.tokenURI(tokenId); } function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; emit TokenUriChanged(tokenId, _tokenURI); } modifier onlyOwnerOrMinter() { require(owner() == _msgSender() || hasMinterRole(_msgSender()), "Ownable: caller is not the owner or minter"); _; } function setApprovalForAll(address operator, bool approved) public override (ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override (ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function owner() public view virtual override (Ownable, UpdatableOperatorFilterer) returns (address) { return Ownable.owner(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_contractUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","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":false,"internalType":"string","name":"baseUri","type":"string"}],"name":"BaseUriChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"ClearMintedQuantity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractUri","type":"string"}],"name":"ContractUriChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"MaxMintQuantityChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isMinter","type":"bool"}],"name":"MinterRoleChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenIdB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenIdC","type":"uint256"}],"name":"SpecialBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"tokenUri","type":"string"}],"name":"TokenUriChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIdA","type":"uint256"},{"internalType":"uint256","name":"_tokenIdB","type":"uint256"},{"internalType":"uint256","name":"_tokenIdC","type":"uint256"}],"name":"batchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"clearMintedQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasMinterRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setMaxMintQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002ebc38038062002ebc833981016040819052620000349162000322565b6daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb6600182828288886200006a336200020d565b600162000078838262000442565b50600262000087828262000442565b5050600b80546001600160a01b0319166001600160a01b0386169081179091558491503b15620001c35781156200012257604051633e9f1edf60e11b81523060048201526001600160a01b038481166024830152821690637d3e3dbe906044015b600060405180830381600087803b1580156200010357600080fd5b505af115801562000118573d6000803e3d6000fd5b50505050620001c3565b6001600160a01b03831615620001675760405163a0af290360e01b81523060048201526001600160a01b03848116602483015282169063a0af290390604401620000e8565b604051632210724360e11b81523060048201526001600160a01b03821690634420e48690602401600060405180830381600087803b158015620001a957600080fd5b505af1158015620001be573d6000803e3d6000fd5b505050505b5050506001600160a01b0384169050620001f05760405163c49d17ad60e01b815260040160405180910390fd5b50600c9150620002039050828262000442565b505050506200050e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028557600080fd5b81516001600160401b0380821115620002a257620002a26200025d565b604051601f8301601f19908116603f01168101908282118183101715620002cd57620002cd6200025d565b81604052838152602092508683858801011115620002ea57600080fd5b600091505b838210156200030e5785820183015181830184015290820190620002ef565b600093810190920192909252949350505050565b6000806000606084860312156200033857600080fd5b83516001600160401b03808211156200035057600080fd5b6200035e8783880162000273565b945060208601519150808211156200037557600080fd5b620003838783880162000273565b935060408601519150808211156200039a57600080fd5b50620003a98682870162000273565b9150509250925092565b600181811c90821680620003c857607f821691505b602082108103620003e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043d57600081815260208120601f850160051c81016020861015620004185750805b601f850160051c820191505b81811015620004395782815560010162000424565b5050505b505050565b81516001600160401b038111156200045e576200045e6200025d565b62000476816200046f8454620003b3565b84620003ef565b602080601f831160018114620004ae5760008415620004955750858301515b600019600386901b1c1916600185901b17855562000439565b600085815260208120601f198616915b82811015620004df57888601518255948401946001909101908401620004be565b5085821015620004fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61299e806200051e6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063b8d1e532116100b8578063e1f860bd1161007c578063e1f860bd146104c8578063e8a3d485146104db578063e985e9c5146104e3578063ecba222a1461051f578063f2fde38b1461053357600080fd5b8063b8d1e53214610469578063c87b56dd1461047c578063ccb4807b1461048f578063d3fc9864146104a2578063d7ad08d3146104b557600080fd5b8063a0bcfc7f116100ff578063a0bcfc7f14610414578063a22cb46514610427578063ae9aea6d1461043a578063b0ccc31e14610443578063b88d4fde1461045657600080fd5b806370a08231146103e0578063715018a6146103f35780638da5cb5b146103fb57806395d89b411461040c57600080fd5b80632f745c59116101be5780634f6ccce7116101825780634f6ccce71461038c5780635ef9432a1461039f5780636352211e146103a757806363cc12d1146103ba57806369e2f0fb146103cd57600080fd5b80632f745c59146103205780633dd1eb6114610333578063413dc9fd1461034657806342842e0e1461036657806342966c681461037957600080fd5b8063099db01711610205578063099db017146102b45780630cac36b2146102e0578063162094c4146102e857806318160ddd146102fb57806323b872dd1461030d57600080fd5b806301ffc9a71461023757806306fdde031461025f578063081812fc14610274578063095ea7b31461029f575b600080fd5b61024a6102453660046121b1565b610546565b60405190151581526020015b60405180910390f35b610267610571565b604051610256919061221e565b610287610282366004612231565b610603565b6040516001600160a01b039091168152602001610256565b6102b26102ad366004612266565b61062a565b005b61024a6102c2366004612290565b6001600160a01b03166000908152600f602052604090205460ff1690565b610267610643565b6102b26102f6366004612357565b610652565b6009545b604051908152602001610256565b6102b261031b36600461239e565b610668565b6102ff61032e366004612266565b610693565b6102b2610341366004612290565b61072e565b6102ff610354366004612290565b60106020526000908152604090205481565b6102b261037436600461239e565b6107be565b6102b2610387366004612231565b6107e3565b6102ff61039a366004612231565b61084c565b6102b26108df565b6102876103b5366004612231565b61094d565b6102b26103c8366004612290565b6109ad565b6102b26103db366004612290565b610a32565b6102ff6103ee366004612290565b610ab6565b6102b2610b3c565b6000546001600160a01b0316610287565b610267610b50565b6102b26104223660046123da565b610b5f565b6102b261043536600461241d565b610ba3565b6102ff60115481565b600b54610287906001600160a01b031681565b6102b2610464366004612454565b610bb7565b6102b2610477366004612290565b610be4565b61026761048a366004612231565b610c5c565b6102b261049d3660046123da565b610da3565b6102b26104b03660046124d0565b610de7565b6102b26104c3366004612231565b610f00565b6102b26104d6366004612527565b610f74565b61026761106c565b61024a6104f1366004612553565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600b5461024a90600160a01b900460ff1681565b6102b2610541366004612290565b61107b565b60006001600160e01b0319821663780e9d6360e01b148061056b575061056b826110f1565b92915050565b60606001805461058090612586565b80601f01602080910402602001604051908101604052809291908181526020018280546105ac90612586565b80156105f95780601f106105ce576101008083540402835291602001916105f9565b820191906000526020600020905b8154815290600101906020018083116105dc57829003601f168201915b5050505050905090565b600061060e82611141565b506000908152600560205260409020546001600160a01b031690565b81610634816111a0565b61063e83836111ba565b505050565b6060600d805461058090612586565b61065a6112ca565b6106648282611324565b5050565b826001600160a01b038116331461068257610682336111a0565b61068d8484846113f5565b50505050565b600061069e83610ab6565b82106107055760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6107366112ca565b6001600160a01b0381166000908152600f602052604090205460ff1615156001146107bb576001600160a01b0381166000818152600f6020908152604091829020805460ff191660019081179091558251938452908301527f0dfe125844182931a142d83434ec10aa591c730e0b3065ff5dce283cee857d5c91015b60405180910390a15b50565b826001600160a01b03811633146107d8576107d8336111a0565b61068d848484611426565b336107ed8261094d565b6001600160a01b0316146108435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206275726e2063616c6c6572206973206e6f74206f776e657260448201526064016106fc565b6107bb81611441565b600061085760095490565b82106108ba5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106fc565b600982815481106108cd576108cd6125c0565b90600052602060002001549050919050565b6000546001600160a01b0316331461090a57604051635fc483c560e01b815260040160405180910390fd5b600b54600160a01b900460ff161561093557604051631551a48f60e11b815260040160405180910390fd5b600b80546001600160a81b031916600160a01b179055565b6000818152600360205260408120546001600160a01b03168061056b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106fc565b6000546001600160a01b03163314806109ca57506109ca336102c2565b6109e65760405162461bcd60e51b81526004016106fc906125d6565b6001600160a01b03811660008181526010602090815260408083209290925590519182527fde47c4047583df7f77a80d1e7444b157ccd3b756c004c81277769913779c4a3891016107b2565b610a3a6112ca565b6001600160a01b0381166000908152600f602052604090205460ff1615156001036107bb576001600160a01b0381166000818152600f60209081526040808320805460ff191690558051938452908301919091527f0dfe125844182931a142d83434ec10aa591c730e0b3065ff5dce283cee857d5c91016107b2565b60006001600160a01b038216610b205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106fc565b506001600160a01b031660009081526004602052604090205490565b610b446112ca565b610b4e60006114e4565b565b60606002805461058090612586565b610b676112ca565b600d610b73828261266e565b507f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516107b2919061221e565b81610bad816111a0565b61063e8383611534565b836001600160a01b0381163314610bd157610bd1336111a0565b610bdd8585858561153f565b5050505050565b6000546001600160a01b03163314610c0f57604051635fc483c560e01b815260040160405180910390fd5b600b54600160a01b900460ff1615610c3a57604051631551a48f60e11b815260040160405180910390fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260409020546060906001600160a01b0316610cdd5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106fc565b6000828152600e602052604081208054610cf690612586565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2290612586565b8015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b820191906000526020600020905b815481529060010190602001808311610d5257829003601f168201915b505050505090506000610d80610643565b90508051600003610d92575092915050565b610d9b84611571565b949350505050565b610dab6112ca565b600c610db7828261266e565b507fe88f8427748def9baf1a4a6a9e77c6d7d2be8ba756acdf3d6e131fc83c1a39d3816040516107b2919061221e565b336000908152600f602052604090205460ff16610e465760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206d696e746572000000000000000060448201526064016106fc565b6011546001600160a01b03841660009081526010602052604090205410610eaf5760405162461bcd60e51b815260206004820152601f60248201527f416c7265616479207265616368206d6178206d696e74207175616e746974790060448201526064016106fc565b6001600160a01b038316600090815260106020526040902054610ed3906001612744565b6001600160a01b038416600090815260106020526040902055610ef683836115d8565b61063e8282611324565b6000546001600160a01b0316331480610f1d5750610f1d336102c2565b610f395760405162461bcd60e51b81526004016106fc906125d6565b601181905560408051338152602081018390527ff3bf06885d1992d5f8f41481728ec2c093d33a48270ee4c52a0dc9bf8816f1ce91016107b2565b33610f7e8461094d565b6001600160a01b031614610fa45760405162461bcd60e51b81526004016106fc90612757565b33610fae8361094d565b6001600160a01b031614610fd45760405162461bcd60e51b81526004016106fc90612757565b33610fde8261094d565b6001600160a01b0316146110045760405162461bcd60e51b81526004016106fc90612757565b61100d83611441565b61101682611441565b61101f81611441565b6040805133815260208101859052908101839052606081018290527f12648cae99b8b2244dedb53a1d2d2634310b3be06c37e06cf134337ef373e3359060800160405180910390a1505050565b6060600c805461058090612586565b6110836112ca565b6001600160a01b0381166110e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106fc565b6107bb816114e4565b60006001600160e01b031982166380ac58cd60e01b148061112257506001600160e01b03198216635b5e139f60e01b145b8061056b57506301ffc9a760e01b6001600160e01b031983161461056b565b6000818152600360205260409020546001600160a01b03166107bb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106fc565b600b546001600160a01b0316156107bb576107bb816115f2565b60006111c58261094d565b9050806001600160a01b0316836001600160a01b0316036112325760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106fc565b336001600160a01b038216148061124e575061124e81336104f1565b6112c05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106fc565b61063e83836116b4565b6000546001600160a01b03163314610b4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106fc565b6000828152600360205260409020546001600160a01b031661139f5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106fc565b6000828152600e602052604090206113b7828261266e565b507f7f4449296e3be94c171d37caee72eddc2e253fe45652e877e931e31d758a544082826040516113e992919061279c565b60405180910390a15050565b6113ff3382611722565b61141b5760405162461bcd60e51b81526004016106fc906127b5565b61063e8383836117a0565b61063e83838360405180602001604052806000815250610bb7565b600061144c8261094d565b905061145c816000846001611911565b6114658261094d565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610664338383611a4a565b6115493383611722565b6115655760405162461bcd60e51b81526004016106fc906127b5565b61068d84848484611b18565b606061157c82611141565b6000611586610643565b905060008151116115a657604051806020016040528060008152506115d1565b806115b084611b4b565b6040516020016115c1929190612802565b6040516020818303038152906040525b9392505050565b610664828260405180602001604052806000815250611bde565b600b546001600160a01b0316801580159061161757506000816001600160a01b03163b115b1561066457604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611668573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168c9190612831565b61066457604051633b79c77360e21b81526001600160a01b03831660048201526024016106fc565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116e98261094d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061172e8361094d565b9050806001600160a01b0316846001600160a01b0316148061177557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610d9b5750836001600160a01b031661178e84610603565b6001600160a01b031614949350505050565b826001600160a01b03166117b38261094d565b6001600160a01b0316146117d95760405162461bcd60e51b81526004016106fc9061284e565b6001600160a01b03821661183b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106fc565b6118488383836001611911565b826001600160a01b031661185b8261094d565b6001600160a01b0316146118815760405162461bcd60e51b81526004016106fc9061284e565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61191d84848484611c11565b600181111561198c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106fc565b816001600160a01b0385166119e8576119e381600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611a0b565b836001600160a01b0316856001600160a01b031614611a0b57611a0b8582611c99565b6001600160a01b038416611a2757611a2281611d36565b610bdd565b846001600160a01b0316846001600160a01b031614610bdd57610bdd8482611de5565b816001600160a01b0316836001600160a01b031603611aab5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106fc565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611b238484846117a0565b611b2f84848484611e29565b61068d5760405162461bcd60e51b81526004016106fc90612893565b60606000611b5883611f2a565b600101905060008167ffffffffffffffff811115611b7857611b786122ab565b6040519080825280601f01601f191660200182016040528015611ba2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bac57509392505050565b611be88383612002565b611bf56000848484611e29565b61063e5760405162461bcd60e51b81526004016106fc90612893565b600181111561068d576001600160a01b03841615611c57576001600160a01b03841660009081526004602052604081208054839290611c519084906128e5565b90915550505b6001600160a01b0383161561068d576001600160a01b03831660009081526004602052604081208054839290611c8e908490612744565b909155505050505050565b60006001611ca684610ab6565b611cb091906128e5565b600083815260086020526040902054909150808214611d03576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611d48906001906128e5565b6000838152600a602052604081205460098054939450909284908110611d7057611d706125c0565b906000526020600020015490508060098381548110611d9157611d916125c0565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611dc957611dc96128f8565b6001900381819060005260206000200160009055905550505050565b6000611df083610ab6565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60006001600160a01b0384163b15611f1f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e6d90339089908890889060040161290e565b6020604051808303816000875af1925050508015611ea8575060408051601f3d908101601f19168201909252611ea59181019061294b565b60015b611f05573d808015611ed6576040519150601f19603f3d011682016040523d82523d6000602084013e611edb565b606091505b508051600003611efd5760405162461bcd60e51b81526004016106fc90612893565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d9b565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f695772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f95576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fb357662386f26fc10000830492506010015b6305f5e1008310611fcb576305f5e100830492506008015b6127108310611fdf57612710830492506004015b60648310611ff1576064830492506002015b600a831061056b5760010192915050565b6001600160a01b0382166120585760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106fc565b6000818152600360205260409020546001600160a01b0316156120bd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fc565b6120cb600083836001611911565b6000818152600360205260409020546001600160a01b0316156121305760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fc565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b0319811681146107bb57600080fd5b6000602082840312156121c357600080fd5b81356115d18161219b565b60005b838110156121e95781810151838201526020016121d1565b50506000910152565b6000815180845261220a8160208601602086016121ce565b601f01601f19169290920160200192915050565b6020815260006115d160208301846121f2565b60006020828403121561224357600080fd5b5035919050565b80356001600160a01b038116811461226157600080fd5b919050565b6000806040838503121561227957600080fd5b6122828361224a565b946020939093013593505050565b6000602082840312156122a257600080fd5b6115d18261224a565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122dc576122dc6122ab565b604051601f8501601f19908116603f01168101908282118183101715612304576123046122ab565b8160405280935085815286868601111561231d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261234857600080fd5b6115d1838335602085016122c1565b6000806040838503121561236a57600080fd5b82359150602083013567ffffffffffffffff81111561238857600080fd5b61239485828601612337565b9150509250929050565b6000806000606084860312156123b357600080fd5b6123bc8461224a565b92506123ca6020850161224a565b9150604084013590509250925092565b6000602082840312156123ec57600080fd5b813567ffffffffffffffff81111561240357600080fd5b610d9b84828501612337565b80151581146107bb57600080fd5b6000806040838503121561243057600080fd5b6124398361224a565b915060208301356124498161240f565b809150509250929050565b6000806000806080858703121561246a57600080fd5b6124738561224a565b93506124816020860161224a565b925060408501359150606085013567ffffffffffffffff8111156124a457600080fd5b8501601f810187136124b557600080fd5b6124c4878235602084016122c1565b91505092959194509250565b6000806000606084860312156124e557600080fd5b6124ee8461224a565b925060208401359150604084013567ffffffffffffffff81111561251157600080fd5b61251d86828701612337565b9150509250925092565b60008060006060848603121561253c57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561256657600080fd5b61256f8361224a565b915061257d6020840161224a565b90509250929050565b600181811c9082168061259a57607f821691505b6020821081036125ba57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726040820152691037b91036b4b73a32b960b11b606082015260800190565b601f82111561063e57600081815260208120601f850160051c810160208610156126475750805b601f850160051c820191505b8181101561266657828155600101612653565b505050505050565b815167ffffffffffffffff811115612688576126886122ab565b61269c816126968454612586565b84612620565b602080601f8311600181146126d157600084156126b95750858301515b600019600386901b1c1916600185901b178555612666565b600085815260208120601f198616915b82811015612700578886015182559484019460019091019084016126e1565b508582101561271e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561056b5761056b61272e565b60208082526025908201527f4552433732313a2062617463684275726e2063616c6c6572206973206e6f742060408201526437bbb732b960d91b606082015260800190565b828152604060208201526000610d9b60408301846121f2565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600083516128148184602088016121ce565b8351908301906128288183602088016121ce565b01949350505050565b60006020828403121561284357600080fd5b81516115d18161240f565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8181038181111561056b5761056b61272e565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612941908301846121f2565b9695505050505050565b60006020828403121561295d57600080fd5b81516115d18161219b56fea2646970667358221220d9f748fddf21368ef9871ad96de49e17d7c5a5b3092624aea1bbcc35f395f79164736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002f436f6e74656d706c6174696e6720536b656c65746f6e206279204b726973746a616e6120532e2057696c6c69616d730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543534b53570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063b8d1e532116100b8578063e1f860bd1161007c578063e1f860bd146104c8578063e8a3d485146104db578063e985e9c5146104e3578063ecba222a1461051f578063f2fde38b1461053357600080fd5b8063b8d1e53214610469578063c87b56dd1461047c578063ccb4807b1461048f578063d3fc9864146104a2578063d7ad08d3146104b557600080fd5b8063a0bcfc7f116100ff578063a0bcfc7f14610414578063a22cb46514610427578063ae9aea6d1461043a578063b0ccc31e14610443578063b88d4fde1461045657600080fd5b806370a08231146103e0578063715018a6146103f35780638da5cb5b146103fb57806395d89b411461040c57600080fd5b80632f745c59116101be5780634f6ccce7116101825780634f6ccce71461038c5780635ef9432a1461039f5780636352211e146103a757806363cc12d1146103ba57806369e2f0fb146103cd57600080fd5b80632f745c59146103205780633dd1eb6114610333578063413dc9fd1461034657806342842e0e1461036657806342966c681461037957600080fd5b8063099db01711610205578063099db017146102b45780630cac36b2146102e0578063162094c4146102e857806318160ddd146102fb57806323b872dd1461030d57600080fd5b806301ffc9a71461023757806306fdde031461025f578063081812fc14610274578063095ea7b31461029f575b600080fd5b61024a6102453660046121b1565b610546565b60405190151581526020015b60405180910390f35b610267610571565b604051610256919061221e565b610287610282366004612231565b610603565b6040516001600160a01b039091168152602001610256565b6102b26102ad366004612266565b61062a565b005b61024a6102c2366004612290565b6001600160a01b03166000908152600f602052604090205460ff1690565b610267610643565b6102b26102f6366004612357565b610652565b6009545b604051908152602001610256565b6102b261031b36600461239e565b610668565b6102ff61032e366004612266565b610693565b6102b2610341366004612290565b61072e565b6102ff610354366004612290565b60106020526000908152604090205481565b6102b261037436600461239e565b6107be565b6102b2610387366004612231565b6107e3565b6102ff61039a366004612231565b61084c565b6102b26108df565b6102876103b5366004612231565b61094d565b6102b26103c8366004612290565b6109ad565b6102b26103db366004612290565b610a32565b6102ff6103ee366004612290565b610ab6565b6102b2610b3c565b6000546001600160a01b0316610287565b610267610b50565b6102b26104223660046123da565b610b5f565b6102b261043536600461241d565b610ba3565b6102ff60115481565b600b54610287906001600160a01b031681565b6102b2610464366004612454565b610bb7565b6102b2610477366004612290565b610be4565b61026761048a366004612231565b610c5c565b6102b261049d3660046123da565b610da3565b6102b26104b03660046124d0565b610de7565b6102b26104c3366004612231565b610f00565b6102b26104d6366004612527565b610f74565b61026761106c565b61024a6104f1366004612553565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600b5461024a90600160a01b900460ff1681565b6102b2610541366004612290565b61107b565b60006001600160e01b0319821663780e9d6360e01b148061056b575061056b826110f1565b92915050565b60606001805461058090612586565b80601f01602080910402602001604051908101604052809291908181526020018280546105ac90612586565b80156105f95780601f106105ce576101008083540402835291602001916105f9565b820191906000526020600020905b8154815290600101906020018083116105dc57829003601f168201915b5050505050905090565b600061060e82611141565b506000908152600560205260409020546001600160a01b031690565b81610634816111a0565b61063e83836111ba565b505050565b6060600d805461058090612586565b61065a6112ca565b6106648282611324565b5050565b826001600160a01b038116331461068257610682336111a0565b61068d8484846113f5565b50505050565b600061069e83610ab6565b82106107055760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6107366112ca565b6001600160a01b0381166000908152600f602052604090205460ff1615156001146107bb576001600160a01b0381166000818152600f6020908152604091829020805460ff191660019081179091558251938452908301527f0dfe125844182931a142d83434ec10aa591c730e0b3065ff5dce283cee857d5c91015b60405180910390a15b50565b826001600160a01b03811633146107d8576107d8336111a0565b61068d848484611426565b336107ed8261094d565b6001600160a01b0316146108435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206275726e2063616c6c6572206973206e6f74206f776e657260448201526064016106fc565b6107bb81611441565b600061085760095490565b82106108ba5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106fc565b600982815481106108cd576108cd6125c0565b90600052602060002001549050919050565b6000546001600160a01b0316331461090a57604051635fc483c560e01b815260040160405180910390fd5b600b54600160a01b900460ff161561093557604051631551a48f60e11b815260040160405180910390fd5b600b80546001600160a81b031916600160a01b179055565b6000818152600360205260408120546001600160a01b03168061056b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106fc565b6000546001600160a01b03163314806109ca57506109ca336102c2565b6109e65760405162461bcd60e51b81526004016106fc906125d6565b6001600160a01b03811660008181526010602090815260408083209290925590519182527fde47c4047583df7f77a80d1e7444b157ccd3b756c004c81277769913779c4a3891016107b2565b610a3a6112ca565b6001600160a01b0381166000908152600f602052604090205460ff1615156001036107bb576001600160a01b0381166000818152600f60209081526040808320805460ff191690558051938452908301919091527f0dfe125844182931a142d83434ec10aa591c730e0b3065ff5dce283cee857d5c91016107b2565b60006001600160a01b038216610b205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106fc565b506001600160a01b031660009081526004602052604090205490565b610b446112ca565b610b4e60006114e4565b565b60606002805461058090612586565b610b676112ca565b600d610b73828261266e565b507f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516107b2919061221e565b81610bad816111a0565b61063e8383611534565b836001600160a01b0381163314610bd157610bd1336111a0565b610bdd8585858561153f565b5050505050565b6000546001600160a01b03163314610c0f57604051635fc483c560e01b815260040160405180910390fd5b600b54600160a01b900460ff1615610c3a57604051631551a48f60e11b815260040160405180910390fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260409020546060906001600160a01b0316610cdd5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106fc565b6000828152600e602052604081208054610cf690612586565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2290612586565b8015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b820191906000526020600020905b815481529060010190602001808311610d5257829003601f168201915b505050505090506000610d80610643565b90508051600003610d92575092915050565b610d9b84611571565b949350505050565b610dab6112ca565b600c610db7828261266e565b507fe88f8427748def9baf1a4a6a9e77c6d7d2be8ba756acdf3d6e131fc83c1a39d3816040516107b2919061221e565b336000908152600f602052604090205460ff16610e465760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f7420746865206d696e746572000000000000000060448201526064016106fc565b6011546001600160a01b03841660009081526010602052604090205410610eaf5760405162461bcd60e51b815260206004820152601f60248201527f416c7265616479207265616368206d6178206d696e74207175616e746974790060448201526064016106fc565b6001600160a01b038316600090815260106020526040902054610ed3906001612744565b6001600160a01b038416600090815260106020526040902055610ef683836115d8565b61063e8282611324565b6000546001600160a01b0316331480610f1d5750610f1d336102c2565b610f395760405162461bcd60e51b81526004016106fc906125d6565b601181905560408051338152602081018390527ff3bf06885d1992d5f8f41481728ec2c093d33a48270ee4c52a0dc9bf8816f1ce91016107b2565b33610f7e8461094d565b6001600160a01b031614610fa45760405162461bcd60e51b81526004016106fc90612757565b33610fae8361094d565b6001600160a01b031614610fd45760405162461bcd60e51b81526004016106fc90612757565b33610fde8261094d565b6001600160a01b0316146110045760405162461bcd60e51b81526004016106fc90612757565b61100d83611441565b61101682611441565b61101f81611441565b6040805133815260208101859052908101839052606081018290527f12648cae99b8b2244dedb53a1d2d2634310b3be06c37e06cf134337ef373e3359060800160405180910390a1505050565b6060600c805461058090612586565b6110836112ca565b6001600160a01b0381166110e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106fc565b6107bb816114e4565b60006001600160e01b031982166380ac58cd60e01b148061112257506001600160e01b03198216635b5e139f60e01b145b8061056b57506301ffc9a760e01b6001600160e01b031983161461056b565b6000818152600360205260409020546001600160a01b03166107bb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106fc565b600b546001600160a01b0316156107bb576107bb816115f2565b60006111c58261094d565b9050806001600160a01b0316836001600160a01b0316036112325760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106fc565b336001600160a01b038216148061124e575061124e81336104f1565b6112c05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106fc565b61063e83836116b4565b6000546001600160a01b03163314610b4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106fc565b6000828152600360205260409020546001600160a01b031661139f5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106fc565b6000828152600e602052604090206113b7828261266e565b507f7f4449296e3be94c171d37caee72eddc2e253fe45652e877e931e31d758a544082826040516113e992919061279c565b60405180910390a15050565b6113ff3382611722565b61141b5760405162461bcd60e51b81526004016106fc906127b5565b61063e8383836117a0565b61063e83838360405180602001604052806000815250610bb7565b600061144c8261094d565b905061145c816000846001611911565b6114658261094d565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610664338383611a4a565b6115493383611722565b6115655760405162461bcd60e51b81526004016106fc906127b5565b61068d84848484611b18565b606061157c82611141565b6000611586610643565b905060008151116115a657604051806020016040528060008152506115d1565b806115b084611b4b565b6040516020016115c1929190612802565b6040516020818303038152906040525b9392505050565b610664828260405180602001604052806000815250611bde565b600b546001600160a01b0316801580159061161757506000816001600160a01b03163b115b1561066457604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611668573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168c9190612831565b61066457604051633b79c77360e21b81526001600160a01b03831660048201526024016106fc565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116e98261094d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061172e8361094d565b9050806001600160a01b0316846001600160a01b0316148061177557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610d9b5750836001600160a01b031661178e84610603565b6001600160a01b031614949350505050565b826001600160a01b03166117b38261094d565b6001600160a01b0316146117d95760405162461bcd60e51b81526004016106fc9061284e565b6001600160a01b03821661183b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106fc565b6118488383836001611911565b826001600160a01b031661185b8261094d565b6001600160a01b0316146118815760405162461bcd60e51b81526004016106fc9061284e565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61191d84848484611c11565b600181111561198c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106fc565b816001600160a01b0385166119e8576119e381600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611a0b565b836001600160a01b0316856001600160a01b031614611a0b57611a0b8582611c99565b6001600160a01b038416611a2757611a2281611d36565b610bdd565b846001600160a01b0316846001600160a01b031614610bdd57610bdd8482611de5565b816001600160a01b0316836001600160a01b031603611aab5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106fc565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611b238484846117a0565b611b2f84848484611e29565b61068d5760405162461bcd60e51b81526004016106fc90612893565b60606000611b5883611f2a565b600101905060008167ffffffffffffffff811115611b7857611b786122ab565b6040519080825280601f01601f191660200182016040528015611ba2576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bac57509392505050565b611be88383612002565b611bf56000848484611e29565b61063e5760405162461bcd60e51b81526004016106fc90612893565b600181111561068d576001600160a01b03841615611c57576001600160a01b03841660009081526004602052604081208054839290611c519084906128e5565b90915550505b6001600160a01b0383161561068d576001600160a01b03831660009081526004602052604081208054839290611c8e908490612744565b909155505050505050565b60006001611ca684610ab6565b611cb091906128e5565b600083815260086020526040902054909150808214611d03576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611d48906001906128e5565b6000838152600a602052604081205460098054939450909284908110611d7057611d706125c0565b906000526020600020015490508060098381548110611d9157611d916125c0565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611dc957611dc96128f8565b6001900381819060005260206000200160009055905550505050565b6000611df083610ab6565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60006001600160a01b0384163b15611f1f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e6d90339089908890889060040161290e565b6020604051808303816000875af1925050508015611ea8575060408051601f3d908101601f19168201909252611ea59181019061294b565b60015b611f05573d808015611ed6576040519150601f19603f3d011682016040523d82523d6000602084013e611edb565b606091505b508051600003611efd5760405162461bcd60e51b81526004016106fc90612893565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d9b565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f695772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f95576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fb357662386f26fc10000830492506010015b6305f5e1008310611fcb576305f5e100830492506008015b6127108310611fdf57612710830492506004015b60648310611ff1576064830492506002015b600a831061056b5760010192915050565b6001600160a01b0382166120585760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106fc565b6000818152600360205260409020546001600160a01b0316156120bd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fc565b6120cb600083836001611911565b6000818152600360205260409020546001600160a01b0316156121305760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fc565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b0319811681146107bb57600080fd5b6000602082840312156121c357600080fd5b81356115d18161219b565b60005b838110156121e95781810151838201526020016121d1565b50506000910152565b6000815180845261220a8160208601602086016121ce565b601f01601f19169290920160200192915050565b6020815260006115d160208301846121f2565b60006020828403121561224357600080fd5b5035919050565b80356001600160a01b038116811461226157600080fd5b919050565b6000806040838503121561227957600080fd5b6122828361224a565b946020939093013593505050565b6000602082840312156122a257600080fd5b6115d18261224a565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122dc576122dc6122ab565b604051601f8501601f19908116603f01168101908282118183101715612304576123046122ab565b8160405280935085815286868601111561231d57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261234857600080fd5b6115d1838335602085016122c1565b6000806040838503121561236a57600080fd5b82359150602083013567ffffffffffffffff81111561238857600080fd5b61239485828601612337565b9150509250929050565b6000806000606084860312156123b357600080fd5b6123bc8461224a565b92506123ca6020850161224a565b9150604084013590509250925092565b6000602082840312156123ec57600080fd5b813567ffffffffffffffff81111561240357600080fd5b610d9b84828501612337565b80151581146107bb57600080fd5b6000806040838503121561243057600080fd5b6124398361224a565b915060208301356124498161240f565b809150509250929050565b6000806000806080858703121561246a57600080fd5b6124738561224a565b93506124816020860161224a565b925060408501359150606085013567ffffffffffffffff8111156124a457600080fd5b8501601f810187136124b557600080fd5b6124c4878235602084016122c1565b91505092959194509250565b6000806000606084860312156124e557600080fd5b6124ee8461224a565b925060208401359150604084013567ffffffffffffffff81111561251157600080fd5b61251d86828701612337565b9150509250925092565b60008060006060848603121561253c57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561256657600080fd5b61256f8361224a565b915061257d6020840161224a565b90509250929050565b600181811c9082168061259a57607f821691505b6020821081036125ba57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726040820152691037b91036b4b73a32b960b11b606082015260800190565b601f82111561063e57600081815260208120601f850160051c810160208610156126475750805b601f850160051c820191505b8181101561266657828155600101612653565b505050505050565b815167ffffffffffffffff811115612688576126886122ab565b61269c816126968454612586565b84612620565b602080601f8311600181146126d157600084156126b95750858301515b600019600386901b1c1916600185901b178555612666565b600085815260208120601f198616915b82811015612700578886015182559484019460019091019084016126e1565b508582101561271e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561056b5761056b61272e565b60208082526025908201527f4552433732313a2062617463684275726e2063616c6c6572206973206e6f742060408201526437bbb732b960d91b606082015260800190565b828152604060208201526000610d9b60408301846121f2565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600083516128148184602088016121ce565b8351908301906128288183602088016121ce565b01949350505050565b60006020828403121561284357600080fd5b81516115d18161240f565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b8181038181111561056b5761056b61272e565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612941908301846121f2565b9695505050505050565b60006020828403121561295d57600080fd5b81516115d18161219b56fea2646970667358221220d9f748fddf21368ef9871ad96de49e17d7c5a5b3092624aea1bbcc35f395f79164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002f436f6e74656d706c6174696e6720536b656c65746f6e206279204b726973746a616e6120532e2057696c6c69616d730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543534b53570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Contemplating Skeleton by Kristjana S. Williams
Arg [1] : _symbol (string): CSKSW
Arg [2] : _contractUri (string):
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [4] : 436f6e74656d706c6174696e6720536b656c65746f6e206279204b726973746a
Arg [5] : 616e6120532e2057696c6c69616d730000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 43534b5357000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73066:6426:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65204:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;65204:224:0;;;;;;;;49345:100;;;:::i;:::-;;;;;;;:::i;50857:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;50857:171:0;1533:203:1;78515:175:0;;;;;;:::i;:::-;;:::i;:::-;;75488:109;;;;;;:::i;:::-;-1:-1:-1;;;;;75573:16:0;75549:4;75573:16;;;:7;:16;;;;;;;;;75488:109;74803:99;;;:::i;74910:133::-;;;;;;:::i;:::-;;:::i;65844:113::-;65932:10;:17;65844:113;;;3906:25:1;;;3894:2;3879:18;65844:113:0;3760:177:1;78698:181:0;;;;;;:::i;:::-;;:::i;65512:256::-;;;;;;:::i;:::-;;:::i;75051:210::-;;;;;;:::i;:::-;;:::i;73451:50::-;;;;;;:::i;:::-;;;;;;;;;;;;;;78887:189;;;;;;:::i;:::-;;:::i;77149:162::-;;;;;;:::i;:::-;;:::i;66034:233::-;;;;;;:::i;:::-;;:::i;8344:484::-;;;:::i;49055:223::-;;;;;;:::i;:::-;;:::i;76337:163::-;;;;;;:::i;:::-;;:::i;75267:213::-;;;;;;:::i;:::-;;:::i;48786:207::-;;;;;;:::i;:::-;;:::i;27293:103::-;;;:::i;79347:142::-;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;79347:142;;49514:104;;;:::i;74637:158::-;;;;;;:::i;:::-;;:::i;78313:194::-;;;;;;:::i;:::-;;:::i;73549:30::-;;;;;;3230:53;;;;;-1:-1:-1;;;;;3230:53:0;;;79084:255;;;;;;:::i;:::-;;:::i;7796:422::-;;;;;;:::i;:::-;;:::i;77319:532::-;;;;;;:::i;:::-;;:::i;74367:140::-;;;;;;:::i;:::-;;:::i;75605:538::-;;;;;;:::i;:::-;;:::i;76151:178::-;;;;;;:::i;:::-;;:::i;76541:600::-;;;;;;:::i;:::-;;:::i;74261:98::-;;;:::i;51326:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;51447:25:0;;;51423:4;51447:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;51326:164;6885:43;;;;;-1:-1:-1;;;6885:43:0;;;;;;27551:201;;;;;;:::i;:::-;;:::i;65204:224::-;65306:4;-1:-1:-1;;;;;;65330:50:0;;-1:-1:-1;;;65330:50:0;;:90;;;65384:36;65408:11;65384:23;:36::i;:::-;65323:97;65204:224;-1:-1:-1;;65204:224:0:o;49345:100::-;49399:13;49432:5;49425:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49345:100;:::o;50857:171::-;50933:7;50953:23;50968:7;50953:14;:23::i;:::-;-1:-1:-1;50996:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;50996:24:0;;50857:171::o;78515:175::-;78629:8;4740:30;4761:8;4740:20;:30::i;:::-;78650:32:::1;78664:8;78674:7;78650:13;:32::i;:::-;78515:175:::0;;;:::o;74803:99::-;74848:13;74881;74874:20;;;;;:::i;74910:133::-;26531:13;:11;:13::i;:::-;75003:32:::1;75016:7;75025:9;75003:12;:32::i;:::-;74910:133:::0;;:::o;78698:181::-;78817:4;-1:-1:-1;;;;;4560:18:0;;4568:10;4560:18;4556:83;;4595:32;4616:10;4595:20;:32::i;:::-;78834:37:::1;78853:4;78859:2;78863:7;78834:18;:37::i;:::-;78698:181:::0;;;;:::o;65512:256::-;65609:7;65645:23;65662:5;65645:16;:23::i;:::-;65637:5;:31;65629:87;;;;-1:-1:-1;;;65629:87:0;;7598:2:1;65629:87:0;;;7580:21:1;7637:2;7617:18;;;7610:30;7676:34;7656:18;;;7649:62;-1:-1:-1;;;7727:18:1;;;7720:41;7778:19;;65629:87:0;;;;;;;;;-1:-1:-1;;;;;;65734:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;65512:256::o;75051:210::-;26531:13;:11;:13::i;:::-;-1:-1:-1;;;;;75126:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;::::1;;:24;;:16:::0;:24:::1;75123:131;;-1:-1:-1::0;;;;;75167:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;;:23;;-1:-1:-1;;75167:23:0::1;75186:4;75167:23:::0;;::::1;::::0;;;75210:32;;7976:51:1;;;8043:18;;;8036:50;75210:32:0::1;::::0;7949:18:1;75210:32:0::1;;;;;;;;75123:131;75051:210:::0;:::o;78887:189::-;79010:4;-1:-1:-1;;;;;4560:18:0;;4568:10;4560:18;4556:83;;4595:32;4616:10;4595:20;:32::i;:::-;79027:41:::1;79050:4;79056:2;79060:7;79027:22;:41::i;77149:162::-:0;77230:10;77209:17;77217:8;77209:7;:17::i;:::-;-1:-1:-1;;;;;77209:31:0;;77201:76;;;;-1:-1:-1;;;77201:76:0;;8299:2:1;77201:76:0;;;8281:21:1;;;8318:18;;;8311:30;8377:34;8357:18;;;8350:62;8429:18;;77201:76:0;8097:356:1;77201:76:0;77288:15;77294:8;77288:5;:15::i;66034:233::-;66109:7;66145:30;65932:10;:17;;65844:113;66145:30;66137:5;:38;66129:95;;;;-1:-1:-1;;;66129:95:0;;8660:2:1;66129:95:0;;;8642:21:1;8699:2;8679:18;;;8672:30;8738:34;8718:18;;;8711:62;-1:-1:-1;;;8789:18:1;;;8782:42;8841:19;;66129:95:0;8458:408:1;66129:95:0;66242:10;66253:5;66242:17;;;;;;;;:::i;:::-;;;;;;;;;66235:24;;66034:233;;;:::o;8344:484::-;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;8406:10;:21;8402:72;;8451:11;;-1:-1:-1;;;8451:11:0;;;;;;;;;;;8402:72;8559:31;;-1:-1:-1;;;8559:31:0;;;;8555:95;;;8614:24;;-1:-1:-1;;;8614:24:0;;;;;;;;;;;8555:95;8711:22;:60;;-1:-1:-1;;;;;;8782:38:0;-1:-1:-1;;;8782:38:0;;;8344:484::o;49055:223::-;49127:7;53942:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53942:16:0;;49191:56;;;;-1:-1:-1;;;49191:56:0;;9205:2:1;49191:56:0;;;9187:21:1;9244:2;9224:18;;;9217:30;-1:-1:-1;;;9263:18:1;;;9256:54;9327:18;;49191:56:0;9003:348:1;76337:163:0;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;25329:10;78184:23;;:54;;-1:-1:-1;78211:27:0;25329:10;78225:12;25249:98;78211:27;78176:109;;;;-1:-1:-1;;;78176:109:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;76421:23:0;::::1;76447:1;76421:23:::0;;;:14:::1;:23;::::0;;;;;;;:27;;;;76464:28;;1679:51:1;;;76464:28:0::1;::::0;1652:18:1;76464:28:0::1;1533:203:1::0;75267:213:0;26531:13;:11;:13::i;:::-;-1:-1:-1;;;;;75343:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;::::1;;:24;;:16:::0;:24;75340:133:::1;;-1:-1:-1::0;;;;;75384:16:0;::::1;75403:5;75384:16:::0;;;:7:::1;:16;::::0;;;;;;;:24;;-1:-1:-1;;75384:24:0::1;::::0;;75428:33;;7976:51:1;;;8043:18;;;8036:50;;;;75428:33:0::1;::::0;7949:18:1;75428:33:0::1;7808:284:1::0;48786:207:0;48858:7;-1:-1:-1;;;;;48886:19:0;;48878:73;;;;-1:-1:-1;;;48878:73:0;;9969:2:1;48878:73:0;;;9951:21:1;10008:2;9988:18;;;9981:30;10047:34;10027:18;;;10020:62;-1:-1:-1;;;10098:18:1;;;10091:39;10147:19;;48878:73:0;9767:405:1;48878:73:0;-1:-1:-1;;;;;;48969:16:0;;;;;:9;:16;;;;;;;48786:207::o;27293:103::-;26531:13;:11;:13::i;:::-;27358:30:::1;27385:1;27358:18;:30::i;:::-;27293:103::o:0;49514:104::-;49570:13;49603:7;49596:14;;;;;:::i;74637:158::-;26531:13;:11;:13::i;:::-;74715::::1;:28;74731:12:::0;74715:13;:28:::1;:::i;:::-;;74759;74774:12;74759:28;;;;;;:::i;78313:194::-:0;78435:8;4740:30;4761:8;4740:20;:30::i;:::-;78456:43:::1;78480:8;78490;78456:23;:43::i;79084:255::-:0;79262:4;-1:-1:-1;;;;;4560:18:0;;4568:10;4560:18;4556:83;;4595:32;4616:10;4595:20;:32::i;:::-;79284:47:::1;79307:4;79313:2;79317:7;79326:4;79284:22;:47::i;:::-;79084:255:::0;;;;;:::o;7796:422::-;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;7893:10;:21;7889:72;;7938:11;;-1:-1:-1;;;7938:11:0;;;;;;;;;;;7889:72;8046:31;;-1:-1:-1;;;8046:31:0;;;;8042:95;;;8101:24;;-1:-1:-1;;;8101:24:0;;;;;;;;;;;8042:95;8149:22;:61;;-1:-1:-1;;;;;;8149:61:0;-1:-1:-1;;;;;8149:61:0;;;;;;;;;;7796:422::o;77319:532::-;54344:4;53942:16;;;:7;:16;;;;;;77392:13;;-1:-1:-1;;;;;53942:16:0;77418:78;;;;-1:-1:-1;;;77418:78:0;;12583:2:1;77418:78:0;;;12565:21:1;12622:2;12602:18;;;12595:30;12661:34;12641:18;;;12634:62;-1:-1:-1;;;12712:18:1;;;12705:47;12769:19;;77418:78:0;12381:413:1;77418:78:0;77509:23;77535:19;;;:10;:19;;;;;77509:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77565:18;77586:10;:8;:10::i;:::-;77565:31;;77679:4;77673:18;77695:1;77673:23;77669:72;;-1:-1:-1;77720:9:0;77319:532;-1:-1:-1;;77319:532:0:o;77669:72::-;77820:23;77835:7;77820:14;:23::i;:::-;77813:30;77319:532;-1:-1:-1;;;;77319:532:0:o;74367:140::-;26531:13;:11;:13::i;:::-;74441:11:::1;:18;74455:4:::0;74441:11;:18:::1;:::i;:::-;;74475:24;74494:4;74475:24;;;;;;:::i;75605:538::-:0;75716:10;75549:4;75573:16;;;:7;:16;;;;;;;;75694:62;;;;-1:-1:-1;;;75694:62:0;;13001:2:1;75694:62:0;;;12983:21:1;13040:2;13020:18;;;13013:30;13079:26;13059:18;;;13052:54;13123:18;;75694:62:0;12799:348:1;75694:62:0;75796:15;;-1:-1:-1;;;;;75775:18:0;;;;;;:14;:18;;;;;;:36;75767:80;;;;-1:-1:-1;;;75767:80:0;;13354:2:1;75767:80:0;;;13336:21:1;13393:2;13373:18;;;13366:30;13432:33;13412:18;;;13405:61;13483:18;;75767:80:0;13152:355:1;75767:80:0;-1:-1:-1;;;;;75881:18:0;;;;;;:14;:18;;;;;;:22;;75902:1;75881:22;:::i;:::-;-1:-1:-1;;;;;75860:18:0;;;;;;:14;:18;;;;;:43;76068:23;75875:2;76082:8;76068:9;:23::i;:::-;76102:33;76115:8;76125:9;76102:12;:33::i;76151:178::-;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;25329:10;78184:23;;:54;;-1:-1:-1;78211:27:0;25329:10;78225:12;25249:98;78211:27;78176:109;;;;-1:-1:-1;;;78176:109:0;;;;;;;:::i;:::-;76235:15:::1;:26:::0;;;76277:44:::1;::::0;;76300:10:::1;13948:51:1::0;;14030:2;14015:18;;14008:34;;;76277:44:0::1;::::0;13921:18:1;76277:44:0::1;13774:274:1::0;76541:600:0;76667:10;76645:18;76653:9;76645:7;:18::i;:::-;-1:-1:-1;;;;;76645:32:0;;76637:82;;;;-1:-1:-1;;;76637:82:0;;;;;;;:::i;:::-;76760:10;76738:18;76746:9;76738:7;:18::i;:::-;-1:-1:-1;;;;;76738:32:0;;76730:82;;;;-1:-1:-1;;;76730:82:0;;;;;;;:::i;:::-;76853:10;76831:18;76839:9;76831:7;:18::i;:::-;-1:-1:-1;;;;;76831:32:0;;76823:82;;;;-1:-1:-1;;;76823:82:0;;;;;;;:::i;:::-;76916:16;76922:9;76916:5;:16::i;:::-;76943;76949:9;76943:5;:16::i;:::-;76970;76976:9;76970:5;:16::i;:::-;77077:56;;;77089:10;14690:51:1;;14772:2;14757:18;;14750:34;;;14800:18;;;14793:34;;;14858:2;14843:18;;14836:34;;;77077:56:0;;14677:3:1;14662:19;77077:56:0;;;;;;;76541:600;;;:::o;74261:98::-;74307:13;74340:11;74333:18;;;;;:::i;27551:201::-;26531:13;:11;:13::i;:::-;-1:-1:-1;;;;;27640:22:0;::::1;27632:73;;;::::0;-1:-1:-1;;;27632:73:0;;15083:2:1;27632:73:0::1;::::0;::::1;15065:21:1::0;15122:2;15102:18;;;15095:30;15161:34;15141:18;;;15134:62;-1:-1:-1;;;15212:18:1;;;15205:36;15258:19;;27632:73:0::1;14881:402:1::0;27632:73:0::1;27716:28;27735:8;27716:18;:28::i;48417:305::-:0;48519:4;-1:-1:-1;;;;;;48556:40:0;;-1:-1:-1;;;48556:40:0;;:105;;-1:-1:-1;;;;;;;48613:48:0;;-1:-1:-1;;;48613:48:0;48556:105;:158;;;-1:-1:-1;;;;;;;;;;40233:40:0;;;48678:36;40124:157;60676:135;54344:4;53942:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53942:16:0;60750:53;;;;-1:-1:-1;;;60750:53:0;;9205:2:1;60750:53:0;;;9187:21:1;9244:2;9224:18;;;9217:30;-1:-1:-1;;;9263:18:1;;;9256:54;9327:18;;60750:53:0;9003:348:1;7330:211:0;7432:22;;-1:-1:-1;;;;;7432:22:0;7424:45;7420:114;;7486:36;7513:8;7486:26;:36::i;50375:416::-;50456:13;50472:23;50487:7;50472:14;:23::i;:::-;50456:39;;50520:5;-1:-1:-1;;;;;50514:11:0;:2;-1:-1:-1;;;;;50514:11:0;;50506:57;;;;-1:-1:-1;;;50506:57:0;;15490:2:1;50506:57:0;;;15472:21:1;15529:2;15509:18;;;15502:30;15568:34;15548:18;;;15541:62;-1:-1:-1;;;15619:18:1;;;15612:31;15660:19;;50506:57:0;15288:397:1;50506:57:0;25329:10;-1:-1:-1;;;;;50598:21:0;;;;:62;;-1:-1:-1;50623:37:0;50640:5;25329:10;51326:164;:::i;50623:37::-;50576:173;;;;-1:-1:-1;;;50576:173:0;;15892:2:1;50576:173:0;;;15874:21:1;15931:2;15911:18;;;15904:30;15970:34;15950:18;;;15943:62;16041:31;16021:18;;;16014:59;16090:19;;50576:173:0;15690:425:1;50576:173:0;50762:21;50771:2;50775:7;50762:8;:21::i;26810:132::-;79439:7;26718:6;-1:-1:-1;;;;;26718:6:0;25329:10;26874:23;26866:68;;;;-1:-1:-1;;;26866:68:0;;16322:2:1;26866:68:0;;;16304:21:1;;;16341:18;;;16334:30;16400:34;16380:18;;;16373:62;16452:18;;26866:68:0;16120:356:1;77859:269:0;54344:4;53942:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53942:16:0;77951:75;;;;-1:-1:-1;;;77951:75:0;;16683:2:1;77951:75:0;;;16665:21:1;16722:2;16702:18;;;16695:30;16761:34;16741:18;;;16734:62;-1:-1:-1;;;16812:18:1;;;16805:44;16866:19;;77951:75:0;16481:410:1;77951:75:0;78037:19;;;;:10;:19;;;;;:31;78059:9;78037:19;:31;:::i;:::-;;78084:35;78100:7;78109:9;78084:35;;;;;;;:::i;:::-;;;;;;;;77859:269;;:::o;51557:335::-;51752:41;25329:10;51785:7;51752:18;:41::i;:::-;51744:99;;;;-1:-1:-1;;;51744:99:0;;;;;;;:::i;:::-;51856:28;51866:4;51872:2;51876:7;51856:9;:28::i;51963:185::-;52101:39;52118:4;52124:2;52128:7;52101:39;;;;;;;;;;;;:16;:39::i;57453:783::-;57513:13;57529:23;57544:7;57529:14;:23::i;:::-;57513:39;;57565:51;57586:5;57601:1;57605:7;57614:1;57565:20;:51::i;:::-;57729:23;57744:7;57729:14;:23::i;:::-;57800:24;;;;:15;:24;;;;;;;;57793:31;;-1:-1:-1;;;;;;57793:31:0;;;;;;-1:-1:-1;;;;;58045:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;58045:21:0;;;58095:16;;;:7;:16;;;;;;58088:23;;;;;;;58129:36;57721:31;;-1:-1:-1;57816:7:0;;58129:36;;57800:24;;58129:36;74910:133;;:::o;27912:191::-;27986:16;28005:6;;-1:-1:-1;;;;;28022:17:0;;;-1:-1:-1;;;;;;28022:17:0;;;;;;28055:40;;28005:6;;;;;;;28055:40;;27986:16;28055:40;27975:128;27912:191;:::o;51100:155::-;51195:52;25329:10;51228:8;51238;51195:18;:52::i;52219:322::-;52393:41;25329:10;52426:7;52393:18;:41::i;:::-;52385:99;;;;-1:-1:-1;;;52385:99:0;;;;;;;:::i;:::-;52495:38;52509:4;52515:2;52519:7;52528:4;52495:13;:38::i;49689:281::-;49762:13;49788:23;49803:7;49788:14;:23::i;:::-;49824:21;49848:10;:8;:10::i;:::-;49824:34;;49900:1;49882:7;49876:21;:25;:86;;;;;;;;;;;;;;;;;49928:7;49937:18;:7;:16;:18::i;:::-;49911:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49876:86;49869:93;49689:281;-1:-1:-1;;;49689:281:0:o;55180:110::-;55256:26;55266:2;55270:7;55256:26;;;;;;;;;;;;:9;:26::i;5439:490::-;5555:22;;-1:-1:-1;;;;;5555:22:0;5698:31;;;;;:68;;;5765:1;5741:8;-1:-1:-1;;;;;5733:29:0;;:33;5698:68;5694:228;;;5788:51;;-1:-1:-1;;;5788:51:0;;5823:4;5788:51;;;18319:34:1;-1:-1:-1;;;;;18389:15:1;;;18369:18;;;18362:43;5788:26:0;;;;;18254:18:1;;5788:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5783:128;;5867:28;;-1:-1:-1;;;5867:28:0;;-1:-1:-1;;;;;1697:32:1;;5867:28:0;;;1679:51:1;1652:18;;5867:28:0;1533:203:1;59955:174:0;60030:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;60030:29:0;-1:-1:-1;;;;;60030:29:0;;;;;;;;:24;;60084:23;60030:24;60084:14;:23::i;:::-;-1:-1:-1;;;;;60075:46:0;;;;;;;;;;;59955:174;;:::o;54574:264::-;54667:4;54684:13;54700:23;54715:7;54700:14;:23::i;:::-;54684:39;;54753:5;-1:-1:-1;;;;;54742:16:0;:7;-1:-1:-1;;;;;54742:16:0;;:52;;;-1:-1:-1;;;;;;51447:25:0;;;51423:4;51447:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;54762:32;54742:87;;;;54822:7;-1:-1:-1;;;;;54798:31:0;:20;54810:7;54798:11;:20::i;:::-;-1:-1:-1;;;;;54798:31:0;;54734:96;54574:264;-1:-1:-1;;;;54574:264:0:o;58573:1263::-;58732:4;-1:-1:-1;;;;;58705:31:0;:23;58720:7;58705:14;:23::i;:::-;-1:-1:-1;;;;;58705:31:0;;58697:81;;;;-1:-1:-1;;;58697:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58797:16:0;;58789:65;;;;-1:-1:-1;;;58789:65:0;;19274:2:1;58789:65:0;;;19256:21:1;19313:2;19293:18;;;19286:30;19352:34;19332:18;;;19325:62;-1:-1:-1;;;19403:18:1;;;19396:34;19447:19;;58789:65:0;19072:400:1;58789:65:0;58867:42;58888:4;58894:2;58898:7;58907:1;58867:20;:42::i;:::-;59039:4;-1:-1:-1;;;;;59012:31:0;:23;59027:7;59012:14;:23::i;:::-;-1:-1:-1;;;;;59012:31:0;;59004:81;;;;-1:-1:-1;;;59004:81:0;;;;;;;:::i;:::-;59157:24;;;;:15;:24;;;;;;;;59150:31;;-1:-1:-1;;;;;;59150:31:0;;;;;;-1:-1:-1;;;;;59633:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;59633:20:0;;;59668:13;;;;;;;;;:18;;59150:31;59668:18;;;59708:16;;;:7;:16;;;;;;:21;;;;;;;;;;59747:27;;59173:7;;59747:27;;;78515:175;;;:::o;66341:915::-;66518:61;66545:4;66551:2;66555:12;66569:9;66518:26;:61::i;:::-;66608:1;66596:9;:13;66592:222;;;66739:63;;-1:-1:-1;;;66739:63:0;;19679:2:1;66739:63:0;;;19661:21:1;19718:2;19698:18;;;19691:30;19757:34;19737:18;;;19730:62;-1:-1:-1;;;19808:18:1;;;19801:51;19869:19;;66739:63:0;19477:417:1;66592:222:0;66844:12;-1:-1:-1;;;;;66873:18:0;;66869:187;;66908:40;66940:7;68083:10;:17;;68056:24;;;;:15;:24;;;;;:44;;;68111:24;;;;;;;;;;;;67979:164;66908:40;66869:187;;;66978:2;-1:-1:-1;;;;;66970:10:0;:4;-1:-1:-1;;;;;66970:10:0;;66966:90;;66997:47;67030:4;67036:7;66997:32;:47::i;:::-;-1:-1:-1;;;;;67070:16:0;;67066:183;;67103:45;67140:7;67103:36;:45::i;:::-;67066:183;;;67176:4;-1:-1:-1;;;;;67170:10:0;:2;-1:-1:-1;;;;;67170:10:0;;67166:83;;67197:40;67225:2;67229:7;67197:27;:40::i;60272:315::-;60427:8;-1:-1:-1;;;;;60418:17:0;:5;-1:-1:-1;;;;;60418:17:0;;60410:55;;;;-1:-1:-1;;;60410:55:0;;20101:2:1;60410:55:0;;;20083:21:1;20140:2;20120:18;;;20113:30;20179:27;20159:18;;;20152:55;20224:18;;60410:55:0;19899:349:1;60410:55:0;-1:-1:-1;;;;;60476:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;60476:46:0;;;;;;;;;;60538:41;;540::1;;;60538::0;;513:18:1;60538:41:0;;;;;;;60272:315;;;:::o;53422:313::-;53578:28;53588:4;53594:2;53598:7;53578:9;:28::i;:::-;53625:47;53648:4;53654:2;53658:7;53667:4;53625:22;:47::i;:::-;53617:110;;;;-1:-1:-1;;;53617:110:0;;;;;;;:::i;22728:716::-;22784:13;22835:14;22852:17;22863:5;22852:10;:17::i;:::-;22872:1;22852:21;22835:38;;22888:20;22922:6;22911:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22911:18:0;-1:-1:-1;22888:41:0;-1:-1:-1;23053:28:0;;;23069:2;23053:28;23110:288;-1:-1:-1;;23142:5:0;-1:-1:-1;;;23279:2:0;23268:14;;23263:30;23142:5;23250:44;23340:2;23331:11;;;-1:-1:-1;23361:21:0;23110:288;23361:21;-1:-1:-1;23419:6:0;22728:716;-1:-1:-1;;;22728:716:0:o;55517:319::-;55646:18;55652:2;55656:7;55646:5;:18::i;:::-;55697:53;55728:1;55732:2;55736:7;55745:4;55697:22;:53::i;:::-;55675:153;;;;-1:-1:-1;;;55675:153:0;;;;;;;:::i;62960:410::-;63150:1;63138:9;:13;63134:229;;;-1:-1:-1;;;;;63172:18:0;;;63168:87;;-1:-1:-1;;;;;63211:15:0;;;;;;:9;:15;;;;;:28;;63230:9;;63211:15;:28;;63230:9;;63211:28;:::i;:::-;;;;-1:-1:-1;;63168:87:0;-1:-1:-1;;;;;63273:16:0;;;63269:83;;-1:-1:-1;;;;;63310:13:0;;;;;;:9;:13;;;;;:26;;63327:9;;63310:13;:26;;63327:9;;63310:26;:::i;:::-;;;;-1:-1:-1;;62960:410:0;;;;:::o;68770:988::-;69036:22;69086:1;69061:22;69078:4;69061:16;:22::i;:::-;:26;;;;:::i;:::-;69098:18;69119:26;;;:17;:26;;;;;;69036:51;;-1:-1:-1;69252:28:0;;;69248:328;;-1:-1:-1;;;;;69319:18:0;;69297:19;69319:18;;;:12;:18;;;;;;;;:34;;;;;;;;;69370:30;;;;;;:44;;;69487:30;;:17;:30;;;;;:43;;;69248:328;-1:-1:-1;69672:26:0;;;;:17;:26;;;;;;;;69665:33;;;-1:-1:-1;;;;;69716:18:0;;;;;:12;:18;;;;;:34;;;;;;;69709:41;68770:988::o;70053:1079::-;70331:10;:17;70306:22;;70331:21;;70351:1;;70331:21;:::i;:::-;70363:18;70384:24;;;:15;:24;;;;;;70757:10;:26;;70306:46;;-1:-1:-1;70384:24:0;;70306:46;;70757:26;;;;;;:::i;:::-;;;;;;;;;70735:48;;70821:11;70796:10;70807;70796:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;70901:28;;;:15;:28;;;;;;;:41;;;71073:24;;;;;71066:31;71108:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;70124:1008;;;70053:1079;:::o;67557:221::-;67642:14;67659:20;67676:2;67659:16;:20::i;:::-;-1:-1:-1;;;;;67690:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;67735:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;67557:221:0:o;61375:853::-;61529:4;-1:-1:-1;;;;;61550:13:0;;29586:19;:23;61546:675;;61586:71;;-1:-1:-1;;;61586:71:0;;-1:-1:-1;;;;;61586:36:0;;;;;:71;;25329:10;;61637:4;;61643:7;;61652:4;;61586:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61586:71:0;;;;;;;;-1:-1:-1;;61586:71:0;;;;;;;;;;;;:::i;:::-;;;61582:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61827:6;:13;61844:1;61827:18;61823:328;;61870:60;;-1:-1:-1;;;61870:60:0;;;;;;;:::i;61823:328::-;62101:6;62095:13;62086:6;62082:2;62078:15;62071:38;61582:584;-1:-1:-1;;;;;;61708:51:0;-1:-1:-1;;;61708:51:0;;-1:-1:-1;61701:58:0;;61546:675;-1:-1:-1;62205:4:0;61375:853;;;;;;:::o;19646:922::-;19699:7;;-1:-1:-1;;;19777:15:0;;19773:102;;-1:-1:-1;;;19813:15:0;;;-1:-1:-1;19857:2:0;19847:12;19773:102;19902:6;19893:5;:15;19889:102;;19938:6;19929:15;;;-1:-1:-1;19973:2:0;19963:12;19889:102;20018:6;20009:5;:15;20005:102;;20054:6;20045:15;;;-1:-1:-1;20089:2:0;20079:12;20005:102;20134:5;20125;:14;20121:99;;20169:5;20160:14;;;-1:-1:-1;20203:1:0;20193:11;20121:99;20247:5;20238;:14;20234:99;;20282:5;20273:14;;;-1:-1:-1;20316:1:0;20306:11;20234:99;20360:5;20351;:14;20347:99;;20395:5;20386:14;;;-1:-1:-1;20429:1:0;20419:11;20347:99;20473:5;20464;:14;20460:66;;20509:1;20499:11;20554:6;19646:922;-1:-1:-1;;19646:922:0:o;56172:942::-;-1:-1:-1;;;;;56252:16:0;;56244:61;;;;-1:-1:-1;;;56244:61:0;;22019:2:1;56244:61:0;;;22001:21:1;;;22038:18;;;22031:30;22097:34;22077:18;;;22070:62;22149:18;;56244:61:0;21817:356:1;56244:61:0;54344:4;53942:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53942:16:0;54368:31;56316:58;;;;-1:-1:-1;;;56316:58:0;;22380:2:1;56316:58:0;;;22362:21:1;22419:2;22399:18;;;22392:30;22458;22438:18;;;22431:58;22506:18;;56316:58:0;22178:352:1;56316:58:0;56387:48;56416:1;56420:2;56424:7;56433:1;56387:20;:48::i;:::-;54344:4;53942:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53942:16:0;54368:31;56525:58;;;;-1:-1:-1;;;56525:58:0;;22380:2:1;56525:58:0;;;22362:21:1;22419:2;22399:18;;;22392:30;22458;22438:18;;;22431:58;22506:18;;56525:58:0;22178:352:1;56525:58:0;-1:-1:-1;;;;;56932:13:0;;;;;;:9;:13;;;;;;;;:18;;56949:1;56932:18;;;56974:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;56974:21:0;;;;;57013:33;56982:7;;56932:13;;57013:33;;56932:13;;57013:33;74910:133;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2369:127::-;2430:10;2425:3;2421:20;2418:1;2411:31;2461:4;2458:1;2451:15;2485:4;2482:1;2475:15;2501:632;2566:5;2596:18;2637:2;2629:6;2626:14;2623:40;;;2643:18;;:::i;:::-;2718:2;2712:9;2686:2;2772:15;;-1:-1:-1;;2768:24:1;;;2794:2;2764:33;2760:42;2748:55;;;2818:18;;;2838:22;;;2815:46;2812:72;;;2864:18;;:::i;:::-;2904:10;2900:2;2893:22;2933:6;2924:15;;2963:6;2955;2948:22;3003:3;2994:6;2989:3;2985:16;2982:25;2979:45;;;3020:1;3017;3010:12;2979:45;3070:6;3065:3;3058:4;3050:6;3046:17;3033:44;3125:1;3118:4;3109:6;3101;3097:19;3093:30;3086:41;;;;2501:632;;;;;:::o;3138:222::-;3181:5;3234:3;3227:4;3219:6;3215:17;3211:27;3201:55;;3252:1;3249;3242:12;3201:55;3274:80;3350:3;3341:6;3328:20;3321:4;3313:6;3309:17;3274:80;:::i;3365:390::-;3443:6;3451;3504:2;3492:9;3483:7;3479:23;3475:32;3472:52;;;3520:1;3517;3510:12;3472:52;3556:9;3543:23;3533:33;;3617:2;3606:9;3602:18;3589:32;3644:18;3636:6;3633:30;3630:50;;;3676:1;3673;3666:12;3630:50;3699;3741:7;3732:6;3721:9;3717:22;3699:50;:::i;:::-;3689:60;;;3365:390;;;;;:::o;3942:328::-;4019:6;4027;4035;4088:2;4076:9;4067:7;4063:23;4059:32;4056:52;;;4104:1;4101;4094:12;4056:52;4127:29;4146:9;4127:29;:::i;:::-;4117:39;;4175:38;4209:2;4198:9;4194:18;4175:38;:::i;:::-;4165:48;;4260:2;4249:9;4245:18;4232:32;4222:42;;3942:328;;;;;:::o;4275:322::-;4344:6;4397:2;4385:9;4376:7;4372:23;4368:32;4365:52;;;4413:1;4410;4403:12;4365:52;4453:9;4440:23;4486:18;4478:6;4475:30;4472:50;;;4518:1;4515;4508:12;4472:50;4541;4583:7;4574:6;4563:9;4559:22;4541:50;:::i;4602:118::-;4688:5;4681:13;4674:21;4667:5;4664:32;4654:60;;4710:1;4707;4700:12;4725:315;4790:6;4798;4851:2;4839:9;4830:7;4826:23;4822:32;4819:52;;;4867:1;4864;4857:12;4819:52;4890:29;4909:9;4890:29;:::i;:::-;4880:39;;4969:2;4958:9;4954:18;4941:32;4982:28;5004:5;4982:28;:::i;:::-;5029:5;5019:15;;;4725:315;;;;;:::o;5284:667::-;5379:6;5387;5395;5403;5456:3;5444:9;5435:7;5431:23;5427:33;5424:53;;;5473:1;5470;5463:12;5424:53;5496:29;5515:9;5496:29;:::i;:::-;5486:39;;5544:38;5578:2;5567:9;5563:18;5544:38;:::i;:::-;5534:48;;5629:2;5618:9;5614:18;5601:32;5591:42;;5684:2;5673:9;5669:18;5656:32;5711:18;5703:6;5700:30;5697:50;;;5743:1;5740;5733:12;5697:50;5766:22;;5819:4;5811:13;;5807:27;-1:-1:-1;5797:55:1;;5848:1;5845;5838:12;5797:55;5871:74;5937:7;5932:2;5919:16;5914:2;5910;5906:11;5871:74;:::i;:::-;5861:84;;;5284:667;;;;;;;:::o;5956:464::-;6043:6;6051;6059;6112:2;6100:9;6091:7;6087:23;6083:32;6080:52;;;6128:1;6125;6118:12;6080:52;6151:29;6170:9;6151:29;:::i;:::-;6141:39;;6227:2;6216:9;6212:18;6199:32;6189:42;;6282:2;6271:9;6267:18;6254:32;6309:18;6301:6;6298:30;6295:50;;;6341:1;6338;6331:12;6295:50;6364;6406:7;6397:6;6386:9;6382:22;6364:50;:::i;:::-;6354:60;;;5956:464;;;;;:::o;6425:316::-;6502:6;6510;6518;6571:2;6559:9;6550:7;6546:23;6542:32;6539:52;;;6587:1;6584;6577:12;6539:52;-1:-1:-1;;6610:23:1;;;6680:2;6665:18;;6652:32;;-1:-1:-1;6731:2:1;6716:18;;;6703:32;;6425:316;-1:-1:-1;6425:316:1:o;6746:260::-;6814:6;6822;6875:2;6863:9;6854:7;6850:23;6846:32;6843:52;;;6891:1;6888;6881:12;6843:52;6914:29;6933:9;6914:29;:::i;:::-;6904:39;;6962:38;6996:2;6985:9;6981:18;6962:38;:::i;:::-;6952:48;;6746:260;;;;;:::o;7011:380::-;7090:1;7086:12;;;;7133;;;7154:61;;7208:4;7200:6;7196:17;7186:27;;7154:61;7261:2;7253:6;7250:14;7230:18;7227:38;7224:161;;7307:10;7302:3;7298:20;7295:1;7288:31;7342:4;7339:1;7332:15;7370:4;7367:1;7360:15;7224:161;;7011:380;;;:::o;8871:127::-;8932:10;8927:3;8923:20;8920:1;8913:31;8963:4;8960:1;8953:15;8987:4;8984:1;8977:15;9356:406;9558:2;9540:21;;;9597:2;9577:18;;;9570:30;9636:34;9631:2;9616:18;;9609:62;-1:-1:-1;;;9702:2:1;9687:18;;9680:40;9752:3;9737:19;;9356:406::o;10303:545::-;10405:2;10400:3;10397:11;10394:448;;;10441:1;10466:5;10462:2;10455:17;10511:4;10507:2;10497:19;10581:2;10569:10;10565:19;10562:1;10558:27;10552:4;10548:38;10617:4;10605:10;10602:20;10599:47;;;-1:-1:-1;10640:4:1;10599:47;10695:2;10690:3;10686:12;10683:1;10679:20;10673:4;10669:31;10659:41;;10750:82;10768:2;10761:5;10758:13;10750:82;;;10813:17;;;10794:1;10783:13;10750:82;;;10754:3;;;10303:545;;;:::o;11024:1352::-;11150:3;11144:10;11177:18;11169:6;11166:30;11163:56;;;11199:18;;:::i;:::-;11228:97;11318:6;11278:38;11310:4;11304:11;11278:38;:::i;:::-;11272:4;11228:97;:::i;:::-;11380:4;;11444:2;11433:14;;11461:1;11456:663;;;;12163:1;12180:6;12177:89;;;-1:-1:-1;12232:19:1;;;12226:26;12177:89;-1:-1:-1;;10981:1:1;10977:11;;;10973:24;10969:29;10959:40;11005:1;11001:11;;;10956:57;12279:81;;11426:944;;11456:663;10250:1;10243:14;;;10287:4;10274:18;;-1:-1:-1;;11492:20:1;;;11610:236;11624:7;11621:1;11618:14;11610:236;;;11713:19;;;11707:26;11692:42;;11805:27;;;;11773:1;11761:14;;;;11640:19;;11610:236;;;11614:3;11874:6;11865:7;11862:19;11859:201;;;11935:19;;;11929:26;-1:-1:-1;;12018:1:1;12014:14;;;12030:3;12010:24;12006:37;12002:42;11987:58;11972:74;;11859:201;-1:-1:-1;;;;;12106:1:1;12090:14;;;12086:22;12073:36;;-1:-1:-1;11024:1352:1:o;13512:127::-;13573:10;13568:3;13564:20;13561:1;13554:31;13604:4;13601:1;13594:15;13628:4;13625:1;13618:15;13644:125;13709:9;;;13730:10;;;13727:36;;;13743:18;;:::i;14053:401::-;14255:2;14237:21;;;14294:2;14274:18;;;14267:30;14333:34;14328:2;14313:18;;14306:62;-1:-1:-1;;;14399:2:1;14384:18;;14377:35;14444:3;14429:19;;14053:401::o;16896:291::-;17073:6;17062:9;17055:25;17116:2;17111;17100:9;17096:18;17089:30;17036:4;17136:45;17177:2;17166:9;17162:18;17154:6;17136:45;:::i;17192:409::-;17394:2;17376:21;;;17433:2;17413:18;;;17406:30;17472:34;17467:2;17452:18;;17445:62;-1:-1:-1;;;17538:2:1;17523:18;;17516:43;17591:3;17576:19;;17192:409::o;17606:496::-;17785:3;17823:6;17817:13;17839:66;17898:6;17893:3;17886:4;17878:6;17874:17;17839:66;:::i;:::-;17968:13;;17927:16;;;;17990:70;17968:13;17927:16;18037:4;18025:17;;17990:70;:::i;:::-;18076:20;;17606:496;-1:-1:-1;;;;17606:496:1:o;18416:245::-;18483:6;18536:2;18524:9;18515:7;18511:23;18507:32;18504:52;;;18552:1;18549;18542:12;18504:52;18584:9;18578:16;18603:28;18625:5;18603:28;:::i;18666:401::-;18868:2;18850:21;;;18907:2;18887:18;;;18880:30;18946:34;18941:2;18926:18;;18919:62;-1:-1:-1;;;19012:2:1;18997:18;;18990:35;19057:3;19042:19;;18666:401::o;20253:414::-;20455:2;20437:21;;;20494:2;20474:18;;;20467:30;20533:34;20528:2;20513:18;;20506:62;-1:-1:-1;;;20599:2:1;20584:18;;20577:48;20657:3;20642:19;;20253:414::o;20804:128::-;20871:9;;;20892:11;;;20889:37;;;20906:18;;:::i;20937:127::-;20998:10;20993:3;20989:20;20986:1;20979:31;21029:4;21026:1;21019:15;21053:4;21050:1;21043:15;21069:489;-1:-1:-1;;;;;21338:15:1;;;21320:34;;21390:15;;21385:2;21370:18;;21363:43;21437:2;21422:18;;21415:34;;;21485:3;21480:2;21465:18;;21458:31;;;21263:4;;21506:46;;21532:19;;21524:6;21506:46;:::i;:::-;21498:54;21069:489;-1:-1:-1;;;;;;21069:489:1:o;21563:249::-;21632:6;21685:2;21673:9;21664:7;21660:23;21656:32;21653:52;;;21701:1;21698;21691:12;21653:52;21733:9;21727:16;21752:30;21776:5;21752:30;:::i
Swarm Source
ipfs://d9f748fddf21368ef9871ad96de49e17d7c5a5b3092624aea1bbcc35f395f791
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.