Overview
ETH Balance
0.0006 ETH
Eth Value
$2.01 (@ $3,349.37/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,334 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 18971735 | 354 days ago | IN | 0 ETH | 0.00077448 | ||||
Set Approval For... | 18641170 | 401 days ago | IN | 0 ETH | 0.00129656 | ||||
Set Approval For... | 18533003 | 416 days ago | IN | 0 ETH | 0.00145452 | ||||
Mint | 18453910 | 427 days ago | IN | 0.0003 ETH | 0.0009505 | ||||
Mint | 18448559 | 428 days ago | IN | 0.0003 ETH | 0.00154849 | ||||
Set Approval For... | 18432740 | 430 days ago | IN | 0 ETH | 0.00062882 | ||||
Withdraw | 18418682 | 432 days ago | IN | 0 ETH | 0.00043565 | ||||
Mint | 18413290 | 433 days ago | IN | 0.0015 ETH | 0.00305884 | ||||
Mint | 18413045 | 433 days ago | IN | 0.0015 ETH | 0.00153916 | ||||
Mint | 18411416 | 433 days ago | IN | 0.0003 ETH | 0.00085753 | ||||
Mint | 18411282 | 433 days ago | IN | 0.003 ETH | 0.00115416 | ||||
Mint | 18411281 | 433 days ago | IN | 0.003 ETH | 0.00115207 | ||||
Mint | 18411100 | 433 days ago | IN | 0.0015 ETH | 0.00097781 | ||||
Mint | 18410810 | 433 days ago | IN | 0.0015 ETH | 0.00071322 | ||||
Mint | 18410798 | 433 days ago | IN | 0.0015 ETH | 0.00097763 | ||||
Mint | 18410737 | 433 days ago | IN | 0.0015 ETH | 0.00063429 | ||||
Mint | 18410733 | 433 days ago | IN | 0.0015 ETH | 0.00066525 | ||||
Mint | 18410730 | 433 days ago | IN | 0.0015 ETH | 0.0010973 | ||||
Set Approval For... | 18410030 | 433 days ago | IN | 0 ETH | 0.00052396 | ||||
Set Approval For... | 18409170 | 433 days ago | IN | 0 ETH | 0.00037289 | ||||
Mint | 18409150 | 433 days ago | IN | 0.0003 ETH | 0.00099142 | ||||
Mint | 18409148 | 433 days ago | IN | 0.0003 ETH | 0.00091232 | ||||
Mint | 18409105 | 433 days ago | IN | 0.003 ETH | 0.00121385 | ||||
Mint | 18409098 | 433 days ago | IN | 0.0003 ETH | 0.00099492 | ||||
Mint | 18409020 | 433 days ago | IN | 0.0015 ETH | 0.00113809 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18418682 | 432 days ago | 0.6516 ETH |
Loading...
Loading
Contract Name:
DEGENMENU
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-22 */ // File: @openzeppelin\contracts\security\ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin\contracts\utils\Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin\contracts\access\Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin\contracts\utils\math\Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` //  `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` //  `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin\contracts\utils\Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: node_modules\erc721a\contracts\IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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`, * 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 be 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * 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 payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a\contracts\ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts\contract.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract DEGENMENU is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public maxSupply = 3333; uint256 public maxFreeSupply = 3333; uint256 public cost = 0.0003 ether; uint256 public notPayableAmount = 4; uint256 public maxPerWallet = 25; bool public isRevealed = false; bool public pause = true; string private baseURL = ""; string public hiddenMetadataUrl = ""; mapping(address => uint256) public userBalance; constructor( string memory _baseMetadataUrl ) ERC721A("DEGEN MENU", "degenmenu") { setBaseUri(_baseMetadataUrl); } function _baseURI() internal view override returns (string memory) { return baseURL; } function setBaseUri(string memory _baseURL) public onlyOwner { baseURL = _baseURL; } function mint(uint256 mintAmount) external payable { require(!pause, "The sale is paused"); if(userBalance[msg.sender] >= notPayableAmount) require(msg.value >= cost * mintAmount, "Insufficient funds"); else{ if(totalSupply() + mintAmount <= maxFreeSupply){ if(mintAmount > (notPayableAmount - userBalance[msg.sender])) require(msg.value >= cost * (mintAmount - (notPayableAmount - userBalance[msg.sender])), "Insufficient funds"); } else require(msg.value >= cost * mintAmount, "Insufficient funds"); } require(_totalMinted() + mintAmount <= maxSupply,"Exceeds max supply"); require(userBalance[msg.sender] + mintAmount <= maxPerWallet, "Exceeds max per wallet"); _safeMint(msg.sender, mintAmount); userBalance[msg.sender] = userBalance[msg.sender] + mintAmount; } function airdrop(address to, uint256 mintAmount) external onlyOwner { require( _totalMinted() + mintAmount <= maxSupply, "Exceeds max supply" ); _safeMint(to, mintAmount); } function sethiddenMetadataUrl(string memory _hiddenMetadataUrl) public onlyOwner { hiddenMetadataUrl = _hiddenMetadataUrl; } function reveal(bool _state) external onlyOwner { isRevealed = _state; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setMaxSupply(uint256 newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function setMaxFreeSupply(uint256 newMaxFreeSupply) external onlyOwner { maxFreeSupply = newMaxFreeSupply; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "That token doesn't exist"); if(isRevealed == false) { return hiddenMetadataUrl; } else return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")) : ""; } function setCost(uint256 _newCost) public onlyOwner{ cost = _newCost; } function setPause(bool _state) public onlyOwner{ pause = _state; } function setNotPayableAmount(uint256 _newAmt) public onlyOwner{ require(_newAmt < maxPerWallet, "Not possible"); notPayableAmount = _newAmt; } function setMaxPerWallet(uint256 _newAmt) public onlyOwner{ require(_newAmt > notPayableAmount, "Not possible"); maxPerWallet = _newAmt; } function withdraw() external onlyOwner { (bool success, ) = payable(owner()).call{ value: address(this).balance }(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseMetadataUrl","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":[],"name":"hiddenMetadataUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notPayableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURL","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxFreeSupply","type":"uint256"}],"name":"setMaxFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setNotPayableAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUrl","type":"string"}],"name":"sethiddenMetadataUrl","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610d05600a819055600b55660110d9316ec000600c556004600d556019600e55600f805461ffff191661010017905560a0604052600060809081526010906200004990826200029c565b506040805160208101909152600081526011906200006890826200029c565b503480156200007657600080fd5b506040516200217738038062002177833981016040819052620000999162000368565b6040518060400160405280600a815260200169444547454e204d454e5560b01b81525060405180604001604052806009815260200168646567656e6d656e7560b81b8152508160029081620000ef91906200029c565b506003620000fe82826200029c565b5050600160005550620001113362000128565b600160095562000121816200017a565b506200043d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200018462000196565b60106200019282826200029c565b5050565b6008546001600160a01b03163314620001f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022257607f821691505b6020821081036200024357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029757600081815260208120601f850160051c81016020861015620002725750805b601f850160051c820191505b8181101562000293578281556001016200027e565b5050505b505050565b81516001600160401b03811115620002b857620002b8620001f7565b620002d081620002c984546200020d565b8462000249565b602080601f831160018114620003085760008415620002ef5750858301515b600019600386901b1c1916600185901b17855562000293565b600085815260208120601f198616915b82811015620003395788860151825594840194600190910190840162000318565b5085821015620003585787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083850312156200037c57600080fd5b82516001600160401b03808211156200039457600080fd5b818501915085601f830112620003a957600080fd5b815181811115620003be57620003be620001f7565b604051601f8201601f19908116603f01168101908382118183101715620003e957620003e9620001f7565b8160405282815288868487010111156200040257600080fd5b600093505b8284101562000426578484018601518185018701529285019262000407565b600086848301015280965050505050505092915050565b611d2a806200044d6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461066b57600080fd5b8063a22cb4651461056c578063abfc4efa1461058c578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104e6578063940cd05b1461050457806395d89b4114610524578063a0712d6814610539578063a0bcfc7f1461054c57600080fd5b806370a0823114610472578063715018a6146104925780638456cb59146104a75780638ba4cc3c146104c657600080fd5b80633ccfd60b116101b1578063475133341161017557806347513334146103e257806354214f69146103f85780635b28fd91146104125780636352211e146104325780636f8b44b01461045257600080fd5b80633ccfd60b146103645780633d6d652a1461037957806342842e0e1461039957806344a0d68a146103ac578063453c2310146103cc57600080fd5b8063095ea7b3116101f8578063095ea7b3146102f457806313faede6146103095780631638fef01461031f57806318160ddd1461033457806323b872dd1461035157600080fd5b80630103c92b1461022a57806301ffc9a71461026a57806306fdde031461029a578063081812fc146102bc575b600080fd5b34801561023657600080fd5b506102576102453660046117bf565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046117f0565b61068b565b6040519015158152602001610261565b3480156102a657600080fd5b506102af6106dd565b604051610261919061185d565b3480156102c857600080fd5b506102dc6102d7366004611870565b61076f565b6040516001600160a01b039091168152602001610261565b610307610302366004611889565b6107b3565b005b34801561031557600080fd5b50610257600c5481565b34801561032b57600080fd5b506102af610853565b34801561034057600080fd5b506001546000540360001901610257565b61030761035f3660046118b3565b6108e1565b34801561037057600080fd5b50610307610a7a565b34801561038557600080fd5b50610307610394366004611870565b610af6565b6103076103a73660046118b3565b610b48565b3480156103b857600080fd5b506103076103c7366004611870565b610b68565b3480156103d857600080fd5b50610257600e5481565b3480156103ee57600080fd5b50610257600b5481565b34801561040457600080fd5b50600f5461028a9060ff1681565b34801561041e57600080fd5b5061030761042d366004611870565b610b75565b34801561043e57600080fd5b506102dc61044d366004611870565b610b82565b34801561045e57600080fd5b5061030761046d366004611870565b610b8d565b34801561047e57600080fd5b5061025761048d3660046117bf565b610b9a565b34801561049e57600080fd5b50610307610be9565b3480156104b357600080fd5b50600f5461028a90610100900460ff1681565b3480156104d257600080fd5b506103076104e1366004611889565b610bfd565b3480156104f257600080fd5b506008546001600160a01b03166102dc565b34801561051057600080fd5b5061030761051f3660046118ff565b610c71565b34801561053057600080fd5b506102af610c8c565b610307610547366004611870565b610c9b565b34801561055857600080fd5b506103076105673660046119a6565b610f1c565b34801561057857600080fd5b506103076105873660046119ef565b610f30565b34801561059857600080fd5b50610257600d5481565b6103076105b0366004611a22565b610f9c565b3480156105c157600080fd5b506103076105d03660046118ff565b610fe6565b3480156105e157600080fd5b506102af6105f0366004611870565b611008565b34801561060157600080fd5b506103076106103660046119a6565b611161565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b50610307610646366004611870565b611175565b34801561065757600080fd5b5061028a610666366004611a9e565b6111c2565b34801561067757600080fd5b506103076106863660046117bf565b6111f0565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611ac8565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611266565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b82565b9050336001600160a01b038216146107f7576107da81336111c2565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6011805461086090611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90611ac8565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b505050505081565b60006108ec8261129b565b9050836001600160a01b0316816001600160a01b03161461091f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761096c5761094f86336111c2565b61096c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099357604051633a954ecd60e21b815260040160405180910390fd5b801561099e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a3057600184016000818152600460205260408120549003610a2e576000548114610a2e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a82611311565b6000610a966008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae0576040519150601f19603f3d011682016040523d82523d6000602084013e610ae5565b606091505b5050905080610af357600080fd5b50565b610afe611311565b600e548110610b435760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b60448201526064015b60405180910390fd5b600d55565b610b6383838360405180602001604052806000815250610f9c565b505050565b610b70611311565b600c55565b610b7d611311565b600b55565b60006106d78261129b565b610b95611311565b600a55565b60006001600160a01b038216610bc3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bf1611311565b610bfb600061136b565b565b610c05611311565b600a5481610c166000546000190190565b610c209190611b18565b1115610c635760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b3a565b610c6d82826113bd565b5050565b610c79611311565b600f805460ff1916911515919091179055565b6060600380546106ec90611ac8565b600f54610100900460ff1615610ce85760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610b3a565b600d543360009081526012602052604090205410610d575780600c54610d0e9190611b2b565b341015610d525760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b3a565b610e21565b600b546001546000548391900360001901610d729190611b18565b11610dcf5733600090815260126020526040902054600d54610d949190611b42565b811115610d525733600090815260126020526040902054600d54610db89190611b42565b610dc29082611b42565b600c54610d0e9190611b2b565b80600c54610ddd9190611b2b565b341015610e215760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b3a565b600a5481610e326000546000190190565b610e3c9190611b18565b1115610e7f5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b3a565b600e5433600090815260126020526040902054610e9d908390611b18565b1115610ee45760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610b3a565b610eee33826113bd565b33600090815260126020526040902054610f09908290611b18565b3360009081526012602052604090205550565b610f24611311565b6010610c6d8282611b9b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fa78484846108e1565b6001600160a01b0383163b15610fe057610fc3848484846113d7565b610fe0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fee611311565b600f80549115156101000261ff0019909216919091179055565b606061101382611266565b61105f5760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610b3a565b600f5460ff161515600003611100576011805461107b90611ac8565b80601f01602080910402602001604051908101604052809291908181526020018280546110a790611ac8565b80156110f45780601f106110c9576101008083540402835291602001916110f4565b820191906000526020600020905b8154815290600101906020018083116110d757829003601f168201915b50505050509050919050565b600061110a6114c3565b511161112557604051806020016040528060008152506106d7565b61112d6114c3565b611136836114d2565b604051602001611147929190611c5b565b60405160208183030381529060405292915050565b919050565b611169611311565b6011610c6d8282611b9b565b61117d611311565b600d5481116111bd5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610b3a565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111f8611311565b6001600160a01b03811661125d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b3a565b610af38161136b565b60008160011115801561127a575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b600081806001116112f8576000548110156112f85760008181526004602052604081205490600160e01b821690036112f6575b806000036112ef5750600019016000818152600460205260409020546112ce565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bfb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c6d828260405180602001604052806000815250611565565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061140c903390899088908890600401611c9a565b6020604051808303816000875af1925050508015611447575060408051601f3d908101601f1916820190925261144491810190611cd7565b60015b6114a5573d808015611475576040519150601f19603f3d011682016040523d82523d6000602084013e61147a565b606091505b50805160000361149d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ec90611ac8565b606060006114df836115d2565b600101905060008167ffffffffffffffff8111156114ff576114ff61191a565b6040519080825280601f01601f191660200182016040528015611529576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461153357509392505050565b61156f83836116aa565b6001600160a01b0383163b15610b63576000548281035b61159960008683806001019450866113d7565b6115b6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115865781600054146115cb57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116115772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061163d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061165b57662386f26fc10000830492506010015b6305f5e1008310611673576305f5e100830492506008015b612710831061168757612710830492506004015b60648310611699576064830492506002015b600a83106106d75760010192915050565b60008054908290036116cf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461177e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611746565b508160000361179f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461115c57600080fd5b6000602082840312156117d157600080fd5b6112ef826117a8565b6001600160e01b031981168114610af357600080fd5b60006020828403121561180257600080fd5b81356112ef816117da565b60005b83811015611828578181015183820152602001611810565b50506000910152565b6000815180845261184981602086016020860161180d565b601f01601f19169290920160200192915050565b6020815260006112ef6020830184611831565b60006020828403121561188257600080fd5b5035919050565b6000806040838503121561189c57600080fd5b6118a5836117a8565b946020939093013593505050565b6000806000606084860312156118c857600080fd5b6118d1846117a8565b92506118df602085016117a8565b9150604084013590509250925092565b8035801515811461115c57600080fd5b60006020828403121561191157600080fd5b6112ef826118ef565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561194b5761194b61191a565b604051601f8501601f19908116603f011681019082821181831017156119735761197361191a565b8160405280935085815286868601111561198c57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119b857600080fd5b813567ffffffffffffffff8111156119cf57600080fd5b8201601f810184136119e057600080fd5b6114bb84823560208401611930565b60008060408385031215611a0257600080fd5b611a0b836117a8565b9150611a19602084016118ef565b90509250929050565b60008060008060808587031215611a3857600080fd5b611a41856117a8565b9350611a4f602086016117a8565b925060408501359150606085013567ffffffffffffffff811115611a7257600080fd5b8501601f81018713611a8357600080fd5b611a9287823560208401611930565b91505092959194509250565b60008060408385031215611ab157600080fd5b611aba836117a8565b9150611a19602084016117a8565b600181811c90821680611adc57607f821691505b602082108103611afc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106d7576106d7611b02565b80820281158282048414176106d7576106d7611b02565b818103818111156106d7576106d7611b02565b601f821115610b6357600081815260208120601f850160051c81016020861015611b7c5750805b601f850160051c820191505b81811015610a7257828155600101611b88565b815167ffffffffffffffff811115611bb557611bb561191a565b611bc981611bc38454611ac8565b84611b55565b602080601f831160018114611bfe5760008415611be65750858301515b600019600386901b1c1916600185901b178555610a72565b600085815260208120601f198616915b82811015611c2d57888601518255948401946001909101908401611c0e565b5085821015611c4b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c6d81846020880161180d565b835190830190611c8181836020880161180d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ccd90830184611831565b9695505050505050565b600060208284031215611ce957600080fd5b81516112ef816117da56fea26469706673582212202ff248b54dccc997a89ec90bb1e14486443a06f82d74865e8f584e1822c75d4164736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6354437776365079547954504c707439666f4d357741557a42694e5a6d507a564863784d314265616f77454d2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461066b57600080fd5b8063a22cb4651461056c578063abfc4efa1461058c578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104e6578063940cd05b1461050457806395d89b4114610524578063a0712d6814610539578063a0bcfc7f1461054c57600080fd5b806370a0823114610472578063715018a6146104925780638456cb59146104a75780638ba4cc3c146104c657600080fd5b80633ccfd60b116101b1578063475133341161017557806347513334146103e257806354214f69146103f85780635b28fd91146104125780636352211e146104325780636f8b44b01461045257600080fd5b80633ccfd60b146103645780633d6d652a1461037957806342842e0e1461039957806344a0d68a146103ac578063453c2310146103cc57600080fd5b8063095ea7b3116101f8578063095ea7b3146102f457806313faede6146103095780631638fef01461031f57806318160ddd1461033457806323b872dd1461035157600080fd5b80630103c92b1461022a57806301ffc9a71461026a57806306fdde031461029a578063081812fc146102bc575b600080fd5b34801561023657600080fd5b506102576102453660046117bf565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046117f0565b61068b565b6040519015158152602001610261565b3480156102a657600080fd5b506102af6106dd565b604051610261919061185d565b3480156102c857600080fd5b506102dc6102d7366004611870565b61076f565b6040516001600160a01b039091168152602001610261565b610307610302366004611889565b6107b3565b005b34801561031557600080fd5b50610257600c5481565b34801561032b57600080fd5b506102af610853565b34801561034057600080fd5b506001546000540360001901610257565b61030761035f3660046118b3565b6108e1565b34801561037057600080fd5b50610307610a7a565b34801561038557600080fd5b50610307610394366004611870565b610af6565b6103076103a73660046118b3565b610b48565b3480156103b857600080fd5b506103076103c7366004611870565b610b68565b3480156103d857600080fd5b50610257600e5481565b3480156103ee57600080fd5b50610257600b5481565b34801561040457600080fd5b50600f5461028a9060ff1681565b34801561041e57600080fd5b5061030761042d366004611870565b610b75565b34801561043e57600080fd5b506102dc61044d366004611870565b610b82565b34801561045e57600080fd5b5061030761046d366004611870565b610b8d565b34801561047e57600080fd5b5061025761048d3660046117bf565b610b9a565b34801561049e57600080fd5b50610307610be9565b3480156104b357600080fd5b50600f5461028a90610100900460ff1681565b3480156104d257600080fd5b506103076104e1366004611889565b610bfd565b3480156104f257600080fd5b506008546001600160a01b03166102dc565b34801561051057600080fd5b5061030761051f3660046118ff565b610c71565b34801561053057600080fd5b506102af610c8c565b610307610547366004611870565b610c9b565b34801561055857600080fd5b506103076105673660046119a6565b610f1c565b34801561057857600080fd5b506103076105873660046119ef565b610f30565b34801561059857600080fd5b50610257600d5481565b6103076105b0366004611a22565b610f9c565b3480156105c157600080fd5b506103076105d03660046118ff565b610fe6565b3480156105e157600080fd5b506102af6105f0366004611870565b611008565b34801561060157600080fd5b506103076106103660046119a6565b611161565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b50610307610646366004611870565b611175565b34801561065757600080fd5b5061028a610666366004611a9e565b6111c2565b34801561067757600080fd5b506103076106863660046117bf565b6111f0565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611ac8565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611266565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b82565b9050336001600160a01b038216146107f7576107da81336111c2565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6011805461086090611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90611ac8565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b505050505081565b60006108ec8261129b565b9050836001600160a01b0316816001600160a01b03161461091f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761096c5761094f86336111c2565b61096c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099357604051633a954ecd60e21b815260040160405180910390fd5b801561099e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a3057600184016000818152600460205260408120549003610a2e576000548114610a2e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a82611311565b6000610a966008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae0576040519150601f19603f3d011682016040523d82523d6000602084013e610ae5565b606091505b5050905080610af357600080fd5b50565b610afe611311565b600e548110610b435760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b60448201526064015b60405180910390fd5b600d55565b610b6383838360405180602001604052806000815250610f9c565b505050565b610b70611311565b600c55565b610b7d611311565b600b55565b60006106d78261129b565b610b95611311565b600a55565b60006001600160a01b038216610bc3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bf1611311565b610bfb600061136b565b565b610c05611311565b600a5481610c166000546000190190565b610c209190611b18565b1115610c635760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b3a565b610c6d82826113bd565b5050565b610c79611311565b600f805460ff1916911515919091179055565b6060600380546106ec90611ac8565b600f54610100900460ff1615610ce85760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610b3a565b600d543360009081526012602052604090205410610d575780600c54610d0e9190611b2b565b341015610d525760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b3a565b610e21565b600b546001546000548391900360001901610d729190611b18565b11610dcf5733600090815260126020526040902054600d54610d949190611b42565b811115610d525733600090815260126020526040902054600d54610db89190611b42565b610dc29082611b42565b600c54610d0e9190611b2b565b80600c54610ddd9190611b2b565b341015610e215760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b3a565b600a5481610e326000546000190190565b610e3c9190611b18565b1115610e7f5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b3a565b600e5433600090815260126020526040902054610e9d908390611b18565b1115610ee45760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610b3a565b610eee33826113bd565b33600090815260126020526040902054610f09908290611b18565b3360009081526012602052604090205550565b610f24611311565b6010610c6d8282611b9b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fa78484846108e1565b6001600160a01b0383163b15610fe057610fc3848484846113d7565b610fe0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fee611311565b600f80549115156101000261ff0019909216919091179055565b606061101382611266565b61105f5760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610b3a565b600f5460ff161515600003611100576011805461107b90611ac8565b80601f01602080910402602001604051908101604052809291908181526020018280546110a790611ac8565b80156110f45780601f106110c9576101008083540402835291602001916110f4565b820191906000526020600020905b8154815290600101906020018083116110d757829003601f168201915b50505050509050919050565b600061110a6114c3565b511161112557604051806020016040528060008152506106d7565b61112d6114c3565b611136836114d2565b604051602001611147929190611c5b565b60405160208183030381529060405292915050565b919050565b611169611311565b6011610c6d8282611b9b565b61117d611311565b600d5481116111bd5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610b3a565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111f8611311565b6001600160a01b03811661125d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b3a565b610af38161136b565b60008160011115801561127a575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b600081806001116112f8576000548110156112f85760008181526004602052604081205490600160e01b821690036112f6575b806000036112ef5750600019016000818152600460205260409020546112ce565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bfb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c6d828260405180602001604052806000815250611565565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061140c903390899088908890600401611c9a565b6020604051808303816000875af1925050508015611447575060408051601f3d908101601f1916820190925261144491810190611cd7565b60015b6114a5573d808015611475576040519150601f19603f3d011682016040523d82523d6000602084013e61147a565b606091505b50805160000361149d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ec90611ac8565b606060006114df836115d2565b600101905060008167ffffffffffffffff8111156114ff576114ff61191a565b6040519080825280601f01601f191660200182016040528015611529576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461153357509392505050565b61156f83836116aa565b6001600160a01b0383163b15610b63576000548281035b61159960008683806001019450866113d7565b6115b6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115865781600054146115cb57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116115772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061163d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061165b57662386f26fc10000830492506010015b6305f5e1008310611673576305f5e100830492506008015b612710831061168757612710830492506004015b60648310611699576064830492506002015b600a83106106d75760010192915050565b60008054908290036116cf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461177e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611746565b508160000361179f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461115c57600080fd5b6000602082840312156117d157600080fd5b6112ef826117a8565b6001600160e01b031981168114610af357600080fd5b60006020828403121561180257600080fd5b81356112ef816117da565b60005b83811015611828578181015183820152602001611810565b50506000910152565b6000815180845261184981602086016020860161180d565b601f01601f19169290920160200192915050565b6020815260006112ef6020830184611831565b60006020828403121561188257600080fd5b5035919050565b6000806040838503121561189c57600080fd5b6118a5836117a8565b946020939093013593505050565b6000806000606084860312156118c857600080fd5b6118d1846117a8565b92506118df602085016117a8565b9150604084013590509250925092565b8035801515811461115c57600080fd5b60006020828403121561191157600080fd5b6112ef826118ef565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561194b5761194b61191a565b604051601f8501601f19908116603f011681019082821181831017156119735761197361191a565b8160405280935085815286868601111561198c57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119b857600080fd5b813567ffffffffffffffff8111156119cf57600080fd5b8201601f810184136119e057600080fd5b6114bb84823560208401611930565b60008060408385031215611a0257600080fd5b611a0b836117a8565b9150611a19602084016118ef565b90509250929050565b60008060008060808587031215611a3857600080fd5b611a41856117a8565b9350611a4f602086016117a8565b925060408501359150606085013567ffffffffffffffff811115611a7257600080fd5b8501601f81018713611a8357600080fd5b611a9287823560208401611930565b91505092959194509250565b60008060408385031215611ab157600080fd5b611aba836117a8565b9150611a19602084016117a8565b600181811c90821680611adc57607f821691505b602082108103611afc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106d7576106d7611b02565b80820281158282048414176106d7576106d7611b02565b818103818111156106d7576106d7611b02565b601f821115610b6357600081815260208120601f850160051c81016020861015611b7c5750805b601f850160051c820191505b81811015610a7257828155600101611b88565b815167ffffffffffffffff811115611bb557611bb561191a565b611bc981611bc38454611ac8565b84611b55565b602080601f831160018114611bfe5760008415611be65750858301515b600019600386901b1c1916600185901b178555610a72565b600085815260208120601f198616915b82811015611c2d57888601518255948401946001909101908401611c0e565b5085821015611c4b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c6d81846020880161180d565b835190830190611c8181836020880161180d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ccd90830184611831565b9695505050505050565b600060208284031215611ce957600080fd5b81516112ef816117da56fea26469706673582212202ff248b54dccc997a89ec90bb1e14486443a06f82d74865e8f584e1822c75d4164736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6354437776365079547954504c707439666f4d357741557a42694e5a6d507a564863784d314265616f77454d2f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseMetadataUrl (string): ipfs://QmcTCwv6PyTyTPLpt9foM5wAUzBiNZmPzVHcxM1BeaowEM/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d6354437776365079547954504c707439666f4d35774155
Arg [3] : 7a42694e5a6d507a564863784d314265616f77454d2f00000000000000000000
Deployed Bytecode Sourcemap
73267:3577:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73709:46;;;;;;;;;;-1:-1:-1;73709:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;529:25:1;;;517:2;502:18;73709:46:0;;;;;;;;40141:639;;;;;;;;;;-1:-1:-1;40141:639:0;;;;;:::i;:::-;;:::i;:::-;;;1116:14:1;;1109:22;1091:41;;1079:2;1064:18;40141:639:0;951:187:1;41043:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47534:218::-;;;;;;;;;;-1:-1:-1;47534:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2248:32:1;;;2230:51;;2218:2;2203:18;47534:218:0;2084:203:1;46967:408:0;;;;;;:::i;:::-;;:::i;:::-;;73439:34;;;;;;;;;;;;;;;;73664:36;;;;;;;;;;;;;:::i;36794:323::-;;;;;;;;;;-1:-1:-1;75527:1:0;37068:12;36855:7;37052:13;:28;-1:-1:-1;;37052:46:0;36794:323;;51173:2825;;;;;;:::i;:::-;;:::i;76667:174::-;;;;;;;;;;;;;:::i;76327:165::-;;;;;;;;;;-1:-1:-1;76327:165:0;;;;;:::i;:::-;;:::i;54094:193::-;;;;;;:::i;:::-;;:::i;76167:76::-;;;;;;;;;;-1:-1:-1;76167:76:0;;;;;:::i;:::-;;:::i;73522:32::-;;;;;;;;;;;;;;;;73397:35;;;;;;;;;;;;;;;;73563:30;;;;;;;;;;-1:-1:-1;73563:30:0;;;;;;;;75645:113;;;;;;;;;;-1:-1:-1;75645:113:0;;;;;:::i;:::-;;:::i;42436:152::-;;;;;;;;;;-1:-1:-1;42436:152:0;;;;;:::i;:::-;;:::i;75540:97::-;;;;;;;;;;-1:-1:-1;75540:97:0;;;;;:::i;:::-;;:::i;37978:233::-;;;;;;;;;;-1:-1:-1;37978:233:0;;;;;:::i;:::-;;:::i;5714:103::-;;;;;;;;;;;;;:::i;73597:24::-;;;;;;;;;;-1:-1:-1;73597:24:0;;;;;;;;;;;75003:202;;;;;;;;;;-1:-1:-1;75003:202:0;;;;;:::i;:::-;;:::i;5066:87::-;;;;;;;;;;-1:-1:-1;5139:6:0;;-1:-1:-1;;;;;5139:6:0;5066:87;;75353:80;;;;;;;;;;-1:-1:-1;75353:80:0;;;;;:::i;:::-;;:::i;41219:104::-;;;;;;;;;;;;;:::i;74106:889::-;;;;;;:::i;:::-;;:::i;74006:92::-;;;;;;;;;;-1:-1:-1;74006:92:0;;;;;:::i;:::-;;:::i;48092:234::-;;;;;;;;;;-1:-1:-1;48092:234:0;;;;;:::i;:::-;;:::i;73480:35::-;;;;;;;;;;;;;;;;54885:407;;;;;;:::i;:::-;;:::i;76248:71::-;;;;;;;;;;-1:-1:-1;76248:71:0;;;;;:::i;:::-;;:::i;75763:399::-;;;;;;;;;;-1:-1:-1;75763:399:0;;;;;:::i;:::-;;:::i;75213:132::-;;;;;;;;;;-1:-1:-1;75213:132:0;;;;;:::i;:::-;;:::i;73359:31::-;;;;;;;;;;;;;;;;76500:162;;;;;;;;;;-1:-1:-1;76500:162:0;;;;;:::i;:::-;;:::i;48483:164::-;;;;;;;;;;-1:-1:-1;48483:164:0;;;;;:::i;:::-;;:::i;5972:201::-;;;;;;;;;;-1:-1:-1;5972:201:0;;;;;:::i;:::-;;:::i;40141:639::-;40226:4;-1:-1:-1;;;;;;;;;40550:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40627:25:0;;;40550:102;:179;;;-1:-1:-1;;;;;;;;;;40704:25:0;;;40550:179;40530:199;40141:639;-1:-1:-1;;40141:639:0:o;41043:100::-;41097:13;41130:5;41123:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41043:100;:::o;47534:218::-;47610:7;47635:16;47643:7;47635;:16::i;:::-;47630:64;;47660:34;;-1:-1:-1;;;47660:34:0;;;;;;;;;;;47630:64;-1:-1:-1;47714:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47714:30:0;;47534:218::o;46967:408::-;47056:13;47072:16;47080:7;47072;:16::i;:::-;47056:32;-1:-1:-1;71300:10:0;-1:-1:-1;;;;;47105:28:0;;;47101:175;;47153:44;47170:5;71300:10;48483:164;:::i;47153:44::-;47148:128;;47225:35;;-1:-1:-1;;;47225:35:0;;;;;;;;;;;47148:128;47288:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47288:35:0;-1:-1:-1;;;;;47288:35:0;;;;;;;;;47339:28;;47288:24;;47339:28;;;;;;;47045:330;46967:408;;:::o;73664:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51173:2825::-;51315:27;51345;51364:7;51345:18;:27::i;:::-;51315:57;;51430:4;-1:-1:-1;;;;;51389:45:0;51405:19;-1:-1:-1;;;;;51389:45:0;;51385:86;;51443:28;;-1:-1:-1;;;51443:28:0;;;;;;;;;;;51385:86;51485:27;50281:24;;;:15;:24;;;;;50509:26;;71300:10;49906:30;;;-1:-1:-1;;;;;49599:28:0;;49884:20;;;49881:56;51671:180;;51764:43;51781:4;71300:10;48483:164;:::i;51764:43::-;51759:92;;51816:35;;-1:-1:-1;;;51816:35:0;;;;;;;;;;;51759:92;-1:-1:-1;;;;;51868:16:0;;51864:52;;51893:23;;-1:-1:-1;;;51893:23:0;;;;;;;;;;;51864:52;52065:15;52062:160;;;52205:1;52184:19;52177:30;52062:160;-1:-1:-1;;;;;52602:24:0;;;;;;;:18;:24;;;;;;52600:26;;-1:-1:-1;;52600:26:0;;;52671:22;;;;;;;;;52669:24;;-1:-1:-1;52669:24:0;;;45825:11;45800:23;45796:41;45783:63;-1:-1:-1;;;45783:63:0;52964:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53259:47:0;;:52;;53255:627;;53364:1;53354:11;;53332:19;53487:30;;;:17;:30;;;;;;:35;;53483:384;;53625:13;;53610:11;:28;53606:242;;53772:30;;;;:17;:30;;;;;:52;;;53606:242;53313:569;53255:627;53929:7;53925:2;-1:-1:-1;;;;;53910:27:0;53919:4;-1:-1:-1;;;;;53910:27:0;;;;;;;;;;;53948:42;51304:2694;;;51173:2825;;;:::o;76667:174::-;4952:13;:11;:13::i;:::-;76712:12:::1;76738:7;5139:6:::0;;-1:-1:-1;;;;;5139:6:0;;5066:87;76738:7:::1;-1:-1:-1::0;;;;;76730:21:0::1;76773;76730:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76711:98;;;76828:7;76820:16;;;::::0;::::1;;76706:135;76667:174::o:0;76327:165::-;4952:13;:11;:13::i;:::-;76418:12:::1;;76408:7;:22;76400:47;;;::::0;-1:-1:-1;;;76400:47:0;;6452:2:1;76400:47:0::1;::::0;::::1;6434:21:1::0;6491:2;6471:18;;;6464:30;-1:-1:-1;;;6510:18:1;;;6503:42;6562:18;;76400:47:0::1;;;;;;;;;76458:16;:26:::0;76327:165::o;54094:193::-;54240:39;54257:4;54263:2;54267:7;54240:39;;;;;;;;;;;;:16;:39::i;:::-;54094:193;;;:::o;76167:76::-;4952:13;:11;:13::i;:::-;76223:4:::1;:15:::0;76167:76::o;75645:113::-;4952:13;:11;:13::i;:::-;75721::::1;:32:::0;75645:113::o;42436:152::-;42508:7;42551:27;42570:7;42551:18;:27::i;75540:97::-;4952:13;:11;:13::i;:::-;75608:9:::1;:24:::0;75540:97::o;37978:233::-;38050:7;-1:-1:-1;;;;;38074:19:0;;38070:60;;38102:28;;-1:-1:-1;;;38102:28:0;;;;;;;;;;;38070:60;-1:-1:-1;;;;;;38148:25:0;;;;;:18;:25;;;;;;32137:13;38148:55;;37978:233::o;5714:103::-;4952:13;:11;:13::i;:::-;5779:30:::1;5806:1;5779:18;:30::i;:::-;5714:103::o:0;75003:202::-;4952:13;:11;:13::i;:::-;75120:9:::1;;75106:10;75089:14;37270:7:::0;37461:13;-1:-1:-1;;37461:31:0;;37215:296;75089:14:::1;:27;;;;:::i;:::-;:40;;75076:84;;;::::0;-1:-1:-1;;;75076:84:0;;7055:2:1;75076:84:0::1;::::0;::::1;7037:21:1::0;7094:2;7074:18;;;7067:30;-1:-1:-1;;;7113:18:1;;;7106:48;7171:18;;75076:84:0::1;6853:342:1::0;75076:84:0::1;75165:25;75175:2;75179:10;75165:9;:25::i;:::-;75003:202:::0;;:::o;75353:80::-;4952:13;:11;:13::i;:::-;75409:10:::1;:19:::0;;-1:-1:-1;;75409:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75353:80::o;41219:104::-;41275:13;41308:7;41301:14;;;;;:::i;74106:889::-;74171:5;;;;;;;74170:6;74162:37;;;;-1:-1:-1;;;74162:37:0;;7402:2:1;74162:37:0;;;7384:21:1;7441:2;7421:18;;;7414:30;-1:-1:-1;;;7460:18:1;;;7453:48;7518:18;;74162:37:0;7200:342:1;74162:37:0;74240:16;;74225:10;74213:23;;;;:11;:23;;;;;;:43;74210:485;;74286:10;74279:4;;:17;;;;:::i;:::-;74266:9;:30;;74258:61;;;;-1:-1:-1;;;74258:61:0;;7922:2:1;74258:61:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74258:61:0;7720:342:1;74258:61:0;74210:485;;;74382:13;;75527:1;37068:12;36855:7;37052:13;74368:10;;37052:28;;-1:-1:-1;;37052:46:0;74352:26;;;;:::i;:::-;:43;74349:334;;74463:10;74451:23;;;;:11;:23;;;;;;74432:16;;:42;;74451:23;74432:42;:::i;:::-;74418:10;:57;74415:172;;;74551:10;74539:23;;;;:11;:23;;;;;;74520:16;;:42;;74539:23;74520:42;:::i;:::-;74506:57;;:10;:57;:::i;:::-;74498:4;;:66;;;;:::i;74349:334::-;74650:10;74643:4;;:17;;;;:::i;:::-;74630:9;:30;;74622:61;;;;-1:-1:-1;;;74622:61:0;;7922:2:1;74622:61:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74622:61:0;7720:342:1;74622:61:0;74744:9;;74730:10;74713:14;37270:7;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74713:14;:27;;;;:::i;:::-;:40;;74705:70;;;;-1:-1:-1;;;74705:70:0;;7055:2:1;74705:70:0;;;7037:21:1;7094:2;7074:18;;;7067:30;-1:-1:-1;;;7113:18:1;;;7106:48;7171:18;;74705:70:0;6853:342:1;74705:70:0;74834:12;;74806:10;74794:23;;;;:11;:23;;;;;;:36;;74820:10;;74794:36;:::i;:::-;:52;;74786:87;;;;-1:-1:-1;;;74786:87:0;;8402:2:1;74786:87:0;;;8384:21:1;8441:2;8421:18;;;8414:30;-1:-1:-1;;;8460:18:1;;;8453:52;8522:18;;74786:87:0;8200:346:1;74786:87:0;74884:33;74894:10;74906;74884:9;:33::i;:::-;74966:10;74954:23;;;;:11;:23;;;;;;:36;;74980:10;;74954:36;:::i;:::-;74940:10;74928:23;;;;:11;:23;;;;;:62;-1:-1:-1;74106:889:0:o;74006:92::-;4952:13;:11;:13::i;:::-;74075:7:::1;:18;74085:8:::0;74075:7;:18:::1;:::i;48092:234::-:0;71300:10;48187:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48187:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48187:60:0;;;;;;;;;;48263:55;;1091:41:1;;;48187:49:0;;71300:10;48263:55;;1064:18:1;48263:55:0;;;;;;;48092:234;;:::o;54885:407::-;55060:31;55073:4;55079:2;55083:7;55060:12;:31::i;:::-;-1:-1:-1;;;;;55106:14:0;;;:19;55102:183;;55145:56;55176:4;55182:2;55186:7;55195:5;55145:30;:56::i;:::-;55140:145;;55229:40;;-1:-1:-1;;;55229:40:0;;;;;;;;;;;55140:145;54885:407;;;;:::o;76248:71::-;4952:13;:11;:13::i;:::-;76300:5:::1;:14:::0;;;::::1;;;;-1:-1:-1::0;;76300:14:0;;::::1;::::0;;;::::1;::::0;;76248:71::o;75763:399::-;75840:13;75876:16;75884:7;75876;:16::i;:::-;75868:53;;;;-1:-1:-1;;;75868:53:0;;10957:2:1;75868:53:0;;;10939:21:1;10996:2;10976:18;;;10969:30;11035:26;11015:18;;;11008:54;11079:18;;75868:53:0;10755:348:1;75868:53:0;75935:10;;;;:19;;:10;:19;75932:225;;75978:17;75971:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75763:399;;;:::o;75932:225::-;76056:1;76035:10;:8;:10::i;:::-;76029:24;:28;:128;;;;;;;;;;;;;;;;;76098:10;:8;:10::i;:::-;76110:18;:7;:16;:18::i;:::-;76081:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;76022:135;75763:399;-1:-1:-1;;75763:399:0:o;75932:225::-;75763:399;;;:::o;75213:132::-;4952:13;:11;:13::i;:::-;75302:17:::1;:38;75322:18:::0;75302:17;:38:::1;:::i;76500:162::-:0;4952:13;:11;:13::i;:::-;76588:16:::1;;76578:7;:26;76570:51;;;::::0;-1:-1:-1;;;76570:51:0;;6452:2:1;76570:51:0::1;::::0;::::1;6434:21:1::0;6491:2;6471:18;;;6464:30;-1:-1:-1;;;6510:18:1;;;6503:42;6562:18;;76570:51:0::1;6250:336:1::0;76570:51:0::1;76632:12;:22:::0;76500:162::o;48483:164::-;-1:-1:-1;;;;;48604:25:0;;;48580:4;48604:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48483:164::o;5972:201::-;4952:13;:11;:13::i;:::-;-1:-1:-1;;;;;6061:22:0;::::1;6053:73;;;::::0;-1:-1:-1;;;6053:73:0;;11978:2:1;6053:73:0::1;::::0;::::1;11960:21:1::0;12017:2;11997:18;;;11990:30;12056:34;12036:18;;;12029:62;-1:-1:-1;;;12107:18:1;;;12100:36;12153:19;;6053:73:0::1;11776:402:1::0;6053:73:0::1;6137:28;6156:8;6137:18;:28::i;48905:282::-:0;48970:4;49026:7;75527:1;49007:26;;:66;;;;;49060:13;;49050:7;:23;49007:66;:153;;;;-1:-1:-1;;49111:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;49111:44:0;:49;;48905:282::o;43591:1275::-;43658:7;43693;;75527:1;43742:23;43738:1061;;43795:13;;43788:4;:20;43784:1015;;;43833:14;43850:23;;;:17;:23;;;;;;;-1:-1:-1;;;43939:24:0;;:29;;43935:845;;44604:113;44611:6;44621:1;44611:11;44604:113;;-1:-1:-1;;;44682:6:0;44664:25;;;;:17;:25;;;;;;44604:113;;;44750:6;43591:1275;-1:-1:-1;;;43591:1275:0:o;43935:845::-;43810:989;43784:1015;44827:31;;-1:-1:-1;;;44827:31:0;;;;;;;;;;;5231:132;5139:6;;-1:-1:-1;;;;;5139:6:0;71300:10;5295:23;5287:68;;;;-1:-1:-1;;;5287:68:0;;12385:2:1;5287:68:0;;;12367:21:1;;;12404:18;;;12397:30;12463:34;12443:18;;;12436:62;12515:18;;5287:68:0;12183:356:1;6333:191:0;6426:6;;;-1:-1:-1;;;;;6443:17:0;;;-1:-1:-1;;;;;;6443:17:0;;;;;;;6476:40;;6426:6;;;6443:17;6426:6;;6476:40;;6407:16;;6476:40;6396:128;6333:191;:::o;65045:112::-;65122:27;65132:2;65136:8;65122:27;;;;;;;;;;;;:9;:27::i;57376:716::-;57560:88;;-1:-1:-1;;;57560:88:0;;57539:4;;-1:-1:-1;;;;;57560:45:0;;;;;:88;;71300:10;;57627:4;;57633:7;;57642:5;;57560:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57560:88:0;;;;;;;;-1:-1:-1;;57560:88:0;;;;;;;;;;;;:::i;:::-;;;57556:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57843:6;:13;57860:1;57843:18;57839:235;;57889:40;;-1:-1:-1;;;57889:40:0;;;;;;;;;;;57839:235;58032:6;58026:13;58017:6;58013:2;58009:15;58002:38;57556:529;-1:-1:-1;;;;;;57719:64:0;-1:-1:-1;;;57719:64:0;;-1:-1:-1;57556:529:0;57376:716;;;;;;:::o;73907:91::-;73959:13;73986:7;73979:14;;;;;:::i;19836:716::-;19892:13;19943:14;19960:17;19971:5;19960:10;:17::i;:::-;19980:1;19960:21;19943:38;;19996:20;20030:6;20019:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20019:18:0;-1:-1:-1;19996:41:0;-1:-1:-1;20161:28:0;;;20177:2;20161:28;20218:288;-1:-1:-1;;20250:5:0;-1:-1:-1;;;20387:2:0;20376:14;;20371:30;20250:5;20358:44;20448:2;20439:11;;;-1:-1:-1;20469:21:0;20218:288;20469:21;-1:-1:-1;20527:6:0;19836:716;-1:-1:-1;;;19836:716:0:o;64272:689::-;64403:19;64409:2;64413:8;64403:5;:19::i;:::-;-1:-1:-1;;;;;64464:14:0;;;:19;64460:483;;64504:11;64518:13;64566:14;;;64599:233;64630:62;64669:1;64673:2;64677:7;;;;;;64686:5;64630:30;:62::i;:::-;64625:167;;64728:40;;-1:-1:-1;;;64728:40:0;;;;;;;;;;;64625:167;64827:3;64819:5;:11;64599:233;;64914:3;64897:13;;:20;64893:34;;64919:8;;;64893:34;64485:458;;64272:689;;;:::o;16706:922::-;16759:7;;-1:-1:-1;;;16837:15:0;;16833:102;;-1:-1:-1;;;16873:15:0;;;-1:-1:-1;16917:2:0;16907:12;16833:102;16962:6;16953:5;:15;16949:102;;16998:6;16989:15;;;-1:-1:-1;17033:2:0;17023:12;16949:102;17078:6;17069:5;:15;17065:102;;17114:6;17105:15;;;-1:-1:-1;17149:2:0;17139:12;17065:102;17194:5;17185;:14;17181:99;;17229:5;17220:14;;;-1:-1:-1;17263:1:0;17253:11;17181:99;17307:5;17298;:14;17294:99;;17342:5;17333:14;;;-1:-1:-1;17376:1:0;17366:11;17294:99;17420:5;17411;:14;17407:99;;17455:5;17446:14;;;-1:-1:-1;17489:1:0;17479:11;17407:99;17533:5;17524;:14;17520:66;;17569:1;17559:11;17614:6;16706:922;-1:-1:-1;;16706:922:0:o;58554:2966::-;58627:20;58650:13;;;58678;;;58674:44;;58700:18;;-1:-1:-1;;;58700:18:0;;;;;;;;;;;58674:44;-1:-1:-1;;;;;59206:22:0;;;;;;:18;:22;;;;32275:2;59206:22;;;:71;;59244:32;59232:45;;59206:71;;;59520:31;;;:17;:31;;;;;-1:-1:-1;46256:15:0;;46230:24;46226:46;45825:11;45800:23;45796:41;45793:52;45783:63;;59520:173;;59755:23;;;;59520:31;;59206:22;;60520:25;59206:22;;60373:335;61034:1;61020:12;61016:20;60974:346;61075:3;61066:7;61063:16;60974:346;;61293:7;61283:8;61280:1;61253:25;61250:1;61247;61242:59;61128:1;61115:15;60974:346;;;60978:77;61353:8;61365:1;61353:13;61349:45;;61375:19;;-1:-1:-1;;;61375:19:0;;;;;;;;;;;61349:45;61411:13;:19;-1:-1:-1;54094:193:0;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;565:131::-;-1:-1:-1;;;;;;639:32:1;;629:43;;619:71;;686:1;683;676:12;701:245;759:6;812:2;800:9;791:7;787:23;783:32;780:52;;;828:1;825;818:12;780:52;867:9;854:23;886:30;910:5;886:30;:::i;1143:250::-;1228:1;1238:113;1252:6;1249:1;1246:13;1238:113;;;1328:11;;;1322:18;1309:11;;;1302:39;1274:2;1267:10;1238:113;;;-1:-1:-1;;1385:1:1;1367:16;;1360:27;1143:250::o;1398:271::-;1440:3;1478:5;1472:12;1505:6;1500:3;1493:19;1521:76;1590:6;1583:4;1578:3;1574:14;1567:4;1560:5;1556:16;1521:76;:::i;:::-;1651:2;1630:15;-1:-1:-1;;1626:29:1;1617:39;;;;1658:4;1613:50;;1398:271;-1:-1:-1;;1398:271:1:o;1674:220::-;1823:2;1812:9;1805:21;1786:4;1843:45;1884:2;1873:9;1869:18;1861:6;1843:45;:::i;1899:180::-;1958:6;2011:2;1999:9;1990:7;1986:23;1982:32;1979:52;;;2027:1;2024;2017:12;1979:52;-1:-1:-1;2050:23:1;;1899:180;-1:-1:-1;1899:180:1:o;2292:254::-;2360:6;2368;2421:2;2409:9;2400:7;2396:23;2392:32;2389:52;;;2437:1;2434;2427:12;2389:52;2460:29;2479:9;2460:29;:::i;:::-;2450:39;2536:2;2521:18;;;;2508:32;;-1:-1:-1;;;2292:254:1:o;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:160::-;2949:20;;3005:13;;2998:21;2988:32;;2978:60;;3034:1;3031;3024:12;3049:180;3105:6;3158:2;3146:9;3137:7;3133:23;3129:32;3126:52;;;3174:1;3171;3164:12;3126:52;3197:26;3213:9;3197:26;:::i;3234:127::-;3295:10;3290:3;3286:20;3283:1;3276:31;3326:4;3323:1;3316:15;3350:4;3347:1;3340:15;3366:632;3431:5;3461:18;3502:2;3494:6;3491:14;3488:40;;;3508:18;;:::i;:::-;3583:2;3577:9;3551:2;3637:15;;-1:-1:-1;;3633:24:1;;;3659:2;3629:33;3625:42;3613:55;;;3683:18;;;3703:22;;;3680:46;3677:72;;;3729:18;;:::i;:::-;3769:10;3765:2;3758:22;3798:6;3789:15;;3828:6;3820;3813:22;3868:3;3859:6;3854:3;3850:16;3847:25;3844:45;;;3885:1;3882;3875:12;3844:45;3935:6;3930:3;3923:4;3915:6;3911:17;3898:44;3990:1;3983:4;3974:6;3966;3962:19;3958:30;3951:41;;;;3366:632;;;;;:::o;4003:451::-;4072:6;4125:2;4113:9;4104:7;4100:23;4096:32;4093:52;;;4141:1;4138;4131:12;4093:52;4181:9;4168:23;4214:18;4206:6;4203:30;4200:50;;;4246:1;4243;4236:12;4200:50;4269:22;;4322:4;4314:13;;4310:27;-1:-1:-1;4300:55:1;;4351:1;4348;4341:12;4300:55;4374:74;4440:7;4435:2;4422:16;4417:2;4413;4409:11;4374:74;:::i;4459:254::-;4524:6;4532;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;4624:29;4643:9;4624:29;:::i;:::-;4614:39;;4672:35;4703:2;4692:9;4688:18;4672:35;:::i;:::-;4662:45;;4459:254;;;;;:::o;4718:667::-;4813:6;4821;4829;4837;4890:3;4878:9;4869:7;4865:23;4861:33;4858:53;;;4907:1;4904;4897:12;4858:53;4930:29;4949:9;4930:29;:::i;:::-;4920:39;;4978:38;5012:2;5001:9;4997:18;4978:38;:::i;:::-;4968:48;;5063:2;5052:9;5048:18;5035:32;5025:42;;5118:2;5107:9;5103:18;5090:32;5145:18;5137:6;5134:30;5131:50;;;5177:1;5174;5167:12;5131:50;5200:22;;5253:4;5245:13;;5241:27;-1:-1:-1;5231:55:1;;5282:1;5279;5272:12;5231:55;5305:74;5371:7;5366:2;5353:16;5348:2;5344;5340:11;5305:74;:::i;:::-;5295:84;;;4718:667;;;;;;;:::o;5390:260::-;5458:6;5466;5519:2;5507:9;5498:7;5494:23;5490:32;5487:52;;;5535:1;5532;5525:12;5487:52;5558:29;5577:9;5558:29;:::i;:::-;5548:39;;5606:38;5640:2;5629:9;5625:18;5606:38;:::i;5655:380::-;5734:1;5730:12;;;;5777;;;5798:61;;5852:4;5844:6;5840:17;5830:27;;5798:61;5905:2;5897:6;5894:14;5874:18;5871:38;5868:161;;5951:10;5946:3;5942:20;5939:1;5932:31;5986:4;5983:1;5976:15;6014:4;6011:1;6004:15;5868:161;;5655:380;;;:::o;6591:127::-;6652:10;6647:3;6643:20;6640:1;6633:31;6683:4;6680:1;6673:15;6707:4;6704:1;6697:15;6723:125;6788:9;;;6809:10;;;6806:36;;;6822:18;;:::i;7547:168::-;7620:9;;;7651;;7668:15;;;7662:22;;7648:37;7638:71;;7689:18;;:::i;8067:128::-;8134:9;;;8155:11;;;8152:37;;;8169:18;;:::i;8677:545::-;8779:2;8774:3;8771:11;8768:448;;;8815:1;8840:5;8836:2;8829:17;8885:4;8881:2;8871:19;8955:2;8943:10;8939:19;8936:1;8932:27;8926:4;8922:38;8991:4;8979:10;8976:20;8973:47;;;-1:-1:-1;9014:4:1;8973:47;9069:2;9064:3;9060:12;9057:1;9053:20;9047:4;9043:31;9033:41;;9124:82;9142:2;9135:5;9132:13;9124:82;;;9187:17;;;9168:1;9157:13;9124:82;;9398:1352;9524:3;9518:10;9551:18;9543:6;9540:30;9537:56;;;9573:18;;:::i;:::-;9602:97;9692:6;9652:38;9684:4;9678:11;9652:38;:::i;:::-;9646:4;9602:97;:::i;:::-;9754:4;;9818:2;9807:14;;9835:1;9830:663;;;;10537:1;10554:6;10551:89;;;-1:-1:-1;10606:19:1;;;10600:26;10551:89;-1:-1:-1;;9355:1:1;9351:11;;;9347:24;9343:29;9333:40;9379:1;9375:11;;;9330:57;10653:81;;9800:944;;9830:663;8624:1;8617:14;;;8661:4;8648:18;;-1:-1:-1;;9866:20:1;;;9984:236;9998:7;9995:1;9992:14;9984:236;;;10087:19;;;10081:26;10066:42;;10179:27;;;;10147:1;10135:14;;;;10014:19;;9984:236;;;9988:3;10248:6;10239:7;10236:19;10233:201;;;10309:19;;;10303:26;-1:-1:-1;;10392:1:1;10388:14;;;10404:3;10384:24;10380:37;10376:42;10361:58;10346:74;;10233:201;-1:-1:-1;;;;;10480:1:1;10464:14;;;10460:22;10447:36;;-1:-1:-1;9398:1352:1:o;11108:663::-;11388:3;11426:6;11420:13;11442:66;11501:6;11496:3;11489:4;11481:6;11477:17;11442:66;:::i;:::-;11571:13;;11530:16;;;;11593:70;11571:13;11530:16;11640:4;11628:17;;11593:70;:::i;:::-;-1:-1:-1;;;11685:20:1;;11714:22;;;11763:1;11752:13;;11108:663;-1:-1:-1;;;;11108:663:1:o;12544:489::-;-1:-1:-1;;;;;12813:15:1;;;12795:34;;12865:15;;12860:2;12845:18;;12838:43;12912:2;12897:18;;12890:34;;;12960:3;12955:2;12940:18;;12933:31;;;12738:4;;12981:46;;13007:19;;12999:6;12981:46;:::i;:::-;12973:54;12544:489;-1:-1:-1;;;;;;12544:489:1:o;13038:249::-;13107:6;13160:2;13148:9;13139:7;13135:23;13131:32;13128:52;;;13176:1;13173;13166:12;13128:52;13208:9;13202:16;13227:30;13251:5;13227:30;:::i
Swarm Source
ipfs://2ff248b54dccc997a89ec90bb1e14486443a06f82d74865e8f584e1822c75d41
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,349.11 | 0.0006 | $2.01 |
Loading...
Loading
[ Download: CSV Export ]
[ 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.