Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 41 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Mint | 20151667 | 612 days ago | IN | 0 ETH | 0.00025577 | ||||
| Safe Mint | 20151657 | 612 days ago | IN | 0 ETH | 0.00027913 | ||||
| Safe Mint | 20151644 | 612 days ago | IN | 0 ETH | 0.00025646 | ||||
| Safe Mint | 20151632 | 612 days ago | IN | 0 ETH | 0.0002541 | ||||
| Safe Mint | 20151598 | 612 days ago | IN | 0 ETH | 0.0002703 | ||||
| Safe Mint | 20151587 | 612 days ago | IN | 0 ETH | 0.0002703 | ||||
| Safe Mint | 20151576 | 612 days ago | IN | 0 ETH | 0.00028924 | ||||
| Safe Mint | 20151566 | 612 days ago | IN | 0 ETH | 0.00029639 | ||||
| Safe Mint | 20151546 | 612 days ago | IN | 0 ETH | 0.00026958 | ||||
| Safe Mint | 20151495 | 612 days ago | IN | 0 ETH | 0.00028463 | ||||
| Safe Mint | 20151485 | 612 days ago | IN | 0 ETH | 0.00026225 | ||||
| Safe Mint | 20151474 | 612 days ago | IN | 0 ETH | 0.00028989 | ||||
| Safe Mint | 20151464 | 612 days ago | IN | 0 ETH | 0.00031473 | ||||
| Safe Mint | 20151451 | 612 days ago | IN | 0 ETH | 0.00032073 | ||||
| Safe Mint | 20151400 | 612 days ago | IN | 0 ETH | 0.00029646 | ||||
| Safe Mint | 20151390 | 612 days ago | IN | 0 ETH | 0.00031905 | ||||
| Safe Mint | 20151353 | 612 days ago | IN | 0 ETH | 0.00028929 | ||||
| Safe Mint | 20151331 | 612 days ago | IN | 0 ETH | 0.00033227 | ||||
| Safe Mint | 20151315 | 612 days ago | IN | 0 ETH | 0.00031234 | ||||
| Safe Mint | 20151259 | 612 days ago | IN | 0 ETH | 0.00027709 | ||||
| Safe Mint | 20079739 | 622 days ago | IN | 0 ETH | 0.00126029 | ||||
| Safe Mint | 20079640 | 622 days ago | IN | 0 ETH | 0.00140592 | ||||
| Safe Mint | 20079596 | 622 days ago | IN | 0 ETH | 0.00134301 | ||||
| Safe Mint | 20079587 | 622 days ago | IN | 0 ETH | 0.00138711 | ||||
| Safe Mint | 20072359 | 623 days ago | IN | 0 ETH | 0.00082567 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EternalGarnetNFTS
Compiler Version
v0.8.25+commit.b61c2a91
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2024-06-10
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts@5.0.0/utils/introspection/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/IERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.20;
/**
* @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 address zero.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.20;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be
* reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.20;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: @openzeppelin/contracts@5.0.0/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File: @openzeppelin/contracts@5.0.0/utils/math/Math.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @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 towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (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 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 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.
uint256 twos = denominator & (0 - denominator);
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 (unsignedRoundsUp(rounding) && 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
* towards zero.
*
* 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}
// File: @openzeppelin/contracts@5.0.0/utils/math/SignedMath.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// File: @openzeppelin/contracts@5.0.0/utils/Strings.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @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), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
uint256 localValue = value;
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] = HEX_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
* representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}
// File: @openzeppelin/contracts@5.0.0/utils/introspection/ERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
/**
* @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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts@5.0.0/interfaces/draft-IERC6093.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/ERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.20;
/**
* @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}.
*/
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
mapping(uint256 tokenId => address) private _owners;
mapping(address owner => uint256) private _balances;
mapping(uint256 tokenId => address) private _tokenApprovals;
mapping(address owner => mapping(address operator => 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 returns (uint256) {
if (owner == address(0)) {
revert ERC721InvalidOwner(address(0));
}
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual returns (address) {
return _requireOwned(tokenId);
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
_requireOwned(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string.concat(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 {
_approve(to, tokenId, _msgSender());
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual returns (address) {
_requireOwned(tokenId);
return _getApproved(tokenId);
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
// Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
// (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
address previousOwner = _update(to, tokenId, _msgSender());
if (previousOwner != from) {
revert ERC721IncorrectOwner(from, tokenId, previousOwner);
}
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
transferFrom(from, to, tokenId);
_checkOnERC721Received(from, to, tokenId, data);
}
/**
* @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
*
* IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
* core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
* consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
* `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
*/
function _getApproved(uint256 tokenId) internal view virtual returns (address) {
return _tokenApprovals[tokenId];
}
/**
* @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
* particular (ignoring whether it is owned by `owner`).
*
* WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
* assumption.
*/
function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
return
spender != address(0) &&
(owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
}
/**
* @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
* Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
* the `spender` for the specific `tokenId`.
*
* WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
* assumption.
*/
function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
if (!_isAuthorized(owner, spender, tokenId)) {
if (owner == address(0)) {
revert ERC721NonexistentToken(tokenId);
} else {
revert ERC721InsufficientApproval(spender, tokenId);
}
}
}
/**
* @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
*
* NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
* a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
*
* WARNING: Increasing an account's balance using this function tends to be paired with an override of the
* {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
* remain consistent with one another.
*/
function _increaseBalance(address account, uint128 value) internal virtual {
unchecked {
_balances[account] += value;
}
}
/**
* @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
* (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
*
* The `auth` argument is optional. If the value passed is non 0, then this function will check that
* `auth` is either the owner of the token, or approved to operate on the token (by the owner).
*
* Emits a {Transfer} event.
*
* NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
*/
function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
address from = _ownerOf(tokenId);
// Perform (optional) operator check
if (auth != address(0)) {
_checkAuthorized(from, auth, tokenId);
}
// Execute the update
if (from != address(0)) {
// Clear approval. No need to re-authorize or emit the Approval event
_approve(address(0), tokenId, address(0), false);
unchecked {
_balances[from] -= 1;
}
}
if (to != address(0)) {
unchecked {
_balances[to] += 1;
}
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
return from;
}
/**
* @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 {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
address previousOwner = _update(to, tokenId, address(0));
if (previousOwner != address(0)) {
revert ERC721InvalidSender(address(0));
}
}
/**
* @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
*
* 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 {
_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);
_checkOnERC721Received(address(0), to, tokenId, data);
}
/**
* @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 {
address previousOwner = _update(address(0), tokenId, address(0));
if (previousOwner == address(0)) {
revert ERC721NonexistentToken(tokenId);
}
}
/**
* @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 {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
address previousOwner = _update(to, tokenId, address(0));
if (previousOwner == address(0)) {
revert ERC721NonexistentToken(tokenId);
} else if (previousOwner != from) {
revert ERC721IncorrectOwner(from, tokenId, previousOwner);
}
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
* are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
* {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `tokenId` token must exist and be owned by `from`.
* - `to` cannot be the zero address.
* - `from` cannot be the zero address.
* - 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) internal {
_safeTransfer(from, to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
_transfer(from, to, tokenId);
_checkOnERC721Received(from, to, tokenId, data);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
* either the owner of the token, or approved to operate on all tokens held by this owner.
*
* Emits an {Approval} event.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address to, uint256 tokenId, address auth) internal {
_approve(to, tokenId, auth, true);
}
/**
* @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
* emitted in the context of transfers.
*/
function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
// Avoid reading the owner unless necessary
if (emitEvent || auth != address(0)) {
address owner = _requireOwned(tokenId);
// We do not use _isAuthorized because single-token approvals should not be able to call approve
if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
revert ERC721InvalidApprover(auth);
}
if (emitEvent) {
emit Approval(owner, to, tokenId);
}
}
_tokenApprovals[tokenId] = to;
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Requirements:
* - operator can't be the address zero.
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
if (operator == address(0)) {
revert ERC721InvalidOperator(operator);
}
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
* Returns the owner.
*
* Overrides to ownership logic should be done to {_ownerOf}.
*/
function _requireOwned(uint256 tokenId) internal view returns (address) {
address owner = _ownerOf(tokenId);
if (owner == address(0)) {
revert ERC721NonexistentToken(tokenId);
}
return owner;
}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
* recipient doesn't accept the token transfer. 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
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
if (to.code.length > 0) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
if (retval != IERC721Receiver.onERC721Received.selector) {
revert ERC721InvalidReceiver(to);
}
} catch (bytes memory reason) {
if (reason.length == 0) {
revert ERC721InvalidReceiver(to);
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
}
}
// File: @openzeppelin/contracts@5.0.0/interfaces/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)
pragma solidity ^0.8.20;
// File: @openzeppelin/contracts@5.0.0/interfaces/IERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC721.sol)
pragma solidity ^0.8.20;
// File: @openzeppelin/contracts@5.0.0/interfaces/IERC4906.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC4906.sol)
pragma solidity ^0.8.20;
/// @title EIP-721 Metadata Update Extension
interface IERC4906 is IERC165, IERC721 {
/// @dev This event emits when the metadata of a token is changed.
/// So that the third-party platforms such as NFT market could
/// timely update the images and related attributes of the NFT.
event MetadataUpdate(uint256 _tokenId);
/// @dev This event emits when the metadata of a range of tokens is changed.
/// So that the third-party platforms such as NFT market could
/// timely update the images and related attributes of the NFTs.
event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/extensions/ERC721URIStorage.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721URIStorage.sol)
pragma solidity ^0.8.20;
/**
* @dev ERC721 token with storage based token URI management.
*/
abstract contract ERC721URIStorage is IERC4906, ERC721 {
using Strings for uint256;
// Interface ID as defined in ERC-4906. This does not correspond to a traditional interface ID as ERC-4906 only
// defines events and does not include any external function.
bytes4 private constant ERC4906_INTERFACE_ID = bytes4(0x49064906);
// Optional mapping for token URIs
mapping(uint256 tokenId => string) private _tokenURIs;
/**
* @dev See {IERC165-supportsInterface}
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {
return interfaceId == ERC4906_INTERFACE_ID || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
_requireOwned(tokenId);
string memory _tokenURI = _tokenURIs[tokenId];
string memory base = _baseURI();
// If there is no base URI, return the token URI.
if (bytes(base).length == 0) {
return _tokenURI;
}
// If both are set, concatenate the baseURI and tokenURI (via string.concat).
if (bytes(_tokenURI).length > 0) {
return string.concat(base, _tokenURI);
}
return super.tokenURI(tokenId);
}
/**
* @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
*
* Emits {MetadataUpdate}.
*/
function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
_tokenURIs[tokenId] = _tokenURI;
emit MetadataUpdate(tokenId);
}
}
// File: @openzeppelin/contracts@5.0.0/token/ERC721/extensions/ERC721Burnable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.20;
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
// Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
// (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
_update(address(0), tokenId, _msgSender());
}
}
// File: @openzeppelin/contracts@5.0.0/access/Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
/**
* @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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: EternalGarnetclub.sol
pragma solidity ^0.8.20;
contract EternalGarnetNFTS is ERC721, ERC721URIStorage, ERC721Burnable, Ownable {
constructor(address initialOwner)
ERC721("Eternal Garnets", "ETG")
Ownable(initialOwner)
{}
function safeMint(address to, uint256 tokenId, string memory uri)
public
onlyOwner
{
_safeMint(to, tokenId);
_setTokenURI(tokenId, uri);
}
// The following functions are overrides required by Solidity.
function tokenURI(uint256 tokenId)
public
view
override(ERC721, ERC721URIStorage)
returns (string memory)
{
return super.tokenURI(tokenId);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, ERC721URIStorage)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561000f575f80fd5b50604051612b1f380380612b1f83398181016040528101906100319190610266565b806040518060400160405280600f81526020017f457465726e616c204761726e65747300000000000000000000000000000000008152506040518060400160405280600381526020017f4554470000000000000000000000000000000000000000000000000000000000815250815f90816100ac91906104cb565b5080600190816100bc91906104cb565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361012f575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161012691906105a9565b60405180910390fd5b61013e8161014560201b60201c565b50506105c2565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102358261020c565b9050919050565b6102458161022b565b811461024f575f80fd5b50565b5f815190506102608161023c565b92915050565b5f6020828403121561027b5761027a610208565b5b5f61028884828501610252565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061030c57607f821691505b60208210810361031f5761031e6102c8565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610346565b61038b8683610346565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6103cf6103ca6103c5846103a3565b6103ac565b6103a3565b9050919050565b5f819050919050565b6103e8836103b5565b6103fc6103f4826103d6565b848454610352565b825550505050565b5f90565b610410610404565b61041b8184846103df565b505050565b5b8181101561043e576104335f82610408565b600181019050610421565b5050565b601f8211156104835761045481610325565b61045d84610337565b8101602085101561046c578190505b61048061047885610337565b830182610420565b50505b505050565b5f82821c905092915050565b5f6104a35f1984600802610488565b1980831691505092915050565b5f6104bb8383610494565b9150826002028217905092915050565b6104d482610291565b67ffffffffffffffff8111156104ed576104ec61029b565b5b6104f782546102f5565b610502828285610442565b5f60209050601f831160018114610533575f8415610521578287015190505b61052b85826104b0565b865550610592565b601f19841661054186610325565b5f5b8281101561056857848901518255600182019150602085019450602081019050610543565b868310156105855784890151610581601f891682610494565b8355505b6001600288020188555050505b505050505050565b6105a38161022b565b82525050565b5f6020820190506105bc5f83018461059a565b92915050565b612550806105cf5f395ff3fe608060405234801561000f575f80fd5b5060043610610114575f3560e01c8063715018a6116100a0578063b88d4fde1161006f578063b88d4fde146102c8578063c87b56dd146102e4578063cd279c7c14610314578063e985e9c514610330578063f2fde38b1461036057610114565b8063715018a6146102665780638da5cb5b1461027057806395d89b411461028e578063a22cb465146102ac57610114565b806323b872dd116100e757806323b872dd146101b257806342842e0e146101ce57806342966c68146101ea5780636352211e1461020657806370a082311461023657610114565b806301ffc9a71461011857806306fdde0314610148578063081812fc14610166578063095ea7b314610196575b5f80fd5b610132600480360381019061012d9190611a85565b61037c565b60405161013f9190611aca565b60405180910390f35b61015061038d565b60405161015d9190611b53565b60405180910390f35b610180600480360381019061017b9190611ba6565b61041c565b60405161018d9190611c10565b60405180910390f35b6101b060048036038101906101ab9190611c53565b610437565b005b6101cc60048036038101906101c79190611c91565b61044d565b005b6101e860048036038101906101e39190611c91565b61054c565b005b61020460048036038101906101ff9190611ba6565b61056b565b005b610220600480360381019061021b9190611ba6565b610581565b60405161022d9190611c10565b60405180910390f35b610250600480360381019061024b9190611ce1565b610592565b60405161025d9190611d1b565b60405180910390f35b61026e610648565b005b61027861065b565b6040516102859190611c10565b60405180910390f35b610296610683565b6040516102a39190611b53565b60405180910390f35b6102c660048036038101906102c19190611d5e565b610713565b005b6102e260048036038101906102dd9190611ec8565b610729565b005b6102fe60048036038101906102f99190611ba6565b610746565b60405161030b9190611b53565b60405180910390f35b61032e60048036038101906103299190611fe6565b610758565b005b61034a60048036038101906103459190612052565b610779565b6040516103579190611aca565b60405180910390f35b61037a60048036038101906103759190611ce1565b610807565b005b5f6103868261088b565b9050919050565b60605f805461039b906120bd565b80601f01602080910402602001604051908101604052809291908181526020018280546103c7906120bd565b80156104125780601f106103e957610100808354040283529160200191610412565b820191905f5260205f20905b8154815290600101906020018083116103f557829003601f168201915b5050505050905090565b5f610426826108eb565b5061043082610971565b9050919050565b61044982826104446109aa565b6109b1565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104bd575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016104b49190611c10565b60405180910390fd5b5f6104d083836104cb6109aa565b6109c3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610546578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161053d939291906120ed565b60405180910390fd5b50505050565b61056683838360405180602001604052805f815250610729565b505050565b61057d5f826105786109aa565b6109c3565b5050565b5f61058b826108eb565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610603575f6040517f89c62b640000000000000000000000000000000000000000000000000000000081526004016105fa9190611c10565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610650610bce565b6106595f610c55565b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610692906120bd565b80601f01602080910402602001604051908101604052809291908181526020018280546106be906120bd565b80156107095780601f106106e057610100808354040283529160200191610709565b820191905f5260205f20905b8154815290600101906020018083116106ec57829003601f168201915b5050505050905090565b61072561071e6109aa565b8383610d18565b5050565b61073484848461044d565b61074084848484610e81565b50505050565b606061075182611033565b9050919050565b610760610bce565b61076a838361113e565b610774828261115b565b505050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61080f610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361087f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108769190611c10565b60405180910390fd5b61088881610c55565b50565b5f634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e457506108e3826111b5565b5b9050919050565b5f806108f683611296565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361096857826040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161095f9190611d1b565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6109be83838360016112cf565b505050565b5f806109ce84611296565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610a0f57610a0e81848661148e565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a9a57610a4e5f855f806112cf565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610b1957600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b610bd66109aa565b73ffffffffffffffffffffffffffffffffffffffff16610bf461065b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c176109aa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4a9190611c10565b60405180910390fd5b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8857816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401610d7f9190611c10565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e749190611aca565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b111561102d578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02610ec46109aa565b8685856040518563ffffffff1660e01b8152600401610ee69493929190612174565b6020604051808303815f875af1925050508015610f2157506040513d601f19601f82011682018060405250810190610f1e91906121d2565b60015b610fa2573d805f8114610f4f576040519150601f19603f3d011682016040523d82523d5f602084013e610f54565b606091505b505f815103610f9a57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610f919190611c10565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461102b57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016110229190611c10565b60405180910390fd5b505b50505050565b606061103e826108eb565b505f60065f8481526020019081526020015f20805461105c906120bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611088906120bd565b80156110d35780601f106110aa576101008083540402835291602001916110d3565b820191905f5260205f20905b8154815290600101906020018083116110b657829003601f168201915b505050505090505f6110e3611551565b90505f8151036110f7578192505050611139565b5f8251111561112b578082604051602001611113929190612237565b60405160208183030381529060405292505050611139565b61113484611567565b925050505b919050565b611157828260405180602001604052805f8152506115cd565b5050565b8060065f8481526020019081526020015f20908161117991906123f7565b507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516111a99190611d1b565b60405180910390a15050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061127f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061128f575061128e826115e8565b5b9050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061130757505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611439575f611316846108eb565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561138057508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561139357506113918184610779565b155b156113d557826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016113cc9190611c10565b60405180910390fd5b811561143757838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b611499838383611651565b61154c575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150d57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016115049190611d1b565b60405180910390fd5b81816040517f177e802f0000000000000000000000000000000000000000000000000000000081526004016115439291906124c6565b60405180910390fd5b505050565b606060405180602001604052805f815250905090565b6060611572826108eb565b505f61157c611551565b90505f81511161159a5760405180602001604052805f8152506115c5565b806115a484611711565b6040516020016115b5929190612237565b6040516020818303038152906040525b915050919050565b6115d783836117db565b6115e35f848484610e81565b505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561170857508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116c957506116c88484610779565b5b8061170757508273ffffffffffffffffffffffffffffffffffffffff166116ef83610971565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b60605f600161171f846118ce565b0190505f8167ffffffffffffffff81111561173d5761173c611da4565b5b6040519080825280601f01601f19166020018201604052801561176f5781602001600182028036833780820191505090505b5090505f82602001820190505b6001156117d0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816117c5576117c46124ed565b5b0494505f850361177c575b819350505050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361184b575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016118429190611c10565b60405180910390fd5b5f61185783835f6109c3565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118c9575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016118c09190611c10565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061192a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816119205761191f6124ed565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611967576d04ee2d6d415b85acef8100000000838161195d5761195c6124ed565b5b0492506020810190505b662386f26fc10000831061199657662386f26fc10000838161198c5761198b6124ed565b5b0492506010810190505b6305f5e10083106119bf576305f5e10083816119b5576119b46124ed565b5b0492506008810190505b61271083106119e45761271083816119da576119d96124ed565b5b0492506004810190505b60648310611a0757606483816119fd576119fc6124ed565b5b0492506002810190505b600a8310611a16576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a6481611a30565b8114611a6e575f80fd5b50565b5f81359050611a7f81611a5b565b92915050565b5f60208284031215611a9a57611a99611a28565b5b5f611aa784828501611a71565b91505092915050565b5f8115159050919050565b611ac481611ab0565b82525050565b5f602082019050611add5f830184611abb565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611b2582611ae3565b611b2f8185611aed565b9350611b3f818560208601611afd565b611b4881611b0b565b840191505092915050565b5f6020820190508181035f830152611b6b8184611b1b565b905092915050565b5f819050919050565b611b8581611b73565b8114611b8f575f80fd5b50565b5f81359050611ba081611b7c565b92915050565b5f60208284031215611bbb57611bba611a28565b5b5f611bc884828501611b92565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611bfa82611bd1565b9050919050565b611c0a81611bf0565b82525050565b5f602082019050611c235f830184611c01565b92915050565b611c3281611bf0565b8114611c3c575f80fd5b50565b5f81359050611c4d81611c29565b92915050565b5f8060408385031215611c6957611c68611a28565b5b5f611c7685828601611c3f565b9250506020611c8785828601611b92565b9150509250929050565b5f805f60608486031215611ca857611ca7611a28565b5b5f611cb586828701611c3f565b9350506020611cc686828701611c3f565b9250506040611cd786828701611b92565b9150509250925092565b5f60208284031215611cf657611cf5611a28565b5b5f611d0384828501611c3f565b91505092915050565b611d1581611b73565b82525050565b5f602082019050611d2e5f830184611d0c565b92915050565b611d3d81611ab0565b8114611d47575f80fd5b50565b5f81359050611d5881611d34565b92915050565b5f8060408385031215611d7457611d73611a28565b5b5f611d8185828601611c3f565b9250506020611d9285828601611d4a565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611dda82611b0b565b810181811067ffffffffffffffff82111715611df957611df8611da4565b5b80604052505050565b5f611e0b611a1f565b9050611e178282611dd1565b919050565b5f67ffffffffffffffff821115611e3657611e35611da4565b5b611e3f82611b0b565b9050602081019050919050565b828183375f83830152505050565b5f611e6c611e6784611e1c565b611e02565b905082815260208101848484011115611e8857611e87611da0565b5b611e93848285611e4c565b509392505050565b5f82601f830112611eaf57611eae611d9c565b5b8135611ebf848260208601611e5a565b91505092915050565b5f805f8060808587031215611ee057611edf611a28565b5b5f611eed87828801611c3f565b9450506020611efe87828801611c3f565b9350506040611f0f87828801611b92565b925050606085013567ffffffffffffffff811115611f3057611f2f611a2c565b5b611f3c87828801611e9b565b91505092959194509250565b5f67ffffffffffffffff821115611f6257611f61611da4565b5b611f6b82611b0b565b9050602081019050919050565b5f611f8a611f8584611f48565b611e02565b905082815260208101848484011115611fa657611fa5611da0565b5b611fb1848285611e4c565b509392505050565b5f82601f830112611fcd57611fcc611d9c565b5b8135611fdd848260208601611f78565b91505092915050565b5f805f60608486031215611ffd57611ffc611a28565b5b5f61200a86828701611c3f565b935050602061201b86828701611b92565b925050604084013567ffffffffffffffff81111561203c5761203b611a2c565b5b61204886828701611fb9565b9150509250925092565b5f806040838503121561206857612067611a28565b5b5f61207585828601611c3f565b925050602061208685828601611c3f565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806120d457607f821691505b6020821081036120e7576120e6612090565b5b50919050565b5f6060820190506121005f830186611c01565b61210d6020830185611d0c565b61211a6040830184611c01565b949350505050565b5f81519050919050565b5f82825260208201905092915050565b5f61214682612122565b612150818561212c565b9350612160818560208601611afd565b61216981611b0b565b840191505092915050565b5f6080820190506121875f830187611c01565b6121946020830186611c01565b6121a16040830185611d0c565b81810360608301526121b3818461213c565b905095945050505050565b5f815190506121cc81611a5b565b92915050565b5f602082840312156121e7576121e6611a28565b5b5f6121f4848285016121be565b91505092915050565b5f81905092915050565b5f61221182611ae3565b61221b81856121fd565b935061222b818560208601611afd565b80840191505092915050565b5f6122428285612207565b915061224e8284612207565b91508190509392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026122b67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261227b565b6122c0868361227b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6122fb6122f66122f184611b73565b6122d8565b611b73565b9050919050565b5f819050919050565b612314836122e1565b61232861232082612302565b848454612287565b825550505050565b5f90565b61233c612330565b61234781848461230b565b505050565b5b8181101561236a5761235f5f82612334565b60018101905061234d565b5050565b601f8211156123af576123808161225a565b6123898461226c565b81016020851015612398578190505b6123ac6123a48561226c565b83018261234c565b50505b505050565b5f82821c905092915050565b5f6123cf5f19846008026123b4565b1980831691505092915050565b5f6123e783836123c0565b9150826002028217905092915050565b61240082611ae3565b67ffffffffffffffff81111561241957612418611da4565b5b61242382546120bd565b61242e82828561236e565b5f60209050601f83116001811461245f575f841561244d578287015190505b61245785826123dc565b8655506124be565b601f19841661246d8661225a565b5f5b828110156124945784890151825560018201915060208501945060208101905061246f565b868310156124b157848901516124ad601f8916826123c0565b8355505b6001600288020188555050505b505050505050565b5f6040820190506124d95f830185611c01565b6124e66020830184611d0c565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220735f97efb934d23fc1f3fb15d7ea1fac9f03ced6362c25de69633748c2a7b24164736f6c63430008190033000000000000000000000000ec846c0f1fc565fe26462b299915484ce3aa7880
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610114575f3560e01c8063715018a6116100a0578063b88d4fde1161006f578063b88d4fde146102c8578063c87b56dd146102e4578063cd279c7c14610314578063e985e9c514610330578063f2fde38b1461036057610114565b8063715018a6146102665780638da5cb5b1461027057806395d89b411461028e578063a22cb465146102ac57610114565b806323b872dd116100e757806323b872dd146101b257806342842e0e146101ce57806342966c68146101ea5780636352211e1461020657806370a082311461023657610114565b806301ffc9a71461011857806306fdde0314610148578063081812fc14610166578063095ea7b314610196575b5f80fd5b610132600480360381019061012d9190611a85565b61037c565b60405161013f9190611aca565b60405180910390f35b61015061038d565b60405161015d9190611b53565b60405180910390f35b610180600480360381019061017b9190611ba6565b61041c565b60405161018d9190611c10565b60405180910390f35b6101b060048036038101906101ab9190611c53565b610437565b005b6101cc60048036038101906101c79190611c91565b61044d565b005b6101e860048036038101906101e39190611c91565b61054c565b005b61020460048036038101906101ff9190611ba6565b61056b565b005b610220600480360381019061021b9190611ba6565b610581565b60405161022d9190611c10565b60405180910390f35b610250600480360381019061024b9190611ce1565b610592565b60405161025d9190611d1b565b60405180910390f35b61026e610648565b005b61027861065b565b6040516102859190611c10565b60405180910390f35b610296610683565b6040516102a39190611b53565b60405180910390f35b6102c660048036038101906102c19190611d5e565b610713565b005b6102e260048036038101906102dd9190611ec8565b610729565b005b6102fe60048036038101906102f99190611ba6565b610746565b60405161030b9190611b53565b60405180910390f35b61032e60048036038101906103299190611fe6565b610758565b005b61034a60048036038101906103459190612052565b610779565b6040516103579190611aca565b60405180910390f35b61037a60048036038101906103759190611ce1565b610807565b005b5f6103868261088b565b9050919050565b60605f805461039b906120bd565b80601f01602080910402602001604051908101604052809291908181526020018280546103c7906120bd565b80156104125780601f106103e957610100808354040283529160200191610412565b820191905f5260205f20905b8154815290600101906020018083116103f557829003601f168201915b5050505050905090565b5f610426826108eb565b5061043082610971565b9050919050565b61044982826104446109aa565b6109b1565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104bd575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016104b49190611c10565b60405180910390fd5b5f6104d083836104cb6109aa565b6109c3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610546578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161053d939291906120ed565b60405180910390fd5b50505050565b61056683838360405180602001604052805f815250610729565b505050565b61057d5f826105786109aa565b6109c3565b5050565b5f61058b826108eb565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610603575f6040517f89c62b640000000000000000000000000000000000000000000000000000000081526004016105fa9190611c10565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610650610bce565b6106595f610c55565b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610692906120bd565b80601f01602080910402602001604051908101604052809291908181526020018280546106be906120bd565b80156107095780601f106106e057610100808354040283529160200191610709565b820191905f5260205f20905b8154815290600101906020018083116106ec57829003601f168201915b5050505050905090565b61072561071e6109aa565b8383610d18565b5050565b61073484848461044d565b61074084848484610e81565b50505050565b606061075182611033565b9050919050565b610760610bce565b61076a838361113e565b610774828261115b565b505050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61080f610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361087f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108769190611c10565b60405180910390fd5b61088881610c55565b50565b5f634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e457506108e3826111b5565b5b9050919050565b5f806108f683611296565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361096857826040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161095f9190611d1b565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6109be83838360016112cf565b505050565b5f806109ce84611296565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610a0f57610a0e81848661148e565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a9a57610a4e5f855f806112cf565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610b1957600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b610bd66109aa565b73ffffffffffffffffffffffffffffffffffffffff16610bf461065b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c176109aa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4a9190611c10565b60405180910390fd5b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8857816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401610d7f9190611c10565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e749190611aca565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b111561102d578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02610ec46109aa565b8685856040518563ffffffff1660e01b8152600401610ee69493929190612174565b6020604051808303815f875af1925050508015610f2157506040513d601f19601f82011682018060405250810190610f1e91906121d2565b60015b610fa2573d805f8114610f4f576040519150601f19603f3d011682016040523d82523d5f602084013e610f54565b606091505b505f815103610f9a57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610f919190611c10565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461102b57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016110229190611c10565b60405180910390fd5b505b50505050565b606061103e826108eb565b505f60065f8481526020019081526020015f20805461105c906120bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611088906120bd565b80156110d35780601f106110aa576101008083540402835291602001916110d3565b820191905f5260205f20905b8154815290600101906020018083116110b657829003601f168201915b505050505090505f6110e3611551565b90505f8151036110f7578192505050611139565b5f8251111561112b578082604051602001611113929190612237565b60405160208183030381529060405292505050611139565b61113484611567565b925050505b919050565b611157828260405180602001604052805f8152506115cd565b5050565b8060065f8481526020019081526020015f20908161117991906123f7565b507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516111a99190611d1b565b60405180910390a15050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061127f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061128f575061128e826115e8565b5b9050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061130757505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611439575f611316846108eb565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561138057508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561139357506113918184610779565b155b156113d557826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016113cc9190611c10565b60405180910390fd5b811561143757838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b611499838383611651565b61154c575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150d57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016115049190611d1b565b60405180910390fd5b81816040517f177e802f0000000000000000000000000000000000000000000000000000000081526004016115439291906124c6565b60405180910390fd5b505050565b606060405180602001604052805f815250905090565b6060611572826108eb565b505f61157c611551565b90505f81511161159a5760405180602001604052805f8152506115c5565b806115a484611711565b6040516020016115b5929190612237565b6040516020818303038152906040525b915050919050565b6115d783836117db565b6115e35f848484610e81565b505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561170857508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116c957506116c88484610779565b5b8061170757508273ffffffffffffffffffffffffffffffffffffffff166116ef83610971565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b60605f600161171f846118ce565b0190505f8167ffffffffffffffff81111561173d5761173c611da4565b5b6040519080825280601f01601f19166020018201604052801561176f5781602001600182028036833780820191505090505b5090505f82602001820190505b6001156117d0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816117c5576117c46124ed565b5b0494505f850361177c575b819350505050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361184b575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016118429190611c10565b60405180910390fd5b5f61185783835f6109c3565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118c9575f6040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016118c09190611c10565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061192a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816119205761191f6124ed565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611967576d04ee2d6d415b85acef8100000000838161195d5761195c6124ed565b5b0492506020810190505b662386f26fc10000831061199657662386f26fc10000838161198c5761198b6124ed565b5b0492506010810190505b6305f5e10083106119bf576305f5e10083816119b5576119b46124ed565b5b0492506008810190505b61271083106119e45761271083816119da576119d96124ed565b5b0492506004810190505b60648310611a0757606483816119fd576119fc6124ed565b5b0492506002810190505b600a8310611a16576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a6481611a30565b8114611a6e575f80fd5b50565b5f81359050611a7f81611a5b565b92915050565b5f60208284031215611a9a57611a99611a28565b5b5f611aa784828501611a71565b91505092915050565b5f8115159050919050565b611ac481611ab0565b82525050565b5f602082019050611add5f830184611abb565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611b2582611ae3565b611b2f8185611aed565b9350611b3f818560208601611afd565b611b4881611b0b565b840191505092915050565b5f6020820190508181035f830152611b6b8184611b1b565b905092915050565b5f819050919050565b611b8581611b73565b8114611b8f575f80fd5b50565b5f81359050611ba081611b7c565b92915050565b5f60208284031215611bbb57611bba611a28565b5b5f611bc884828501611b92565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611bfa82611bd1565b9050919050565b611c0a81611bf0565b82525050565b5f602082019050611c235f830184611c01565b92915050565b611c3281611bf0565b8114611c3c575f80fd5b50565b5f81359050611c4d81611c29565b92915050565b5f8060408385031215611c6957611c68611a28565b5b5f611c7685828601611c3f565b9250506020611c8785828601611b92565b9150509250929050565b5f805f60608486031215611ca857611ca7611a28565b5b5f611cb586828701611c3f565b9350506020611cc686828701611c3f565b9250506040611cd786828701611b92565b9150509250925092565b5f60208284031215611cf657611cf5611a28565b5b5f611d0384828501611c3f565b91505092915050565b611d1581611b73565b82525050565b5f602082019050611d2e5f830184611d0c565b92915050565b611d3d81611ab0565b8114611d47575f80fd5b50565b5f81359050611d5881611d34565b92915050565b5f8060408385031215611d7457611d73611a28565b5b5f611d8185828601611c3f565b9250506020611d9285828601611d4a565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611dda82611b0b565b810181811067ffffffffffffffff82111715611df957611df8611da4565b5b80604052505050565b5f611e0b611a1f565b9050611e178282611dd1565b919050565b5f67ffffffffffffffff821115611e3657611e35611da4565b5b611e3f82611b0b565b9050602081019050919050565b828183375f83830152505050565b5f611e6c611e6784611e1c565b611e02565b905082815260208101848484011115611e8857611e87611da0565b5b611e93848285611e4c565b509392505050565b5f82601f830112611eaf57611eae611d9c565b5b8135611ebf848260208601611e5a565b91505092915050565b5f805f8060808587031215611ee057611edf611a28565b5b5f611eed87828801611c3f565b9450506020611efe87828801611c3f565b9350506040611f0f87828801611b92565b925050606085013567ffffffffffffffff811115611f3057611f2f611a2c565b5b611f3c87828801611e9b565b91505092959194509250565b5f67ffffffffffffffff821115611f6257611f61611da4565b5b611f6b82611b0b565b9050602081019050919050565b5f611f8a611f8584611f48565b611e02565b905082815260208101848484011115611fa657611fa5611da0565b5b611fb1848285611e4c565b509392505050565b5f82601f830112611fcd57611fcc611d9c565b5b8135611fdd848260208601611f78565b91505092915050565b5f805f60608486031215611ffd57611ffc611a28565b5b5f61200a86828701611c3f565b935050602061201b86828701611b92565b925050604084013567ffffffffffffffff81111561203c5761203b611a2c565b5b61204886828701611fb9565b9150509250925092565b5f806040838503121561206857612067611a28565b5b5f61207585828601611c3f565b925050602061208685828601611c3f565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806120d457607f821691505b6020821081036120e7576120e6612090565b5b50919050565b5f6060820190506121005f830186611c01565b61210d6020830185611d0c565b61211a6040830184611c01565b949350505050565b5f81519050919050565b5f82825260208201905092915050565b5f61214682612122565b612150818561212c565b9350612160818560208601611afd565b61216981611b0b565b840191505092915050565b5f6080820190506121875f830187611c01565b6121946020830186611c01565b6121a16040830185611d0c565b81810360608301526121b3818461213c565b905095945050505050565b5f815190506121cc81611a5b565b92915050565b5f602082840312156121e7576121e6611a28565b5b5f6121f4848285016121be565b91505092915050565b5f81905092915050565b5f61221182611ae3565b61221b81856121fd565b935061222b818560208601611afd565b80840191505092915050565b5f6122428285612207565b915061224e8284612207565b91508190509392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026122b67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261227b565b6122c0868361227b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6122fb6122f66122f184611b73565b6122d8565b611b73565b9050919050565b5f819050919050565b612314836122e1565b61232861232082612302565b848454612287565b825550505050565b5f90565b61233c612330565b61234781848461230b565b505050565b5b8181101561236a5761235f5f82612334565b60018101905061234d565b5050565b601f8211156123af576123808161225a565b6123898461226c565b81016020851015612398578190505b6123ac6123a48561226c565b83018261234c565b50505b505050565b5f82821c905092915050565b5f6123cf5f19846008026123b4565b1980831691505092915050565b5f6123e783836123c0565b9150826002028217905092915050565b61240082611ae3565b67ffffffffffffffff81111561241957612418611da4565b5b61242382546120bd565b61242e82828561236e565b5f60209050601f83116001811461245f575f841561244d578287015190505b61245785826123dc565b8655506124be565b601f19841661246d8661225a565b5f5b828110156124945784890151825560018201915060208501945060208101905061246f565b868310156124b157848901516124ad601f8916826123c0565b8355505b6001600288020188555050505b505050505050565b5f6040820190506124d95f830185611c01565b6124e66020830184611d0c565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220735f97efb934d23fc1f3fb15d7ea1fac9f03ced6362c25de69633748c2a7b24164736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ec846c0f1fc565fe26462b299915484ce3aa7880
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xeC846C0F1fC565Fe26462B299915484ce3Aa7880
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec846c0f1fc565fe26462b299915484ce3aa7880
Deployed Bytecode Sourcemap
61687:890:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62362:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38635:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39807:158;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39626:115;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40476:588;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41135:134;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;58103:318;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;38448:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38173:213;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;60779:103;;;:::i;:::-;;60104:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38795:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40037:146;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41340:211;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;62158:196;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61896:184;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40254:155;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61037:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;62362:212;62501:4;62530:36;62554:11;62530:23;:36::i;:::-;62523:43;;62362:212;;;:::o;38635:91::-;38680:13;38713:5;38706:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38635:91;:::o;39807:158::-;39874:7;39894:22;39908:7;39894:13;:22::i;:::-;;39936:21;39949:7;39936:12;:21::i;:::-;39929:28;;39807:158;;;:::o;39626:115::-;39698:35;39707:2;39711:7;39720:12;:10;:12::i;:::-;39698:8;:35::i;:::-;39626:115;;:::o;40476:588::-;40585:1;40571:16;;:2;:16;;;40567:89;;40641:1;40611:33;;;;;;;;;;;:::i;:::-;;;;;;;;40567:89;40877:21;40901:34;40909:2;40913:7;40922:12;:10;:12::i;:::-;40901:7;:34::i;:::-;40877:58;;40967:4;40950:21;;:13;:21;;;40946:111;;41016:4;41022:7;41031:13;40995:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;40946:111;40556:508;40476:588;;;:::o;41135:134::-;41222:39;41239:4;41245:2;41249:7;41222:39;;;;;;;;;;;;:16;:39::i;:::-;41135:134;;;:::o;58103:318::-;58371:42;58387:1;58391:7;58400:12;:10;:12::i;:::-;58371:7;:42::i;:::-;;58103:318;:::o;38448:120::-;38511:7;38538:22;38552:7;38538:13;:22::i;:::-;38531:29;;38448:120;;;:::o;38173:213::-;38236:7;38277:1;38260:19;;:5;:19;;;38256:89;;38330:1;38303:30;;;;;;;;;;;:::i;:::-;;;;;;;;38256:89;38362:9;:16;38372:5;38362:16;;;;;;;;;;;;;;;;38355:23;;38173:213;;;:::o;60779:103::-;59990:13;:11;:13::i;:::-;60844:30:::1;60871:1;60844:18;:30::i;:::-;60779:103::o:0;60104:87::-;60150:7;60177:6;;;;;;;;;;;60170:13;;60104:87;:::o;38795:95::-;38842:13;38875:7;38868:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38795:95;:::o;40037:146::-;40123:52;40142:12;:10;:12::i;:::-;40156:8;40166;40123:18;:52::i;:::-;40037:146;;:::o;41340:211::-;41454:31;41467:4;41473:2;41477:7;41454:12;:31::i;:::-;41496:47;41519:4;41525:2;41529:7;41538:4;41496:22;:47::i;:::-;41340:211;;;;:::o;62158:196::-;62285:13;62323:23;62338:7;62323:14;:23::i;:::-;62316:30;;62158:196;;;:::o;61896:184::-;59990:13;:11;:13::i;:::-;62013:22:::1;62023:2;62027:7;62013:9;:22::i;:::-;62046:26;62059:7;62068:3;62046:12;:26::i;:::-;61896:184:::0;;;:::o;40254:155::-;40342:4;40366:18;:25;40385:5;40366:25;;;;;;;;;;;;;;;:35;40392:8;40366:35;;;;;;;;;;;;;;;;;;;;;;;;;40359:42;;40254:155;;;;:::o;61037:220::-;59990:13;:11;:13::i;:::-;61142:1:::1;61122:22;;:8;:22;;::::0;61118:93:::1;;61196:1;61168:31;;;;;;;;;;;:::i;:::-;;;;;;;;61118:93;61221:28;61240:8;61221:18;:28::i;:::-;61037:220:::0;:::o;56366:209::-;56468:4;56181:10;56174:18;;56492:35;;;:11;:35;;;;:75;;;;56531:36;56555:11;56531:23;:36::i;:::-;56492:75;56485:82;;56366:209;;;:::o;52782:247::-;52845:7;52865:13;52881:17;52890:7;52881:8;:17::i;:::-;52865:33;;52930:1;52913:19;;:5;:19;;;52909:90;;52979:7;52956:31;;;;;;;;;;;:::i;:::-;;;;;;;;52909:90;53016:5;53009:12;;;52782:247;;;:::o;42313:129::-;42383:7;42410:15;:24;42426:7;42410:24;;;;;;;;;;;;;;;;;;;;;42403:31;;42313:129;;;:::o;8612:98::-;8665:7;8692:10;8685:17;;8612:98;:::o;51014:122::-;51095:33;51104:2;51108:7;51117:4;51123;51095:8;:33::i;:::-;51014:122;;;:::o;45275:824::-;45361:7;45381:12;45396:17;45405:7;45396:8;:17::i;:::-;45381:32;;45492:1;45476:18;;:4;:18;;;45472:88;;45511:37;45528:4;45534;45540:7;45511:16;:37::i;:::-;45472:88;45623:1;45607:18;;:4;:18;;;45603:263;;45725:48;45742:1;45746:7;45763:1;45767:5;45725:8;:48::i;:::-;45838:1;45819:9;:15;45829:4;45819:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;45603:263;45896:1;45882:16;;:2;:16;;;45878:111;;45961:1;45944:9;:13;45954:2;45944:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;45878:111;46020:2;46001:7;:16;46009:7;46001:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;46059:7;46055:2;46040:27;;46049:4;46040:27;;;;;;;;;;;;46087:4;46080:11;;;45275:824;;;;;:::o;60269:166::-;60340:12;:10;:12::i;:::-;60329:23;;:7;:5;:7::i;:::-;:23;;;60325:103;;60403:12;:10;:12::i;:::-;60376:40;;;;;;;;;;;:::i;:::-;;;;;;;;60325:103;60269:166::o;61417:191::-;61491:16;61510:6;;;;;;;;;;;61491:25;;61536:8;61527:6;;:17;;;;;;;;;;;;;;;;;;61591:8;61560:40;;61581:8;61560:40;;;;;;;;;;;;61480:128;61417:191;:::o;52221:318::-;52349:1;52329:22;;:8;:22;;;52325:93;;52397:8;52375:31;;;;;;;;;;;:::i;:::-;;;;;;;;52325:93;52466:8;52428:18;:25;52447:5;52428:25;;;;;;;;;;;;;;;:35;52454:8;52428:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;52512:8;52490:41;;52505:5;52490:41;;;52522:8;52490:41;;;;;;:::i;:::-;;;;;;;;52221:318;;;:::o;53579:799::-;53713:1;53696:2;:14;;;:18;53692:679;;;53751:2;53735:36;;;53772:12;:10;:12::i;:::-;53786:4;53792:7;53801:4;53735:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;53731:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54066:1;54049:6;:13;:18;54045:300;;54121:2;54099:25;;;;;;;;;;;:::i;:::-;;;;;;;;54045:300;54295:6;54289:13;54280:6;54276:2;54272:15;54265:38;53731:629;53864:41;;;53854:51;;;:6;:51;;;;53850:132;;53959:2;53937:25;;;;;;;;;;;:::i;:::-;;;;;;;;53850:132;53807:190;53692:679;53579:799;;;;:::o;56646:609::-;56719:13;56745:22;56759:7;56745:13;:22::i;:::-;;56780:23;56806:10;:19;56817:7;56806:19;;;;;;;;;;;56780:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56836:18;56857:10;:8;:10::i;:::-;56836:31;;56965:1;56949:4;56943:18;:23;56939:72;;56990:9;56983:16;;;;;;56939:72;57138:1;57118:9;57112:23;:27;57108:97;;;57177:4;57183:9;57163:30;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57156:37;;;;;;57108:97;57224:23;57239:7;57224:14;:23::i;:::-;57217:30;;;;56646:609;;;;:::o;47133:102::-;47201:26;47211:2;47215:7;47201:26;;;;;;;;;;;;:9;:26::i;:::-;47133:102;;:::o;57381:170::-;57495:9;57473:10;:19;57484:7;57473:19;;;;;;;;;;;:31;;;;;;:::i;:::-;;57520:23;57535:7;57520:23;;;;;;:::i;:::-;;;;;;;;57381:170;;:::o;37804:305::-;37906:4;37958:25;37943:40;;;:11;:40;;;;:105;;;;38015:33;38000:48;;;:11;:48;;;;37943:105;:158;;;;38065:36;38089:11;38065:23;:36::i;:::-;37943:158;37923:178;;37804:305;;;:::o;42075:117::-;42141:7;42168;:16;42176:7;42168:16;;;;;;;;;;;;;;;;;;;;;42161:23;;42075:117;;;:::o;51324:678::-;51486:9;:31;;;;51515:1;51499:18;;:4;:18;;;;51486:31;51482:471;;;51534:13;51550:22;51564:7;51550:13;:22::i;:::-;51534:38;;51719:1;51703:18;;:4;:18;;;;:35;;;;;51734:4;51725:13;;:5;:13;;;;51703:35;:69;;;;;51743:29;51760:5;51767:4;51743:16;:29::i;:::-;51742:30;51703:69;51699:144;;;51822:4;51800:27;;;;;;;;;;;:::i;:::-;;;;;;;;51699:144;51863:9;51859:83;;;51918:7;51914:2;51898:28;;51907:5;51898:28;;;;;;;;;;;;51859:83;51519:434;51482:471;51992:2;51965:15;:24;51981:7;51965:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;51324:678;;;;:::o;43482:376::-;43595:38;43609:5;43616:7;43625;43595:13;:38::i;:::-;43590:261;;43671:1;43654:19;;:5;:19;;;43650:190;;43724:7;43701:31;;;;;;;;;;;:::i;:::-;;;;;;;;43650:190;43807:7;43816;43780:44;;;;;;;;;;;;:::i;:::-;;;;;;;;43590:261;43482:376;;;:::o;39470:94::-;39521:13;39547:9;;;;;;;;;;;;;;39470:94;:::o;38961:260::-;39025:13;39051:22;39065:7;39051:13;:22::i;:::-;;39086:21;39110:10;:8;:10::i;:::-;39086:34;;39162:1;39144:7;39138:21;:25;:75;;;;;;;;;;;;;;;;;39180:7;39189:18;:7;:16;:18::i;:::-;39166:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39138:75;39131:82;;;38961:260;;;:::o;47462:185::-;47557:18;47563:2;47567:7;47557:5;:18::i;:::-;47586:53;47617:1;47621:2;47625:7;47634:4;47586:22;:53::i;:::-;47462:185;;;:::o;29661:148::-;29737:4;29776:25;29761:40;;;:11;:40;;;;29754:47;;29661:148;;;:::o;42762:276::-;42865:4;42921:1;42902:21;;:7;:21;;;;:128;;;;;42950:7;42941:16;;:5;:16;;;:52;;;;42961:32;42978:5;42985:7;42961:16;:32::i;:::-;42941:52;:88;;;;43022:7;42997:32;;:21;43010:7;42997:12;:21::i;:::-;:32;;;42941:88;42902:128;42882:148;;42762:276;;;;;:::o;26339:718::-;26395:13;26446:14;26483:1;26463:17;26474:5;26463:10;:17::i;:::-;:21;26446:38;;26499:20;26533:6;26522:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26499:41;;26555:11;26684:6;26680:2;26676:15;26668:6;26664:28;26657:35;;26721:290;26728:4;26721:290;;;26753:5;;;;;;;;26895:10;26890:2;26883:5;26879:14;26874:32;26869:3;26861:46;26953:2;26944:11;;;;;;:::i;:::-;;;;;26987:1;26978:5;:10;26721:290;26974:21;26721:290;27032:6;27025:13;;;;;26339:718;;;:::o;46435:335::-;46517:1;46503:16;;:2;:16;;;46499:89;;46573:1;46543:33;;;;;;;;;;;:::i;:::-;;;;;;;;46499:89;46598:21;46622:32;46630:2;46634:7;46651:1;46622:7;:32::i;:::-;46598:56;;46694:1;46669:27;;:13;:27;;;46665:98;;46748:1;46720:31;;;;;;;;;;;:::i;:::-;;;;;;;;46665:98;46488:282;46435:335;;:::o;21391:948::-;21444:7;21464:14;21481:1;21464:18;;21531:8;21522:5;:17;21518:106;;21569:8;21560:17;;;;;;:::i;:::-;;;;;21606:2;21596:12;;;;21518:106;21651:8;21642:5;:17;21638:106;;21689:8;21680:17;;;;;;:::i;:::-;;;;;21726:2;21716:12;;;;21638:106;21771:8;21762:5;:17;21758:106;;21809:8;21800:17;;;;;;:::i;:::-;;;;;21846:2;21836:12;;;;21758:106;21891:7;21882:5;:16;21878:103;;21928:7;21919:16;;;;;;:::i;:::-;;;;;21964:1;21954:11;;;;21878:103;22008:7;21999:5;:16;21995:103;;22045:7;22036:16;;;;;;:::i;:::-;;;;;22081:1;22071:11;;;;21995:103;22125:7;22116:5;:16;22112:103;;22162:7;22153:16;;;;;;:::i;:::-;;;;;22198:1;22188:11;;;;22112:103;22242:7;22233:5;:16;22229:68;;22280:1;22270:11;;;;22229:68;22325:6;22318:13;;;21391:948;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:619::-;4860:6;4868;4876;4925:2;4913:9;4904:7;4900:23;4896:32;4893:119;;;4931:79;;:::i;:::-;4893:119;5051:1;5076:53;5121:7;5112:6;5101:9;5097:22;5076:53;:::i;:::-;5066:63;;5022:117;5178:2;5204:53;5249:7;5240:6;5229:9;5225:22;5204:53;:::i;:::-;5194:63;;5149:118;5306:2;5332:53;5377:7;5368:6;5357:9;5353:22;5332:53;:::i;:::-;5322:63;;5277:118;4783:619;;;;;:::o;5408:329::-;5467:6;5516:2;5504:9;5495:7;5491:23;5487:32;5484:119;;;5522:79;;:::i;:::-;5484:119;5642:1;5667:53;5712:7;5703:6;5692:9;5688:22;5667:53;:::i;:::-;5657:63;;5613:117;5408:329;;;;:::o;5743:118::-;5830:24;5848:5;5830:24;:::i;:::-;5825:3;5818:37;5743:118;;:::o;5867:222::-;5960:4;5998:2;5987:9;5983:18;5975:26;;6011:71;6079:1;6068:9;6064:17;6055:6;6011:71;:::i;:::-;5867:222;;;;:::o;6095:116::-;6165:21;6180:5;6165:21;:::i;:::-;6158:5;6155:32;6145:60;;6201:1;6198;6191:12;6145:60;6095:116;:::o;6217:133::-;6260:5;6298:6;6285:20;6276:29;;6314:30;6338:5;6314:30;:::i;:::-;6217:133;;;;:::o;6356:468::-;6421:6;6429;6478:2;6466:9;6457:7;6453:23;6449:32;6446:119;;;6484:79;;:::i;:::-;6446:119;6604:1;6629:53;6674:7;6665:6;6654:9;6650:22;6629:53;:::i;:::-;6619:63;;6575:117;6731:2;6757:50;6799:7;6790:6;6779:9;6775:22;6757:50;:::i;:::-;6747:60;;6702:115;6356:468;;;;;:::o;6830:117::-;6939:1;6936;6929:12;6953:117;7062:1;7059;7052:12;7076:180;7124:77;7121:1;7114:88;7221:4;7218:1;7211:15;7245:4;7242:1;7235:15;7262:281;7345:27;7367:4;7345:27;:::i;:::-;7337:6;7333:40;7475:6;7463:10;7460:22;7439:18;7427:10;7424:34;7421:62;7418:88;;;7486:18;;:::i;:::-;7418:88;7526:10;7522:2;7515:22;7305:238;7262:281;;:::o;7549:129::-;7583:6;7610:20;;:::i;:::-;7600:30;;7639:33;7667:4;7659:6;7639:33;:::i;:::-;7549:129;;;:::o;7684:307::-;7745:4;7835:18;7827:6;7824:30;7821:56;;;7857:18;;:::i;:::-;7821:56;7895:29;7917:6;7895:29;:::i;:::-;7887:37;;7979:4;7973;7969:15;7961:23;;7684:307;;;:::o;7997:148::-;8095:6;8090:3;8085;8072:30;8136:1;8127:6;8122:3;8118:16;8111:27;7997:148;;;:::o;8151:423::-;8228:5;8253:65;8269:48;8310:6;8269:48;:::i;:::-;8253:65;:::i;:::-;8244:74;;8341:6;8334:5;8327:21;8379:4;8372:5;8368:16;8417:3;8408:6;8403:3;8399:16;8396:25;8393:112;;;8424:79;;:::i;:::-;8393:112;8514:54;8561:6;8556:3;8551;8514:54;:::i;:::-;8234:340;8151:423;;;;;:::o;8593:338::-;8648:5;8697:3;8690:4;8682:6;8678:17;8674:27;8664:122;;8705:79;;:::i;:::-;8664:122;8822:6;8809:20;8847:78;8921:3;8913:6;8906:4;8898:6;8894:17;8847:78;:::i;:::-;8838:87;;8654:277;8593:338;;;;:::o;8937:943::-;9032:6;9040;9048;9056;9105:3;9093:9;9084:7;9080:23;9076:33;9073:120;;;9112:79;;:::i;:::-;9073:120;9232:1;9257:53;9302:7;9293:6;9282:9;9278:22;9257:53;:::i;:::-;9247:63;;9203:117;9359:2;9385:53;9430:7;9421:6;9410:9;9406:22;9385:53;:::i;:::-;9375:63;;9330:118;9487:2;9513:53;9558:7;9549:6;9538:9;9534:22;9513:53;:::i;:::-;9503:63;;9458:118;9643:2;9632:9;9628:18;9615:32;9674:18;9666:6;9663:30;9660:117;;;9696:79;;:::i;:::-;9660:117;9801:62;9855:7;9846:6;9835:9;9831:22;9801:62;:::i;:::-;9791:72;;9586:287;8937:943;;;;;;;:::o;9886:308::-;9948:4;10038:18;10030:6;10027:30;10024:56;;;10060:18;;:::i;:::-;10024:56;10098:29;10120:6;10098:29;:::i;:::-;10090:37;;10182:4;10176;10172:15;10164:23;;9886:308;;;:::o;10200:425::-;10278:5;10303:66;10319:49;10361:6;10319:49;:::i;:::-;10303:66;:::i;:::-;10294:75;;10392:6;10385:5;10378:21;10430:4;10423:5;10419:16;10468:3;10459:6;10454:3;10450:16;10447:25;10444:112;;;10475:79;;:::i;:::-;10444:112;10565:54;10612:6;10607:3;10602;10565:54;:::i;:::-;10284:341;10200:425;;;;;:::o;10645:340::-;10701:5;10750:3;10743:4;10735:6;10731:17;10727:27;10717:122;;10758:79;;:::i;:::-;10717:122;10875:6;10862:20;10900:79;10975:3;10967:6;10960:4;10952:6;10948:17;10900:79;:::i;:::-;10891:88;;10707:278;10645:340;;;;:::o;10991:799::-;11078:6;11086;11094;11143:2;11131:9;11122:7;11118:23;11114:32;11111:119;;;11149:79;;:::i;:::-;11111:119;11269:1;11294:53;11339:7;11330:6;11319:9;11315:22;11294:53;:::i;:::-;11284:63;;11240:117;11396:2;11422:53;11467:7;11458:6;11447:9;11443:22;11422:53;:::i;:::-;11412:63;;11367:118;11552:2;11541:9;11537:18;11524:32;11583:18;11575:6;11572:30;11569:117;;;11605:79;;:::i;:::-;11569:117;11710:63;11765:7;11756:6;11745:9;11741:22;11710:63;:::i;:::-;11700:73;;11495:288;10991:799;;;;;:::o;11796:474::-;11864:6;11872;11921:2;11909:9;11900:7;11896:23;11892:32;11889:119;;;11927:79;;:::i;:::-;11889:119;12047:1;12072:53;12117:7;12108:6;12097:9;12093:22;12072:53;:::i;:::-;12062:63;;12018:117;12174:2;12200:53;12245:7;12236:6;12225:9;12221:22;12200:53;:::i;:::-;12190:63;;12145:118;11796:474;;;;;:::o;12276:180::-;12324:77;12321:1;12314:88;12421:4;12418:1;12411:15;12445:4;12442:1;12435:15;12462:320;12506:6;12543:1;12537:4;12533:12;12523:22;;12590:1;12584:4;12580:12;12611:18;12601:81;;12667:4;12659:6;12655:17;12645:27;;12601:81;12729:2;12721:6;12718:14;12698:18;12695:38;12692:84;;12748:18;;:::i;:::-;12692:84;12513:269;12462:320;;;:::o;12788:442::-;12937:4;12975:2;12964:9;12960:18;12952:26;;12988:71;13056:1;13045:9;13041:17;13032:6;12988:71;:::i;:::-;13069:72;13137:2;13126:9;13122:18;13113:6;13069:72;:::i;:::-;13151;13219:2;13208:9;13204:18;13195:6;13151:72;:::i;:::-;12788:442;;;;;;:::o;13236:98::-;13287:6;13321:5;13315:12;13305:22;;13236:98;;;:::o;13340:168::-;13423:11;13457:6;13452:3;13445:19;13497:4;13492:3;13488:14;13473:29;;13340:168;;;;:::o;13514:373::-;13600:3;13628:38;13660:5;13628:38;:::i;:::-;13682:70;13745:6;13740:3;13682:70;:::i;:::-;13675:77;;13761:65;13819:6;13814:3;13807:4;13800:5;13796:16;13761:65;:::i;:::-;13851:29;13873:6;13851:29;:::i;:::-;13846:3;13842:39;13835:46;;13604:283;13514:373;;;;:::o;13893:640::-;14088:4;14126:3;14115:9;14111:19;14103:27;;14140:71;14208:1;14197:9;14193:17;14184:6;14140:71;:::i;:::-;14221:72;14289:2;14278:9;14274:18;14265:6;14221:72;:::i;:::-;14303;14371:2;14360:9;14356:18;14347:6;14303:72;:::i;:::-;14422:9;14416:4;14412:20;14407:2;14396:9;14392:18;14385:48;14450:76;14521:4;14512:6;14450:76;:::i;:::-;14442:84;;13893:640;;;;;;;:::o;14539:141::-;14595:5;14626:6;14620:13;14611:22;;14642:32;14668:5;14642:32;:::i;:::-;14539:141;;;;:::o;14686:349::-;14755:6;14804:2;14792:9;14783:7;14779:23;14775:32;14772:119;;;14810:79;;:::i;:::-;14772:119;14930:1;14955:63;15010:7;15001:6;14990:9;14986:22;14955:63;:::i;:::-;14945:73;;14901:127;14686:349;;;;:::o;15041:148::-;15143:11;15180:3;15165:18;;15041:148;;;;:::o;15195:390::-;15301:3;15329:39;15362:5;15329:39;:::i;:::-;15384:89;15466:6;15461:3;15384:89;:::i;:::-;15377:96;;15482:65;15540:6;15535:3;15528:4;15521:5;15517:16;15482:65;:::i;:::-;15572:6;15567:3;15563:16;15556:23;;15305:280;15195:390;;;;:::o;15591:435::-;15771:3;15793:95;15884:3;15875:6;15793:95;:::i;:::-;15786:102;;15905:95;15996:3;15987:6;15905:95;:::i;:::-;15898:102;;16017:3;16010:10;;15591:435;;;;;:::o;16032:141::-;16081:4;16104:3;16096:11;;16127:3;16124:1;16117:14;16161:4;16158:1;16148:18;16140:26;;16032:141;;;:::o;16179:93::-;16216:6;16263:2;16258;16251:5;16247:14;16243:23;16233:33;;16179:93;;;:::o;16278:107::-;16322:8;16372:5;16366:4;16362:16;16341:37;;16278:107;;;;:::o;16391:393::-;16460:6;16510:1;16498:10;16494:18;16533:97;16563:66;16552:9;16533:97;:::i;:::-;16651:39;16681:8;16670:9;16651:39;:::i;:::-;16639:51;;16723:4;16719:9;16712:5;16708:21;16699:30;;16772:4;16762:8;16758:19;16751:5;16748:30;16738:40;;16467:317;;16391:393;;;;;:::o;16790:60::-;16818:3;16839:5;16832:12;;16790:60;;;:::o;16856:142::-;16906:9;16939:53;16957:34;16966:24;16984:5;16966:24;:::i;:::-;16957:34;:::i;:::-;16939:53;:::i;:::-;16926:66;;16856:142;;;:::o;17004:75::-;17047:3;17068:5;17061:12;;17004:75;;;:::o;17085:269::-;17195:39;17226:7;17195:39;:::i;:::-;17256:91;17305:41;17329:16;17305:41;:::i;:::-;17297:6;17290:4;17284:11;17256:91;:::i;:::-;17250:4;17243:105;17161:193;17085:269;;;:::o;17360:73::-;17405:3;17360:73;:::o;17439:189::-;17516:32;;:::i;:::-;17557:65;17615:6;17607;17601:4;17557:65;:::i;:::-;17492:136;17439:189;;:::o;17634:186::-;17694:120;17711:3;17704:5;17701:14;17694:120;;;17765:39;17802:1;17795:5;17765:39;:::i;:::-;17738:1;17731:5;17727:13;17718:22;;17694:120;;;17634:186;;:::o;17826:543::-;17927:2;17922:3;17919:11;17916:446;;;17961:38;17993:5;17961:38;:::i;:::-;18045:29;18063:10;18045:29;:::i;:::-;18035:8;18031:44;18228:2;18216:10;18213:18;18210:49;;;18249:8;18234:23;;18210:49;18272:80;18328:22;18346:3;18328:22;:::i;:::-;18318:8;18314:37;18301:11;18272:80;:::i;:::-;17931:431;;17916:446;17826:543;;;:::o;18375:117::-;18429:8;18479:5;18473:4;18469:16;18448:37;;18375:117;;;;:::o;18498:169::-;18542:6;18575:51;18623:1;18619:6;18611:5;18608:1;18604:13;18575:51;:::i;:::-;18571:56;18656:4;18650;18646:15;18636:25;;18549:118;18498:169;;;;:::o;18672:295::-;18748:4;18894:29;18919:3;18913:4;18894:29;:::i;:::-;18886:37;;18956:3;18953:1;18949:11;18943:4;18940:21;18932:29;;18672:295;;;;:::o;18972:1395::-;19089:37;19122:3;19089:37;:::i;:::-;19191:18;19183:6;19180:30;19177:56;;;19213:18;;:::i;:::-;19177:56;19257:38;19289:4;19283:11;19257:38;:::i;:::-;19342:67;19402:6;19394;19388:4;19342:67;:::i;:::-;19436:1;19460:4;19447:17;;19492:2;19484:6;19481:14;19509:1;19504:618;;;;20166:1;20183:6;20180:77;;;20232:9;20227:3;20223:19;20217:26;20208:35;;20180:77;20283:67;20343:6;20336:5;20283:67;:::i;:::-;20277:4;20270:81;20139:222;19474:887;;19504:618;19556:4;19552:9;19544:6;19540:22;19590:37;19622:4;19590:37;:::i;:::-;19649:1;19663:208;19677:7;19674:1;19671:14;19663:208;;;19756:9;19751:3;19747:19;19741:26;19733:6;19726:42;19807:1;19799:6;19795:14;19785:24;;19854:2;19843:9;19839:18;19826:31;;19700:4;19697:1;19693:12;19688:17;;19663:208;;;19899:6;19890:7;19887:19;19884:179;;;19957:9;19952:3;19948:19;19942:26;20000:48;20042:4;20034:6;20030:17;20019:9;20000:48;:::i;:::-;19992:6;19985:64;19907:156;19884:179;20109:1;20105;20097:6;20093:14;20089:22;20083:4;20076:36;19511:611;;;19474:887;;19064:1303;;;18972:1395;;:::o;20373:332::-;20494:4;20532:2;20521:9;20517:18;20509:26;;20545:71;20613:1;20602:9;20598:17;20589:6;20545:71;:::i;:::-;20626:72;20694:2;20683:9;20679:18;20670:6;20626:72;:::i;:::-;20373:332;;;;;:::o;20711:180::-;20759:77;20756:1;20749:88;20856:4;20853:1;20846:15;20880:4;20877:1;20870:15
Swarm Source
ipfs://735f97efb934d23fc1f3fb15d7ea1fac9f03ced6362c25de69633748c2a7b241
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.