ERC-721
Overview
Max Total Supply
0 IROIRO
Holders
1,831
Market
Volume (24H)
0.0118 ETH
Min Price (24H)
$32.50 @ 0.011799 ETH
Max Price (24H)
$32.50 @ 0.011799 ETH
Other Info
Token Contract
Balance
0 IROIROLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-18 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.17 <0.9.0; //import "./math/Math.sol"; /** * @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); } } } //import "@openzeppelin/contracts/utils/Strings.sol"; /** * @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); } } //import "../../utils/Address.sol"; /** * @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); } } } //import "../../utils/Context.sol"; /** * @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; } } //import "@openzeppelin/contracts/access/Ownable.sol"; /** * @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(address initialOwner) { _transferOwnership(initialOwner); } /** * @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); } } //import "../utils/introspection/IERC165.sol"; /** * @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); } //import "../../utils/introspection/ERC165.sol"; /** * @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; } } //import "./IERC721.sol"; /** * @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); } //import "./IERC721Receiver.sol"; /** * @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); } //import "./extensions/IERC721Metadata.sol"; /** * @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); } //import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } //import "../../interfaces/IERC2981.sol"; /** * @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); } //import "@openzeppelin/contracts/token/common/ERC2981.sol"; /** * @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]; } } //import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } //import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @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. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); 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)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } 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) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } //import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } //import "./Common/IMintable.sol"; //-------------------------------------------- // Mintable intterface //-------------------------------------------- interface IMintable { //---------------- // write //---------------- function mintByMinter( address to, uint256 tokenId ) external; } //------------------------------------------------------------ // Token(ERC721) //------------------------------------------------------------ contract Token is Ownable, ERC721, IMintable, ERC2981, DefaultOperatorFilterer { //-------------------------------------------------------- // constants //-------------------------------------------------------- string constant private TOKEN_NAME = "IROIRO"; string constant private TOKEN_SYMBOL = "IROIRO"; address constant private OWNER_ADDRESS = 0xc78b8E9f12EDbc74A708F9B5A0472B33b3B286ce; // Royalty uint96 constant private ROYALTY_FEE_NUMERATOR = 500; // 500/10000 = 5% //-------------------------------------------------------- // storage //-------------------------------------------------------- address private _manager; address private _minter; string private _base_uri_for_hidden; string private _base_uri_for_revealed; uint256 private _token_id_from; uint256 private _token_id_to; //-------------------------------------------------------- // [modifier] onlyOwnerOrManager //-------------------------------------------------------- modifier onlyOwnerOrManager() { require( msg.sender == owner() || msg.sender == manager(), "caller is not the owner neither manager" ); _; } //-------------------------------------------------------- // [modifier] onlyMinter //-------------------------------------------------------- modifier onlyMinter() { require( msg.sender == minter(), "caller is not the minter" ); _; } //-------------------------------------------------------- // constructor //-------------------------------------------------------- constructor() Ownable( OWNER_ADDRESS ) ERC721( TOKEN_NAME, TOKEN_SYMBOL ) { _setDefaultRoyalty( OWNER_ADDRESS, ROYALTY_FEE_NUMERATOR ); _manager = msg.sender; _base_uri_for_hidden = "ipfs://QmbJAjHuXRC1nvpWa8gqwSxREo47rZwCRzff1iCpzUpt5m/"; _token_id_from = 1; _token_id_to = 5000; } //======================================================================= // [public/override] supportsInterface //======================================================================= function supportsInterface(bytes4 interfaceId) public view override( ERC721, ERC2981 ) returns (bool) { return super.supportsInterface(interfaceId); } //======================================================================= // [external/onlyOwnerOrManager] for ERC2981 //======================================================================= function setDefaultRoyalty( address receiver, uint96 feeNumerator ) external onlyOwnerOrManager { _setDefaultRoyalty( receiver, feeNumerator ); } function deleteDefaultRoyalty() external onlyOwnerOrManager { _deleteDefaultRoyalty(); } function setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyOwnerOrManager { _setTokenRoyalty( tokenId, receiver, feeNumerator ); } function resetTokenRoyalty( uint256 tokenId ) external onlyOwnerOrManager { _resetTokenRoyalty( tokenId ); } //======================================================================= // [public/override/onlyAllowedOperatorApproval] for OperatorFilter //======================================================================= 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); } //-------------------------------------------------------- // [public] manager //-------------------------------------------------------- function manager() public view returns (address) { return( _manager ); } //-------------------------------------------------------- // [external/onlyOwner] setManager //-------------------------------------------------------- function setManager( address target ) external onlyOwner { _manager = target; } //-------------------------------------------------------- // [public] minter //-------------------------------------------------------- function minter() public view returns (address) { return( _minter ); } //-------------------------------------------------------- // [external/onlyOwnerOrManager] setMinter //-------------------------------------------------------- function setMinter( address target ) external onlyOwnerOrManager { _minter = target; } //-------------------------------------------------------- // [external] get //-------------------------------------------------------- function baseUriForHidden() external view returns (string memory) { return( _base_uri_for_hidden ); } function baseUriForRevealed() external view returns (string memory) { return( _base_uri_for_revealed ); } function tokenIdFrom() external view returns (uint256) { return( _token_id_from ); } function tokenIdTo()external view returns (uint256) { return( _token_id_to ); } //-------------------------------------------------------- // [external/onlyOwnerOrManager] set //-------------------------------------------------------- function setBaseUriForHidden( string calldata baseUri ) external onlyOwnerOrManager { _base_uri_for_hidden = baseUri; } function setBaseUriForRevealed( string calldata baseUri ) external onlyOwnerOrManager { _base_uri_for_revealed = baseUri; } function setTokenIdFrom( uint256 idFrom ) external onlyOwnerOrManager { _token_id_from = idFrom; } function setTokenIdTo( uint256 idTo )external onlyOwnerOrManager { _token_id_to = idTo; } //-------------------------------------------------------- // [public/override] tokenURI //-------------------------------------------------------- function tokenURI( uint256 tokenId ) public view override returns (string memory) { require( _exists( tokenId ), "nonexistent token" ); if( bytes(_base_uri_for_revealed).length > 0 ){ return( string( abi.encodePacked( _base_uri_for_revealed, Strings.toString( tokenId ) ) ) ); } return( string( abi.encodePacked( _base_uri_for_hidden, Strings.toString( tokenId ) ) ) ); } //-------------------------------------------------------- // [external/override/onlyMinter] mintByMinter //-------------------------------------------------------- function mintByMinter( address to, uint256 tokenId ) external override onlyMinter { require( tokenId >=_token_id_from && tokenId <= _token_id_to, "invalid tokenId" ); _mint( to, tokenId ); } }
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":"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","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":"baseUriForHidden","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUriForRevealed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintByMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":"baseUri","type":"string"}],"name":"setBaseUriForHidden","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUriForRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"idFrom","type":"uint256"}],"name":"setTokenIdFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"idTo","type":"uint256"}],"name":"setTokenIdTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","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":[],"name":"tokenIdFrom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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
60806040523480156200001157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600681526020016549524f49524f60d01b8152506040518060400160405280600681526020016549524f49524f60d01b81525073c78b8e9f12edbc74a708f9b5a0472b33b3b286ce6200008d816200026460201b60201c565b5060016200009c83826200045e565b506002620000ab82826200045e565b5050506daaeb6d7670e522a718067333cd4e3b15620001f35780156200014157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200012257600080fd5b505af115801562000137573d6000803e3d6000fd5b50505050620001f3565b6001600160a01b03821615620001925760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000107565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001d957600080fd5b505af1158015620001ee573d6000803e3d6000fd5b505050505b5062000218905073c78b8e9f12edbc74a708f9b5a0472b33b3b286ce6101f4620002b4565b600980546001600160a01b03191633179055604080516060810190915260368082526200277e6020830139600b906200025290826200045e565b506001600d55611388600e556200052a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620003285760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003805760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200031f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003e457607f821691505b6020821081036200040557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200045957600081815260208120601f850160051c81016020861015620004345750805b601f850160051c820191505b81811015620004555782815560010162000440565b5050505b505050565b81516001600160401b038111156200047a576200047a620003b9565b62000492816200048b8454620003cf565b846200040b565b602080601f831160018114620004ca5760008415620004b15750858301515b600019600386901b1c1916600185901b17855562000455565b600085815260208120601f198616915b82811015620004fb57888601518255948401946001909101908401620004da565b50858210156200051a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612244806200053a6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063ac1349a1116100ad578063d0ebdbe71161007c578063d0ebdbe714610459578063e985e9c51461046c578063f14e89141461047f578063f2fde38b14610492578063fca3b5aa146104a557600080fd5b8063ac1349a114610418578063b3a0b4b41461042b578063b88d4fde14610433578063c87b56dd1461044657600080fd5b806395918126116100f457806395918126146103e557806395d89b41146103ed578063a04e5f7f146103f5578063a22cb465146103fd578063aa1b103f1461041057600080fd5b8063715018a6146103a657806382610257146103ae5780638a616bc0146103c15780638da5cb5b146103d457600080fd5b806341f43434116101a857806352c0295f1161017757806352c0295f146103445780635944c7531461034c5780635d8ceea91461035f5780636352211e1461037257806370a082311461038557600080fd5b806341f43434146102f857806342842e0e1461030d578063481c6a751461032057806352491d771461033157600080fd5b8063081812fc116101e4578063081812fc1461028d578063095ea7b3146102a057806323b872dd146102b35780632a55205a146102c657600080fd5b806301ffc9a71461021657806304634d8d1461023e57806306fdde03146102535780630754617214610268575b600080fd5b610229610224366004611a26565b6104b8565b60405190151581526020015b60405180910390f35b61025161024c366004611a7d565b6104c9565b005b61025b61051f565b6040516102359190611b00565b600a546001600160a01b03165b6040516001600160a01b039091168152602001610235565b61027561029b366004611b13565b6105b1565b6102516102ae366004611b2c565b6105d8565b6102516102c1366004611b56565b6105f1565b6102d96102d4366004611b92565b61061c565b604080516001600160a01b039093168352602083019190915201610235565b6102756daaeb6d7670e522a718067333cd4e81565b61025161031b366004611b56565b6106c8565b6009546001600160a01b0316610275565b61025161033f366004611b2c565b6106ed565b61025b6107a3565b61025161035a366004611bb4565b6107b2565b61025161036d366004611bf0565b6107fc565b610275610380366004611b13565b610848565b610398610393366004611c62565b6108a8565b604051908152602001610235565b61025161092e565b6102516103bc366004611b13565b610942565b6102516103cf366004611b13565b610986565b6000546001600160a01b0316610275565b600d54610398565b61025b6109d9565b61025b6109e8565b61025161040b366004611c8b565b6109f7565b610251610a0b565b610251610426366004611bf0565b610a54565b600e54610398565b610251610441366004611cd8565b610aa0565b61025b610454366004611b13565b610acd565b610251610467366004611c62565b610b7c565b61022961047a366004611db4565b610ba6565b61025161048d366004611b13565b610bd4565b6102516104a0366004611c62565b610c18565b6102516104b3366004611c62565b610c8e565b60006104c382610cef565b92915050565b6000546001600160a01b03163314806104ec57506009546001600160a01b031633145b6105115760405162461bcd60e51b815260040161050890611dde565b60405180910390fd5b61051b8282610d14565b5050565b60606001805461052e90611e25565b80601f016020809104026020016040519081016040528092919081815260200182805461055a90611e25565b80156105a75780601f1061057c576101008083540402835291602001916105a7565b820191906000526020600020905b81548152906001019060200180831161058a57829003601f168201915b5050505050905090565b60006105bc82610dce565b506000908152600560205260409020546001600160a01b031690565b816105e281610e2d565b6105ec8383610ee6565b505050565b826001600160a01b038116331461060b5761060b33610e2d565b610616848484610ff6565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916106915750604080518082019091526007546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906106b0906001600160601b031687611e75565b6106ba9190611e8c565b915196919550909350505050565b826001600160a01b03811633146106e2576106e233610e2d565b610616848484611027565b600a546001600160a01b031633146107475760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206d696e74657200000000000000006044820152606401610508565b600d54811015801561075b5750600e548111155b6107995760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b6044820152606401610508565b61051b8282611042565b6060600b805461052e90611e25565b6000546001600160a01b03163314806107d557506009546001600160a01b031633145b6107f15760405162461bcd60e51b815260040161050890611dde565b6105ec8383836111db565b6000546001600160a01b031633148061081f57506009546001600160a01b031633145b61083b5760405162461bcd60e51b815260040161050890611dde565b600c6105ec828483611efc565b6000818152600360205260408120546001600160a01b0316806104c35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610508565b60006001600160a01b0382166109125760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610508565b506001600160a01b031660009081526004602052604090205490565b6109366112a6565b6109406000611300565b565b6000546001600160a01b031633148061096557506009546001600160a01b031633145b6109815760405162461bcd60e51b815260040161050890611dde565b600e55565b6000546001600160a01b03163314806109a957506009546001600160a01b031633145b6109c55760405162461bcd60e51b815260040161050890611dde565b600090815260086020526040812055565b50565b60606002805461052e90611e25565b6060600c805461052e90611e25565b81610a0181610e2d565b6105ec8383611350565b6000546001600160a01b0316331480610a2e57506009546001600160a01b031633145b610a4a5760405162461bcd60e51b815260040161050890611dde565b6109406000600755565b6000546001600160a01b0316331480610a7757506009546001600160a01b031633145b610a935760405162461bcd60e51b815260040161050890611dde565b600b6105ec828483611efc565b836001600160a01b0381163314610aba57610aba33610e2d565b610ac68585858561135b565b5050505050565b6000818152600360205260409020546060906001600160a01b0316610b285760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610508565b6000600c8054610b3790611e25565b90501115610b7157600c610b4a8361138d565b604051602001610b5b929190611fbc565b6040516020818303038152906040529050919050565b600b610b4a8361138d565b610b846112a6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331480610bf757506009546001600160a01b031633145b610c135760405162461bcd60e51b815260040161050890611dde565b600d55565b610c206112a6565b6001600160a01b038116610c855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610508565b6109d681611300565b6000546001600160a01b0316331480610cb157506009546001600160a01b031633145b610ccd5760405162461bcd60e51b815260040161050890611dde565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663152a902d60e11b14806104c357506104c382611420565b6127106001600160601b0382161115610d3f5760405162461bcd60e51b815260040161050890612043565b6001600160a01b038216610d955760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610508565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b6000818152600360205260409020546001600160a01b03166109d65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610508565b6daaeb6d7670e522a718067333cd4e3b156109d657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe919061208d565b6109d657604051633b79c77360e21b81526001600160a01b0382166004820152602401610508565b6000610ef182610848565b9050806001600160a01b0316836001600160a01b031603610f5e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610508565b336001600160a01b0382161480610f7a5750610f7a8133610ba6565b610fec5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610508565b6105ec8383611470565b61100033826114de565b61101c5760405162461bcd60e51b8152600401610508906120aa565b6105ec83838361153d565b6105ec83838360405180602001604052806000815250610aa0565b6001600160a01b0382166110985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610508565b6000818152600360205260409020546001600160a01b0316156110fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610508565b61110b6000838360016116ae565b6000818152600360205260409020546001600160a01b0316156111705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610508565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6127106001600160601b03821611156112065760405162461bcd60e51b815260040161050890612043565b6001600160a01b03821661125c5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610508565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600890529190942093519051909116600160a01b029116179055565b6000546001600160a01b031633146109405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610508565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61051b338383611736565b61136533836114de565b6113815760405162461bcd60e51b8152600401610508906120aa565b61061684848484611804565b6060600061139a83611837565b600101905060008167ffffffffffffffff8111156113ba576113ba611cc2565b6040519080825280601f01601f1916602001820160405280156113e4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113ee57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061145157506001600160e01b03198216635b5e139f60e01b145b806104c357506301ffc9a760e01b6001600160e01b03198316146104c3565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114a582610848565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806114ea83610848565b9050806001600160a01b0316846001600160a01b0316148061151157506115118185610ba6565b806115355750836001600160a01b031661152a846105b1565b6001600160a01b0316145b949350505050565b826001600160a01b031661155082610848565b6001600160a01b0316146115765760405162461bcd60e51b8152600401610508906120f7565b6001600160a01b0382166115d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610508565b6115e583838360016116ae565b826001600160a01b03166115f882610848565b6001600160a01b03161461161e5760405162461bcd60e51b8152600401610508906120f7565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001811115610616576001600160a01b038416156116f4576001600160a01b038416600090815260046020526040812080548392906116ee90849061213c565b90915550505b6001600160a01b03831615610616576001600160a01b0383166000908152600460205260408120805483929061172b90849061214f565b909155505050505050565b816001600160a01b0316836001600160a01b0316036117975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610508565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61180f84848461153d565b61181b8484848461190f565b6106165760405162461bcd60e51b815260040161050890612162565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118765772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118a2576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118c057662386f26fc10000830492506010015b6305f5e10083106118d8576305f5e100830492506008015b61271083106118ec57612710830492506004015b606483106118fe576064830492506002015b600a83106104c35760010192915050565b60006001600160a01b0384163b15611a0557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119539033908990889088906004016121b4565b6020604051808303816000875af192505050801561198e575060408051601f3d908101601f1916820190925261198b918101906121f1565b60015b6119eb573d8080156119bc576040519150601f19603f3d011682016040523d82523d6000602084013e6119c1565b606091505b5080516000036119e35760405162461bcd60e51b815260040161050890612162565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611535565b506001949350505050565b6001600160e01b0319811681146109d657600080fd5b600060208284031215611a3857600080fd5b8135611a4381611a10565b9392505050565b80356001600160a01b0381168114611a6157600080fd5b919050565b80356001600160601b0381168114611a6157600080fd5b60008060408385031215611a9057600080fd5b611a9983611a4a565b9150611aa760208401611a66565b90509250929050565b60005b83811015611acb578181015183820152602001611ab3565b50506000910152565b60008151808452611aec816020860160208601611ab0565b601f01601f19169290920160200192915050565b602081526000611a436020830184611ad4565b600060208284031215611b2557600080fd5b5035919050565b60008060408385031215611b3f57600080fd5b611b4883611a4a565b946020939093013593505050565b600080600060608486031215611b6b57600080fd5b611b7484611a4a565b9250611b8260208501611a4a565b9150604084013590509250925092565b60008060408385031215611ba557600080fd5b50508035926020909101359150565b600080600060608486031215611bc957600080fd5b83359250611bd960208501611a4a565b9150611be760408501611a66565b90509250925092565b60008060208385031215611c0357600080fd5b823567ffffffffffffffff80821115611c1b57600080fd5b818501915085601f830112611c2f57600080fd5b813581811115611c3e57600080fd5b866020828501011115611c5057600080fd5b60209290920196919550909350505050565b600060208284031215611c7457600080fd5b611a4382611a4a565b80151581146109d657600080fd5b60008060408385031215611c9e57600080fd5b611ca783611a4a565b91506020830135611cb781611c7d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611cee57600080fd5b611cf785611a4a565b9350611d0560208601611a4a565b925060408501359150606085013567ffffffffffffffff80821115611d2957600080fd5b818701915087601f830112611d3d57600080fd5b813581811115611d4f57611d4f611cc2565b604051601f8201601f19908116603f01168101908382118183101715611d7757611d77611cc2565b816040528281528a6020848701011115611d9057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611dc757600080fd5b611dd083611a4a565b9150611aa760208401611a4a565b60208082526027908201527f63616c6c6572206973206e6f7420746865206f776e6572206e6569746865722060408201526636b0b730b3b2b960c91b606082015260800190565b600181811c90821680611e3957607f821691505b602082108103611e5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104c3576104c3611e5f565b600082611ea957634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156105ec57600081815260208120601f850160051c81016020861015611ed55750805b601f850160051c820191505b81811015611ef457828155600101611ee1565b505050505050565b67ffffffffffffffff831115611f1457611f14611cc2565b611f2883611f228354611e25565b83611eae565b6000601f841160018114611f5c5760008515611f445750838201355b600019600387901b1c1916600186901b178355610ac6565b600083815260209020601f19861690835b82811015611f8d5786850135825560209485019460019092019101611f6d565b5086821015611faa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000808454611fca81611e25565b60018281168015611fe25760018114611ff757612026565b60ff1984168752821515830287019450612026565b8860005260208060002060005b8581101561201d5781548a820152908401908201612004565b50505082870194505b50505050835161203a818360208801611ab0565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60006020828403121561209f57600080fd5b8151611a4381611c7d565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b818103818111156104c3576104c3611e5f565b808201808211156104c3576104c3611e5f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121e790830184611ad4565b9695505050505050565b60006020828403121561220357600080fd5b8151611a4381611a1056fea26469706673582212206f471fd0e5530a89af4e782c40fd377b38e83986ed950408e3c04a47b30de54164736f6c63430008110033697066733a2f2f516d624a416a4875585243316e7670576138677177537852456f3437725a7743527a6666316943707a557074356d2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063ac1349a1116100ad578063d0ebdbe71161007c578063d0ebdbe714610459578063e985e9c51461046c578063f14e89141461047f578063f2fde38b14610492578063fca3b5aa146104a557600080fd5b8063ac1349a114610418578063b3a0b4b41461042b578063b88d4fde14610433578063c87b56dd1461044657600080fd5b806395918126116100f457806395918126146103e557806395d89b41146103ed578063a04e5f7f146103f5578063a22cb465146103fd578063aa1b103f1461041057600080fd5b8063715018a6146103a657806382610257146103ae5780638a616bc0146103c15780638da5cb5b146103d457600080fd5b806341f43434116101a857806352c0295f1161017757806352c0295f146103445780635944c7531461034c5780635d8ceea91461035f5780636352211e1461037257806370a082311461038557600080fd5b806341f43434146102f857806342842e0e1461030d578063481c6a751461032057806352491d771461033157600080fd5b8063081812fc116101e4578063081812fc1461028d578063095ea7b3146102a057806323b872dd146102b35780632a55205a146102c657600080fd5b806301ffc9a71461021657806304634d8d1461023e57806306fdde03146102535780630754617214610268575b600080fd5b610229610224366004611a26565b6104b8565b60405190151581526020015b60405180910390f35b61025161024c366004611a7d565b6104c9565b005b61025b61051f565b6040516102359190611b00565b600a546001600160a01b03165b6040516001600160a01b039091168152602001610235565b61027561029b366004611b13565b6105b1565b6102516102ae366004611b2c565b6105d8565b6102516102c1366004611b56565b6105f1565b6102d96102d4366004611b92565b61061c565b604080516001600160a01b039093168352602083019190915201610235565b6102756daaeb6d7670e522a718067333cd4e81565b61025161031b366004611b56565b6106c8565b6009546001600160a01b0316610275565b61025161033f366004611b2c565b6106ed565b61025b6107a3565b61025161035a366004611bb4565b6107b2565b61025161036d366004611bf0565b6107fc565b610275610380366004611b13565b610848565b610398610393366004611c62565b6108a8565b604051908152602001610235565b61025161092e565b6102516103bc366004611b13565b610942565b6102516103cf366004611b13565b610986565b6000546001600160a01b0316610275565b600d54610398565b61025b6109d9565b61025b6109e8565b61025161040b366004611c8b565b6109f7565b610251610a0b565b610251610426366004611bf0565b610a54565b600e54610398565b610251610441366004611cd8565b610aa0565b61025b610454366004611b13565b610acd565b610251610467366004611c62565b610b7c565b61022961047a366004611db4565b610ba6565b61025161048d366004611b13565b610bd4565b6102516104a0366004611c62565b610c18565b6102516104b3366004611c62565b610c8e565b60006104c382610cef565b92915050565b6000546001600160a01b03163314806104ec57506009546001600160a01b031633145b6105115760405162461bcd60e51b815260040161050890611dde565b60405180910390fd5b61051b8282610d14565b5050565b60606001805461052e90611e25565b80601f016020809104026020016040519081016040528092919081815260200182805461055a90611e25565b80156105a75780601f1061057c576101008083540402835291602001916105a7565b820191906000526020600020905b81548152906001019060200180831161058a57829003601f168201915b5050505050905090565b60006105bc82610dce565b506000908152600560205260409020546001600160a01b031690565b816105e281610e2d565b6105ec8383610ee6565b505050565b826001600160a01b038116331461060b5761060b33610e2d565b610616848484610ff6565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916106915750604080518082019091526007546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906106b0906001600160601b031687611e75565b6106ba9190611e8c565b915196919550909350505050565b826001600160a01b03811633146106e2576106e233610e2d565b610616848484611027565b600a546001600160a01b031633146107475760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206d696e74657200000000000000006044820152606401610508565b600d54811015801561075b5750600e548111155b6107995760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b6044820152606401610508565b61051b8282611042565b6060600b805461052e90611e25565b6000546001600160a01b03163314806107d557506009546001600160a01b031633145b6107f15760405162461bcd60e51b815260040161050890611dde565b6105ec8383836111db565b6000546001600160a01b031633148061081f57506009546001600160a01b031633145b61083b5760405162461bcd60e51b815260040161050890611dde565b600c6105ec828483611efc565b6000818152600360205260408120546001600160a01b0316806104c35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610508565b60006001600160a01b0382166109125760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610508565b506001600160a01b031660009081526004602052604090205490565b6109366112a6565b6109406000611300565b565b6000546001600160a01b031633148061096557506009546001600160a01b031633145b6109815760405162461bcd60e51b815260040161050890611dde565b600e55565b6000546001600160a01b03163314806109a957506009546001600160a01b031633145b6109c55760405162461bcd60e51b815260040161050890611dde565b600090815260086020526040812055565b50565b60606002805461052e90611e25565b6060600c805461052e90611e25565b81610a0181610e2d565b6105ec8383611350565b6000546001600160a01b0316331480610a2e57506009546001600160a01b031633145b610a4a5760405162461bcd60e51b815260040161050890611dde565b6109406000600755565b6000546001600160a01b0316331480610a7757506009546001600160a01b031633145b610a935760405162461bcd60e51b815260040161050890611dde565b600b6105ec828483611efc565b836001600160a01b0381163314610aba57610aba33610e2d565b610ac68585858561135b565b5050505050565b6000818152600360205260409020546060906001600160a01b0316610b285760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610508565b6000600c8054610b3790611e25565b90501115610b7157600c610b4a8361138d565b604051602001610b5b929190611fbc565b6040516020818303038152906040529050919050565b600b610b4a8361138d565b610b846112a6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331480610bf757506009546001600160a01b031633145b610c135760405162461bcd60e51b815260040161050890611dde565b600d55565b610c206112a6565b6001600160a01b038116610c855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610508565b6109d681611300565b6000546001600160a01b0316331480610cb157506009546001600160a01b031633145b610ccd5760405162461bcd60e51b815260040161050890611dde565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663152a902d60e11b14806104c357506104c382611420565b6127106001600160601b0382161115610d3f5760405162461bcd60e51b815260040161050890612043565b6001600160a01b038216610d955760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610508565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b6000818152600360205260409020546001600160a01b03166109d65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610508565b6daaeb6d7670e522a718067333cd4e3b156109d657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe919061208d565b6109d657604051633b79c77360e21b81526001600160a01b0382166004820152602401610508565b6000610ef182610848565b9050806001600160a01b0316836001600160a01b031603610f5e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610508565b336001600160a01b0382161480610f7a5750610f7a8133610ba6565b610fec5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610508565b6105ec8383611470565b61100033826114de565b61101c5760405162461bcd60e51b8152600401610508906120aa565b6105ec83838361153d565b6105ec83838360405180602001604052806000815250610aa0565b6001600160a01b0382166110985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610508565b6000818152600360205260409020546001600160a01b0316156110fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610508565b61110b6000838360016116ae565b6000818152600360205260409020546001600160a01b0316156111705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610508565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6127106001600160601b03821611156112065760405162461bcd60e51b815260040161050890612043565b6001600160a01b03821661125c5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610508565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600890529190942093519051909116600160a01b029116179055565b6000546001600160a01b031633146109405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610508565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61051b338383611736565b61136533836114de565b6113815760405162461bcd60e51b8152600401610508906120aa565b61061684848484611804565b6060600061139a83611837565b600101905060008167ffffffffffffffff8111156113ba576113ba611cc2565b6040519080825280601f01601f1916602001820160405280156113e4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113ee57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061145157506001600160e01b03198216635b5e139f60e01b145b806104c357506301ffc9a760e01b6001600160e01b03198316146104c3565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114a582610848565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806114ea83610848565b9050806001600160a01b0316846001600160a01b0316148061151157506115118185610ba6565b806115355750836001600160a01b031661152a846105b1565b6001600160a01b0316145b949350505050565b826001600160a01b031661155082610848565b6001600160a01b0316146115765760405162461bcd60e51b8152600401610508906120f7565b6001600160a01b0382166115d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610508565b6115e583838360016116ae565b826001600160a01b03166115f882610848565b6001600160a01b03161461161e5760405162461bcd60e51b8152600401610508906120f7565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001811115610616576001600160a01b038416156116f4576001600160a01b038416600090815260046020526040812080548392906116ee90849061213c565b90915550505b6001600160a01b03831615610616576001600160a01b0383166000908152600460205260408120805483929061172b90849061214f565b909155505050505050565b816001600160a01b0316836001600160a01b0316036117975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610508565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61180f84848461153d565b61181b8484848461190f565b6106165760405162461bcd60e51b815260040161050890612162565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118765772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118a2576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118c057662386f26fc10000830492506010015b6305f5e10083106118d8576305f5e100830492506008015b61271083106118ec57612710830492506004015b606483106118fe576064830492506002015b600a83106104c35760010192915050565b60006001600160a01b0384163b15611a0557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119539033908990889088906004016121b4565b6020604051808303816000875af192505050801561198e575060408051601f3d908101601f1916820190925261198b918101906121f1565b60015b6119eb573d8080156119bc576040519150601f19603f3d011682016040523d82523d6000602084013e6119c1565b606091505b5080516000036119e35760405162461bcd60e51b815260040161050890612162565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611535565b506001949350505050565b6001600160e01b0319811681146109d657600080fd5b600060208284031215611a3857600080fd5b8135611a4381611a10565b9392505050565b80356001600160a01b0381168114611a6157600080fd5b919050565b80356001600160601b0381168114611a6157600080fd5b60008060408385031215611a9057600080fd5b611a9983611a4a565b9150611aa760208401611a66565b90509250929050565b60005b83811015611acb578181015183820152602001611ab3565b50506000910152565b60008151808452611aec816020860160208601611ab0565b601f01601f19169290920160200192915050565b602081526000611a436020830184611ad4565b600060208284031215611b2557600080fd5b5035919050565b60008060408385031215611b3f57600080fd5b611b4883611a4a565b946020939093013593505050565b600080600060608486031215611b6b57600080fd5b611b7484611a4a565b9250611b8260208501611a4a565b9150604084013590509250925092565b60008060408385031215611ba557600080fd5b50508035926020909101359150565b600080600060608486031215611bc957600080fd5b83359250611bd960208501611a4a565b9150611be760408501611a66565b90509250925092565b60008060208385031215611c0357600080fd5b823567ffffffffffffffff80821115611c1b57600080fd5b818501915085601f830112611c2f57600080fd5b813581811115611c3e57600080fd5b866020828501011115611c5057600080fd5b60209290920196919550909350505050565b600060208284031215611c7457600080fd5b611a4382611a4a565b80151581146109d657600080fd5b60008060408385031215611c9e57600080fd5b611ca783611a4a565b91506020830135611cb781611c7d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611cee57600080fd5b611cf785611a4a565b9350611d0560208601611a4a565b925060408501359150606085013567ffffffffffffffff80821115611d2957600080fd5b818701915087601f830112611d3d57600080fd5b813581811115611d4f57611d4f611cc2565b604051601f8201601f19908116603f01168101908382118183101715611d7757611d77611cc2565b816040528281528a6020848701011115611d9057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611dc757600080fd5b611dd083611a4a565b9150611aa760208401611a4a565b60208082526027908201527f63616c6c6572206973206e6f7420746865206f776e6572206e6569746865722060408201526636b0b730b3b2b960c91b606082015260800190565b600181811c90821680611e3957607f821691505b602082108103611e5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104c3576104c3611e5f565b600082611ea957634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156105ec57600081815260208120601f850160051c81016020861015611ed55750805b601f850160051c820191505b81811015611ef457828155600101611ee1565b505050505050565b67ffffffffffffffff831115611f1457611f14611cc2565b611f2883611f228354611e25565b83611eae565b6000601f841160018114611f5c5760008515611f445750838201355b600019600387901b1c1916600186901b178355610ac6565b600083815260209020601f19861690835b82811015611f8d5786850135825560209485019460019092019101611f6d565b5086821015611faa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000808454611fca81611e25565b60018281168015611fe25760018114611ff757612026565b60ff1984168752821515830287019450612026565b8860005260208060002060005b8581101561201d5781548a820152908401908201612004565b50505082870194505b50505050835161203a818360208801611ab0565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60006020828403121561209f57600080fd5b8151611a4381611c7d565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b818103818111156104c3576104c3611e5f565b808201808211156104c3576104c3611e5f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121e790830184611ad4565b9695505050505050565b60006020828403121561220357600080fd5b8151611a4381611a1056fea26469706673582212206f471fd0e5530a89af4e782c40fd377b38e83986ed950408e3c04a47b30de54164736f6c63430008110033
Deployed Bytecode Sourcemap
63777:7400:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65982:164;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;65982:164:0;;;;;;;;66362:145;;;;;;:::i;:::-;;:::i;:::-;;38238:100;;;:::i;:::-;;;;;;;:::i;68620:84::-;68687:7;;-1:-1:-1;;;;;68687:7:0;68620:84;;;-1:-1:-1;;;;;2137:32:1;;;2119:51;;2107:2;2092:18;68620:84:0;1973:203:1;39750:171:0;;;;;;:::i;:::-;;:::i;67295:143::-;;;;;;:::i;:::-;;:::i;67444:149::-;;;;;;:::i;:::-;;:::i;55475:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3403:32:1;;;3385:51;;3467:2;3452:18;;3445:34;;;;3358:18;55475:442:0;3211:274:1;60844:143:0;;60944:42;60844:143;;67599:157;;;;;;:::i;:::-;;:::i;68105:86::-;68173:8;;-1:-1:-1;;;;;68173:8:0;68105:86;;70957:215;;;;;;:::i;:::-;;:::i;69147:101::-;;;:::i;66607:167::-;;;;;;:::i;:::-;;:::i;69837:123::-;;;;;;:::i;:::-;;:::i;37948:223::-;;;;;;:::i;:::-;;:::i;37679:207::-;;;;;;:::i;:::-;;:::i;:::-;;;4995:25:1;;;4983:2;4968:18;37679:207:0;4849:177:1;26951:103:0;;;:::i;70070:89::-;;;;;;:::i;:::-;;:::i;66780:108::-;;;;;;:::i;:::-;;:::i;26303:87::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;26303:87;;69365:84;69430:14;;69365:84;;38407:104;;;:::i;69254:105::-;;;:::i;67127:162::-;;;;;;:::i;:::-;;:::i;66513:88::-;;;:::i;69712:119::-;;;;;;:::i;:::-;;:::i;69455:79::-;69517:12;;69455:79;;67762:182;;;;;;:::i;:::-;;:::i;70330:439::-;;;;;;:::i;:::-;;:::i;68367:93::-;;;;;;:::i;:::-;;:::i;40219:164::-;;;;;;:::i;:::-;;:::i;69966:98::-;;;;;;:::i;:::-;;:::i;27209:201::-;;;;;;:::i;:::-;;:::i;68888:100::-;;;;;;:::i;:::-;;:::i;65982:164::-;66078:4;66102:36;66126:11;66102:23;:36::i;:::-;66095:43;65982:164;-1:-1:-1;;65982:164:0:o;66362:145::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;;;;;;;;;66460:44:::1;66480:8;66490:12;66460:18;:44::i;:::-;66362:145:::0;;:::o;38238:100::-;38292:13;38325:5;38318:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38238:100;:::o;39750:171::-;39826:7;39846:23;39861:7;39846:14;:23::i;:::-;-1:-1:-1;39889:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39889:24:0;;39750:171::o;67295:143::-;67391:8;62365:30;62386:8;62365:20;:30::i;:::-;67403:32:::1;67417:8;67427:7;67403:13;:32::i;:::-;67295:143:::0;;;:::o;67444:149::-;67545:4;-1:-1:-1;;;;;62185:18:0;;62193:10;62185:18;62181:83;;62220:32;62241:10;62220:20;:32::i;:::-;67553:37:::1;67572:4;67578:2;67582:7;67553:18;:37::i;:::-;67444:149:::0;;;;:::o;55475:442::-;55572:7;55630:27;;;:17;:27;;;;;;;;55601:56;;;;;;;;;-1:-1:-1;;;;;55601:56:0;;;;;-1:-1:-1;;;55601:56:0;;;-1:-1:-1;;;;;55601:56:0;;;;;;;;55572:7;;55670:92;;-1:-1:-1;55721:29:0;;;;;;;;;55731:19;55721:29;-1:-1:-1;;;;;55721:29:0;;;;-1:-1:-1;;;55721:29:0;;-1:-1:-1;;;;;55721:29:0;;;;;55670:92;55812:23;;;;55774:21;;56283:5;;55799:36;;-1:-1:-1;;;;;55799:36:0;:10;:36;:::i;:::-;55798:58;;;;:::i;:::-;55877:16;;;;;-1:-1:-1;55475:442:0;;-1:-1:-1;;;;55475:442:0:o;67599:157::-;67704:4;-1:-1:-1;;;;;62185:18:0;;62193:10;62185:18;62181:83;;62220:32;62241:10;62220:20;:32::i;:::-;67712:41:::1;67735:4;67741:2;67745:7;67712:22;:41::i;70957:215::-:0;68687:7;;-1:-1:-1;;;;;68687:7:0;65210:10;:22;65201:61;;;;-1:-1:-1;;;65201:61:0;;8668:2:1;65201:61:0;;;8650:21:1;8707:2;8687:18;;;8680:30;8746:26;8726:18;;;8719:54;8790:18;;65201:61:0;8466:348:1;65201:61:0;71069:14:::1;;71059:7;:24;;:51;;;;;71098:12;;71087:7;:23;;71059:51;71050:81;;;::::0;-1:-1:-1;;;71050:81:0;;9021:2:1;71050:81:0::1;::::0;::::1;9003:21:1::0;9060:2;9040:18;;;9033:30;-1:-1:-1;;;9079:18:1;;;9072:45;9134:18;;71050:81:0::1;8819:339:1::0;71050:81:0::1;71144:20;71151:2;71155:7;71144:5;:20::i;69147:101::-:0;69198:13;69223:20;69215:30;;;;;:::i;66607:167::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;66720:51:::1;66738:7;66747:8;66757:12;66720:16;:51::i;69837:123::-:0;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;69925:22:::1;:32;69950:7:::0;;69925:22;:32:::1;:::i;37948:223::-:0;38020:7;42835:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42835:16:0;;38084:56;;;;-1:-1:-1;;;38084:56:0;;11423:2:1;38084:56:0;;;11405:21:1;11462:2;11442:18;;;11435:30;-1:-1:-1;;;11481:18:1;;;11474:54;11545:18;;38084:56:0;11221:348:1;37679:207:0;37751:7;-1:-1:-1;;;;;37779:19:0;;37771:73;;;;-1:-1:-1;;;37771:73:0;;11776:2:1;37771:73:0;;;11758:21:1;11815:2;11795:18;;;11788:30;11854:34;11834:18;;;11827:62;-1:-1:-1;;;11905:18:1;;;11898:39;11954:19;;37771:73:0;11574:405:1;37771:73:0;-1:-1:-1;;;;;;37862:16:0;;;;;:9;:16;;;;;;;37679:207::o;26951:103::-;26189:13;:11;:13::i;:::-;27016:30:::1;27043:1;27016:18;:30::i;:::-;26951:103::o:0;70070:89::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;70137:12:::1;:19:::0;70070:89::o;66780:108::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;57931:26;;;;:17;:26;;;;;57924:33;66780:108::o;66856:29::-:1;66780:108:::0;:::o;38407:104::-;38463:13;38496:7;38489:14;;;;;:::i;69254:105::-;69307:13;69332:22;69324:32;;;;;:::i;67127:162::-;67231:8;62365:30;62386:8;62365:20;:30::i;:::-;67243:43:::1;67267:8;67277;67243:23;:43::i;66513:88::-:0;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;66575:23:::1;57043:19:::0;;57036:26;56975:95;69712:119;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;69798:20:::1;:30;69821:7:::0;;69798:20;:30:::1;:::i;67762:182::-:0;67886:4;-1:-1:-1;;;;;62185:18:0;;62193:10;62185:18;62181:83;;62220:32;62241:10;62220:20;:32::i;:::-;67894:47:::1;67917:4;67923:2;67927:7;67936:4;67894:22;:47::i;:::-;67762:182:::0;;;;;:::o;70330:439::-;43237:4;42835:16;;;:7;:16;;;;;;70397:13;;-1:-1:-1;;;;;42835:16:0;70423:50;;;;-1:-1:-1;;;70423:50:0;;12186:2:1;70423:50:0;;;12168:21:1;12225:2;12205:18;;;12198:30;-1:-1:-1;;;12244:18:1;;;12237:47;12301:18;;70423:50:0;11984:341:1;70423:50:0;70529:1;70496:22;70490:36;;;;;:::i;:::-;;;:40;70486:174;;;70581:22;70605:27;70623:7;70605:16;:27::i;:::-;70563:71;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70547:91;;70330:439;;;:::o;70486:174::-;70706:20;70728:27;70746:7;70728:16;:27::i;68367:93::-;26189:13;:11;:13::i;:::-;68435:8:::1;:17:::0;;-1:-1:-1;;;;;;68435:17:0::1;-1:-1:-1::0;;;;;68435:17:0;;;::::1;::::0;;;::::1;::::0;;68367:93::o;40219:164::-;-1:-1:-1;;;;;40340:25:0;;;40316:4;40340:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40219:164::o;69966:98::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;70038:14:::1;:23:::0;69966:98::o;27209:201::-;26189:13;:11;:13::i;:::-;-1:-1:-1;;;;;27298:22:0;::::1;27290:73;;;::::0;-1:-1:-1;;;27290:73:0;;13557:2:1;27290:73:0::1;::::0;::::1;13539:21:1::0;13596:2;13576:18;;;13569:30;13635:34;13615:18;;;13608:62;-1:-1:-1;;;13686:18:1;;;13679:36;13732:19;;27290:73:0::1;13355:402:1::0;27290:73:0::1;27374:28;27393:8;27374:18;:28::i;68888:100::-:0;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;64889:10;:21;;:48;;-1:-1:-1;68173:8:0;;-1:-1:-1;;;;;68173:8:0;64914:10;:23;64889:48;64880:102;;;;-1:-1:-1;;;64880:102:0;;;;;;;:::i;:::-;68964:7:::1;:16:::0;;-1:-1:-1;;;;;;68964:16:0::1;-1:-1:-1::0;;;;;68964:16:0;;;::::1;::::0;;;::::1;::::0;;68888:100::o;55205:215::-;55307:4;-1:-1:-1;;;;;;55331:41:0;;-1:-1:-1;;;55331:41:0;;:81;;;55376:36;55400:11;55376:23;:36::i;56567:332::-;56283:5;-1:-1:-1;;;;;56670:33:0;;;;56662:88;;;;-1:-1:-1;;;56662:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56769:22:0;;56761:60;;;;-1:-1:-1;;;56761:60:0;;14375:2:1;56761:60:0;;;14357:21:1;14414:2;14394:18;;;14387:30;14453:27;14433:18;;;14426:55;14498:18;;56761:60:0;14173:349:1;56761:60:0;56856:35;;;;;;;;;-1:-1:-1;;;;;56856:35:0;;;;;;-1:-1:-1;;;;;56856:35:0;;;;;;;;;;-1:-1:-1;;;56834:57:0;;;;:19;:57;56567:332::o;49569:135::-;43237:4;42835:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42835:16:0;49643:53;;;;-1:-1:-1;;;49643:53:0;;11423:2:1;49643:53:0;;;11405:21:1;11462:2;11442:18;;;11435:30;-1:-1:-1;;;11481:18:1;;;11474:54;11545:18;;49643:53:0;11221:348:1;62423:419:0;60944:42;62614:45;:49;62610:225;;62685:67;;-1:-1:-1;;;62685:67:0;;62736:4;62685:67;;;14739:34:1;-1:-1:-1;;;;;14809:15:1;;14789:18;;;14782:43;60944:42:0;;62685;;14674:18:1;;62685:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62680:144;;62780:28;;-1:-1:-1;;;62780:28:0;;-1:-1:-1;;;;;2137:32:1;;62780:28:0;;;2119:51:1;2092:18;;62780:28:0;1973:203:1;39268:416:0;39349:13;39365:23;39380:7;39365:14;:23::i;:::-;39349:39;;39413:5;-1:-1:-1;;;;;39407:11:0;:2;-1:-1:-1;;;;;39407:11:0;;39399:57;;;;-1:-1:-1;;;39399:57:0;;15288:2:1;39399:57:0;;;15270:21:1;15327:2;15307:18;;;15300:30;15366:34;15346:18;;;15339:62;-1:-1:-1;;;15417:18:1;;;15410:31;15458:19;;39399:57:0;15086:397:1;39399:57:0;25014:10;-1:-1:-1;;;;;39491:21:0;;;;:62;;-1:-1:-1;39516:37:0;39533:5;25014:10;40219:164;:::i;39516:37::-;39469:173;;;;-1:-1:-1;;;39469:173:0;;15690:2:1;39469:173:0;;;15672:21:1;15729:2;15709:18;;;15702:30;15768:34;15748:18;;;15741:62;15839:31;15819:18;;;15812:59;15888:19;;39469:173:0;15488:425:1;39469:173:0;39655:21;39664:2;39668:7;39655:8;:21::i;40450:335::-;40645:41;25014:10;40678:7;40645:18;:41::i;:::-;40637:99;;;;-1:-1:-1;;;40637:99:0;;;;;;;:::i;:::-;40749:28;40759:4;40765:2;40769:7;40749:9;:28::i;40856:185::-;40994:39;41011:4;41017:2;41021:7;40994:39;;;;;;;;;;;;:16;:39::i;45065:942::-;-1:-1:-1;;;;;45145:16:0;;45137:61;;;;-1:-1:-1;;;45137:61:0;;16534:2:1;45137:61:0;;;16516:21:1;;;16553:18;;;16546:30;16612:34;16592:18;;;16585:62;16664:18;;45137:61:0;16332:356:1;45137:61:0;43237:4;42835:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42835:16:0;43261:31;45209:58;;;;-1:-1:-1;;;45209:58:0;;16895:2:1;45209:58:0;;;16877:21:1;16934:2;16914:18;;;16907:30;16973;16953:18;;;16946:58;17021:18;;45209:58:0;16693:352:1;45209:58:0;45280:48;45309:1;45313:2;45317:7;45326:1;45280:20;:48::i;:::-;43237:4;42835:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42835:16:0;43261:31;45418:58;;;;-1:-1:-1;;;45418:58:0;;16895:2:1;45418:58:0;;;16877:21:1;16934:2;16914:18;;;16907:30;16973;16953:18;;;16946:58;17021:18;;45418:58:0;16693:352:1;45418:58:0;-1:-1:-1;;;;;45825:13:0;;;;;;:9;:13;;;;;;;;:18;;45842:1;45825:18;;;45867:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45867:21:0;;;;;45906:33;45875:7;;45825:13;;45906:33;;45825:13;;45906:33;66362:145;;:::o;57350:390::-;56283:5;-1:-1:-1;;;;;57502:33:0;;;;57494:88;;;;-1:-1:-1;;;57494:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57601:22:0;;57593:62;;;;-1:-1:-1;;;57593:62:0;;17252:2:1;57593:62:0;;;17234:21:1;17291:2;17271:18;;;17264:30;17330:29;17310:18;;;17303:57;17377:18;;57593:62:0;17050:351:1;57593:62:0;57697:35;;;;;;;;-1:-1:-1;;;;;57697:35:0;;;;;-1:-1:-1;;;;;57697:35:0;;;;;;;;;;-1:-1:-1;57668:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;57668:64:0;;;;;;57350:390::o;26468:132::-;26349:7;26376:6;-1:-1:-1;;;;;26376:6:0;25014:10;26532:23;26524:68;;;;-1:-1:-1;;;26524:68:0;;17608:2:1;26524:68:0;;;17590:21:1;;;17627:18;;;17620:30;17686:34;17666:18;;;17659:62;17738:18;;26524:68:0;17406:356:1;27570:191:0;27644:16;27663:6;;-1:-1:-1;;;;;27680:17:0;;;-1:-1:-1;;;;;;27680:17:0;;;;;;27713:40;;27663:6;;;;;;;27713:40;;27644:16;27713:40;27633:128;27570:191;:::o;39993:155::-;40088:52;25014:10;40121:8;40131;40088:18;:52::i;41112:322::-;41286:41;25014:10;41319:7;41286:18;:41::i;:::-;41278:99;;;;-1:-1:-1;;;41278:99:0;;;;;;;:::i;:::-;41388:38;41402:4;41408:2;41412:7;41421:4;41388:13;:38::i;13148:716::-;13204:13;13255:14;13272:17;13283:5;13272:10;:17::i;:::-;13292:1;13272:21;13255:38;;13308:20;13342:6;13331:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13331:18:0;-1:-1:-1;13308:41:0;-1:-1:-1;13473:28:0;;;13489:2;13473:28;13530:288;-1:-1:-1;;13562:5:0;-1:-1:-1;;;13699:2:0;13688:14;;13683:30;13562:5;13670:44;13760:2;13751:11;;;-1:-1:-1;13781:21:0;13530:288;13781:21;-1:-1:-1;13839:6:0;13148:716;-1:-1:-1;;;13148:716:0:o;37310:305::-;37412:4;-1:-1:-1;;;;;;37449:40:0;;-1:-1:-1;;;37449:40:0;;:105;;-1:-1:-1;;;;;;;37506:48:0;;-1:-1:-1;;;37506:48:0;37449:105;:158;;;-1:-1:-1;;;;;;;;;;29427:40:0;;;37571:36;29318:157;48848:174;48923:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48923:29:0;-1:-1:-1;;;;;48923:29:0;;;;;;;;:24;;48977:23;48923:24;48977:14;:23::i;:::-;-1:-1:-1;;;;;48968:46:0;;;;;;;;;;;48848:174;;:::o;43467:264::-;43560:4;43577:13;43593:23;43608:7;43593:14;:23::i;:::-;43577:39;;43646:5;-1:-1:-1;;;;;43635:16:0;:7;-1:-1:-1;;;;;43635:16:0;;:52;;;;43655:32;43672:5;43679:7;43655:16;:32::i;:::-;43635:87;;;;43715:7;-1:-1:-1;;;;;43691:31:0;:20;43703:7;43691:11;:20::i;:::-;-1:-1:-1;;;;;43691:31:0;;43635:87;43627:96;43467:264;-1:-1:-1;;;;43467:264:0:o;47466:1263::-;47625:4;-1:-1:-1;;;;;47598:31:0;:23;47613:7;47598:14;:23::i;:::-;-1:-1:-1;;;;;47598:31:0;;47590:81;;;;-1:-1:-1;;;47590:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47690:16:0;;47682:65;;;;-1:-1:-1;;;47682:65:0;;18375:2:1;47682:65:0;;;18357:21:1;18414:2;18394:18;;;18387:30;18453:34;18433:18;;;18426:62;-1:-1:-1;;;18504:18:1;;;18497:34;18548:19;;47682:65:0;18173:400:1;47682:65:0;47760:42;47781:4;47787:2;47791:7;47800:1;47760:20;:42::i;:::-;47932:4;-1:-1:-1;;;;;47905:31:0;:23;47920:7;47905:14;:23::i;:::-;-1:-1:-1;;;;;47905:31:0;;47897:81;;;;-1:-1:-1;;;47897:81:0;;;;;;;:::i;:::-;48050:24;;;;:15;:24;;;;;;;;48043:31;;-1:-1:-1;;;;;;48043:31:0;;;;;;-1:-1:-1;;;;;48526:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;48526:20:0;;;48561:13;;;;;;;;;:18;;48043:31;48561:18;;;48601:16;;;:7;:16;;;;;;:21;;;;;;;;;;48640:27;;48066:7;;48640:27;;;67295:143;;;:::o;51853:410::-;52043:1;52031:9;:13;52027:229;;;-1:-1:-1;;;;;52065:18:0;;;52061:87;;-1:-1:-1;;;;;52104:15:0;;;;;;:9;:15;;;;;:28;;52123:9;;52104:15;:28;;52123:9;;52104:28;:::i;:::-;;;;-1:-1:-1;;52061:87:0;-1:-1:-1;;;;;52166:16:0;;;52162:83;;-1:-1:-1;;;;;52203:13:0;;;;;;:9;:13;;;;;:26;;52220:9;;52203:13;:26;;52220:9;;52203:26;:::i;:::-;;;;-1:-1:-1;;51853:410:0;;;;:::o;49165:315::-;49320:8;-1:-1:-1;;;;;49311:17:0;:5;-1:-1:-1;;;;;49311:17:0;;49303:55;;;;-1:-1:-1;;;49303:55:0;;19043:2:1;49303:55:0;;;19025:21:1;19082:2;19062:18;;;19055:30;19121:27;19101:18;;;19094:55;19166:18;;49303:55:0;18841:349:1;49303:55:0;-1:-1:-1;;;;;49369:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;49369:46:0;;;;;;;;;;49431:41;;540::1;;;49431::0;;513:18:1;49431:41:0;;;;;;;49165:315;;;:::o;42315:313::-;42471:28;42481:4;42487:2;42491:7;42471:9;:28::i;:::-;42518:47;42541:4;42547:2;42551:7;42560:4;42518:22;:47::i;:::-;42510:110;;;;-1:-1:-1;;;42510:110:0;;;;;;;:::i;10115:922::-;10168:7;;-1:-1:-1;;;10246:15:0;;10242:102;;-1:-1:-1;;;10282:15:0;;;-1:-1:-1;10326:2:0;10316:12;10242:102;10371:6;10362:5;:15;10358:102;;10407:6;10398:15;;;-1:-1:-1;10442:2:0;10432:12;10358:102;10487:6;10478:5;:15;10474:102;;10523:6;10514:15;;;-1:-1:-1;10558:2:0;10548:12;10474:102;10603:5;10594;:14;10590:99;;10638:5;10629:14;;;-1:-1:-1;10672:1:0;10662:11;10590:99;10716:5;10707;:14;10703:99;;10751:5;10742:14;;;-1:-1:-1;10785:1:0;10775:11;10703:99;10829:5;10820;:14;10816:99;;10864:5;10855:14;;;-1:-1:-1;10898:1:0;10888:11;10816:99;10942:5;10933;:14;10929:66;;10978:1;10968:11;11023:6;10115:922;-1:-1:-1;;10115:922:0:o;50268:853::-;50422:4;-1:-1:-1;;;;;50443:13:0;;16455:19;:23;50439:675;;50479:71;;-1:-1:-1;;;50479:71:0;;-1:-1:-1;;;;;50479:36:0;;;;;:71;;25014:10;;50530:4;;50536:7;;50545:4;;50479:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50479:71:0;;;;;;;;-1:-1:-1;;50479:71:0;;;;;;;;;;;;:::i;:::-;;;50475:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50720:6;:13;50737:1;50720:18;50716:328;;50763:60;;-1:-1:-1;;;50763:60:0;;;;;;;:::i;50716:328::-;50994:6;50988:13;50979:6;50975:2;50971:15;50964:38;50475:584;-1:-1:-1;;;;;;50601:51:0;-1:-1:-1;;;50601:51:0;;-1:-1:-1;50594:58:0;;50439:675;-1:-1:-1;51098:4:0;50268:853;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:179::-;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:250::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;-1:-1:-1;;1459:1:1;1441:16;;1434:27;1217:250::o;1472:271::-;1514:3;1552:5;1546:12;1579:6;1574:3;1567:19;1595:76;1664:6;1657:4;1652:3;1648:14;1641:4;1634:5;1630:16;1595:76;:::i;:::-;1725:2;1704:15;-1:-1:-1;;1700:29:1;1691:39;;;;1732:4;1687:50;;1472:271;-1:-1:-1;;1472:271:1:o;1748:220::-;1897:2;1886:9;1879:21;1860:4;1917:45;1958:2;1947:9;1943:18;1935:6;1917:45;:::i;2181:180::-;2240:6;2293:2;2281:9;2272:7;2268:23;2264:32;2261:52;;;2309:1;2306;2299:12;2261:52;-1:-1:-1;2332:23:1;;2181:180;-1:-1:-1;2181:180:1:o;2366:254::-;2434:6;2442;2495:2;2483:9;2474:7;2470:23;2466:32;2463:52;;;2511:1;2508;2501:12;2463:52;2534:29;2553:9;2534:29;:::i;:::-;2524:39;2610:2;2595:18;;;;2582:32;;-1:-1:-1;;;2366:254:1:o;2625:328::-;2702:6;2710;2718;2771:2;2759:9;2750:7;2746:23;2742:32;2739:52;;;2787:1;2784;2777:12;2739:52;2810:29;2829:9;2810:29;:::i;:::-;2800:39;;2858:38;2892:2;2881:9;2877:18;2858:38;:::i;:::-;2848:48;;2943:2;2932:9;2928:18;2915:32;2905:42;;2625:328;;;;;:::o;2958:248::-;3026:6;3034;3087:2;3075:9;3066:7;3062:23;3058:32;3055:52;;;3103:1;3100;3093:12;3055:52;-1:-1:-1;;3126:23:1;;;3196:2;3181:18;;;3168:32;;-1:-1:-1;2958:248:1:o;3730:326::-;3806:6;3814;3822;3875:2;3863:9;3854:7;3850:23;3846:32;3843:52;;;3891:1;3888;3881:12;3843:52;3927:9;3914:23;3904:33;;3956:38;3990:2;3979:9;3975:18;3956:38;:::i;:::-;3946:48;;4013:37;4046:2;4035:9;4031:18;4013:37;:::i;:::-;4003:47;;3730:326;;;;;:::o;4061:592::-;4132:6;4140;4193:2;4181:9;4172:7;4168:23;4164:32;4161:52;;;4209:1;4206;4199:12;4161:52;4249:9;4236:23;4278:18;4319:2;4311:6;4308:14;4305:34;;;4335:1;4332;4325:12;4305:34;4373:6;4362:9;4358:22;4348:32;;4418:7;4411:4;4407:2;4403:13;4399:27;4389:55;;4440:1;4437;4430:12;4389:55;4480:2;4467:16;4506:2;4498:6;4495:14;4492:34;;;4522:1;4519;4512:12;4492:34;4567:7;4562:2;4553:6;4549:2;4545:15;4541:24;4538:37;4535:57;;;4588:1;4585;4578:12;4535:57;4619:2;4611:11;;;;;4641:6;;-1:-1:-1;4061:592:1;;-1:-1:-1;;;;4061:592:1:o;4658:186::-;4717:6;4770:2;4758:9;4749:7;4745:23;4741:32;4738:52;;;4786:1;4783;4776:12;4738:52;4809:29;4828:9;4809:29;:::i;5031:118::-;5117:5;5110:13;5103:21;5096:5;5093:32;5083:60;;5139:1;5136;5129:12;5154:315;5219:6;5227;5280:2;5268:9;5259:7;5255:23;5251:32;5248:52;;;5296:1;5293;5286:12;5248:52;5319:29;5338:9;5319:29;:::i;:::-;5309:39;;5398:2;5387:9;5383:18;5370:32;5411:28;5433:5;5411:28;:::i;:::-;5458:5;5448:15;;;5154:315;;;;;:::o;5474:127::-;5535:10;5530:3;5526:20;5523:1;5516:31;5566:4;5563:1;5556:15;5590:4;5587:1;5580:15;5606:1138;5701:6;5709;5717;5725;5778:3;5766:9;5757:7;5753:23;5749:33;5746:53;;;5795:1;5792;5785:12;5746:53;5818:29;5837:9;5818:29;:::i;:::-;5808:39;;5866:38;5900:2;5889:9;5885:18;5866:38;:::i;:::-;5856:48;;5951:2;5940:9;5936:18;5923:32;5913:42;;6006:2;5995:9;5991:18;5978:32;6029:18;6070:2;6062:6;6059:14;6056:34;;;6086:1;6083;6076:12;6056:34;6124:6;6113:9;6109:22;6099:32;;6169:7;6162:4;6158:2;6154:13;6150:27;6140:55;;6191:1;6188;6181:12;6140:55;6227:2;6214:16;6249:2;6245;6242:10;6239:36;;;6255:18;;:::i;:::-;6330:2;6324:9;6298:2;6384:13;;-1:-1:-1;;6380:22:1;;;6404:2;6376:31;6372:40;6360:53;;;6428:18;;;6448:22;;;6425:46;6422:72;;;6474:18;;:::i;:::-;6514:10;6510:2;6503:22;6549:2;6541:6;6534:18;6589:7;6584:2;6579;6575;6571:11;6567:20;6564:33;6561:53;;;6610:1;6607;6600:12;6561:53;6666:2;6661;6657;6653:11;6648:2;6640:6;6636:15;6623:46;6711:1;6706:2;6701;6693:6;6689:15;6685:24;6678:35;6732:6;6722:16;;;;;;;5606:1138;;;;;;;:::o;6749:260::-;6817:6;6825;6878:2;6866:9;6857:7;6853:23;6849:32;6846:52;;;6894:1;6891;6884:12;6846:52;6917:29;6936:9;6917:29;:::i;:::-;6907:39;;6965:38;6999:2;6988:9;6984:18;6965:38;:::i;7014:403::-;7216:2;7198:21;;;7255:2;7235:18;;;7228:30;7294:34;7289:2;7274:18;;7267:62;-1:-1:-1;;;7360:2:1;7345:18;;7338:37;7407:3;7392:19;;7014:403::o;7422:380::-;7501:1;7497:12;;;;7544;;;7565:61;;7619:4;7611:6;7607:17;7597:27;;7565:61;7672:2;7664:6;7661:14;7641:18;7638:38;7635:161;;7718:10;7713:3;7709:20;7706:1;7699:31;7753:4;7750:1;7743:15;7781:4;7778:1;7771:15;7635:161;;7422:380;;;:::o;7807:127::-;7868:10;7863:3;7859:20;7856:1;7849:31;7899:4;7896:1;7889:15;7923:4;7920:1;7913:15;7939:168;8012:9;;;8043;;8060:15;;;8054:22;;8040:37;8030:71;;8081:18;;:::i;8244:217::-;8284:1;8310;8300:132;;8354:10;8349:3;8345:20;8342:1;8335:31;8389:4;8386:1;8379:15;8417:4;8414:1;8407:15;8300:132;-1:-1:-1;8446:9:1;;8244:217::o;9289:545::-;9391:2;9386:3;9383:11;9380:448;;;9427:1;9452:5;9448:2;9441:17;9497:4;9493:2;9483:19;9567:2;9555:10;9551:19;9548:1;9544:27;9538:4;9534:38;9603:4;9591:10;9588:20;9585:47;;;-1:-1:-1;9626:4:1;9585:47;9681:2;9676:3;9672:12;9669:1;9665:20;9659:4;9655:31;9645:41;;9736:82;9754:2;9747:5;9744:13;9736:82;;;9799:17;;;9780:1;9769:13;9736:82;;;9740:3;;;9289:545;;;:::o;10010:1206::-;10134:18;10129:3;10126:27;10123:53;;;10156:18;;:::i;:::-;10185:94;10275:3;10235:38;10267:4;10261:11;10235:38;:::i;:::-;10229:4;10185:94;:::i;:::-;10305:1;10330:2;10325:3;10322:11;10347:1;10342:616;;;;11002:1;11019:3;11016:93;;;-1:-1:-1;11075:19:1;;;11062:33;11016:93;-1:-1:-1;;9967:1:1;9963:11;;;9959:24;9955:29;9945:40;9991:1;9987:11;;;9942:57;11122:78;;10315:895;;10342:616;9236:1;9229:14;;;9273:4;9260:18;;-1:-1:-1;;10378:17:1;;;10479:9;10501:229;10515:7;10512:1;10509:14;10501:229;;;10604:19;;;10591:33;10576:49;;10711:4;10696:20;;;;10664:1;10652:14;;;;10531:12;10501:229;;;10505:3;10758;10749:7;10746:16;10743:159;;;10882:1;10878:6;10872:3;10866;10863:1;10859:11;10855:21;10851:34;10847:39;10834:9;10829:3;10825:19;10812:33;10808:79;10800:6;10793:95;10743:159;;;10945:1;10939:3;10936:1;10932:11;10928:19;10922:4;10915:33;10315:895;;10010:1206;;;:::o;12330:1020::-;12506:3;12535:1;12568:6;12562:13;12598:36;12624:9;12598:36;:::i;:::-;12653:1;12670:18;;;12697:133;;;;12844:1;12839:356;;;;12663:532;;12697:133;-1:-1:-1;;12730:24:1;;12718:37;;12803:14;;12796:22;12784:35;;12775:45;;;-1:-1:-1;12697:133:1;;12839:356;12870:6;12867:1;12860:17;12900:4;12945:2;12942:1;12932:16;12970:1;12984:165;12998:6;12995:1;12992:13;12984:165;;;13076:14;;13063:11;;;13056:35;13119:16;;;;13013:10;;12984:165;;;12988:3;;;13178:6;13173:3;13169:16;13162:23;;12663:532;;;;;13226:6;13220:13;13242:68;13301:8;13296:3;13289:4;13281:6;13277:17;13242:68;:::i;:::-;13326:18;;12330:1020;-1:-1:-1;;;;12330:1020:1:o;13762:406::-;13964:2;13946:21;;;14003:2;13983:18;;;13976:30;14042:34;14037:2;14022:18;;14015:62;-1:-1:-1;;;14108:2:1;14093:18;;14086:40;14158:3;14143:19;;13762:406::o;14836:245::-;14903:6;14956:2;14944:9;14935:7;14931:23;14927:32;14924:52;;;14972:1;14969;14962:12;14924:52;15004:9;14998:16;15023:28;15045:5;15023:28;:::i;15918:409::-;16120:2;16102:21;;;16159:2;16139:18;;;16132:30;16198:34;16193:2;16178:18;;16171:62;-1:-1:-1;;;16264:2:1;16249:18;;16242:43;16317:3;16302:19;;15918:409::o;17767:401::-;17969:2;17951:21;;;18008:2;17988:18;;;17981:30;18047:34;18042:2;18027:18;;18020:62;-1:-1:-1;;;18113:2:1;18098:18;;18091:35;18158:3;18143:19;;17767:401::o;18578:128::-;18645:9;;;18666:11;;;18663:37;;;18680:18;;:::i;18711:125::-;18776:9;;;18797:10;;;18794:36;;;18810:18;;:::i;19195:414::-;19397:2;19379:21;;;19436:2;19416:18;;;19409:30;19475:34;19470:2;19455:18;;19448:62;-1:-1:-1;;;19541:2:1;19526:18;;19519:48;19599:3;19584:19;;19195:414::o;19614:489::-;-1:-1:-1;;;;;19883:15:1;;;19865:34;;19935:15;;19930:2;19915:18;;19908:43;19982:2;19967:18;;19960:34;;;20030:3;20025:2;20010:18;;20003:31;;;19808:4;;20051:46;;20077:19;;20069:6;20051:46;:::i;:::-;20043:54;19614:489;-1:-1:-1;;;;;;19614:489:1:o;20108:249::-;20177:6;20230:2;20218:9;20209:7;20205:23;20201:32;20198:52;;;20246:1;20243;20236:12;20198:52;20278:9;20272:16;20297:30;20321:5;20297:30;:::i
Swarm Source
ipfs://6f471fd0e5530a89af4e782c40fd377b38e83986ed950408e3c04a47b30de541
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.