Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Artificial Intelligence
Overview
Max Total Supply
0 AIDO
Holders
110
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AIDOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TruthAidoge
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-08 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ 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); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: contracts/nft/AiDogeAvatarNFT.sol pragma solidity =0.8.19; contract TruthAidoge is Ownable, ERC721, ERC2981, DefaultOperatorFilterer { using EnumerableSet for EnumerableSet.AddressSet; uint256 public constant MAX_SUPPLY = 10000; event Open(uint256 indexed id, address indexed owner, uint256 openTime); uint256 public nextTokenId = 1; bool public mintEnded; string public baseURI; EnumerableSet.AddressSet private _minters; constructor() ERC721("Truth AIDOGE", "AIDO") { } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } function setDefaultRoyalty(address receiver, uint96 royalty) external onlyOwner { super._setDefaultRoyalty(receiver, royalty); } function setTokenRoyalty(uint256 id, address receiver, uint96 royalty) external onlyOwner { super._setTokenRoyalty(id, receiver, royalty); } function resetTokenRoyalty(uint256 id) external onlyOwner { super._resetTokenRoyalty(id); } function mint(address to) external onlyMinter returns(uint256) { require(!mintEnded, "TruthAidoge: MINT_ENDED"); require(nextTokenId <= MAX_SUPPLY, "AvatarNft: MAX_SUPPLY"); uint256 id = nextTokenId; _safeMint(to, id); nextTokenId++; return id; } function mint(address to, uint num) public onlyMinter { for(uint i = 0; i < num; ++i) { uint256 id = nextTokenId; _safeMint(to, id); nextTokenId++; } } function burn(uint256 tokenId) external { _burn(tokenId); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _uri) external onlyOwner { baseURI = _uri; } function endMint() public onlyOwner { mintEnded = true; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function addMinter(address minter) public onlyOwner returns (bool) { require(minter != address(0), "TruthAidoge: minter is the zero address"); return _minters.add(minter); } function delMinter(address minter) public onlyOwner returns (bool) { require(minter != address(0), "TruthAidoge: minter is the zero address"); return _minters.remove(minter); } function getMinterLength() public view returns (uint256) { return _minters.length(); } function isMinter(address account) public view returns (bool) { return _minters.contains(account); } function getMinter(uint256 index) public view returns (address) { require(index <= getMinterLength() - 1, "TruthAidoge: index out of bounds"); return _minters.at(index); } // modifier for mint function modifier onlyMinter() { require(isMinter(msg.sender), "TruthAidoge: caller is not the minter"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"openTime","type":"uint256"}],"name":"Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"delMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"id","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"royalty","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"royalty","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]
Contract Creation Code
608060405260016009553480156200001657600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b5472757468204149444f474560a01b815250604051806040016040528060048152602001634149444f60e01b8152506200008a62000084620001f760201b60201c565b620001fb565b6001620000988382620002f0565b506002620000a78282620002f0565b5050506daaeb6d7670e522a718067333cd4e3b15620001ef5780156200013d57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200011e57600080fd5b505af115801562000133573d6000803e3d6000fd5b50505050620001ef565b6001600160a01b038216156200018e5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000103565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001d557600080fd5b505af1158015620001ea573d6000803e3d6000fd5b505050505b5050620003bc565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200027657607f821691505b6020821081036200029757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002eb57600081815260208120601f850160051c81016020861015620002c65750805b601f850160051c820191505b81811015620002e757828155600101620002d2565b5050505b505050565b81516001600160401b038111156200030c576200030c6200024b565b62000324816200031d845462000261565b846200029d565b602080601f8311600181146200035c5760008415620003435750858301515b600019600386901b1c1916600185901b178555620002e7565b600085815260208120601f198616915b828110156200038d578886015182559484019460019091019084016200036c565b5085821015620003ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6128c380620003cc6000396000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c80635944c753116101455780638da5cb5b116100bd578063aa271e1a1161008c578063c87b56dd11610071578063c87b56dd146104b3578063e985e9c5146104c6578063f2fde38b1461050257600080fd5b8063aa271e1a1461048d578063b88d4fde146104a057600080fd5b80638da5cb5b1461044e57806395d89b411461045f578063983b2d5614610467578063a22cb4651461047a57600080fd5b80636c0360eb11610114578063715018a6116100f9578063715018a61461042a57806375794a3c146104325780638a616bc01461043b57600080fd5b80636c0360eb1461040f57806370a082311461041757600080fd5b80635944c753146103c35780635b7121f8146103d65780636352211e146103e95780636a627842146103fc57600080fd5b806323338b88116101d857806340c10f19116101a757806342842e0e1161018c57806342842e0e1461038a57806342966c681461039d57806355f804b3146103b057600080fd5b806340c10f191461036257806341f434341461037557600080fd5b806323338b881461030157806323b872dd146103145780632a55205a1461032757806332cb6b0c1461035957600080fd5b806304634d8d1161021457806304634d8d1461029b57806306fdde03146102ae578063081812fc146102c3578063095ea7b3146102ee57600080fd5b8063017043a51461024657806301ffc9a714610250578063021313cf146102785780630323aac714610285575b600080fd5b61024e610515565b005b61026361025e36600461225a565b61052c565b60405190151581526020015b60405180910390f35b600a546102639060ff1681565b61028d610570565b60405190815260200161026f565b61024e6102a93660046122aa565b610581565b6102b6610597565b60405161026f919061232d565b6102d66102d1366004612340565b610629565b6040516001600160a01b03909116815260200161026f565b61024e6102fc366004612359565b610650565b61026361030f366004612383565b610669565b61024e61032236600461239e565b610704565b61033a6103353660046123da565b61072f565b604080516001600160a01b03909316835260208301919091520161026f565b61028d61271081565b61024e610370366004612359565b6107ea565b6102d66daaeb6d7670e522a718067333cd4e81565b61024e61039836600461239e565b6108a4565b61024e6103ab366004612340565b6108c9565b61024e6103be366004612488565b6108d5565b61024e6103d13660046124d1565b6108e9565b6102d66103e4366004612340565b6108fc565b6102d66103f7366004612340565b61096c565b61028d61040a366004612383565b6109d1565b6102b6610b1e565b61028d610425366004612383565b610bac565b61024e610c46565b61028d60095481565b61024e610449366004612340565b610c5a565b6000546001600160a01b03166102d6565b6102b6610c73565b610263610475366004612383565b610c82565b61024e61048836600461251b565b610d13565b61026361049b366004612383565b610d27565b61024e6104ae366004612552565b610d34565b6102b66104c1366004612340565b610d61565b6102636104d43660046125ce565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61024e610510366004612383565b610dc8565b61051d610e55565b600a805460ff19166001179055565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061056a575061056a82610eaf565b92915050565b600061057c600c610eed565b905090565b610589610e55565b6105938282610ef7565b5050565b6060600180546105a6906125f8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d2906125f8565b801561061f5780601f106105f45761010080835404028352916020019161061f565b820191906000526020600020905b81548152906001019060200180831161060257829003601f168201915b5050505050905090565b600061063482611011565b506000908152600560205260409020546001600160a01b031690565b8161065a81611075565b6106648383611160565b505050565b6000610673610e55565b6001600160a01b0382166106f45760405162461bcd60e51b815260206004820152602760248201527f54727574684169646f67653a206d696e74657220697320746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61056a600c836112aa565b919050565b826001600160a01b038116331461071e5761071e33611075565b6107298484846112bf565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916107ae5750604080518082019091526007546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906107d2906bffffffffffffffffffffffff1687612648565b6107dc919061265f565b915196919550909350505050565b6107f333610d27565b6108655760405162461bcd60e51b815260206004820152602560248201527f54727574684169646f67653a2063616c6c6572206973206e6f7420746865206d60448201527f696e74657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b60005b818110156106645760095461087d8482611346565b6009805490600061088d83612681565b9190505550508061089d90612681565b9050610868565b826001600160a01b03811633146108be576108be33611075565b610729848484611360565b6108d28161137b565b50565b6108dd610e55565b600b61059382826126e9565b6108f1610e55565b61066483838361141d565b60006001610908610570565b61091291906127a9565b8211156109615760405162461bcd60e51b815260206004820181905260248201527f54727574684169646f67653a20696e646578206f7574206f6620626f756e647360448201526064016106eb565b61056a600c83611548565b6000818152600360205260408120546001600160a01b03168061056a5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106eb565b60006109dc33610d27565b610a4e5760405162461bcd60e51b815260206004820152602560248201527f54727574684169646f67653a2063616c6c6572206973206e6f7420746865206d60448201527f696e74657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b600a5460ff1615610aa15760405162461bcd60e51b815260206004820152601760248201527f54727574684169646f67653a204d494e545f454e44454400000000000000000060448201526064016106eb565b6127106009541115610af55760405162461bcd60e51b815260206004820152601560248201527f4176617461724e66743a204d41585f535550504c59000000000000000000000060448201526064016106eb565b600954610b028382611346565b60098054906000610b1283612681565b90915550909392505050565b600b8054610b2b906125f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b57906125f8565b8015610ba45780601f10610b7957610100808354040283529160200191610ba4565b820191906000526020600020905b815481529060010190602001808311610b8757829003601f168201915b505050505081565b60006001600160a01b038216610c2a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016106eb565b506001600160a01b031660009081526004602052604090205490565b610c4e610e55565b610c586000611554565b565b610c62610e55565b600090815260086020526040812055565b6060600280546105a6906125f8565b6000610c8c610e55565b6001600160a01b038216610d085760405162461bcd60e51b815260206004820152602760248201527f54727574684169646f67653a206d696e74657220697320746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084016106eb565b61056a600c836115b1565b81610d1d81611075565b61066483836115c6565b600061056a600c836115d1565b836001600160a01b0381163314610d4e57610d4e33611075565b610d5a858585856115f3565b5050505050565b6060610d6c82611011565b6000610d7661167b565b90506000815111610d965760405180602001604052806000815250610dc1565b80610da08461168a565b604051602001610db19291906127bc565b6040516020818303038152906040525b9392505050565b610dd0610e55565b6001600160a01b038116610e4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106eb565b6108d281611554565b6000546001600160a01b03163314610c585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106eb565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061056a575061056a8261172a565b600061056a825490565b6127106bffffffffffffffffffffffff82161115610f7d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b038216610fd35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016106eb565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600755565b6000818152600360205260409020546001600160a01b03166108d25760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106eb565b6daaeb6d7670e522a718067333cd4e3b156108d2576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f91906127eb565b6108d2576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024016106eb565b600061116b8261096c565b9050806001600160a01b0316836001600160a01b0316036111f45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106eb565b336001600160a01b038216148061122e57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6112a05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106eb565b61066483836117c5565b6000610dc1836001600160a01b038416611840565b6112c93382611933565b61133b5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016106eb565b6106648383836119b2565b610593828260405180602001604052806000815250611be8565b61066483838360405180602001604052806000815250610d34565b60006113868261096c565b90506113918261096c565b6000838152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127106bffffffffffffffffffffffff821611156114a35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b0382166114f95760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d6574657273000000000060448201526064016106eb565b6040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182526000968752600890529190942093519051909116600160a01b029116179055565b6000610dc18383611c71565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610dc1836001600160a01b038416611c9b565b610593338383611cea565b6001600160a01b03811660009081526001830160205260408120541515610dc1565b6115fd3383611933565b61166f5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016106eb565b61072984848484611db8565b6060600b80546105a6906125f8565b6060600061169783611e41565b600101905060008167ffffffffffffffff8111156116b7576116b76123fc565b6040519080825280601f01601f1916602001820160405280156116e1576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846116eb57509392505050565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061178d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061056a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461056a565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906118078261096c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260018301602052604081205480156119295760006118646001836127a9565b8554909150600090611878906001906127a9565b90508181146118dd57600086600001828154811061189857611898612808565b90600052602060002001549050808760000184815481106118bb576118bb612808565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806118ee576118ee61281e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061056a565b600091505061056a565b60008061193f8361096c565b9050806001600160a01b0316846001600160a01b0316148061198657506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806119aa5750836001600160a01b031661199f84610629565b6001600160a01b0316145b949350505050565b826001600160a01b03166119c58261096c565b6001600160a01b031614611a415760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b038216611abc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106eb565b826001600160a01b0316611acf8261096c565b6001600160a01b031614611b4b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b6000818152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611bf28383611f23565b611bff60008484846120bb565b6106645760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b6000826000018281548110611c8857611c88612808565b9060005260206000200154905092915050565b6000818152600183016020526040812054611ce25750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561056a565b50600061056a565b816001600160a01b0316836001600160a01b031603611d4b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106eb565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dc38484846119b2565b611dcf848484846120bb565b6107295760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e8a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611eb6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611ed457662386f26fc10000830492506010015b6305f5e1008310611eec576305f5e100830492506008015b6127108310611f0057612710830492506004015b60648310611f12576064830492506002015b600a831061056a5760010192915050565b6001600160a01b038216611f795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106eb565b6000818152600360205260409020546001600160a01b031615611fde5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106eb565b6000818152600360205260409020546001600160a01b0316156120435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106eb565b6001600160a01b0382166000818152600460209081526040808320805460010190558483526003909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612239576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612118903390899088908890600401612834565b6020604051808303816000875af1925050508015612153575060408051601f3d908101601f1916820190925261215091810190612870565b60015b612206573d808015612181576040519150601f19603f3d011682016040523d82523d6000602084013e612186565b606091505b5080516000036121fe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506119aa565b506001949350505050565b6001600160e01b0319811681146108d257600080fd5b60006020828403121561226c57600080fd5b8135610dc181612244565b80356001600160a01b03811681146106ff57600080fd5b80356bffffffffffffffffffffffff811681146106ff57600080fd5b600080604083850312156122bd57600080fd5b6122c683612277565b91506122d46020840161228e565b90509250929050565b60005b838110156122f85781810151838201526020016122e0565b50506000910152565b600081518084526123198160208601602086016122dd565b601f01601f19169290920160200192915050565b602081526000610dc16020830184612301565b60006020828403121561235257600080fd5b5035919050565b6000806040838503121561236c57600080fd5b61237583612277565b946020939093013593505050565b60006020828403121561239557600080fd5b610dc182612277565b6000806000606084860312156123b357600080fd5b6123bc84612277565b92506123ca60208501612277565b9150604084013590509250925092565b600080604083850312156123ed57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561242d5761242d6123fc565b604051601f8501601f19908116603f01168101908282118183101715612455576124556123fc565b8160405280935085815286868601111561246e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561249a57600080fd5b813567ffffffffffffffff8111156124b157600080fd5b8201601f810184136124c257600080fd5b6119aa84823560208401612412565b6000806000606084860312156124e657600080fd5b833592506124f660208501612277565b91506125046040850161228e565b90509250925092565b80151581146108d257600080fd5b6000806040838503121561252e57600080fd5b61253783612277565b915060208301356125478161250d565b809150509250929050565b6000806000806080858703121561256857600080fd5b61257185612277565b935061257f60208601612277565b925060408501359150606085013567ffffffffffffffff8111156125a257600080fd5b8501601f810187136125b357600080fd5b6125c287823560208401612412565b91505092959194509250565b600080604083850312156125e157600080fd5b6125ea83612277565b91506122d460208401612277565b600181811c9082168061260c57607f821691505b60208210810361262c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761056a5761056a612632565b60008261267c57634e487b7160e01b600052601260045260246000fd5b500490565b6000600019820361269457612694612632565b5060010190565b601f82111561066457600081815260208120601f850160051c810160208610156126c25750805b601f850160051c820191505b818110156126e1578281556001016126ce565b505050505050565b815167ffffffffffffffff811115612703576127036123fc565b6127178161271184546125f8565b8461269b565b602080601f83116001811461274c57600084156127345750858301515b600019600386901b1c1916600185901b1785556126e1565b600085815260208120601f198616915b8281101561277b5788860151825594840194600190910190840161275c565b50858210156127995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561056a5761056a612632565b600083516127ce8184602088016122dd565b8351908301906127e28183602088016122dd565b01949350505050565b6000602082840312156127fd57600080fd5b8151610dc18161250d565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526128666080830184612301565b9695505050505050565b60006020828403121561288257600080fd5b8151610dc18161224456fea2646970667358221220994974635dabe8de4515e802d844bd211e3b60466e3df9c2d2a2b336edf574ce64736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102415760003560e01c80635944c753116101455780638da5cb5b116100bd578063aa271e1a1161008c578063c87b56dd11610071578063c87b56dd146104b3578063e985e9c5146104c6578063f2fde38b1461050257600080fd5b8063aa271e1a1461048d578063b88d4fde146104a057600080fd5b80638da5cb5b1461044e57806395d89b411461045f578063983b2d5614610467578063a22cb4651461047a57600080fd5b80636c0360eb11610114578063715018a6116100f9578063715018a61461042a57806375794a3c146104325780638a616bc01461043b57600080fd5b80636c0360eb1461040f57806370a082311461041757600080fd5b80635944c753146103c35780635b7121f8146103d65780636352211e146103e95780636a627842146103fc57600080fd5b806323338b88116101d857806340c10f19116101a757806342842e0e1161018c57806342842e0e1461038a57806342966c681461039d57806355f804b3146103b057600080fd5b806340c10f191461036257806341f434341461037557600080fd5b806323338b881461030157806323b872dd146103145780632a55205a1461032757806332cb6b0c1461035957600080fd5b806304634d8d1161021457806304634d8d1461029b57806306fdde03146102ae578063081812fc146102c3578063095ea7b3146102ee57600080fd5b8063017043a51461024657806301ffc9a714610250578063021313cf146102785780630323aac714610285575b600080fd5b61024e610515565b005b61026361025e36600461225a565b61052c565b60405190151581526020015b60405180910390f35b600a546102639060ff1681565b61028d610570565b60405190815260200161026f565b61024e6102a93660046122aa565b610581565b6102b6610597565b60405161026f919061232d565b6102d66102d1366004612340565b610629565b6040516001600160a01b03909116815260200161026f565b61024e6102fc366004612359565b610650565b61026361030f366004612383565b610669565b61024e61032236600461239e565b610704565b61033a6103353660046123da565b61072f565b604080516001600160a01b03909316835260208301919091520161026f565b61028d61271081565b61024e610370366004612359565b6107ea565b6102d66daaeb6d7670e522a718067333cd4e81565b61024e61039836600461239e565b6108a4565b61024e6103ab366004612340565b6108c9565b61024e6103be366004612488565b6108d5565b61024e6103d13660046124d1565b6108e9565b6102d66103e4366004612340565b6108fc565b6102d66103f7366004612340565b61096c565b61028d61040a366004612383565b6109d1565b6102b6610b1e565b61028d610425366004612383565b610bac565b61024e610c46565b61028d60095481565b61024e610449366004612340565b610c5a565b6000546001600160a01b03166102d6565b6102b6610c73565b610263610475366004612383565b610c82565b61024e61048836600461251b565b610d13565b61026361049b366004612383565b610d27565b61024e6104ae366004612552565b610d34565b6102b66104c1366004612340565b610d61565b6102636104d43660046125ce565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61024e610510366004612383565b610dc8565b61051d610e55565b600a805460ff19166001179055565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061056a575061056a82610eaf565b92915050565b600061057c600c610eed565b905090565b610589610e55565b6105938282610ef7565b5050565b6060600180546105a6906125f8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d2906125f8565b801561061f5780601f106105f45761010080835404028352916020019161061f565b820191906000526020600020905b81548152906001019060200180831161060257829003601f168201915b5050505050905090565b600061063482611011565b506000908152600560205260409020546001600160a01b031690565b8161065a81611075565b6106648383611160565b505050565b6000610673610e55565b6001600160a01b0382166106f45760405162461bcd60e51b815260206004820152602760248201527f54727574684169646f67653a206d696e74657220697320746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61056a600c836112aa565b919050565b826001600160a01b038116331461071e5761071e33611075565b6107298484846112bf565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916107ae5750604080518082019091526007546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906107d2906bffffffffffffffffffffffff1687612648565b6107dc919061265f565b915196919550909350505050565b6107f333610d27565b6108655760405162461bcd60e51b815260206004820152602560248201527f54727574684169646f67653a2063616c6c6572206973206e6f7420746865206d60448201527f696e74657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b60005b818110156106645760095461087d8482611346565b6009805490600061088d83612681565b9190505550508061089d90612681565b9050610868565b826001600160a01b03811633146108be576108be33611075565b610729848484611360565b6108d28161137b565b50565b6108dd610e55565b600b61059382826126e9565b6108f1610e55565b61066483838361141d565b60006001610908610570565b61091291906127a9565b8211156109615760405162461bcd60e51b815260206004820181905260248201527f54727574684169646f67653a20696e646578206f7574206f6620626f756e647360448201526064016106eb565b61056a600c83611548565b6000818152600360205260408120546001600160a01b03168061056a5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106eb565b60006109dc33610d27565b610a4e5760405162461bcd60e51b815260206004820152602560248201527f54727574684169646f67653a2063616c6c6572206973206e6f7420746865206d60448201527f696e74657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b600a5460ff1615610aa15760405162461bcd60e51b815260206004820152601760248201527f54727574684169646f67653a204d494e545f454e44454400000000000000000060448201526064016106eb565b6127106009541115610af55760405162461bcd60e51b815260206004820152601560248201527f4176617461724e66743a204d41585f535550504c59000000000000000000000060448201526064016106eb565b600954610b028382611346565b60098054906000610b1283612681565b90915550909392505050565b600b8054610b2b906125f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b57906125f8565b8015610ba45780601f10610b7957610100808354040283529160200191610ba4565b820191906000526020600020905b815481529060010190602001808311610b8757829003601f168201915b505050505081565b60006001600160a01b038216610c2a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016106eb565b506001600160a01b031660009081526004602052604090205490565b610c4e610e55565b610c586000611554565b565b610c62610e55565b600090815260086020526040812055565b6060600280546105a6906125f8565b6000610c8c610e55565b6001600160a01b038216610d085760405162461bcd60e51b815260206004820152602760248201527f54727574684169646f67653a206d696e74657220697320746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084016106eb565b61056a600c836115b1565b81610d1d81611075565b61066483836115c6565b600061056a600c836115d1565b836001600160a01b0381163314610d4e57610d4e33611075565b610d5a858585856115f3565b5050505050565b6060610d6c82611011565b6000610d7661167b565b90506000815111610d965760405180602001604052806000815250610dc1565b80610da08461168a565b604051602001610db19291906127bc565b6040516020818303038152906040525b9392505050565b610dd0610e55565b6001600160a01b038116610e4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106eb565b6108d281611554565b6000546001600160a01b03163314610c585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106eb565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061056a575061056a8261172a565b600061056a825490565b6127106bffffffffffffffffffffffff82161115610f7d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b038216610fd35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016106eb565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600755565b6000818152600360205260409020546001600160a01b03166108d25760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106eb565b6daaeb6d7670e522a718067333cd4e3b156108d2576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f91906127eb565b6108d2576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024016106eb565b600061116b8261096c565b9050806001600160a01b0316836001600160a01b0316036111f45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106eb565b336001600160a01b038216148061122e57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6112a05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106eb565b61066483836117c5565b6000610dc1836001600160a01b038416611840565b6112c93382611933565b61133b5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016106eb565b6106648383836119b2565b610593828260405180602001604052806000815250611be8565b61066483838360405180602001604052806000815250610d34565b60006113868261096c565b90506113918261096c565b6000838152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127106bffffffffffffffffffffffff821611156114a35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b0382166114f95760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d6574657273000000000060448201526064016106eb565b6040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182526000968752600890529190942093519051909116600160a01b029116179055565b6000610dc18383611c71565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610dc1836001600160a01b038416611c9b565b610593338383611cea565b6001600160a01b03811660009081526001830160205260408120541515610dc1565b6115fd3383611933565b61166f5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f7665640000000000000000000000000000000000000060648201526084016106eb565b61072984848484611db8565b6060600b80546105a6906125f8565b6060600061169783611e41565b600101905060008167ffffffffffffffff8111156116b7576116b76123fc565b6040519080825280601f01601f1916602001820160405280156116e1576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846116eb57509392505050565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061178d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061056a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461056a565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906118078261096c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260018301602052604081205480156119295760006118646001836127a9565b8554909150600090611878906001906127a9565b90508181146118dd57600086600001828154811061189857611898612808565b90600052602060002001549050808760000184815481106118bb576118bb612808565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806118ee576118ee61281e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061056a565b600091505061056a565b60008061193f8361096c565b9050806001600160a01b0316846001600160a01b0316148061198657506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806119aa5750836001600160a01b031661199f84610629565b6001600160a01b0316145b949350505050565b826001600160a01b03166119c58261096c565b6001600160a01b031614611a415760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b6001600160a01b038216611abc5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106eb565b826001600160a01b0316611acf8261096c565b6001600160a01b031614611b4b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106eb565b6000818152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611bf28383611f23565b611bff60008484846120bb565b6106645760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b6000826000018281548110611c8857611c88612808565b9060005260206000200154905092915050565b6000818152600183016020526040812054611ce25750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561056a565b50600061056a565b816001600160a01b0316836001600160a01b031603611d4b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106eb565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dc38484846119b2565b611dcf848484846120bb565b6107295760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e8a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611eb6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611ed457662386f26fc10000830492506010015b6305f5e1008310611eec576305f5e100830492506008015b6127108310611f0057612710830492506004015b60648310611f12576064830492506002015b600a831061056a5760010192915050565b6001600160a01b038216611f795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106eb565b6000818152600360205260409020546001600160a01b031615611fde5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106eb565b6000818152600360205260409020546001600160a01b0316156120435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106eb565b6001600160a01b0382166000818152600460209081526040808320805460010190558483526003909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612239576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612118903390899088908890600401612834565b6020604051808303816000875af1925050508015612153575060408051601f3d908101601f1916820190925261215091810190612870565b60015b612206573d808015612181576040519150601f19603f3d011682016040523d82523d6000602084013e612186565b606091505b5080516000036121fe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106eb565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506119aa565b506001949350505050565b6001600160e01b0319811681146108d257600080fd5b60006020828403121561226c57600080fd5b8135610dc181612244565b80356001600160a01b03811681146106ff57600080fd5b80356bffffffffffffffffffffffff811681146106ff57600080fd5b600080604083850312156122bd57600080fd5b6122c683612277565b91506122d46020840161228e565b90509250929050565b60005b838110156122f85781810151838201526020016122e0565b50506000910152565b600081518084526123198160208601602086016122dd565b601f01601f19169290920160200192915050565b602081526000610dc16020830184612301565b60006020828403121561235257600080fd5b5035919050565b6000806040838503121561236c57600080fd5b61237583612277565b946020939093013593505050565b60006020828403121561239557600080fd5b610dc182612277565b6000806000606084860312156123b357600080fd5b6123bc84612277565b92506123ca60208501612277565b9150604084013590509250925092565b600080604083850312156123ed57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561242d5761242d6123fc565b604051601f8501601f19908116603f01168101908282118183101715612455576124556123fc565b8160405280935085815286868601111561246e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561249a57600080fd5b813567ffffffffffffffff8111156124b157600080fd5b8201601f810184136124c257600080fd5b6119aa84823560208401612412565b6000806000606084860312156124e657600080fd5b833592506124f660208501612277565b91506125046040850161228e565b90509250925092565b80151581146108d257600080fd5b6000806040838503121561252e57600080fd5b61253783612277565b915060208301356125478161250d565b809150509250929050565b6000806000806080858703121561256857600080fd5b61257185612277565b935061257f60208601612277565b925060408501359150606085013567ffffffffffffffff8111156125a257600080fd5b8501601f810187136125b357600080fd5b6125c287823560208401612412565b91505092959194509250565b600080604083850312156125e157600080fd5b6125ea83612277565b91506122d460208401612277565b600181811c9082168061260c57607f821691505b60208210810361262c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761056a5761056a612632565b60008261267c57634e487b7160e01b600052601260045260246000fd5b500490565b6000600019820361269457612694612632565b5060010190565b601f82111561066457600081815260208120601f850160051c810160208610156126c25750805b601f850160051c820191505b818110156126e1578281556001016126ce565b505050505050565b815167ffffffffffffffff811115612703576127036123fc565b6127178161271184546125f8565b8461269b565b602080601f83116001811461274c57600084156127345750858301515b600019600386901b1c1916600185901b1785556126e1565b600085815260208120601f198616915b8281101561277b5788860151825594840194600190910190840161275c565b50858210156127995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561056a5761056a612632565b600083516127ce8184602088016122dd565b8351908301906127e28183602088016122dd565b01949350505050565b6000602082840312156127fd57600080fd5b8151610dc18161250d565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526128666080830184612301565b9695505050505050565b60006020828403121561288257600080fd5b8151610dc18161224456fea2646970667358221220994974635dabe8de4515e802d844bd211e3b60466e3df9c2d2a2b336edf574ce64736f6c63430008130033
Deployed Bytecode Sourcemap
84312:3952:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86278:71;;;:::i;:::-;;84785:215;;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;84785:215:0;;;;;;;;84618:21;;;;;;;;;87671:100;;;:::i;:::-;;;784:25:1;;;772:2;757:18;87671:100:0;638:177:1;85008:142:0;;;;;;:::i;:::-;;:::i;39471:100::-;;;:::i;:::-;;;;;;;:::i;40983:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2632:55:1;;;2614:74;;2602:2;2587:18;40983:171:0;2468:226:1;86541:157:0;;;;;;:::i;:::-;;:::i;87464:199::-;;;;;;:::i;:::-;;:::i;86706:163::-;;;;;;:::i;:::-;;:::i;57284:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3927:55:1;;;3909:74;;4014:2;3999:18;;3992:34;;;;3882:18;57284:442:0;3735:297:1;84450:42:0;;84487:5;84450:42;;85758:215;;;;;;:::i;:::-;;:::i;80877:143::-;;79681:42;80877:143;;86877:171;;;;;;:::i;:::-;;:::i;85981:73::-;;;;;;:::i;:::-;;:::i;86178:92::-;;;;;;:::i;:::-;;:::i;85158:154::-;;;;;;:::i;:::-;;:::i;87901:194::-;;;;;;:::i;:::-;;:::i;39181:223::-;;;;;;:::i;:::-;;:::i;85433:317::-;;;;;;:::i;:::-;;:::i;84646:21::-;;;:::i;38912:207::-;;;;;;:::i;:::-;;:::i;2803:103::-;;;:::i;84581:30::-;;;;;;85320:105;;;;;;:::i;:::-;;:::i;2155:87::-;2201:7;2228:6;-1:-1:-1;;;;;2228:6:0;2155:87;;39640:104;;;:::i;87260:196::-;;;;;;:::i;:::-;;:::i;86357:176::-;;;;;;:::i;:::-;;:::i;87779:114::-;;;;;;:::i;:::-;;:::i;87056:196::-;;;;;;:::i;:::-;;:::i;39815:281::-;;;;;;:::i;:::-;;:::i;41452:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;41573:25:0;;;41549:4;41573:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41452:164;3061:201;;;;;;:::i;:::-;;:::i;86278:71::-;2041:13;:11;:13::i;:::-;86325:9:::1;:16:::0;;-1:-1:-1;;86325:16:0::1;86337:4;86325:16;::::0;;86278:71::o;84785:215::-;84887:4;-1:-1:-1;;;;;;84911:41:0;;84926:26;84911:41;;:81;;;84956:36;84980:11;84956:23;:36::i;:::-;84904:88;84785:215;-1:-1:-1;;84785:215:0:o;87671:100::-;87719:7;87746:17;:8;:15;:17::i;:::-;87739:24;;87671:100;:::o;85008:142::-;2041:13;:11;:13::i;:::-;85099:43:::1;85124:8;85134:7;85099:24;:43::i;:::-;85008:142:::0;;:::o;39471:100::-;39525:13;39558:5;39551:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39471:100;:::o;40983:171::-;41059:7;41079:23;41094:7;41079:14;:23::i;:::-;-1:-1:-1;41122:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41122:24:0;;40983:171::o;86541:157::-;86637:8;82659:30;82680:8;82659:20;:30::i;:::-;86658:32:::1;86672:8;86682:7;86658:13;:32::i;:::-;86541:157:::0;;;:::o;87464:199::-;87525:4;2041:13;:11;:13::i;:::-;-1:-1:-1;;;;;87550:20:0;::::1;87542:72;;;::::0;-1:-1:-1;;;87542:72:0;;7996:2:1;87542:72:0::1;::::0;::::1;7978:21:1::0;8035:2;8015:18;;;8008:30;8074:34;8054:18;;;8047:62;8145:9;8125:18;;;8118:37;8172:19;;87542:72:0::1;;;;;;;;;87632:23;:8;87648:6:::0;87632:15:::1;:23::i;2065:1::-;87464:199:::0;;;:::o;86706:163::-;86807:4;-1:-1:-1;;;;;82385:18:0;;82393:10;82385:18;82381:83;;82420:32;82441:10;82420:20;:32::i;:::-;86824:37:::1;86843:4;86849:2;86853:7;86824:18;:37::i;:::-;86706:163:::0;;;;:::o;57284:442::-;57381:7;57439:27;;;:17;:27;;;;;;;;57410:56;;;;;;;;;-1:-1:-1;;;;;57410:56:0;;;;;-1:-1:-1;;;57410:56:0;;;;;;;;;;;;57381:7;;57479:92;;-1:-1:-1;57530:29:0;;;;;;;;;57540:19;57530:29;-1:-1:-1;;;;;57530:29:0;;;;-1:-1:-1;;;57530:29:0;;;;;;;;57479:92;57621:23;;;;57583:21;;58092:5;;57608:36;;57607:58;57608:36;:10;:36;:::i;:::-;57607:58;;;;:::i;:::-;57686:16;;;;;-1:-1:-1;57284:442:0;;-1:-1:-1;;;;57284:442:0:o;85758:215::-;88179:20;88188:10;88179:8;:20::i;:::-;88171:70;;;;-1:-1:-1;;;88171:70:0;;9234:2:1;88171:70:0;;;9216:21:1;9273:2;9253:18;;;9246:30;9312:34;9292:18;;;9285:62;9383:7;9363:18;;;9356:35;9408:19;;88171:70:0;9032:401:1;88171:70:0;85827:6:::1;85823:143;85843:3;85839:1;:7;85823:143;;;85881:11;::::0;85908:17:::1;85918:2:::0;85881:11;85908:9:::1;:17::i;:::-;85941:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;85853:113;85848:3;;;;:::i;:::-;;;85823:143;;86877:171:::0;86982:4;-1:-1:-1;;;;;82385:18:0;;82393:10;82385:18;82381:83;;82420:32;82441:10;82420:20;:32::i;:::-;86999:41:::1;87022:4;87028:2;87032:7;86999:22;:41::i;85981:73::-:0;86032:14;86038:7;86032:5;:14::i;:::-;85981:73;:::o;86178:92::-;2041:13;:11;:13::i;:::-;86248:7:::1;:14;86258:4:::0;86248:7;:14:::1;:::i;85158:154::-:0;2041:13;:11;:13::i;:::-;85259:45:::1;85282:2;85286:8;85296:7;85259:22;:45::i;87901:194::-:0;87956:7;88013:1;87993:17;:15;:17::i;:::-;:21;;;;:::i;:::-;87984:5;:30;;87976:75;;;;-1:-1:-1;;;87976:75:0;;12356:2:1;87976:75:0;;;12338:21:1;;;12375:18;;;12368:30;12434:34;12414:18;;;12407:62;12486:18;;87976:75:0;12154:356:1;87976:75:0;88069:18;:8;88081:5;88069:11;:18::i;39181:223::-;39253:7;44068:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44068:16:0;;39317:56;;;;-1:-1:-1;;;39317:56:0;;12717:2:1;39317:56:0;;;12699:21:1;12756:2;12736:18;;;12729:30;12795:26;12775:18;;;12768:54;12839:18;;39317:56:0;12515:348:1;85433:317:0;85487:7;88179:20;88188:10;88179:8;:20::i;:::-;88171:70;;;;-1:-1:-1;;;88171:70:0;;9234:2:1;88171:70:0;;;9216:21:1;9273:2;9253:18;;;9246:30;9312:34;9292:18;;;9285:62;9383:7;9363:18;;;9356:35;9408:19;;88171:70:0;9032:401:1;88171:70:0;85516:9:::1;::::0;::::1;;85515:10;85507:46;;;::::0;-1:-1:-1;;;85507:46:0;;13070:2:1;85507:46:0::1;::::0;::::1;13052:21:1::0;13109:2;13089:18;;;13082:30;13148:25;13128:18;;;13121:53;13191:18;;85507:46:0::1;12868:347:1::0;85507:46:0::1;84487:5;85572:11;;:25;;85564:59;;;::::0;-1:-1:-1;;;85564:59:0;;13422:2:1;85564:59:0::1;::::0;::::1;13404:21:1::0;13461:2;13441:18;;;13434:30;13500:23;13480:18;;;13473:51;13541:18;;85564:59:0::1;13220:345:1::0;85564:59:0::1;85649:11;::::0;85671:17:::1;85681:2:::0;85649:11;85671:9:::1;:17::i;:::-;85699:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;85740:2:0;;85433:317;-1:-1:-1;;;85433:317:0:o;84646:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38912:207::-;38984:7;-1:-1:-1;;;;;39012:19:0;;39004:73;;;;-1:-1:-1;;;39004:73:0;;13772:2:1;39004:73:0;;;13754:21:1;13811:2;13791:18;;;13784:30;13850:34;13830:18;;;13823:62;13921:11;13901:18;;;13894:39;13950:19;;39004:73:0;13570:405:1;39004:73:0;-1:-1:-1;;;;;;39095:16:0;;;;;:9;:16;;;;;;;38912:207::o;2803:103::-;2041:13;:11;:13::i;:::-;2868:30:::1;2895:1;2868:18;:30::i;:::-;2803:103::o:0;85320:105::-;2041:13;:11;:13::i;:::-;59740:26;;;;:17;:26;;;;;59733:33;85981:73::o;39640:104::-;39696:13;39729:7;39722:14;;;;;:::i;87260:196::-;87321:4;2041:13;:11;:13::i;:::-;-1:-1:-1;;;;;87346:20:0;::::1;87338:72;;;::::0;-1:-1:-1;;;87338:72:0;;7996:2:1;87338:72:0::1;::::0;::::1;7978:21:1::0;8035:2;8015:18;;;8008:30;8074:34;8054:18;;;8047:62;8145:9;8125:18;;;8118:37;8172:19;;87338:72:0::1;7794:403:1::0;87338:72:0::1;87428:20;:8;87441:6:::0;87428:12:::1;:20::i;86357:176::-:0;86461:8;82659:30;82680:8;82659:20;:30::i;:::-;86482:43:::1;86506:8;86516;86482:23;:43::i;87779:114::-:0;87835:4;87859:26;:8;87877:7;87859:17;:26::i;87056:196::-;87180:4;-1:-1:-1;;;;;82385:18:0;;82393:10;82385:18;82381:83;;82420:32;82441:10;82420:20;:32::i;:::-;87197:47:::1;87220:4;87226:2;87230:7;87239:4;87197:22;:47::i;:::-;87056:196:::0;;;;;:::o;39815:281::-;39888:13;39914:23;39929:7;39914:14;:23::i;:::-;39950:21;39974:10;:8;:10::i;:::-;39950:34;;40026:1;40008:7;40002:21;:25;:86;;;;;;;;;;;;;;;;;40054:7;40063:18;:7;:16;:18::i;:::-;40037:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;40002:86;39995:93;39815:281;-1:-1:-1;;;39815:281:0:o;3061:201::-;2041:13;:11;:13::i;:::-;-1:-1:-1;;;;;3150:22:0;::::1;3142:73;;;::::0;-1:-1:-1;;;3142:73:0;;14683:2:1;3142:73:0::1;::::0;::::1;14665:21:1::0;14722:2;14702:18;;;14695:30;14761:34;14741:18;;;14734:62;14832:8;14812:18;;;14805:36;14858:19;;3142:73:0::1;14481:402:1::0;3142:73:0::1;3226:28;3245:8;3226:18;:28::i;2320:132::-:0;2201:7;2228:6;-1:-1:-1;;;;;2228:6:0;790:10;2384:23;2376:68;;;;-1:-1:-1;;;2376:68:0;;15090:2:1;2376:68:0;;;15072:21:1;;;15109:18;;;15102:30;15168:34;15148:18;;;15141:62;15220:18;;2376:68:0;14888:356:1;57014:215:0;57116:4;-1:-1:-1;;;;;;57140:41:0;;57155:26;57140:41;;:81;;;57185:36;57209:11;57185:23;:36::i;69180:117::-;69243:7;69270:19;69278:3;64480:18;;64397:109;58376:332;58092:5;58479:33;;;;;58471:88;;;;-1:-1:-1;;;58471:88:0;;15451:2:1;58471:88:0;;;15433:21:1;15490:2;15470:18;;;15463:30;15529:34;15509:18;;;15502:62;15600:12;15580:18;;;15573:40;15630:19;;58471:88:0;15249:406:1;58471:88:0;-1:-1:-1;;;;;58578:22:0;;58570:60;;;;-1:-1:-1;;;58570:60:0;;15862:2:1;58570:60:0;;;15844:21:1;15901:2;15881:18;;;15874:30;15940:27;15920:18;;;15913:55;15985:18;;58570:60:0;15660:349:1;58570:60:0;58665:35;;;;;;;;;-1:-1:-1;;;;;58665:35:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;58643:57:0;;;;:19;:57;58376:332::o;50802:135::-;44470:4;44068:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44068:16:0;50876:53;;;;-1:-1:-1;;;50876:53:0;;12717:2:1;50876:53:0;;;12699:21:1;12756:2;12736:18;;;12729:30;12795:26;12775:18;;;12768:54;12839:18;;50876:53:0;12515:348:1;82802:647:0;79681:42;82993:45;:49;82989:453;;83292:67;;;;;83343:4;83292:67;;;16249:34:1;-1:-1:-1;;;;;16319:15:1;;16299:18;;;16292:43;79681:42:0;;83292;;16161:18:1;;83292:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;83287:144;;83387:28;;;;;-1:-1:-1;;;;;2632:55:1;;83387:28:0;;;2614:74:1;2587:18;;83387:28:0;2468:226:1;40501:416:0;40582:13;40598:23;40613:7;40598:14;:23::i;:::-;40582:39;;40646:5;-1:-1:-1;;;;;40640:11:0;:2;-1:-1:-1;;;;;40640:11:0;;40632:57;;;;-1:-1:-1;;;40632:57:0;;16798:2:1;40632:57:0;;;16780:21:1;16837:2;16817:18;;;16810:30;16876:34;16856:18;;;16849:62;16947:3;16927:18;;;16920:31;16968:19;;40632:57:0;16596:397:1;40632:57:0;790:10;-1:-1:-1;;;;;40724:21:0;;;;:62;;-1:-1:-1;;;;;;41573:25:0;;41549:4;41573:25;;;:18;:25;;;;;;;;790:10;41573:35;;;;;;;;;;40749:37;40702:173;;;;-1:-1:-1;;;40702:173:0;;17200:2:1;40702:173:0;;;17182:21:1;17239:2;17219:18;;;17212:30;17278:34;17258:18;;;17251:62;17349:31;17329:18;;;17322:59;17398:19;;40702:173:0;16998:425:1;40702:173:0;40888:21;40897:2;40901:7;40888:8;:21::i;68683:158::-;68756:4;68780:53;68788:3;-1:-1:-1;;;;;68808:23:0;;68780:7;:53::i;41683:335::-;41878:41;790:10;41911:7;41878:18;:41::i;:::-;41870:99;;;;-1:-1:-1;;;41870:99:0;;17630:2:1;41870:99:0;;;17612:21:1;17669:2;17649:18;;;17642:30;17708:34;17688:18;;;17681:62;17779:15;17759:18;;;17752:43;17812:19;;41870:99:0;17428:409:1;41870:99:0;41982:28;41992:4;41998:2;42002:7;41982:9;:28::i;45306:110::-;45382:26;45392:2;45396:7;45382:26;;;;;;;;;;;;:9;:26::i;42089:185::-;42227:39;42244:4;42250:2;42254:7;42227:39;;;;;;;;;;;;:16;:39::i;47579:783::-;47639:13;47655:23;47670:7;47655:14;:23::i;:::-;47639:39;;47855:23;47870:7;47855:14;:23::i;:::-;47926:24;;;;:15;:24;;;;;;;;47919:31;;-1:-1:-1;;47919:31:0;;;;;;-1:-1:-1;;;;;48171:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;48171:21:0;;;48221:16;;;:7;:16;;;;;;48214:23;;;;;;;48255:36;47847:31;;-1:-1:-1;47942:7:0;;48255:36;;47926:24;;48255:36;85008:142;;:::o;59159:390::-;58092:5;59311:33;;;;;59303:88;;;;-1:-1:-1;;;59303:88:0;;15451:2:1;59303:88:0;;;15433:21:1;15490:2;15470:18;;;15463:30;15529:34;15509:18;;;15502:62;15600:12;15580:18;;;15573:40;15630:19;;59303:88:0;15249:406:1;59303:88:0;-1:-1:-1;;;;;59410:22:0;;59402:62;;;;-1:-1:-1;;;59402:62:0;;18044:2:1;59402:62:0;;;18026:21:1;18083:2;18063:18;;;18056:30;18122:29;18102:18;;;18095:57;18169:18;;59402:62:0;17842:351:1;59402:62:0;59506:35;;;;;;;;-1:-1:-1;;;;;59506:35:0;;;;;;;;;;;;;;;;-1:-1:-1;59477:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;59477:64:0;;;;;;59159:390::o;69651:158::-;69725:7;69776:22;69780:3;69792:5;69776:3;:22::i;3422:191::-;3496:16;3515:6;;-1:-1:-1;;;;;3532:17:0;;;-1:-1:-1;;3532:17:0;;;;;;3565:40;;3515:6;;;;;;;3565:40;;3496:16;3565:40;3485:128;3422:191;:::o;68355:152::-;68425:4;68449:50;68454:3;-1:-1:-1;;;;;68474:23:0;;68449:4;:50::i;41226:155::-;41321:52;790:10;41354:8;41364;41321:18;:52::i;68927:167::-;-1:-1:-1;;;;;69061:23:0;;69007:4;64279:19;;;:12;;;:19;;;;;;:24;;69031:55;64182:129;42345:322;42519:41;790:10;42552:7;42519:18;:41::i;:::-;42511:99;;;;-1:-1:-1;;;42511:99:0;;17630:2:1;42511:99:0;;;17612:21:1;17669:2;17649:18;;;17642:30;17708:34;17688:18;;;17681:62;17779:15;17759:18;;;17752:43;17812:19;;42511:99:0;17428:409:1;42511:99:0;42621:38;42635:4;42641:2;42645:7;42654:4;42621:13;:38::i;86062:108::-;86122:13;86155:7;86148:14;;;;;:::i;34221:716::-;34277:13;34328:14;34345:17;34356:5;34345:10;:17::i;:::-;34365:1;34345:21;34328:38;;34381:20;34415:6;34404:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34404:18:0;-1:-1:-1;34381:41:0;-1:-1:-1;34546:28:0;;;34562:2;34546:28;34603:288;-1:-1:-1;;34635:5:0;34777:8;34772:2;34761:14;;34756:30;34635:5;34743:44;34833:2;34824:11;;;-1:-1:-1;34854:21:0;34603:288;34854:21;-1:-1:-1;34912:6:0;34221:716;-1:-1:-1;;;34221:716:0:o;38543:305::-;38645:4;-1:-1:-1;;;;;;38682:40:0;;38697:25;38682:40;;:105;;-1:-1:-1;;;;;;;38739:48:0;;38754:33;38739:48;38682:105;:158;;;-1:-1:-1;37100:25:0;-1:-1:-1;;;;;;37085:40:0;;;38804:36;36976:157;50081:174;50156:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;50156:29:0;-1:-1:-1;;;;;50156:29:0;;;;;;;;:24;;50210:23;50156:24;50210:14;:23::i;:::-;-1:-1:-1;;;;;50201:46:0;;;;;;;;;;;50081:174;;:::o;62676:1420::-;62742:4;62881:19;;;:12;;;:19;;;;;;62917:15;;62913:1176;;63292:21;63316:14;63329:1;63316:10;:14;:::i;:::-;63365:18;;63292:38;;-1:-1:-1;63345:17:0;;63365:22;;63386:1;;63365:22;:::i;:::-;63345:42;;63421:13;63408:9;:26;63404:405;;63455:17;63475:3;:11;;63487:9;63475:22;;;;;;;;:::i;:::-;;;;;;;;;63455:42;;63629:9;63600:3;:11;;63612:13;63600:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;63714:23;;;:12;;;:23;;;;;:36;;;63404:405;63890:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63985:3;:12;;:19;63998:5;63985:19;;;;;;;;;;;63978:26;;;64028:4;64021:11;;;;;;;62913:1176;64072:5;64065:12;;;;;44700:264;44793:4;44810:13;44826:23;44841:7;44826:14;:23::i;:::-;44810:39;;44879:5;-1:-1:-1;;;;;44868:16:0;:7;-1:-1:-1;;;;;44868:16:0;;:52;;;-1:-1:-1;;;;;;41573:25:0;;;41549:4;41573:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;44888:32;44868:87;;;;44948:7;-1:-1:-1;;;;;44924:31:0;:20;44936:7;44924:11;:20::i;:::-;-1:-1:-1;;;;;44924:31:0;;44868:87;44860:96;44700:264;-1:-1:-1;;;;44700:264:0:o;48699:1263::-;48858:4;-1:-1:-1;;;;;48831:31:0;:23;48846:7;48831:14;:23::i;:::-;-1:-1:-1;;;;;48831:31:0;;48823:81;;;;-1:-1:-1;;;48823:81:0;;18778:2:1;48823:81:0;;;18760:21:1;18817:2;18797:18;;;18790:30;18856:34;18836:18;;;18829:62;18927:7;18907:18;;;18900:35;18952:19;;48823:81:0;18576:401:1;48823:81:0;-1:-1:-1;;;;;48923:16:0;;48915:65;;;;-1:-1:-1;;;48915:65:0;;19184:2:1;48915:65:0;;;19166:21:1;19223:2;19203:18;;;19196:30;19262:34;19242:18;;;19235:62;19333:6;19313:18;;;19306:34;19357:19;;48915:65:0;18982:400:1;48915:65:0;49165:4;-1:-1:-1;;;;;49138:31:0;:23;49153:7;49138:14;:23::i;:::-;-1:-1:-1;;;;;49138:31:0;;49130:81;;;;-1:-1:-1;;;49130:81:0;;18778:2:1;49130:81:0;;;18760:21:1;18817:2;18797:18;;;18790:30;18856:34;18836:18;;;18829:62;18927:7;18907:18;;;18900:35;18952:19;;49130:81:0;18576:401:1;49130:81:0;49283:24;;;;:15;:24;;;;;;;;49276:31;;-1:-1:-1;;49276:31:0;;;;;;-1:-1:-1;;;;;49759:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;49759:20:0;;;49794:13;;;;;;;;;:18;;49276:31;49794:18;;;49834:16;;;:7;:16;;;;;;:21;;;;;;;;;;49873:27;;49299:7;;49873:27;;;86541:157;;;:::o;45643:319::-;45772:18;45778:2;45782:7;45772:5;:18::i;:::-;45823:53;45854:1;45858:2;45862:7;45871:4;45823:22;:53::i;:::-;45801:153;;;;-1:-1:-1;;;45801:153:0;;19589:2:1;45801:153:0;;;19571:21:1;19628:2;19608:18;;;19601:30;19667:34;19647:18;;;19640:62;19738:20;19718:18;;;19711:48;19776:19;;45801:153:0;19387:414:1;64860:120:0;64927:7;64954:3;:11;;64966:5;64954:18;;;;;;;;:::i;:::-;;;;;;;;;64947:25;;64860:120;;;;:::o;62086:414::-;62149:4;64279:19;;;:12;;;:19;;;;;;62166:327;;-1:-1:-1;62209:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;62392:18;;62370:19;;;:12;;;:19;;;;;;:40;;;;62425:11;;62166:327;-1:-1:-1;62476:5:0;62469:12;;50398:315;50553:8;-1:-1:-1;;;;;50544:17:0;:5;-1:-1:-1;;;;;50544:17:0;;50536:55;;;;-1:-1:-1;;;50536:55:0;;20008:2:1;50536:55:0;;;19990:21:1;20047:2;20027:18;;;20020:30;20086:27;20066:18;;;20059:55;20131:18;;50536:55:0;19806:349:1;50536:55:0;-1:-1:-1;;;;;50602:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;50602:46:0;;;;;;;;;;50664:41;;586::1;;;50664::0;;559:18:1;50664:41:0;;;;;;;50398:315;;;:::o;43548:313::-;43704:28;43714:4;43720:2;43724:7;43704:9;:28::i;:::-;43751:47;43774:4;43780:2;43784:7;43793:4;43751:22;:47::i;:::-;43743:110;;;;-1:-1:-1;;;43743:110:0;;19589:2:1;43743:110:0;;;19571:21:1;19628:2;19608:18;;;19601:30;19667:34;19647:18;;;19640:62;19738:20;19718:18;;;19711:48;19776:19;;43743:110:0;19387:414:1;31091:922:0;31144:7;;31231:6;31222:15;;31218:102;;31267:6;31258:15;;;-1:-1:-1;31302:2:0;31292:12;31218:102;31347:6;31338:5;:15;31334:102;;31383:6;31374:15;;;-1:-1:-1;31418:2:0;31408:12;31334:102;31463:6;31454:5;:15;31450:102;;31499:6;31490:15;;;-1:-1:-1;31534:2:0;31524:12;31450:102;31579:5;31570;:14;31566:99;;31614:5;31605:14;;;-1:-1:-1;31648:1:0;31638:11;31566:99;31692:5;31683;:14;31679:99;;31727:5;31718:14;;;-1:-1:-1;31761:1:0;31751:11;31679:99;31805:5;31796;:14;31792:99;;31840:5;31831:14;;;-1:-1:-1;31874:1:0;31864:11;31792:99;31918:5;31909;:14;31905:66;;31954:1;31944:11;31999:6;31091:922;-1:-1:-1;;31091:922:0:o;46298:942::-;-1:-1:-1;;;;;46378:16:0;;46370:61;;;;-1:-1:-1;;;46370:61:0;;20362:2:1;46370:61:0;;;20344:21:1;;;20381:18;;;20374:30;20440:34;20420:18;;;20413:62;20492:18;;46370:61:0;20160:356:1;46370:61:0;44470:4;44068:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44068:16:0;44494:31;46442:58;;;;-1:-1:-1;;;46442:58:0;;20723:2:1;46442:58:0;;;20705:21:1;20762:2;20742:18;;;20735:30;20801;20781:18;;;20774:58;20849:18;;46442:58:0;20521:352:1;46442:58:0;44470:4;44068:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44068:16:0;44494:31;46651:58;;;;-1:-1:-1;;;46651:58:0;;20723:2:1;46651:58:0;;;20705:21:1;20762:2;20742:18;;;20735:30;20801;20781:18;;;20774:58;20849:18;;46651:58:0;20521:352:1;46651:58:0;-1:-1:-1;;;;;47058:13:0;;;;;;:9;:13;;;;;;;;:18;;47075:1;47058:18;;;47100:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;47100:21:0;;;;;47139:33;47108:7;;47058:13;;47139:33;;47058:13;;47139:33;85008:142;;:::o;51501:853::-;51655:4;-1:-1:-1;;;;;51676:13:0;;13022:19;:23;51672:675;;51712:71;;;;;-1:-1:-1;;;;;51712:36:0;;;;;:71;;790:10;;51763:4;;51769:7;;51778:4;;51712:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51712:71:0;;;;;;;;-1:-1:-1;;51712:71:0;;;;;;;;;;;;:::i;:::-;;;51708:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51953:6;:13;51970:1;51953:18;51949:328;;51996:60;;-1:-1:-1;;;51996:60:0;;19589:2:1;51996:60:0;;;19571:21:1;19628:2;19608:18;;;19601:30;19667:34;19647:18;;;19640:62;19738:20;19718:18;;;19711:48;19776:19;;51996:60:0;19387:414:1;51949:328:0;52227:6;52221:13;52212:6;52208:2;52204:15;52197:38;51708:584;-1:-1:-1;;;;;;51834:51:0;51844:41;51834:51;;-1:-1:-1;51827:58:0;;51672:675;-1:-1:-1;52331:4:0;51501:853;;;;;;:::o;14:177:1:-;-1:-1:-1;;;;;;92:5:1;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;820:196::-;888:20;;-1:-1:-1;;;;;937:54:1;;927:65;;917:93;;1006:1;1003;996:12;1021:179;1088:20;;1148:26;1137:38;;1127:49;;1117:77;;1190:1;1187;1180:12;1205:258;1272:6;1280;1333:2;1321:9;1312:7;1308:23;1304:32;1301:52;;;1349:1;1346;1339:12;1301:52;1372:29;1391:9;1372:29;:::i;:::-;1362:39;;1420:37;1453:2;1442:9;1438:18;1420:37;:::i;:::-;1410:47;;1205:258;;;;;:::o;1468:250::-;1553:1;1563:113;1577:6;1574:1;1571:13;1563:113;;;1653:11;;;1647:18;1634:11;;;1627:39;1599:2;1592:10;1563:113;;;-1:-1:-1;;1710:1:1;1692:16;;1685:27;1468:250::o;1723:330::-;1765:3;1803:5;1797:12;1830:6;1825:3;1818:19;1846:76;1915:6;1908:4;1903:3;1899:14;1892:4;1885:5;1881:16;1846:76;:::i;:::-;1967:2;1955:15;-1:-1:-1;;1951:88:1;1942:98;;;;2042:4;1938:109;;1723:330;-1:-1:-1;;1723:330:1:o;2058:220::-;2207:2;2196:9;2189:21;2170:4;2227:45;2268:2;2257:9;2253:18;2245:6;2227:45;:::i;2283:180::-;2342:6;2395:2;2383:9;2374:7;2370:23;2366:32;2363:52;;;2411:1;2408;2401:12;2363:52;-1:-1:-1;2434:23:1;;2283:180;-1:-1:-1;2283:180:1:o;2699:254::-;2767:6;2775;2828:2;2816:9;2807:7;2803:23;2799:32;2796:52;;;2844:1;2841;2834:12;2796:52;2867:29;2886:9;2867:29;:::i;:::-;2857:39;2943:2;2928:18;;;;2915:32;;-1:-1:-1;;;2699:254:1:o;2958:186::-;3017:6;3070:2;3058:9;3049:7;3045:23;3041:32;3038:52;;;3086:1;3083;3076:12;3038:52;3109:29;3128:9;3109:29;:::i;3149:328::-;3226:6;3234;3242;3295:2;3283:9;3274:7;3270:23;3266:32;3263:52;;;3311:1;3308;3301:12;3263:52;3334:29;3353:9;3334:29;:::i;:::-;3324:39;;3382:38;3416:2;3405:9;3401:18;3382:38;:::i;:::-;3372:48;;3467:2;3456:9;3452:18;3439:32;3429:42;;3149:328;;;;;:::o;3482:248::-;3550:6;3558;3611:2;3599:9;3590:7;3586:23;3582:32;3579:52;;;3627:1;3624;3617:12;3579:52;-1:-1:-1;;3650:23:1;;;3720:2;3705:18;;;3692:32;;-1:-1:-1;3482:248:1:o;4300:184::-;-1:-1:-1;;;4349:1:1;4342:88;4449:4;4446:1;4439:15;4473:4;4470:1;4463:15;4489:691;4554:5;4584:18;4625:2;4617:6;4614:14;4611:40;;;4631:18;;:::i;:::-;4765:2;4759:9;4831:2;4819:15;;-1:-1:-1;;4815:24:1;;;4841:2;4811:33;4807:42;4795:55;;;4865:18;;;4885:22;;;4862:46;4859:72;;;4911:18;;:::i;:::-;4951:10;4947:2;4940:22;4980:6;4971:15;;5010:6;5002;4995:22;5050:3;5041:6;5036:3;5032:16;5029:25;5026:45;;;5067:1;5064;5057:12;5026:45;5117:6;5112:3;5105:4;5097:6;5093:17;5080:44;5172:1;5165:4;5156:6;5148;5144:19;5140:30;5133:41;;;;4489:691;;;;;:::o;5185:451::-;5254:6;5307:2;5295:9;5286:7;5282:23;5278:32;5275:52;;;5323:1;5320;5313:12;5275:52;5363:9;5350:23;5396:18;5388:6;5385:30;5382:50;;;5428:1;5425;5418:12;5382:50;5451:22;;5504:4;5496:13;;5492:27;-1:-1:-1;5482:55:1;;5533:1;5530;5523:12;5482:55;5556:74;5622:7;5617:2;5604:16;5599:2;5595;5591:11;5556:74;:::i;5641:326::-;5717:6;5725;5733;5786:2;5774:9;5765:7;5761:23;5757:32;5754:52;;;5802:1;5799;5792:12;5754:52;5838:9;5825:23;5815:33;;5867:38;5901:2;5890:9;5886:18;5867:38;:::i;:::-;5857:48;;5924:37;5957:2;5946:9;5942:18;5924:37;:::i;:::-;5914:47;;5641:326;;;;;:::o;5972:118::-;6058:5;6051:13;6044:21;6037:5;6034:32;6024:60;;6080:1;6077;6070:12;6095:315;6160:6;6168;6221:2;6209:9;6200:7;6196:23;6192:32;6189:52;;;6237:1;6234;6227:12;6189:52;6260:29;6279:9;6260:29;:::i;:::-;6250:39;;6339:2;6328:9;6324:18;6311:32;6352:28;6374:5;6352:28;:::i;:::-;6399:5;6389:15;;;6095:315;;;;;:::o;6415:667::-;6510:6;6518;6526;6534;6587:3;6575:9;6566:7;6562:23;6558:33;6555:53;;;6604:1;6601;6594:12;6555:53;6627:29;6646:9;6627:29;:::i;:::-;6617:39;;6675:38;6709:2;6698:9;6694:18;6675:38;:::i;:::-;6665:48;;6760:2;6749:9;6745:18;6732:32;6722:42;;6815:2;6804:9;6800:18;6787:32;6842:18;6834:6;6831:30;6828:50;;;6874:1;6871;6864:12;6828:50;6897:22;;6950:4;6942:13;;6938:27;-1:-1:-1;6928:55:1;;6979:1;6976;6969:12;6928:55;7002:74;7068:7;7063:2;7050:16;7045:2;7041;7037:11;7002:74;:::i;:::-;6992:84;;;6415:667;;;;;;;:::o;7087:260::-;7155:6;7163;7216:2;7204:9;7195:7;7191:23;7187:32;7184:52;;;7232:1;7229;7222:12;7184:52;7255:29;7274:9;7255:29;:::i;:::-;7245:39;;7303:38;7337:2;7326:9;7322:18;7303:38;:::i;7352:437::-;7431:1;7427:12;;;;7474;;;7495:61;;7549:4;7541:6;7537:17;7527:27;;7495:61;7602:2;7594:6;7591:14;7571:18;7568:38;7565:218;;-1:-1:-1;;;7636:1:1;7629:88;7740:4;7737:1;7730:15;7768:4;7765:1;7758:15;7565:218;;7352:437;;;:::o;8202:184::-;-1:-1:-1;;;8251:1:1;8244:88;8351:4;8348:1;8341:15;8375:4;8372:1;8365:15;8391:168;8464:9;;;8495;;8512:15;;;8506:22;;8492:37;8482:71;;8533:18;;:::i;8753:274::-;8793:1;8819;8809:189;;-1:-1:-1;;;8851:1:1;8844:88;8955:4;8952:1;8945:15;8983:4;8980:1;8973:15;8809:189;-1:-1:-1;9012:9:1;;8753:274::o;9438:195::-;9477:3;-1:-1:-1;;9501:5:1;9498:77;9495:103;;9578:18;;:::i;:::-;-1:-1:-1;9625:1:1;9614:13;;9438:195::o;9764:545::-;9866:2;9861:3;9858:11;9855:448;;;9902:1;9927:5;9923:2;9916:17;9972:4;9968:2;9958:19;10042:2;10030:10;10026:19;10023:1;10019:27;10013:4;10009:38;10078:4;10066:10;10063:20;10060:47;;;-1:-1:-1;10101:4:1;10060:47;10156:2;10151:3;10147:12;10144:1;10140:20;10134:4;10130:31;10120:41;;10211:82;10229:2;10222:5;10219:13;10211:82;;;10274:17;;;10255:1;10244:13;10211:82;;;10215:3;;;9764:545;;;:::o;10545:1471::-;10671:3;10665:10;10698:18;10690:6;10687:30;10684:56;;;10720:18;;:::i;:::-;10749:97;10839:6;10799:38;10831:4;10825:11;10799:38;:::i;:::-;10793:4;10749:97;:::i;:::-;10901:4;;10965:2;10954:14;;10982:1;10977:782;;;;11803:1;11820:6;11817:89;;;-1:-1:-1;11872:19:1;;;11866:26;11817:89;-1:-1:-1;;10442:1:1;10438:11;;;10434:84;10430:89;10420:100;10526:1;10522:11;;;10417:117;11919:81;;10947:1063;;10977:782;9711:1;9704:14;;;9748:4;9735:18;;-1:-1:-1;;11013:79:1;;;11190:236;11204:7;11201:1;11198:14;11190:236;;;11293:19;;;11287:26;11272:42;;11385:27;;;;11353:1;11341:14;;;;11220:19;;11190:236;;;11194:3;11454:6;11445:7;11442:19;11439:261;;;11515:19;;;11509:26;-1:-1:-1;;11598:1:1;11594:14;;;11610:3;11590:24;11586:97;11582:102;11567:118;11552:134;;11439:261;-1:-1:-1;;;;;11746:1:1;11730:14;;;11726:22;11713:36;;-1:-1:-1;10545:1471:1:o;12021:128::-;12088:9;;;12109:11;;;12106:37;;;12123:18;;:::i;13980:496::-;14159:3;14197:6;14191:13;14213:66;14272:6;14267:3;14260:4;14252:6;14248:17;14213:66;:::i;:::-;14342:13;;14301:16;;;;14364:70;14342:13;14301:16;14411:4;14399:17;;14364:70;:::i;:::-;14450:20;;13980:496;-1:-1:-1;;;;13980:496:1:o;16346:245::-;16413:6;16466:2;16454:9;16445:7;16441:23;16437:32;16434:52;;;16482:1;16479;16472:12;16434:52;16514:9;16508:16;16533:28;16555:5;16533:28;:::i;18198:184::-;-1:-1:-1;;;18247:1:1;18240:88;18347:4;18344:1;18337:15;18371:4;18368:1;18361:15;18387:184;-1:-1:-1;;;18436:1:1;18429:88;18536:4;18533:1;18526:15;18560:4;18557:1;18550:15;20878:512;21072:4;-1:-1:-1;;;;;21182:2:1;21174:6;21170:15;21159:9;21152:34;21234:2;21226:6;21222:15;21217:2;21206:9;21202:18;21195:43;;21274:6;21269:2;21258:9;21254:18;21247:34;21317:3;21312:2;21301:9;21297:18;21290:31;21338:46;21379:3;21368:9;21364:19;21356:6;21338:46;:::i;:::-;21330:54;20878:512;-1:-1:-1;;;;;;20878:512:1:o;21395:249::-;21464:6;21517:2;21505:9;21496:7;21492:23;21488:32;21485:52;;;21533:1;21530;21523:12;21485:52;21565:9;21559:16;21584:30;21608:5;21584:30;:::i
Swarm Source
ipfs://994974635dabe8de4515e802d844bd211e3b60466e3df9c2d2a2b336edf574ce
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.