Source Code
Overview
ETH Balance
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 607 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Mint | 5758429 | 618 days ago | IN | 0 ETH | 0.00001701 | ||||
| Safe Mint | 5758015 | 618 days ago | IN | 0 ETH | 0.00001734 | ||||
| Safe Mint | 5757637 | 618 days ago | IN | 0 ETH | 0.00001706 | ||||
| Safe Mint | 5757195 | 618 days ago | IN | 0 ETH | 0.00001703 | ||||
| Safe Mint | 5757147 | 618 days ago | IN | 0 ETH | 0.00001717 | ||||
| Safe Mint | 5757094 | 618 days ago | IN | 0 ETH | 0.00001719 | ||||
| Safe Mint | 5756996 | 618 days ago | IN | 0 ETH | 0.0000172 | ||||
| Safe Mint | 5756961 | 618 days ago | IN | 0 ETH | 0.00001728 | ||||
| Safe Mint | 5756391 | 618 days ago | IN | 0 ETH | 0.00001723 | ||||
| Safe Mint | 5756378 | 618 days ago | IN | 0 ETH | 0.00001732 | ||||
| Safe Mint | 5755903 | 618 days ago | IN | 0 ETH | 0.0000173 | ||||
| Safe Mint | 5755837 | 618 days ago | IN | 0 ETH | 0.00001754 | ||||
| Safe Mint | 5732895 | 619 days ago | IN | 0 ETH | 0.00001707 | ||||
| Safe Mint | 5732782 | 619 days ago | IN | 0 ETH | 0.000017 | ||||
| Safe Mint | 5732709 | 619 days ago | IN | 0 ETH | 0.00001699 | ||||
| Safe Mint | 5732568 | 619 days ago | IN | 0 ETH | 0.00001707 | ||||
| Safe Mint | 5732447 | 619 days ago | IN | 0 ETH | 0.00001699 | ||||
| Safe Mint | 5732411 | 619 days ago | IN | 0 ETH | 0.00001695 | ||||
| Safe Mint | 5732357 | 619 days ago | IN | 0 ETH | 0.00001702 | ||||
| Safe Mint | 5732071 | 619 days ago | IN | 0 ETH | 0.00001712 | ||||
| Safe Mint | 5731775 | 619 days ago | IN | 0 ETH | 0.00001717 | ||||
| Safe Mint | 5731146 | 619 days ago | IN | 0 ETH | 0.0000173 | ||||
| Safe Mint | 5731095 | 619 days ago | IN | 0 ETH | 0.00001719 | ||||
| Safe Mint | 5730943 | 619 days ago | IN | 0 ETH | 0.00001722 | ||||
| Safe Mint | 5730704 | 619 days ago | IN | 0 ETH | 0.00001729 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ApplesBros
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/**
*Submitted for verification at scrollscan.com on 2024-03-20
*/
// File: @openzeppelin/contracts/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/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/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/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/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.1) (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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// File: @openzeppelin/contracts/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: @openzeppelin/contracts/utils/Pausable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
bool private _paused;
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
/**
* @dev The operation failed because the contract is paused.
*/
error EnforcedPause();
/**
* @dev The operation failed because the contract is not paused.
*/
error ExpectedPause();
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
if (paused()) {
revert EnforcedPause();
}
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
if (!paused()) {
revert ExpectedPause();
}
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: @openzeppelin/contracts/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/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/interfaces/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)
pragma solidity ^0.8.20;
// File: @openzeppelin/contracts/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/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/interfaces/IERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC721.sol)
pragma solidity ^0.8.20;
// File: @openzeppelin/contracts/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/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/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/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/token/ERC721/extensions/ERC721Pausable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Pausable.sol)
pragma solidity ^0.8.20;
/**
* @dev ERC721 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*
* IMPORTANT: This contract does not include public pause and unpause functions. In
* addition to inheriting this contract, you must define both functions, invoking the
* {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
* access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
* make the contract pause mechanism of the contract unreachable, and thus unusable.
*/
abstract contract ERC721Pausable is ERC721, Pausable {
/**
* @dev See {ERC721-_update}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _update(
address to,
uint256 tokenId,
address auth
) internal virtual override whenNotPaused returns (address) {
return super._update(to, tokenId, auth);
}
}
// File: contracts/1_Storage.sol
// Compatible with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.20;
contract ApplesBros is ERC721, ERC721Pausable, Ownable {
uint256 private _nextTokenId;
string private _baseUri;
constructor(address initialOwner, string memory uri, string memory name, string memory symbol) ERC721(name, symbol) Ownable(initialOwner) {
_baseUri = uri;
}
function _baseURI() internal view override returns (string memory) {
return _baseUri;
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function safeMint(address to) public {
uint256 tokenId = _nextTokenId++;
_safeMint(to, tokenId);
}
// The following functions are overrides required by Solidity.
function tokenURI(uint256 tokenId) public view override returns (string memory) {
_requireOwned(tokenId);
string memory baseURI = _baseURI();
return baseURI;
}
function _update(address to, uint256 tokenId, address auth) internal override(ERC721, ERC721Pausable) returns (address) {
return super._update(to, tokenId, auth);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801562000010575f80fd5b50604051620027c1380380620027c18339818101604052810190620000369190620003c3565b838282815f9081620000499190620006c6565b5080600190816200005b9190620006c6565b5050505f60065f6101000a81548160ff0219169083151502179055505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ea575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000e19190620007bb565b60405180910390fd5b620000fb816200011860201b60201c565b5082600890816200010d9190620006c6565b5050505050620007d6565b5f600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200021982620001ee565b9050919050565b6200022b816200020d565b811462000236575f80fd5b50565b5f81519050620002498162000220565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200029f8262000257565b810181811067ffffffffffffffff82111715620002c157620002c062000267565b5b80604052505050565b5f620002d5620001dd565b9050620002e3828262000294565b919050565b5f67ffffffffffffffff82111562000305576200030462000267565b5b620003108262000257565b9050602081019050919050565b5f5b838110156200033c5780820151818401526020810190506200031f565b5f8484015250505050565b5f6200035d6200035784620002e8565b620002ca565b9050828152602081018484840111156200037c576200037b62000253565b5b620003898482856200031d565b509392505050565b5f82601f830112620003a857620003a76200024f565b5b8151620003ba84826020860162000347565b91505092915050565b5f805f8060808587031215620003de57620003dd620001e6565b5b5f620003ed8782880162000239565b945050602085015167ffffffffffffffff811115620004115762000410620001ea565b5b6200041f8782880162000391565b935050604085015167ffffffffffffffff811115620004435762000442620001ea565b5b620004518782880162000391565b925050606085015167ffffffffffffffff811115620004755762000474620001ea565b5b620004838782880162000391565b91505092959194509250565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620004de57607f821691505b602082108103620004f457620004f362000499565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005587fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200051b565b6200056486836200051b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620005ae620005a8620005a2846200057c565b62000585565b6200057c565b9050919050565b5f819050919050565b620005c9836200058e565b620005e1620005d882620005b5565b84845462000527565b825550505050565b5f90565b620005f7620005e9565b62000604818484620005be565b505050565b5b818110156200062b576200061f5f82620005ed565b6001810190506200060a565b5050565b601f8211156200067a576200064481620004fa565b6200064f846200050c565b810160208510156200065f578190505b620006776200066e856200050c565b83018262000609565b50505b505050565b5f82821c905092915050565b5f6200069c5f19846008026200067f565b1980831691505092915050565b5f620006b683836200068b565b9150826002028217905092915050565b620006d1826200048f565b67ffffffffffffffff811115620006ed57620006ec62000267565b5b620006f98254620004c6565b620007068282856200062f565b5f60209050601f8311600181146200073c575f841562000727578287015190505b620007338582620006a9565b865550620007a2565b601f1984166200074c86620004fa565b5f5b8281101562000775578489015182556001820191506020850194506020810190506200074e565b8683101562000795578489015162000791601f8916826200068b565b8355505b6001600288020188555050505b505050505050565b620007b5816200020d565b82525050565b5f602082019050620007d05f830184620007aa565b92915050565b611fdd80620007e45f395ff3fe608060405234801561000f575f80fd5b506004361061012a575f3560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb465146102f4578063b88d4fde14610310578063c87b56dd1461032c578063e985e9c51461035c578063f2fde38b1461038c5761012a565b806370a0823114610274578063715018a6146102a45780638456cb59146102ae5780638da5cb5b146102b857806395d89b41146102d65761012a565b80633f4ba83a116100f25780633f4ba83a146101e457806340d097c3146101ee57806342842e0e1461020a5780635c975abb146102265780636352211e146102445761012a565b806301ffc9a71461012e57806306fdde031461015e578063081812fc1461017c578063095ea7b3146101ac57806323b872dd146101c8575b5f80fd5b61014860048036038101906101439190611884565b6103a8565b60405161015591906118c9565b60405180910390f35b610166610489565b604051610173919061196c565b60405180910390f35b610196600480360381019061019191906119bf565b610518565b6040516101a39190611a29565b60405180910390f35b6101c660048036038101906101c19190611a6c565b610533565b005b6101e260048036038101906101dd9190611aaa565b610549565b005b6101ec610648565b005b61020860048036038101906102039190611afa565b61065a565b005b610224600480360381019061021f9190611aaa565b610681565b005b61022e6106a0565b60405161023b91906118c9565b60405180910390f35b61025e600480360381019061025991906119bf565b6106b5565b60405161026b9190611a29565b60405180910390f35b61028e60048036038101906102899190611afa565b6106c6565b60405161029b9190611b34565b60405180910390f35b6102ac61077c565b005b6102b661078f565b005b6102c06107a1565b6040516102cd9190611a29565b60405180910390f35b6102de6107ca565b6040516102eb919061196c565b60405180910390f35b61030e60048036038101906103099190611b77565b61085a565b005b61032a60048036038101906103259190611ce1565b610870565b005b610346600480360381019061034191906119bf565b61088d565b604051610353919061196c565b60405180910390f35b61037660048036038101906103719190611d61565b6108ad565b60405161038391906118c9565b60405180910390f35b6103a660048036038101906103a19190611afa565b61093b565b005b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104825750610481826109bf565b5b9050919050565b60605f805461049790611dcc565b80601f01602080910402602001604051908101604052809291908181526020018280546104c390611dcc565b801561050e5780601f106104e55761010080835404028352916020019161050e565b820191905f5260205f20905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b5f61052282610a28565b5061052c82610aae565b9050919050565b6105458282610540610ae7565b610aee565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105b9575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016105b09190611a29565b60405180910390fd5b5f6105cc83836105c7610ae7565b610b00565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610642578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161063993929190611dfc565b60405180910390fd5b50505050565b610650610b15565b610658610b9c565b565b5f60075f81548092919061066d90611e5e565b91905055905061067d8282610bfd565b5050565b61069b83838360405180602001604052805f815250610870565b505050565b5f60065f9054906101000a900460ff16905090565b5f6106bf82610a28565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610737575f6040517f89c62b6400000000000000000000000000000000000000000000000000000000815260040161072e9190611a29565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610784610b15565b61078d5f610c1a565b565b610797610b15565b61079f610cdf565b565b5f600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546107d990611dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461080590611dcc565b80156108505780601f1061082757610100808354040283529160200191610850565b820191905f5260205f20905b81548152906001019060200180831161083357829003601f168201915b5050505050905090565b61086c610865610ae7565b8383610d41565b5050565b61087b848484610549565b61088784848484610eaa565b50505050565b606061089882610a28565b505f6108a261105c565b905080915050919050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b610943610b15565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109b3575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109aa9190611a29565b60405180910390fd5b6109bc81610c1a565b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f80610a33836110ec565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610aa557826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401610a9c9190611b34565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b610afb8383836001611125565b505050565b5f610b0c8484846112e4565b90509392505050565b610b1d610ae7565b73ffffffffffffffffffffffffffffffffffffffff16610b3b6107a1565b73ffffffffffffffffffffffffffffffffffffffff1614610b9a57610b5e610ae7565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b919190611a29565b60405180910390fd5b565b610ba4611301565b5f60065f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610be6610ae7565b604051610bf39190611a29565b60405180910390a1565b610c16828260405180602001604052805f815250611341565b5050565b5f600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610ce761135c565b600160065f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d2a610ae7565b604051610d379190611a29565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610db157816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401610da89190611a29565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e9d91906118c9565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611056578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02610eed610ae7565b8685856040518563ffffffff1660e01b8152600401610f0f9493929190611ef7565b6020604051808303815f875af1925050508015610f4a57506040513d601f19601f82011682018060405250810190610f479190611f55565b60015b610fcb573d805f8114610f78576040519150601f19603f3d011682016040523d82523d5f602084013e610f7d565b606091505b505f815103610fc357836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610fba9190611a29565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461105457836040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161104b9190611a29565b60405180910390fd5b505b50505050565b60606008805461106b90611dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461109790611dcc565b80156110e25780601f106110b9576101008083540402835291602001916110e2565b820191905f5260205f20905b8154815290600101906020018083116110c557829003601f168201915b5050505050905090565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061115d57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561128f575f61116c84610a28565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156111d657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156111e957506111e781846108ad565b155b1561122b57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016112229190611a29565b60405180910390fd5b811561128d57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f6112ed61135c565b6112f884848461139d565b90509392505050565b6113096106a0565b61133f576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61134b83836115a8565b6113575f848484610eaa565b505050565b6113646106a0565b1561139b576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f806113a8846110ec565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146113e9576113e881848661169b565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611474576114285f855f80611125565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146114f357600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611618575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161160f9190611a29565b60405180910390fd5b5f61162483835f610b00565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611696575f6040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260040161168d9190611a29565b60405180910390fd5b505050565b6116a683838361175e565b611759575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361171a57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016117119190611b34565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401611750929190611f80565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561181557508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117d657506117d584846108ad565b5b8061181457508273ffffffffffffffffffffffffffffffffffffffff166117fc83610aae565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118638161182f565b811461186d575f80fd5b50565b5f8135905061187e8161185a565b92915050565b5f6020828403121561189957611898611827565b5b5f6118a684828501611870565b91505092915050565b5f8115159050919050565b6118c3816118af565b82525050565b5f6020820190506118dc5f8301846118ba565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156119195780820151818401526020810190506118fe565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61193e826118e2565b61194881856118ec565b93506119588185602086016118fc565b61196181611924565b840191505092915050565b5f6020820190508181035f8301526119848184611934565b905092915050565b5f819050919050565b61199e8161198c565b81146119a8575f80fd5b50565b5f813590506119b981611995565b92915050565b5f602082840312156119d4576119d3611827565b5b5f6119e1848285016119ab565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a13826119ea565b9050919050565b611a2381611a09565b82525050565b5f602082019050611a3c5f830184611a1a565b92915050565b611a4b81611a09565b8114611a55575f80fd5b50565b5f81359050611a6681611a42565b92915050565b5f8060408385031215611a8257611a81611827565b5b5f611a8f85828601611a58565b9250506020611aa0858286016119ab565b9150509250929050565b5f805f60608486031215611ac157611ac0611827565b5b5f611ace86828701611a58565b9350506020611adf86828701611a58565b9250506040611af0868287016119ab565b9150509250925092565b5f60208284031215611b0f57611b0e611827565b5b5f611b1c84828501611a58565b91505092915050565b611b2e8161198c565b82525050565b5f602082019050611b475f830184611b25565b92915050565b611b56816118af565b8114611b60575f80fd5b50565b5f81359050611b7181611b4d565b92915050565b5f8060408385031215611b8d57611b8c611827565b5b5f611b9a85828601611a58565b9250506020611bab85828601611b63565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611bf382611924565b810181811067ffffffffffffffff82111715611c1257611c11611bbd565b5b80604052505050565b5f611c2461181e565b9050611c308282611bea565b919050565b5f67ffffffffffffffff821115611c4f57611c4e611bbd565b5b611c5882611924565b9050602081019050919050565b828183375f83830152505050565b5f611c85611c8084611c35565b611c1b565b905082815260208101848484011115611ca157611ca0611bb9565b5b611cac848285611c65565b509392505050565b5f82601f830112611cc857611cc7611bb5565b5b8135611cd8848260208601611c73565b91505092915050565b5f805f8060808587031215611cf957611cf8611827565b5b5f611d0687828801611a58565b9450506020611d1787828801611a58565b9350506040611d28878288016119ab565b925050606085013567ffffffffffffffff811115611d4957611d4861182b565b5b611d5587828801611cb4565b91505092959194509250565b5f8060408385031215611d7757611d76611827565b5b5f611d8485828601611a58565b9250506020611d9585828601611a58565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611de357607f821691505b602082108103611df657611df5611d9f565b5b50919050565b5f606082019050611e0f5f830186611a1a565b611e1c6020830185611b25565b611e296040830184611a1a565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611e688261198c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e9a57611e99611e31565b5b600182019050919050565b5f81519050919050565b5f82825260208201905092915050565b5f611ec982611ea5565b611ed38185611eaf565b9350611ee38185602086016118fc565b611eec81611924565b840191505092915050565b5f608082019050611f0a5f830187611a1a565b611f176020830186611a1a565b611f246040830185611b25565b8181036060830152611f368184611ebf565b905095945050505050565b5f81519050611f4f8161185a565b92915050565b5f60208284031215611f6a57611f69611827565b5b5f611f7784828501611f41565b91505092915050565b5f604082019050611f935f830185611a1a565b611fa06020830184611b25565b939250505056fea264697066735822122053ebffd83eac8185b81b1fa9114007282ea73d6ad3b73e5ba814759be57f677a64736f6c63430008140033000000000000000000000000386a97ee7398cc6acee5ddbd5395bb68a335dbff000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f717569636b6e6f64652e717569636b6e6f64652d697066732e636f6d2f697066732f516d5747647471736d4a6d6f53616b514b71765647686b464e6e664b5968316e314e78394c44554d394473323747000000000000000000000000000000000000000000000000000000000000000000000000000000104170706c657342726f732e636f6d203600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341504c0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061012a575f3560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb465146102f4578063b88d4fde14610310578063c87b56dd1461032c578063e985e9c51461035c578063f2fde38b1461038c5761012a565b806370a0823114610274578063715018a6146102a45780638456cb59146102ae5780638da5cb5b146102b857806395d89b41146102d65761012a565b80633f4ba83a116100f25780633f4ba83a146101e457806340d097c3146101ee57806342842e0e1461020a5780635c975abb146102265780636352211e146102445761012a565b806301ffc9a71461012e57806306fdde031461015e578063081812fc1461017c578063095ea7b3146101ac57806323b872dd146101c8575b5f80fd5b61014860048036038101906101439190611884565b6103a8565b60405161015591906118c9565b60405180910390f35b610166610489565b604051610173919061196c565b60405180910390f35b610196600480360381019061019191906119bf565b610518565b6040516101a39190611a29565b60405180910390f35b6101c660048036038101906101c19190611a6c565b610533565b005b6101e260048036038101906101dd9190611aaa565b610549565b005b6101ec610648565b005b61020860048036038101906102039190611afa565b61065a565b005b610224600480360381019061021f9190611aaa565b610681565b005b61022e6106a0565b60405161023b91906118c9565b60405180910390f35b61025e600480360381019061025991906119bf565b6106b5565b60405161026b9190611a29565b60405180910390f35b61028e60048036038101906102899190611afa565b6106c6565b60405161029b9190611b34565b60405180910390f35b6102ac61077c565b005b6102b661078f565b005b6102c06107a1565b6040516102cd9190611a29565b60405180910390f35b6102de6107ca565b6040516102eb919061196c565b60405180910390f35b61030e60048036038101906103099190611b77565b61085a565b005b61032a60048036038101906103259190611ce1565b610870565b005b610346600480360381019061034191906119bf565b61088d565b604051610353919061196c565b60405180910390f35b61037660048036038101906103719190611d61565b6108ad565b60405161038391906118c9565b60405180910390f35b6103a660048036038101906103a19190611afa565b61093b565b005b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104825750610481826109bf565b5b9050919050565b60605f805461049790611dcc565b80601f01602080910402602001604051908101604052809291908181526020018280546104c390611dcc565b801561050e5780601f106104e55761010080835404028352916020019161050e565b820191905f5260205f20905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b5f61052282610a28565b5061052c82610aae565b9050919050565b6105458282610540610ae7565b610aee565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105b9575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016105b09190611a29565b60405180910390fd5b5f6105cc83836105c7610ae7565b610b00565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610642578382826040517f64283d7b00000000000000000000000000000000000000000000000000000000815260040161063993929190611dfc565b60405180910390fd5b50505050565b610650610b15565b610658610b9c565b565b5f60075f81548092919061066d90611e5e565b91905055905061067d8282610bfd565b5050565b61069b83838360405180602001604052805f815250610870565b505050565b5f60065f9054906101000a900460ff16905090565b5f6106bf82610a28565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610737575f6040517f89c62b6400000000000000000000000000000000000000000000000000000000815260040161072e9190611a29565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610784610b15565b61078d5f610c1a565b565b610797610b15565b61079f610cdf565b565b5f600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546107d990611dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461080590611dcc565b80156108505780601f1061082757610100808354040283529160200191610850565b820191905f5260205f20905b81548152906001019060200180831161083357829003601f168201915b5050505050905090565b61086c610865610ae7565b8383610d41565b5050565b61087b848484610549565b61088784848484610eaa565b50505050565b606061089882610a28565b505f6108a261105c565b905080915050919050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b610943610b15565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109b3575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109aa9190611a29565b60405180910390fd5b6109bc81610c1a565b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f80610a33836110ec565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610aa557826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401610a9c9190611b34565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b610afb8383836001611125565b505050565b5f610b0c8484846112e4565b90509392505050565b610b1d610ae7565b73ffffffffffffffffffffffffffffffffffffffff16610b3b6107a1565b73ffffffffffffffffffffffffffffffffffffffff1614610b9a57610b5e610ae7565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b919190611a29565b60405180910390fd5b565b610ba4611301565b5f60065f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610be6610ae7565b604051610bf39190611a29565b60405180910390a1565b610c16828260405180602001604052805f815250611341565b5050565b5f600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610ce761135c565b600160065f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d2a610ae7565b604051610d379190611a29565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610db157816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401610da89190611a29565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e9d91906118c9565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115611056578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02610eed610ae7565b8685856040518563ffffffff1660e01b8152600401610f0f9493929190611ef7565b6020604051808303815f875af1925050508015610f4a57506040513d601f19601f82011682018060405250810190610f479190611f55565b60015b610fcb573d805f8114610f78576040519150601f19603f3d011682016040523d82523d5f602084013e610f7d565b606091505b505f815103610fc357836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610fba9190611a29565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461105457836040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161104b9190611a29565b60405180910390fd5b505b50505050565b60606008805461106b90611dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461109790611dcc565b80156110e25780601f106110b9576101008083540402835291602001916110e2565b820191905f5260205f20905b8154815290600101906020018083116110c557829003601f168201915b5050505050905090565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061115d57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561128f575f61116c84610a28565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156111d657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156111e957506111e781846108ad565b155b1561122b57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016112229190611a29565b60405180910390fd5b811561128d57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f6112ed61135c565b6112f884848461139d565b90509392505050565b6113096106a0565b61133f576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61134b83836115a8565b6113575f848484610eaa565b505050565b6113646106a0565b1561139b576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f806113a8846110ec565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146113e9576113e881848661169b565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611474576114285f855f80611125565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146114f357600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611618575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161160f9190611a29565b60405180910390fd5b5f61162483835f610b00565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611696575f6040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260040161168d9190611a29565b60405180910390fd5b505050565b6116a683838361175e565b611759575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361171a57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016117119190611b34565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401611750929190611f80565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561181557508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117d657506117d584846108ad565b5b8061181457508273ffffffffffffffffffffffffffffffffffffffff166117fc83610aae565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118638161182f565b811461186d575f80fd5b50565b5f8135905061187e8161185a565b92915050565b5f6020828403121561189957611898611827565b5b5f6118a684828501611870565b91505092915050565b5f8115159050919050565b6118c3816118af565b82525050565b5f6020820190506118dc5f8301846118ba565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156119195780820151818401526020810190506118fe565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61193e826118e2565b61194881856118ec565b93506119588185602086016118fc565b61196181611924565b840191505092915050565b5f6020820190508181035f8301526119848184611934565b905092915050565b5f819050919050565b61199e8161198c565b81146119a8575f80fd5b50565b5f813590506119b981611995565b92915050565b5f602082840312156119d4576119d3611827565b5b5f6119e1848285016119ab565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a13826119ea565b9050919050565b611a2381611a09565b82525050565b5f602082019050611a3c5f830184611a1a565b92915050565b611a4b81611a09565b8114611a55575f80fd5b50565b5f81359050611a6681611a42565b92915050565b5f8060408385031215611a8257611a81611827565b5b5f611a8f85828601611a58565b9250506020611aa0858286016119ab565b9150509250929050565b5f805f60608486031215611ac157611ac0611827565b5b5f611ace86828701611a58565b9350506020611adf86828701611a58565b9250506040611af0868287016119ab565b9150509250925092565b5f60208284031215611b0f57611b0e611827565b5b5f611b1c84828501611a58565b91505092915050565b611b2e8161198c565b82525050565b5f602082019050611b475f830184611b25565b92915050565b611b56816118af565b8114611b60575f80fd5b50565b5f81359050611b7181611b4d565b92915050565b5f8060408385031215611b8d57611b8c611827565b5b5f611b9a85828601611a58565b9250506020611bab85828601611b63565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611bf382611924565b810181811067ffffffffffffffff82111715611c1257611c11611bbd565b5b80604052505050565b5f611c2461181e565b9050611c308282611bea565b919050565b5f67ffffffffffffffff821115611c4f57611c4e611bbd565b5b611c5882611924565b9050602081019050919050565b828183375f83830152505050565b5f611c85611c8084611c35565b611c1b565b905082815260208101848484011115611ca157611ca0611bb9565b5b611cac848285611c65565b509392505050565b5f82601f830112611cc857611cc7611bb5565b5b8135611cd8848260208601611c73565b91505092915050565b5f805f8060808587031215611cf957611cf8611827565b5b5f611d0687828801611a58565b9450506020611d1787828801611a58565b9350506040611d28878288016119ab565b925050606085013567ffffffffffffffff811115611d4957611d4861182b565b5b611d5587828801611cb4565b91505092959194509250565b5f8060408385031215611d7757611d76611827565b5b5f611d8485828601611a58565b9250506020611d9585828601611a58565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611de357607f821691505b602082108103611df657611df5611d9f565b5b50919050565b5f606082019050611e0f5f830186611a1a565b611e1c6020830185611b25565b611e296040830184611a1a565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611e688261198c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e9a57611e99611e31565b5b600182019050919050565b5f81519050919050565b5f82825260208201905092915050565b5f611ec982611ea5565b611ed38185611eaf565b9350611ee38185602086016118fc565b611eec81611924565b840191505092915050565b5f608082019050611f0a5f830187611a1a565b611f176020830186611a1a565b611f246040830185611b25565b8181036060830152611f368184611ebf565b905095945050505050565b5f81519050611f4f8161185a565b92915050565b5f60208284031215611f6a57611f69611827565b5b5f611f7784828501611f41565b91505092915050565b5f604082019050611f935f830185611a1a565b611fa06020830184611b25565b939250505056fea264697066735822122053ebffd83eac8185b81b1fa9114007282ea73d6ad3b73e5ba814759be57f677a64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000386a97ee7398cc6acee5ddbd5395bb68a335dbff000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f717569636b6e6f64652e717569636b6e6f64652d697066732e636f6d2f697066732f516d5747647471736d4a6d6f53616b514b71765647686b464e6e664b5968316e314e78394c44554d394473323747000000000000000000000000000000000000000000000000000000000000000000000000000000104170706c657342726f732e636f6d203600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341504c0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x386a97Ee7398cc6acEE5ddbD5395Bb68A335dBfF
Arg [1] : uri (string): https://quicknode.quicknode-ipfs.com/ipfs/QmWGdtqsmJmoSakQKqvVGhkFNnfKYh1n1Nx9LDUM9Ds27G
Arg [2] : name (string): ApplesBros.com 6
Arg [3] : symbol (string): APL
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000386a97ee7398cc6acee5ddbd5395bb68a335dbff
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000058
Arg [5] : 68747470733a2f2f717569636b6e6f64652e717569636b6e6f64652d69706673
Arg [6] : 2e636f6d2f697066732f516d5747647471736d4a6d6f53616b514b7176564768
Arg [7] : 6b464e6e664b5968316e314e78394c44554d3944733237470000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [9] : 4170706c657342726f732e636f6d203600000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 41504c0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
65097:1138:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45069:305;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45900:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47072:158;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46891:115;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47741:588;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;65583:65;;;:::i;:::-;;65656:121;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48400:134;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32857:86;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45713:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45438:213;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30121:103;;;:::i;:::-;;65514:61;;;:::i;:::-;;29446:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46060:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47302:146;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48605:211;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;65855:191;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47519:155;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30379:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45069:305;45171:4;45223:25;45208:40;;;:11;:40;;;;:105;;;;45280:33;45265:48;;;:11;:48;;;;45208:105;:158;;;;45330:36;45354:11;45330:23;:36::i;:::-;45208:158;45188:178;;45069:305;;;:::o;45900:91::-;45945:13;45978:5;45971:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45900:91;:::o;47072:158::-;47139:7;47159:22;47173:7;47159:13;:22::i;:::-;;47201:21;47214:7;47201:12;:21::i;:::-;47194:28;;47072:158;;;:::o;46891:115::-;46963:35;46972:2;46976:7;46985:12;:10;:12::i;:::-;46963:8;:35::i;:::-;46891:115;;:::o;47741:588::-;47850:1;47836:16;;:2;:16;;;47832:89;;47906:1;47876:33;;;;;;;;;;;:::i;:::-;;;;;;;;47832:89;48142:21;48166:34;48174:2;48178:7;48187:12;:10;:12::i;:::-;48166:7;:34::i;:::-;48142:58;;48232:4;48215:21;;:13;:21;;;48211:111;;48281:4;48287:7;48296:13;48260:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;48211:111;47821:508;47741:588;;;:::o;65583:65::-;29332:13;:11;:13::i;:::-;65630:10:::1;:8;:10::i;:::-;65583:65::o:0;65656:121::-;65704:15;65722:12;;:14;;;;;;;;;:::i;:::-;;;;;65704:32;;65747:22;65757:2;65761:7;65747:9;:22::i;:::-;65693:84;65656:121;:::o;48400:134::-;48487:39;48504:4;48510:2;48514:7;48487:39;;;;;;;;;;;;:16;:39::i;:::-;48400:134;;;:::o;32857:86::-;32904:4;32928:7;;;;;;;;;;;32921:14;;32857:86;:::o;45713:120::-;45776:7;45803:22;45817:7;45803:13;:22::i;:::-;45796:29;;45713:120;;;:::o;45438:213::-;45501:7;45542:1;45525:19;;:5;:19;;;45521:89;;45595:1;45568:30;;;;;;;;;;;:::i;:::-;;;;;;;;45521:89;45627:9;:16;45637:5;45627:16;;;;;;;;;;;;;;;;45620:23;;45438:213;;;:::o;30121:103::-;29332:13;:11;:13::i;:::-;30186:30:::1;30213:1;30186:18;:30::i;:::-;30121:103::o:0;65514:61::-;29332:13;:11;:13::i;:::-;65559:8:::1;:6;:8::i;:::-;65514:61::o:0;29446:87::-;29492:7;29519:6;;;;;;;;;;;29512:13;;29446:87;:::o;46060:95::-;46107:13;46140:7;46133:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46060:95;:::o;47302:146::-;47388:52;47407:12;:10;:12::i;:::-;47421:8;47431;47388:18;:52::i;:::-;47302:146;;:::o;48605:211::-;48719:31;48732:4;48738:2;48742:7;48719:12;:31::i;:::-;48761:47;48784:4;48790:2;48794:7;48803:4;48761:22;:47::i;:::-;48605:211;;;;:::o;65855:191::-;65920:13;65946:22;65960:7;65946:13;:22::i;:::-;;65979:21;66003:10;:8;:10::i;:::-;65979:34;;66031:7;66024:14;;;65855:191;;;:::o;47519:155::-;47607:4;47631:18;:25;47650:5;47631:25;;;;;;;;;;;;;;;:35;47657:8;47631:35;;;;;;;;;;;;;;;;;;;;;;;;;47624:42;;47519:155;;;;:::o;30379:220::-;29332:13;:11;:13::i;:::-;30484:1:::1;30464:22;;:8;:22;;::::0;30460:93:::1;;30538:1;30510:31;;;;;;;;;;;:::i;:::-;;;;;;;;30460:93;30563:28;30582:8;30563:18;:28::i;:::-;30379:220:::0;:::o;36829:148::-;36905:4;36944:25;36929:40;;;:11;:40;;;;36922:47;;36829:148;;;:::o;60047:247::-;60110:7;60130:13;60146:17;60155:7;60146:8;:17::i;:::-;60130:33;;60195:1;60178:19;;:5;:19;;;60174:90;;60244:7;60221:31;;;;;;;;;;;:::i;:::-;;;;;;;;60174:90;60281:5;60274:12;;;60047:247;;;:::o;49578:129::-;49648:7;49675:15;:24;49691:7;49675:24;;;;;;;;;;;;;;;;;;;;;49668:31;;49578:129;;;:::o;27455:98::-;27508:7;27535:10;27528:17;;27455:98;:::o;58279:122::-;58360:33;58369:2;58373:7;58382:4;58388;58360:8;:33::i;:::-;58279:122;;;:::o;66054:178::-;66165:7;66192:32;66206:2;66210:7;66219:4;66192:13;:32::i;:::-;66185:39;;66054:178;;;;;:::o;29611:166::-;29682:12;:10;:12::i;:::-;29671:23;;:7;:5;:7::i;:::-;:23;;;29667:103;;29745:12;:10;:12::i;:::-;29718:40;;;;;;;;;;;:::i;:::-;;;;;;;;29667:103;29611:166::o;33758:120::-;32721:16;:14;:16::i;:::-;33827:5:::1;33817:7;;:15;;;;;;;;;;;;;;;;;;33848:22;33857:12;:10;:12::i;:::-;33848:22;;;;;;:::i;:::-;;;;;;;;33758:120::o:0;54398:102::-;54466:26;54476:2;54480:7;54466:26;;;;;;;;;;;;:9;:26::i;:::-;54398:102;;:::o;30759:191::-;30833:16;30852:6;;;;;;;;;;;30833:25;;30878:8;30869:6;;:17;;;;;;;;;;;;;;;;;;30933:8;30902:40;;30923:8;30902:40;;;;;;;;;;;;30822:128;30759:191;:::o;33499:118::-;32462:19;:17;:19::i;:::-;33569:4:::1;33559:7;;:14;;;;;;;;;;;;;;;;;;33589:20;33596:12;:10;:12::i;:::-;33589:20;;;;;;:::i;:::-;;;;;;;;33499:118::o:0;59486:318::-;59614:1;59594:22;;:8;:22;;;59590:93;;59662:8;59640:31;;;;;;;;;;;:::i;:::-;;;;;;;;59590:93;59731:8;59693:18;:25;59712:5;59693:25;;;;;;;;;;;;;;;:35;59719:8;59693:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;59777:8;59755:41;;59770:5;59755:41;;;59787:8;59755:41;;;;;;:::i;:::-;;;;;;;;59486:318;;;:::o;60844:799::-;60978:1;60961:2;:14;;;:18;60957:679;;;61016:2;61000:36;;;61037:12;:10;:12::i;:::-;61051:4;61057:7;61066:4;61000:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;60996:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61331:1;61314:6;:13;:18;61310:300;;61386:2;61364:25;;;;;;;;;;;:::i;:::-;;;;;;;;61310:300;61560:6;61554:13;61545:6;61541:2;61537:15;61530:38;60996:629;61129:41;;;61119:51;;;:6;:51;;;;61115:132;;61224:2;61202:25;;;;;;;;;;;:::i;:::-;;;;;;;;61115:132;61072:190;60957:679;60844:799;;;;:::o;65405:101::-;65457:13;65490:8;65483:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65405:101;:::o;49340:117::-;49406:7;49433;:16;49441:7;49433:16;;;;;;;;;;;;;;;;;;;;;49426:23;;49340:117;;;:::o;58589:678::-;58751:9;:31;;;;58780:1;58764:18;;:4;:18;;;;58751:31;58747:471;;;58799:13;58815:22;58829:7;58815:13;:22::i;:::-;58799:38;;58984:1;58968:18;;:4;:18;;;;:35;;;;;58999:4;58990:13;;:5;:13;;;;58968:35;:69;;;;;59008:29;59025:5;59032:4;59008:16;:29::i;:::-;59007:30;58968:69;58964:144;;;59087:4;59065:27;;;;;;;;;;;:::i;:::-;;;;;;;;58964:144;59128:9;59124:83;;;59183:7;59179:2;59163:28;;59172:5;59163:28;;;;;;;;;;;;59124:83;58784:434;58747:471;59257:2;59230:15;:24;59246:7;59230:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;58589:678;;;;:::o;64756:210::-;64899:7;32462:19;:17;:19::i;:::-;64926:32:::1;64940:2;64944:7;64953:4;64926:13;:32::i;:::-;64919:39;;64756:210:::0;;;;;:::o;33225:130::-;33289:8;:6;:8::i;:::-;33284:64;;33321:15;;;;;;;;;;;;;;33284:64;33225:130::o;54727:185::-;54822:18;54828:2;54832:7;54822:5;:18::i;:::-;54851:53;54882:1;54886:2;54890:7;54899:4;54851:22;:53::i;:::-;54727:185;;;:::o;33016:132::-;33082:8;:6;:8::i;:::-;33078:63;;;33114:15;;;;;;;;;;;;;;33078:63;33016:132::o;52540:824::-;52626:7;52646:12;52661:17;52670:7;52661:8;:17::i;:::-;52646:32;;52757:1;52741:18;;:4;:18;;;52737:88;;52776:37;52793:4;52799;52805:7;52776:16;:37::i;:::-;52737:88;52888:1;52872:18;;:4;:18;;;52868:263;;52990:48;53007:1;53011:7;53028:1;53032:5;52990:8;:48::i;:::-;53103:1;53084:9;:15;53094:4;53084:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;52868:263;53161:1;53147:16;;:2;:16;;;53143:111;;53226:1;53209:9;:13;53219:2;53209:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;53143:111;53285:2;53266:7;:16;53274:7;53266:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;53324:7;53320:2;53305:27;;53314:4;53305:27;;;;;;;;;;;;53352:4;53345:11;;;52540:824;;;;;:::o;53700:335::-;53782:1;53768:16;;:2;:16;;;53764:89;;53838:1;53808:33;;;;;;;;;;;:::i;:::-;;;;;;;;53764:89;53863:21;53887:32;53895:2;53899:7;53916:1;53887:7;:32::i;:::-;53863:56;;53959:1;53934:27;;:13;:27;;;53930:98;;54013:1;53985:31;;;;;;;;;;;:::i;:::-;;;;;;;;53930:98;53753:282;53700:335;;:::o;50747:376::-;50860:38;50874:5;50881:7;50890;50860:13;:38::i;:::-;50855:261;;50936:1;50919:19;;:5;:19;;;50915:190;;50989:7;50966:31;;;;;;;;;;;:::i;:::-;;;;;;;;50915:190;51072:7;51081;51045:44;;;;;;;;;;;;:::i;:::-;;;;;;;;50855:261;50747:376;;;:::o;50027:276::-;50130:4;50186:1;50167:21;;:7;:21;;;;:128;;;;;50215:7;50206:16;;:5;:16;;;:52;;;;50226:32;50243:5;50250:7;50226:16;:32::i;:::-;50206:52;:88;;;;50287:7;50262:32;;:21;50275:7;50262:12;:21::i;:::-;:32;;;50206:88;50167:128;50147:148;;50027:276;;;;;:::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:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:619::-;4967:6;4975;4983;5032:2;5020:9;5011:7;5007:23;5003:32;5000:119;;;5038:79;;:::i;:::-;5000:119;5158:1;5183:53;5228:7;5219:6;5208:9;5204:22;5183:53;:::i;:::-;5173:63;;5129:117;5285:2;5311:53;5356:7;5347:6;5336:9;5332:22;5311:53;:::i;:::-;5301:63;;5256:118;5413:2;5439:53;5484:7;5475:6;5464:9;5460:22;5439:53;:::i;:::-;5429:63;;5384:118;4890:619;;;;;:::o;5515:329::-;5574:6;5623:2;5611:9;5602:7;5598:23;5594:32;5591:119;;;5629:79;;:::i;:::-;5591:119;5749:1;5774:53;5819:7;5810:6;5799:9;5795:22;5774:53;:::i;:::-;5764:63;;5720:117;5515:329;;;;:::o;5850:118::-;5937:24;5955:5;5937:24;:::i;:::-;5932:3;5925:37;5850:118;;:::o;5974:222::-;6067:4;6105:2;6094:9;6090:18;6082:26;;6118:71;6186:1;6175:9;6171:17;6162:6;6118:71;:::i;:::-;5974:222;;;;:::o;6202:116::-;6272:21;6287:5;6272:21;:::i;:::-;6265:5;6262:32;6252:60;;6308:1;6305;6298:12;6252:60;6202:116;:::o;6324:133::-;6367:5;6405:6;6392:20;6383:29;;6421:30;6445:5;6421:30;:::i;:::-;6324:133;;;;:::o;6463:468::-;6528:6;6536;6585:2;6573:9;6564:7;6560:23;6556:32;6553:119;;;6591:79;;:::i;:::-;6553:119;6711:1;6736:53;6781:7;6772:6;6761:9;6757:22;6736:53;:::i;:::-;6726:63;;6682:117;6838:2;6864:50;6906:7;6897:6;6886:9;6882:22;6864:50;:::i;:::-;6854:60;;6809:115;6463:468;;;;;:::o;6937:117::-;7046:1;7043;7036:12;7060:117;7169:1;7166;7159:12;7183:180;7231:77;7228:1;7221:88;7328:4;7325:1;7318:15;7352:4;7349:1;7342:15;7369:281;7452:27;7474:4;7452:27;:::i;:::-;7444:6;7440:40;7582:6;7570:10;7567:22;7546:18;7534:10;7531:34;7528:62;7525:88;;;7593:18;;:::i;:::-;7525:88;7633:10;7629:2;7622:22;7412:238;7369:281;;:::o;7656:129::-;7690:6;7717:20;;:::i;:::-;7707:30;;7746:33;7774:4;7766:6;7746:33;:::i;:::-;7656:129;;;:::o;7791:307::-;7852:4;7942:18;7934:6;7931:30;7928:56;;;7964:18;;:::i;:::-;7928:56;8002:29;8024:6;8002:29;:::i;:::-;7994:37;;8086:4;8080;8076:15;8068:23;;7791:307;;;:::o;8104:146::-;8201:6;8196:3;8191;8178:30;8242:1;8233:6;8228:3;8224:16;8217:27;8104:146;;;:::o;8256:423::-;8333:5;8358:65;8374:48;8415:6;8374:48;:::i;:::-;8358:65;:::i;:::-;8349:74;;8446:6;8439:5;8432:21;8484:4;8477:5;8473:16;8522:3;8513:6;8508:3;8504:16;8501:25;8498:112;;;8529:79;;:::i;:::-;8498:112;8619:54;8666:6;8661:3;8656;8619:54;:::i;:::-;8339:340;8256:423;;;;;:::o;8698:338::-;8753:5;8802:3;8795:4;8787:6;8783:17;8779:27;8769:122;;8810:79;;:::i;:::-;8769:122;8927:6;8914:20;8952:78;9026:3;9018:6;9011:4;9003:6;8999:17;8952:78;:::i;:::-;8943:87;;8759:277;8698:338;;;;:::o;9042:943::-;9137:6;9145;9153;9161;9210:3;9198:9;9189:7;9185:23;9181:33;9178:120;;;9217:79;;:::i;:::-;9178:120;9337:1;9362:53;9407:7;9398:6;9387:9;9383:22;9362:53;:::i;:::-;9352:63;;9308:117;9464:2;9490:53;9535:7;9526:6;9515:9;9511:22;9490:53;:::i;:::-;9480:63;;9435:118;9592:2;9618:53;9663:7;9654:6;9643:9;9639:22;9618:53;:::i;:::-;9608:63;;9563:118;9748:2;9737:9;9733:18;9720:32;9779:18;9771:6;9768:30;9765:117;;;9801:79;;:::i;:::-;9765:117;9906:62;9960:7;9951:6;9940:9;9936:22;9906:62;:::i;:::-;9896:72;;9691:287;9042:943;;;;;;;:::o;9991:474::-;10059:6;10067;10116:2;10104:9;10095:7;10091:23;10087:32;10084:119;;;10122:79;;:::i;:::-;10084:119;10242:1;10267:53;10312:7;10303:6;10292:9;10288:22;10267:53;:::i;:::-;10257:63;;10213:117;10369:2;10395:53;10440:7;10431:6;10420:9;10416:22;10395:53;:::i;:::-;10385:63;;10340:118;9991:474;;;;;:::o;10471:180::-;10519:77;10516:1;10509:88;10616:4;10613:1;10606:15;10640:4;10637:1;10630:15;10657:320;10701:6;10738:1;10732:4;10728:12;10718:22;;10785:1;10779:4;10775:12;10806:18;10796:81;;10862:4;10854:6;10850:17;10840:27;;10796:81;10924:2;10916:6;10913:14;10893:18;10890:38;10887:84;;10943:18;;:::i;:::-;10887:84;10708:269;10657:320;;;:::o;10983:442::-;11132:4;11170:2;11159:9;11155:18;11147:26;;11183:71;11251:1;11240:9;11236:17;11227:6;11183:71;:::i;:::-;11264:72;11332:2;11321:9;11317:18;11308:6;11264:72;:::i;:::-;11346;11414:2;11403:9;11399:18;11390:6;11346:72;:::i;:::-;10983:442;;;;;;:::o;11431:180::-;11479:77;11476:1;11469:88;11576:4;11573:1;11566:15;11600:4;11597:1;11590:15;11617:233;11656:3;11679:24;11697:5;11679:24;:::i;:::-;11670:33;;11725:66;11718:5;11715:77;11712:103;;11795:18;;:::i;:::-;11712:103;11842:1;11835:5;11831:13;11824:20;;11617:233;;;:::o;11856:98::-;11907:6;11941:5;11935:12;11925:22;;11856:98;;;:::o;11960:168::-;12043:11;12077:6;12072:3;12065:19;12117:4;12112:3;12108:14;12093:29;;11960:168;;;;:::o;12134:373::-;12220:3;12248:38;12280:5;12248:38;:::i;:::-;12302:70;12365:6;12360:3;12302:70;:::i;:::-;12295:77;;12381:65;12439:6;12434:3;12427:4;12420:5;12416:16;12381:65;:::i;:::-;12471:29;12493:6;12471:29;:::i;:::-;12466:3;12462:39;12455:46;;12224:283;12134:373;;;;:::o;12513:640::-;12708:4;12746:3;12735:9;12731:19;12723:27;;12760:71;12828:1;12817:9;12813:17;12804:6;12760:71;:::i;:::-;12841:72;12909:2;12898:9;12894:18;12885:6;12841:72;:::i;:::-;12923;12991:2;12980:9;12976:18;12967:6;12923:72;:::i;:::-;13042:9;13036:4;13032:20;13027:2;13016:9;13012:18;13005:48;13070:76;13141:4;13132:6;13070:76;:::i;:::-;13062:84;;12513:640;;;;;;;:::o;13159:141::-;13215:5;13246:6;13240:13;13231:22;;13262:32;13288:5;13262:32;:::i;:::-;13159:141;;;;:::o;13306:349::-;13375:6;13424:2;13412:9;13403:7;13399:23;13395:32;13392:119;;;13430:79;;:::i;:::-;13392:119;13550:1;13575:63;13630:7;13621:6;13610:9;13606:22;13575:63;:::i;:::-;13565:73;;13521:127;13306:349;;;;:::o;13661:332::-;13782:4;13820:2;13809:9;13805:18;13797:26;;13833:71;13901:1;13890:9;13886:17;13877:6;13833:71;:::i;:::-;13914:72;13982:2;13971:9;13967:18;13958:6;13914:72;:::i;:::-;13661:332;;;;;:::o
Swarm Source
ipfs://53ebffd83eac8185b81b1fa9114007282ea73d6ad3b73e5ba814759be57f677a
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
Multichain Portfolio | 35 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.