Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 443 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19489165 | 246 days ago | IN | 0 ETH | 0.00118055 | ||||
Mint | 19211499 | 285 days ago | IN | 0 ETH | 0.00159956 | ||||
Mint | 19211333 | 285 days ago | IN | 0 ETH | 0.00171168 | ||||
Mint | 18004790 | 454 days ago | IN | 0 ETH | 0.0009011 | ||||
Mint | 17967712 | 459 days ago | IN | 0 ETH | 0.00119638 | ||||
Set Approval For... | 17812253 | 481 days ago | IN | 0 ETH | 0.00065641 | ||||
Set Approval For... | 17722919 | 494 days ago | IN | 0 ETH | 0.00113194 | ||||
Set Approval For... | 17702550 | 496 days ago | IN | 0 ETH | 0.000672 | ||||
Mint | 17701090 | 497 days ago | IN | 0 ETH | 0.00109276 | ||||
Set Approval For... | 17605757 | 510 days ago | IN | 0 ETH | 0.00064062 | ||||
Mint | 17562897 | 516 days ago | IN | 0 ETH | 0.00106408 | ||||
Mint | 17560665 | 516 days ago | IN | 0 ETH | 0.0012052 | ||||
Set Approval For... | 17485270 | 527 days ago | IN | 0 ETH | 0.00075548 | ||||
Set Approval For... | 17485269 | 527 days ago | IN | 0 ETH | 0.00078089 | ||||
Set Approval For... | 17480122 | 528 days ago | IN | 0 ETH | 0.00120191 | ||||
Set Approval For... | 17477777 | 528 days ago | IN | 0 ETH | 0.00069989 | ||||
Set Approval For... | 17476560 | 528 days ago | IN | 0 ETH | 0.00075354 | ||||
Set Approval For... | 17475327 | 528 days ago | IN | 0 ETH | 0.00081827 | ||||
Mint | 17472573 | 529 days ago | IN | 0 ETH | 0.00139352 | ||||
Mint | 17471786 | 529 days ago | IN | 0 ETH | 0.00177858 | ||||
Withdraw | 17471622 | 529 days ago | IN | 0 ETH | 0.00072852 | ||||
Mint | 17470103 | 529 days ago | IN | 0 ETH | 0.00119737 | ||||
Mint | 17470099 | 529 days ago | IN | 0 ETH | 0.00130218 | ||||
Set Approval For... | 17470036 | 529 days ago | IN | 0 ETH | 0.00065496 | ||||
Mint | 17469976 | 529 days ago | IN | 0 ETH | 0.0014219 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17471622 | 529 days ago | 0.186 ETH |
Loading...
Loading
Contract Name:
ShadowsofIlluminati
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-12 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.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; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // 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.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { 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: 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/Illuminati.sol pragma solidity >=0.8.9 <0.9.0; contract ShadowsofIlluminati is ERC721A, Ownable, ReentrancyGuard { using Strings for uint; string public uriPrefix = ''; string public hiddenMetadataUri; string public uriSuffix = '.json'; uint public maxSupply = 4444; uint public freeSupply = 4444; uint public cost = 0.003 ether; uint public maxMintAmountPerTx = 10; uint public maxPerWallet = 20; bool public paused = true; bool public revealed = false; mapping(address => bool) public freeMintClaimed; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _hiddenMetadataUri ) ERC721A(_tokenName, _tokenSymbol) { setHiddenMetadataUri(_hiddenMetadataUri); } // ~~~~~~~~~~~~~~~~~~~~ Modifiers ~~~~~~~~~~~~~~~~~~~~ modifier mintCompliance(uint _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(_mintAmount + balanceOf(_msgSender()) <= maxPerWallet, 'Only 10 allowed per wallet!'); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _; } modifier mintPriceCompliance(uint _mintAmount) { if (freeMintClaimed[_msgSender()] || totalSupply() >= freeSupply) { require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); } _; } // ~~~~~~~~~~~~~~~~~~~~ Mint Functions ~~~~~~~~~~~~~~~~~~~~ function Mint(uint256 amount) external payable { require(!paused, "contract is paused"); require(totalSupply() + amount <= maxSupply, "max supply would be exceeded"); uint minted = _numberMinted(msg.sender); require(minted + amount <= maxPerWallet, "max mint per wallet would be exceeded"); uint chargeableCount; if (minted == 0) { chargeableCount = amount - 1; require(amount > 0, "amount must be greater than 0"); require(msg.value >= cost * chargeableCount, "value not met"); } else { chargeableCount = amount; require(amount > 0, "amount must be greater than 0"); require(msg.value >= cost * chargeableCount, "value not met"); } _safeMint(msg.sender, amount); } // ~~~~~~~~~~~~~~~~~~~~ Various Checks ~~~~~~~~~~~~~~~~~~~~ function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } // ~~~~~~~~~~~~~~~~~~~~ onlyOwner Functions ~~~~~~~~~~~~~~~~~~~~ function mintForAddress(uint256 _mintAmount, address _receiver) external onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); _safeMint(_receiver, _mintAmount); } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setmaxPerWallet(uint _maxPerWallet) public onlyOwner { maxPerWallet = _maxPerWallet; } function setmaxSupply(uint _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setFreeSupply(uint _freeQty) public onlyOwner { freeSupply = _freeQty; } // ~~~~~~~~~~~~~~~~~~~~ Withdraw Functions ~~~~~~~~~~~~~~~~~~~~ function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } /* */ }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","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":"uint256","name":"amount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","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":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSupply","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":"hiddenMetadataUri","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":"maxMintAmountPerTx","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"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeQty","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setmaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","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":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405260006080908152600a906200001a908262000263565b50604080518082019091526005815264173539b7b760d91b6020820152600c9062000046908262000263565b5061115c600d819055600e55660aa87bee538000600f55600a60105560146011556012805461ffff191660011790553480156200008257600080fd5b50604051620022cd380380620022cd833981016040819052620000a591620003de565b82826002620000b5838262000263565b506003620000c4828262000263565b50506000805550620000d633620000ef565b6001600955620000e68162000141565b5050506200046f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200014b6200015d565b600b62000159828262000263565b5050565b6008546001600160a01b03163314620001bc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001e957607f821691505b6020821081036200020a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025e57600081815260208120601f850160051c81016020861015620002395750805b601f850160051c820191505b818110156200025a5782815560010162000245565b5050505b505050565b81516001600160401b038111156200027f576200027f620001be565b6200029781620002908454620001d4565b8462000210565b602080601f831160018114620002cf5760008415620002b65750858301515b600019600386901b1c1916600185901b1785556200025a565b600085815260208120601f198616915b828110156200030057888601518255948401946001909101908401620002df565b50858210156200031f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200034157600080fd5b81516001600160401b03808211156200035e576200035e620001be565b604051601f8301601f19908116603f01168101908282118183101715620003895762000389620001be565b81604052838152602092508683858801011115620003a657600080fd5b600091505b83821015620003ca5785820183015181830184015290820190620003ab565b600093810190920192909252949350505050565b600080600060608486031215620003f457600080fd5b83516001600160401b03808211156200040c57600080fd5b6200041a878388016200032f565b945060208601519150808211156200043157600080fd5b6200043f878388016200032f565b935060408601519150808211156200045657600080fd5b5062000465868287016200032f565b9150509250925092565b611e4e806200047f6000396000f3fe6080604052600436106102465760003560e01c806360d3e1ae11610139578063a45ba8e7116100b6578063e0a808531161007a578063e0a8085314610625578063e0ec7c3614610645578063e985e9c514610675578063efbd73f414610695578063f2fde38b146106b5578063f676308a146106d557600080fd5b8063a45ba8e7146105a7578063b071401b146105bc578063b88d4fde146105dc578063c87b56dd146105ef578063d5abeb011461060f57600080fd5b80637ec4a659116100fd5780637ec4a6591461051e5780638da5cb5b1461053e57806394354fd01461055c57806395d89b4114610572578063a22cb4651461058757600080fd5b806360d3e1ae1461049457806362b99ad4146104b45780636352211e146104c957806370a08231146104e9578063715018a61461050957600080fd5b806323b872dd116101c7578063453c23101161018b578063453c2310146104105780634fdd43cb1461042657806351830227146104465780635503a0e8146104655780635c975abb1461047a57600080fd5b806323b872dd1461039f57806324a6ab0c146103b25780633ccfd60b146103c857806342842e0e146103dd57806344a0d68a146103f057600080fd5b806313faede61161020e57806313faede61461030257806316ba10e01461032657806316c38b3c1461034657806318160ddd14610366578063228025e81461037f57600080fd5b806301ffc9a71461024b57806306fdde031461028057806307883703146102a2578063081812fc146102b7578063095ea7b3146102ef575b600080fd5b34801561025757600080fd5b5061026b610266366004611859565b6106f5565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610747565b60405161027791906118c6565b6102b56102b03660046118d9565b6107d9565b005b3480156102c357600080fd5b506102d76102d23660046118d9565b610a7b565b6040516001600160a01b039091168152602001610277565b6102b56102fd36600461190e565b610abf565b34801561030e57600080fd5b50610318600f5481565b604051908152602001610277565b34801561033257600080fd5b506102b56103413660046119c4565b610b5f565b34801561035257600080fd5b506102b5610361366004611a1d565b610b77565b34801561037257600080fd5b5060015460005403610318565b34801561038b57600080fd5b506102b561039a3660046118d9565b610b92565b6102b56103ad366004611a38565b610b9f565b3480156103be57600080fd5b50610318600e5481565b3480156103d457600080fd5b506102b5610d38565b6102b56103eb366004611a38565b610dc6565b3480156103fc57600080fd5b506102b561040b3660046118d9565b610de1565b34801561041c57600080fd5b5061031860115481565b34801561043257600080fd5b506102b56104413660046119c4565b610dee565b34801561045257600080fd5b5060125461026b90610100900460ff1681565b34801561047157600080fd5b50610295610e02565b34801561048657600080fd5b5060125461026b9060ff1681565b3480156104a057600080fd5b506102b56104af3660046118d9565b610e90565b3480156104c057600080fd5b50610295610e9d565b3480156104d557600080fd5b506102d76104e43660046118d9565b610eaa565b3480156104f557600080fd5b50610318610504366004611a74565b610eb5565b34801561051557600080fd5b506102b5610f04565b34801561052a57600080fd5b506102b56105393660046119c4565b610f16565b34801561054a57600080fd5b506008546001600160a01b03166102d7565b34801561056857600080fd5b5061031860105481565b34801561057e57600080fd5b50610295610f2a565b34801561059357600080fd5b506102b56105a2366004611a8f565b610f39565b3480156105b357600080fd5b50610295610fa5565b3480156105c857600080fd5b506102b56105d73660046118d9565b610fb2565b6102b56105ea366004611ac2565b610fbf565b3480156105fb57600080fd5b5061029561060a3660046118d9565b611009565b34801561061b57600080fd5b50610318600d5481565b34801561063157600080fd5b506102b5610640366004611a1d565b61117d565b34801561065157600080fd5b5061026b610660366004611a74565b60136020526000908152604090205460ff1681565b34801561068157600080fd5b5061026b610690366004611b3e565b61119f565b3480156106a157600080fd5b506102b56106b0366004611b68565b6111cd565b3480156106c157600080fd5b506102b56106d0366004611a74565b61123f565b3480156106e157600080fd5b506102b56106f03660046118d9565b6112b8565b60006301ffc9a760e01b6001600160e01b03198316148061072657506380ac58cd60e01b6001600160e01b03198316145b806107415750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461075690611b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461078290611b8b565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60125460ff16156108265760405162461bcd60e51b815260206004820152601260248201527118dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b600d54816108376001546000540390565b6108419190611bdb565b111561088f5760405162461bcd60e51b815260206004820152601c60248201527f6d617820737570706c7920776f756c6420626520657863656564656400000000604482015260640161081d565b336000908152600560205260409081902054601154911c67ffffffffffffffff16906108bb8383611bdb565b11156109175760405162461bcd60e51b815260206004820152602560248201527f6d6178206d696e74207065722077616c6c657420776f756c6420626520657863604482015264195959195960da1b606482015260840161081d565b6000816000036109d05761092c600184611bee565b90506000831161097e5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161081d565b80600f5461098c9190611c01565b3410156109cb5760405162461bcd60e51b815260206004820152600d60248201526c1d985b1d59481b9bdd081b595d609a1b604482015260640161081d565b610a6c565b508180610a1f5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161081d565b80600f54610a2d9190611c01565b341015610a6c5760405162461bcd60e51b815260206004820152600d60248201526c1d985b1d59481b9bdd081b595d609a1b604482015260640161081d565b610a7633846112c5565b505050565b6000610a86826112df565b610aa3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610aca82610eaa565b9050336001600160a01b03821614610b0357610ae6813361119f565b610b03576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b67611306565b600c610b738282611c5e565b5050565b610b7f611306565b6012805460ff1916911515919091179055565b610b9a611306565b600d55565b6000610baa82611360565b9050836001600160a01b0316816001600160a01b031614610bdd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c2a57610c0d863361119f565b610c2a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c5157604051633a954ecd60e21b815260040160405180910390fd5b8015610c5c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610cee57600184016000818152600460205260408120549003610cec576000548114610cec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d40611306565b610d486113c7565b6000610d5c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610da6576040519150601f19603f3d011682016040523d82523d6000602084013e610dab565b606091505b5050905080610db957600080fd5b50610dc46001600955565b565b610a7683838360405180602001604052806000815250610fbf565b610de9611306565b600f55565b610df6611306565b600b610b738282611c5e565b600c8054610e0f90611b8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3b90611b8b565b8015610e885780601f10610e5d57610100808354040283529160200191610e88565b820191906000526020600020905b815481529060010190602001808311610e6b57829003601f168201915b505050505081565b610e98611306565b601155565b600a8054610e0f90611b8b565b600061074182611360565b60006001600160a01b038216610ede576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f0c611306565b610dc46000611420565b610f1e611306565b600a610b738282611c5e565b60606003805461075690611b8b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610e0f90611b8b565b610fba611306565b601055565b610fca848484610b9f565b6001600160a01b0383163b1561100357610fe684848484611472565b611003576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611014826112df565b6110785760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161081d565b601254610100900460ff16151560000361111e57600b805461109990611b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546110c590611b8b565b80156111125780601f106110e757610100808354040283529160200191611112565b820191906000526020600020905b8154815290600101906020018083116110f557829003601f168201915b50505050509050919050565b600061112861155e565b905060008151116111485760405180602001604052806000815250611176565b806111528461156d565b600c60405160200161116693929190611d1e565b6040516020818303038152906040525b9392505050565b611185611306565b601280549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111d5611306565b600d54826111e66001546000540390565b6111f09190611bdb565b11156112355760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161081d565b610b7381836112c5565b611247611306565b6001600160a01b0381166112ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161081d565b6112b581611420565b50565b6112c0611306565b600e55565b610b73828260405180602001604052806000815250611600565b6000805482108015610741575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610dc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161081d565b6000816000548110156113ae5760008181526004602052604081205490600160e01b821690036113ac575b8060000361117657506000190160008181526004602052604090205461138b565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600954036114195760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161081d565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114a7903390899088908890600401611dbe565b6020604051808303816000875af19250505080156114e2575060408051601f3d908101601f191682019092526114df91810190611dfb565b60015b611540573d808015611510576040519150601f19603f3d011682016040523d82523d6000602084013e611515565b606091505b508051600003611538576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461075690611b8b565b6060600061157a8361166d565b600101905060008167ffffffffffffffff81111561159a5761159a611938565b6040519080825280601f01601f1916602001820160405280156115c4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846115ce57509392505050565b61160a8383611745565b6001600160a01b0383163b15610a76576000548281035b6116346000868380600101945086611472565b611651576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162157816000541461166657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116ac5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116d8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106116f657662386f26fc10000830492506010015b6305f5e100831061170e576305f5e100830492506008015b612710831061172257612710830492506004015b60648310611734576064830492506002015b600a83106107415760010192915050565b600080549082900361176a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461181957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117e1565b508160000361183a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146112b557600080fd5b60006020828403121561186b57600080fd5b813561117681611843565b60005b83811015611891578181015183820152602001611879565b50506000910152565b600081518084526118b2816020860160208601611876565b601f01601f19169290920160200192915050565b602081526000611176602083018461189a565b6000602082840312156118eb57600080fd5b5035919050565b80356001600160a01b038116811461190957600080fd5b919050565b6000806040838503121561192157600080fd5b61192a836118f2565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196957611969611938565b604051601f8501601f19908116603f0116810190828211818310171561199157611991611938565b816040528093508581528686860111156119aa57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119d657600080fd5b813567ffffffffffffffff8111156119ed57600080fd5b8201601f810184136119fe57600080fd5b6115568482356020840161194e565b8035801515811461190957600080fd5b600060208284031215611a2f57600080fd5b61117682611a0d565b600080600060608486031215611a4d57600080fd5b611a56846118f2565b9250611a64602085016118f2565b9150604084013590509250925092565b600060208284031215611a8657600080fd5b611176826118f2565b60008060408385031215611aa257600080fd5b611aab836118f2565b9150611ab960208401611a0d565b90509250929050565b60008060008060808587031215611ad857600080fd5b611ae1856118f2565b9350611aef602086016118f2565b925060408501359150606085013567ffffffffffffffff811115611b1257600080fd5b8501601f81018713611b2357600080fd5b611b328782356020840161194e565b91505092959194509250565b60008060408385031215611b5157600080fd5b611b5a836118f2565b9150611ab9602084016118f2565b60008060408385031215611b7b57600080fd5b82359150611ab9602084016118f2565b600181811c90821680611b9f57607f821691505b602082108103611bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074157610741611bc5565b8181038181111561074157610741611bc5565b808202811582820484141761074157610741611bc5565b601f821115610a7657600081815260208120601f850160051c81016020861015611c3f5750805b601f850160051c820191505b81811015610d3057828155600101611c4b565b815167ffffffffffffffff811115611c7857611c78611938565b611c8c81611c868454611b8b565b84611c18565b602080601f831160018114611cc15760008415611ca95750858301515b600019600386901b1c1916600185901b178555610d30565b600085815260208120601f198616915b82811015611cf057888601518255948401946001909101908401611cd1565b5085821015611d0e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600084516020611d318285838a01611876565b855191840191611d448184848a01611876565b8554920191600090611d5581611b8b565b60018281168015611d6d5760018114611d8257611dae565b60ff1984168752821515830287019450611dae565b896000528560002060005b84811015611da657815489820152908301908701611d8d565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611df19083018461189a565b9695505050505050565b600060208284031215611e0d57600080fd5b81516111768161184356fea2646970667358221220ac01879550949110222ef6b85881c5adf008bf96bc67185da664971048dfbad164736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000015536861646f7773206f6620496c6c756d696e61746900000000000000000000000000000000000000000000000000000000000000000000000000000000000003696c6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b72656965753562696771647032366b797964686264376373366c7274777474646266636a626b337572787a376b756737376a62766e79692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c806360d3e1ae11610139578063a45ba8e7116100b6578063e0a808531161007a578063e0a8085314610625578063e0ec7c3614610645578063e985e9c514610675578063efbd73f414610695578063f2fde38b146106b5578063f676308a146106d557600080fd5b8063a45ba8e7146105a7578063b071401b146105bc578063b88d4fde146105dc578063c87b56dd146105ef578063d5abeb011461060f57600080fd5b80637ec4a659116100fd5780637ec4a6591461051e5780638da5cb5b1461053e57806394354fd01461055c57806395d89b4114610572578063a22cb4651461058757600080fd5b806360d3e1ae1461049457806362b99ad4146104b45780636352211e146104c957806370a08231146104e9578063715018a61461050957600080fd5b806323b872dd116101c7578063453c23101161018b578063453c2310146104105780634fdd43cb1461042657806351830227146104465780635503a0e8146104655780635c975abb1461047a57600080fd5b806323b872dd1461039f57806324a6ab0c146103b25780633ccfd60b146103c857806342842e0e146103dd57806344a0d68a146103f057600080fd5b806313faede61161020e57806313faede61461030257806316ba10e01461032657806316c38b3c1461034657806318160ddd14610366578063228025e81461037f57600080fd5b806301ffc9a71461024b57806306fdde031461028057806307883703146102a2578063081812fc146102b7578063095ea7b3146102ef575b600080fd5b34801561025757600080fd5b5061026b610266366004611859565b6106f5565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610747565b60405161027791906118c6565b6102b56102b03660046118d9565b6107d9565b005b3480156102c357600080fd5b506102d76102d23660046118d9565b610a7b565b6040516001600160a01b039091168152602001610277565b6102b56102fd36600461190e565b610abf565b34801561030e57600080fd5b50610318600f5481565b604051908152602001610277565b34801561033257600080fd5b506102b56103413660046119c4565b610b5f565b34801561035257600080fd5b506102b5610361366004611a1d565b610b77565b34801561037257600080fd5b5060015460005403610318565b34801561038b57600080fd5b506102b561039a3660046118d9565b610b92565b6102b56103ad366004611a38565b610b9f565b3480156103be57600080fd5b50610318600e5481565b3480156103d457600080fd5b506102b5610d38565b6102b56103eb366004611a38565b610dc6565b3480156103fc57600080fd5b506102b561040b3660046118d9565b610de1565b34801561041c57600080fd5b5061031860115481565b34801561043257600080fd5b506102b56104413660046119c4565b610dee565b34801561045257600080fd5b5060125461026b90610100900460ff1681565b34801561047157600080fd5b50610295610e02565b34801561048657600080fd5b5060125461026b9060ff1681565b3480156104a057600080fd5b506102b56104af3660046118d9565b610e90565b3480156104c057600080fd5b50610295610e9d565b3480156104d557600080fd5b506102d76104e43660046118d9565b610eaa565b3480156104f557600080fd5b50610318610504366004611a74565b610eb5565b34801561051557600080fd5b506102b5610f04565b34801561052a57600080fd5b506102b56105393660046119c4565b610f16565b34801561054a57600080fd5b506008546001600160a01b03166102d7565b34801561056857600080fd5b5061031860105481565b34801561057e57600080fd5b50610295610f2a565b34801561059357600080fd5b506102b56105a2366004611a8f565b610f39565b3480156105b357600080fd5b50610295610fa5565b3480156105c857600080fd5b506102b56105d73660046118d9565b610fb2565b6102b56105ea366004611ac2565b610fbf565b3480156105fb57600080fd5b5061029561060a3660046118d9565b611009565b34801561061b57600080fd5b50610318600d5481565b34801561063157600080fd5b506102b5610640366004611a1d565b61117d565b34801561065157600080fd5b5061026b610660366004611a74565b60136020526000908152604090205460ff1681565b34801561068157600080fd5b5061026b610690366004611b3e565b61119f565b3480156106a157600080fd5b506102b56106b0366004611b68565b6111cd565b3480156106c157600080fd5b506102b56106d0366004611a74565b61123f565b3480156106e157600080fd5b506102b56106f03660046118d9565b6112b8565b60006301ffc9a760e01b6001600160e01b03198316148061072657506380ac58cd60e01b6001600160e01b03198316145b806107415750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461075690611b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461078290611b8b565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60125460ff16156108265760405162461bcd60e51b815260206004820152601260248201527118dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b600d54816108376001546000540390565b6108419190611bdb565b111561088f5760405162461bcd60e51b815260206004820152601c60248201527f6d617820737570706c7920776f756c6420626520657863656564656400000000604482015260640161081d565b336000908152600560205260409081902054601154911c67ffffffffffffffff16906108bb8383611bdb565b11156109175760405162461bcd60e51b815260206004820152602560248201527f6d6178206d696e74207065722077616c6c657420776f756c6420626520657863604482015264195959195960da1b606482015260840161081d565b6000816000036109d05761092c600184611bee565b90506000831161097e5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161081d565b80600f5461098c9190611c01565b3410156109cb5760405162461bcd60e51b815260206004820152600d60248201526c1d985b1d59481b9bdd081b595d609a1b604482015260640161081d565b610a6c565b508180610a1f5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161081d565b80600f54610a2d9190611c01565b341015610a6c5760405162461bcd60e51b815260206004820152600d60248201526c1d985b1d59481b9bdd081b595d609a1b604482015260640161081d565b610a7633846112c5565b505050565b6000610a86826112df565b610aa3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610aca82610eaa565b9050336001600160a01b03821614610b0357610ae6813361119f565b610b03576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b67611306565b600c610b738282611c5e565b5050565b610b7f611306565b6012805460ff1916911515919091179055565b610b9a611306565b600d55565b6000610baa82611360565b9050836001600160a01b0316816001600160a01b031614610bdd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c2a57610c0d863361119f565b610c2a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c5157604051633a954ecd60e21b815260040160405180910390fd5b8015610c5c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610cee57600184016000818152600460205260408120549003610cec576000548114610cec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d40611306565b610d486113c7565b6000610d5c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610da6576040519150601f19603f3d011682016040523d82523d6000602084013e610dab565b606091505b5050905080610db957600080fd5b50610dc46001600955565b565b610a7683838360405180602001604052806000815250610fbf565b610de9611306565b600f55565b610df6611306565b600b610b738282611c5e565b600c8054610e0f90611b8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3b90611b8b565b8015610e885780601f10610e5d57610100808354040283529160200191610e88565b820191906000526020600020905b815481529060010190602001808311610e6b57829003601f168201915b505050505081565b610e98611306565b601155565b600a8054610e0f90611b8b565b600061074182611360565b60006001600160a01b038216610ede576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f0c611306565b610dc46000611420565b610f1e611306565b600a610b738282611c5e565b60606003805461075690611b8b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610e0f90611b8b565b610fba611306565b601055565b610fca848484610b9f565b6001600160a01b0383163b1561100357610fe684848484611472565b611003576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611014826112df565b6110785760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161081d565b601254610100900460ff16151560000361111e57600b805461109990611b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546110c590611b8b565b80156111125780601f106110e757610100808354040283529160200191611112565b820191906000526020600020905b8154815290600101906020018083116110f557829003601f168201915b50505050509050919050565b600061112861155e565b905060008151116111485760405180602001604052806000815250611176565b806111528461156d565b600c60405160200161116693929190611d1e565b6040516020818303038152906040525b9392505050565b611185611306565b601280549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111d5611306565b600d54826111e66001546000540390565b6111f09190611bdb565b11156112355760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161081d565b610b7381836112c5565b611247611306565b6001600160a01b0381166112ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161081d565b6112b581611420565b50565b6112c0611306565b600e55565b610b73828260405180602001604052806000815250611600565b6000805482108015610741575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610dc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161081d565b6000816000548110156113ae5760008181526004602052604081205490600160e01b821690036113ac575b8060000361117657506000190160008181526004602052604090205461138b565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600954036114195760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161081d565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114a7903390899088908890600401611dbe565b6020604051808303816000875af19250505080156114e2575060408051601f3d908101601f191682019092526114df91810190611dfb565b60015b611540573d808015611510576040519150601f19603f3d011682016040523d82523d6000602084013e611515565b606091505b508051600003611538576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461075690611b8b565b6060600061157a8361166d565b600101905060008167ffffffffffffffff81111561159a5761159a611938565b6040519080825280601f01601f1916602001820160405280156115c4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846115ce57509392505050565b61160a8383611745565b6001600160a01b0383163b15610a76576000548281035b6116346000868380600101945086611472565b611651576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162157816000541461166657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116ac5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116d8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106116f657662386f26fc10000830492506010015b6305f5e100831061170e576305f5e100830492506008015b612710831061172257612710830492506004015b60648310611734576064830492506002015b600a83106107415760010192915050565b600080549082900361176a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461181957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117e1565b508160000361183a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146112b557600080fd5b60006020828403121561186b57600080fd5b813561117681611843565b60005b83811015611891578181015183820152602001611879565b50506000910152565b600081518084526118b2816020860160208601611876565b601f01601f19169290920160200192915050565b602081526000611176602083018461189a565b6000602082840312156118eb57600080fd5b5035919050565b80356001600160a01b038116811461190957600080fd5b919050565b6000806040838503121561192157600080fd5b61192a836118f2565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196957611969611938565b604051601f8501601f19908116603f0116810190828211818310171561199157611991611938565b816040528093508581528686860111156119aa57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119d657600080fd5b813567ffffffffffffffff8111156119ed57600080fd5b8201601f810184136119fe57600080fd5b6115568482356020840161194e565b8035801515811461190957600080fd5b600060208284031215611a2f57600080fd5b61117682611a0d565b600080600060608486031215611a4d57600080fd5b611a56846118f2565b9250611a64602085016118f2565b9150604084013590509250925092565b600060208284031215611a8657600080fd5b611176826118f2565b60008060408385031215611aa257600080fd5b611aab836118f2565b9150611ab960208401611a0d565b90509250929050565b60008060008060808587031215611ad857600080fd5b611ae1856118f2565b9350611aef602086016118f2565b925060408501359150606085013567ffffffffffffffff811115611b1257600080fd5b8501601f81018713611b2357600080fd5b611b328782356020840161194e565b91505092959194509250565b60008060408385031215611b5157600080fd5b611b5a836118f2565b9150611ab9602084016118f2565b60008060408385031215611b7b57600080fd5b82359150611ab9602084016118f2565b600181811c90821680611b9f57607f821691505b602082108103611bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074157610741611bc5565b8181038181111561074157610741611bc5565b808202811582820484141761074157610741611bc5565b601f821115610a7657600081815260208120601f850160051c81016020861015611c3f5750805b601f850160051c820191505b81811015610d3057828155600101611c4b565b815167ffffffffffffffff811115611c7857611c78611938565b611c8c81611c868454611b8b565b84611c18565b602080601f831160018114611cc15760008415611ca95750858301515b600019600386901b1c1916600185901b178555610d30565b600085815260208120601f198616915b82811015611cf057888601518255948401946001909101908401611cd1565b5085821015611d0e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600084516020611d318285838a01611876565b855191840191611d448184848a01611876565b8554920191600090611d5581611b8b565b60018281168015611d6d5760018114611d8257611dae565b60ff1984168752821515830287019450611dae565b896000528560002060005b84811015611da657815489820152908301908701611d8d565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611df19083018461189a565b9695505050505050565b600060208284031215611e0d57600080fd5b81516111768161184356fea2646970667358221220ac01879550949110222ef6b85881c5adf008bf96bc67185da664971048dfbad164736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000015536861646f7773206f6620496c6c756d696e61746900000000000000000000000000000000000000000000000000000000000000000000000000000000000003696c6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b72656965753562696771647032366b797964686264376373366c7274777474646266636a626b337572787a376b756737376a62766e79692f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Shadows of Illuminati
Arg [1] : _tokenSymbol (string): ill
Arg [2] : _hiddenMetadataUri (string): ipfs://bafkreieu5bigqdp26kyydhbd7cs6lrtwttdbfcjbk3urxz7kug77jbvnyi/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [4] : 536861646f7773206f6620496c6c756d696e6174690000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 696c6c0000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 697066733a2f2f6261666b72656965753562696771647032366b797964686264
Arg [9] : 376373366c7274777474646266636a626b337572787a376b756737376a62766e
Arg [10] : 79692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
75700:4440:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42585:639;;;;;;;;;;-1:-1:-1;42585:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;42585:639:0;;;;;;;;43487:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;77108:837::-;;;;;;:::i;:::-;;:::i;:::-;;49978:218;;;;;;;;;;-1:-1:-1;49978:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;49978:218:0;1533:203:1;49411:408:0;;;;;;:::i;:::-;;:::i;75984:30::-;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;75984:30:0;2178:177:1;79624:100:0;;;;;;;;;;-1:-1:-1;79624:100:0;;;;;:::i;:::-;;:::i;79730:77::-;;;;;;;;;;-1:-1:-1;79730:77:0;;;;;:::i;:::-;;:::i;39238:323::-;;;;;;;;;;-1:-1:-1;39512:12:0;;39299:7;39496:13;:28;39238:323;;79283:91;;;;;;;;;;-1:-1:-1;79283:91:0;;;;;:::i;:::-;;:::i;53617:2825::-;;;;;;:::i;:::-;;:::i;75950:29::-;;;;;;;;;;;;;;;;79977:150;;;;;;;;;;;;;:::i;56538:193::-;;;;;;:::i;:::-;;:::i;78962:71::-;;;;;;;;;;-1:-1:-1;78962:71:0;;;;;:::i;:::-;;:::i;76059:29::-;;;;;;;;;;;;;;;;79380:132;;;;;;;;;;-1:-1:-1;79380:132:0;;;;;:::i;:::-;;:::i;76125:28::-;;;;;;;;;;-1:-1:-1;76125:28:0;;;;;;;;;;;75871:33;;;;;;;;;;;;;:::i;76095:25::-;;;;;;;;;;-1:-1:-1;76095:25:0;;;;;;;;79172:103;;;;;;;;;;-1:-1:-1;79172:103:0;;;;;:::i;:::-;;:::i;75802:28::-;;;;;;;;;;;;;:::i;44880:152::-;;;;;;;;;;-1:-1:-1;44880:152:0;;;;;:::i;:::-;;:::i;40422:233::-;;;;;;;;;;-1:-1:-1;40422:233:0;;;;;:::i;:::-;;:::i;23364:103::-;;;;;;;;;;;;;:::i;79518:100::-;;;;;;;;;;-1:-1:-1;79518:100:0;;;;;:::i;:::-;;:::i;22723:87::-;;;;;;;;;;-1:-1:-1;22796:6:0;;-1:-1:-1;;;;;22796:6:0;22723:87;;76019:35;;;;;;;;;;;;;;;;43663:104;;;;;;;;;;;;;:::i;50536:234::-;;;;;;;;;;-1:-1:-1;50536:234:0;;;;;:::i;:::-;;:::i;75835:31::-;;;;;;;;;;;;;:::i;79039:127::-;;;;;;;;;;-1:-1:-1;79039:127:0;;;;;:::i;:::-;;:::i;57329:407::-;;;;;;:::i;:::-;;:::i;78128:442::-;;;;;;;;;;-1:-1:-1;78128:442:0;;;;;:::i;:::-;;:::i;75917:28::-;;;;;;;;;;;;;;;;78875:81;;;;;;;;;;-1:-1:-1;78875:81:0;;;;;:::i;:::-;;:::i;76160:47::-;;;;;;;;;;-1:-1:-1;76160:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;50927:164;;;;;;;;;;-1:-1:-1;50927:164:0;;;;;:::i;:::-;;:::i;78650:219::-;;;;;;;;;;-1:-1:-1;78650:219:0;;;;;:::i;:::-;;:::i;23622:201::-;;;;;;;;;;-1:-1:-1;23622:201:0;;;;;:::i;:::-;;:::i;79813:89::-;;;;;;;;;;-1:-1:-1;79813:89:0;;;;;:::i;:::-;;:::i;42585:639::-;42670:4;-1:-1:-1;;;;;;;;;42994:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;43071:25:0;;;42994:102;:179;;;-1:-1:-1;;;;;;;;;;43148:25:0;;;42994:179;42974:199;42585:639;-1:-1:-1;;42585:639:0:o;43487:100::-;43541:13;43574:5;43567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43487:100;:::o;77108:837::-;77175:6;;;;77174:7;77166:38;;;;-1:-1:-1;;;77166:38:0;;6501:2:1;77166:38:0;;;6483:21:1;6540:2;6520:18;;;6513:30;-1:-1:-1;;;6559:18:1;;;6552:48;6617:18;;77166:38:0;;;;;;;;;77251:9;;77241:6;77225:13;39512:12;;39299:7;39496:13;:28;;39238:323;77225:13;:22;;;;:::i;:::-;:35;;77217:76;;;;-1:-1:-1;;;77217:76:0;;7110:2:1;77217:76:0;;;7092:21:1;7149:2;7129:18;;;7122:30;7188;7168:18;;;7161:58;7236:18;;77217:76:0;6908:352:1;77217:76:0;77332:10;77304:11;40826:25;;;:18;:25;;34719:2;40826:25;;;;;77383:12;;40826:50;;34581:13;40825:82;;77364:15;77373:6;40825:82;77364:15;:::i;:::-;:31;;77356:81;;;;-1:-1:-1;;;77356:81:0;;7467:2:1;77356:81:0;;;7449:21:1;7506:2;7486:18;;;7479:30;7545:34;7525:18;;;7518:62;-1:-1:-1;;;7596:18:1;;;7589:35;7641:19;;77356:81:0;7265:401:1;77356:81:0;77450:20;77487:6;77497:1;77487:11;77483:415;;77533:10;77542:1;77533:6;:10;:::i;:::-;77515:28;;77575:1;77566:6;:10;77558:52;;;;-1:-1:-1;;;77558:52:0;;8006:2:1;77558:52:0;;;7988:21:1;8045:2;8025:18;;;8018:30;8084:31;8064:18;;;8057:59;8133:18;;77558:52:0;7804:353:1;77558:52:0;77653:15;77646:4;;:22;;;;:::i;:::-;77633:9;:35;;77625:61;;;;-1:-1:-1;;;77625:61:0;;8537:2:1;77625:61:0;;;8519:21:1;8576:2;8556:18;;;8549:30;-1:-1:-1;;;8595:18:1;;;8588:43;8648:18;;77625:61:0;8335:337:1;77625:61:0;77483:415;;;-1:-1:-1;77737:6:0;77766:10;77758:52;;;;-1:-1:-1;;;77758:52:0;;8006:2:1;77758:52:0;;;7988:21:1;8045:2;8025:18;;;8018:30;8084:31;8064:18;;;8057:59;8133:18;;77758:52:0;7804:353:1;77758:52:0;77853:15;77846:4;;:22;;;;:::i;:::-;77833:9;:35;;77825:61;;;;-1:-1:-1;;;77825:61:0;;8537:2:1;77825:61:0;;;8519:21:1;8576:2;8556:18;;;8549:30;-1:-1:-1;;;8595:18:1;;;8588:43;8648:18;;77825:61:0;8335:337:1;77825:61:0;77908:29;77918:10;77930:6;77908:9;:29::i;:::-;77155:790;;77108:837;:::o;49978:218::-;50054:7;50079:16;50087:7;50079;:16::i;:::-;50074:64;;50104:34;;-1:-1:-1;;;50104:34:0;;;;;;;;;;;50074:64;-1:-1:-1;50158:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;50158:30:0;;49978:218::o;49411:408::-;49500:13;49516:16;49524:7;49516;:16::i;:::-;49500:32;-1:-1:-1;73744:10:0;-1:-1:-1;;;;;49549:28:0;;;49545:175;;49597:44;49614:5;73744:10;50927:164;:::i;49597:44::-;49592:128;;49669:35;;-1:-1:-1;;;49669:35:0;;;;;;;;;;;49592:128;49732:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;49732:35:0;-1:-1:-1;;;;;49732:35:0;;;;;;;;;49783:28;;49732:24;;49783:28;;;;;;;49489:330;49411:408;;:::o;79624:100::-;22609:13;:11;:13::i;:::-;79696:9:::1;:22;79708:10:::0;79696:9;:22:::1;:::i;:::-;;79624:100:::0;:::o;79730:77::-;22609:13;:11;:13::i;:::-;79786:6:::1;:15:::0;;-1:-1:-1;;79786:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;79730:77::o;79283:91::-;22609:13;:11;:13::i;:::-;79346:9:::1;:22:::0;79283:91::o;53617:2825::-;53759:27;53789;53808:7;53789:18;:27::i;:::-;53759:57;;53874:4;-1:-1:-1;;;;;53833:45:0;53849:19;-1:-1:-1;;;;;53833:45:0;;53829:86;;53887:28;;-1:-1:-1;;;53887:28:0;;;;;;;;;;;53829:86;53929:27;52725:24;;;:15;:24;;;;;52953:26;;73744:10;52350:30;;;-1:-1:-1;;;;;52043:28:0;;52328:20;;;52325:56;54115:180;;54208:43;54225:4;73744:10;50927:164;:::i;54208:43::-;54203:92;;54260:35;;-1:-1:-1;;;54260:35:0;;;;;;;;;;;54203:92;-1:-1:-1;;;;;54312:16:0;;54308:52;;54337:23;;-1:-1:-1;;;54337:23:0;;;;;;;;;;;54308:52;54509:15;54506:160;;;54649:1;54628:19;54621:30;54506:160;-1:-1:-1;;;;;55046:24:0;;;;;;;:18;:24;;;;;;55044:26;;-1:-1:-1;;55044:26:0;;;55115:22;;;;;;;;;55113:24;;-1:-1:-1;55113:24:0;;;48269:11;48244:23;48240:41;48227:63;-1:-1:-1;;;48227:63:0;55408:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;55703:47:0;;:52;;55699:627;;55808:1;55798:11;;55776:19;55931:30;;;:17;:30;;;;;;:35;;55927:384;;56069:13;;56054:11;:28;56050:242;;56216:30;;;;:17;:30;;;;;:52;;;56050:242;55757:569;55699:627;56373:7;56369:2;-1:-1:-1;;;;;56354:27:0;56363:4;-1:-1:-1;;;;;56354:27:0;;;;;;;;;;;56392:42;53748:2694;;;53617:2825;;;:::o;79977:150::-;22609:13;:11;:13::i;:::-;2378:21:::1;:19;:21::i;:::-;80035:7:::2;80056;22796:6:::0;;-1:-1:-1;;;;;22796:6:0;;22723:87;80056:7:::2;-1:-1:-1::0;;;;;80048:21:0::2;80077;80048:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80034:69;;;80118:2;80110:11;;;::::0;::::2;;80027:100;2422:20:::1;1816:1:::0;2942:7;:22;2759:213;2422:20:::1;79977:150::o:0;56538:193::-;56684:39;56701:4;56707:2;56711:7;56684:39;;;;;;;;;;;;:16;:39::i;78962:71::-;22609:13;:11;:13::i;:::-;79015:4:::1;:12:::0;78962:71::o;79380:132::-;22609:13;:11;:13::i;:::-;79468:17:::1;:38;79488:18:::0;79468:17;:38:::1;:::i;75871:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;79172:103::-;22609:13;:11;:13::i;:::-;79241:12:::1;:28:::0;79172:103::o;75802:28::-;;;;;;;:::i;44880:152::-;44952:7;44995:27;45014:7;44995:18;:27::i;40422:233::-;40494:7;-1:-1:-1;;;;;40518:19:0;;40514:60;;40546:28;;-1:-1:-1;;;40546:28:0;;;;;;;;;;;40514:60;-1:-1:-1;;;;;;40592:25:0;;;;;:18;:25;;;;;;34581:13;40592:55;;40422:233::o;23364:103::-;22609:13;:11;:13::i;:::-;23429:30:::1;23456:1;23429:18;:30::i;79518:100::-:0;22609:13;:11;:13::i;:::-;79590:9:::1;:22;79602:10:::0;79590:9;:22:::1;:::i;43663:104::-:0;43719:13;43752:7;43745:14;;;;;:::i;50536:234::-;73744:10;50631:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;50631:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;50631:60:0;;;;;;;;;;50707:55;;540:41:1;;;50631:49:0;;73744:10;50707:55;;513:18:1;50707:55:0;;;;;;;50536:234;;:::o;75835:31::-;;;;;;;:::i;79039:127::-;22609:13;:11;:13::i;:::-;79120:18:::1;:40:::0;79039:127::o;57329:407::-;57504:31;57517:4;57523:2;57527:7;57504:12;:31::i;:::-;-1:-1:-1;;;;;57550:14:0;;;:19;57546:183;;57589:56;57620:4;57626:2;57630:7;57639:5;57589:30;:56::i;:::-;57584:145;;57673:40;;-1:-1:-1;;;57673:40:0;;;;;;;;;;;57584:145;57329:407;;;;:::o;78128:442::-;78199:13;78229:17;78237:8;78229:7;:17::i;:::-;78221:77;;;;-1:-1:-1;;;78221:77:0;;11293:2:1;78221:77:0;;;11275:21:1;11332:2;11312:18;;;11305:30;11371:34;11351:18;;;11344:62;-1:-1:-1;;;11422:18:1;;;11415:45;11477:19;;78221:77:0;11091:411:1;78221:77:0;78311:8;;;;;;;:17;;78323:5;78311:17;78307:64;;78346:17;78339:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78128:442;;;:::o;78307:64::-;78379:28;78410:10;:8;:10::i;:::-;78379:41;;78465:1;78440:14;78434:28;:32;:130;;;;;;;;;;;;;;;;;78502:14;78518:19;:8;:17;:19::i;:::-;78539:9;78485:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78434:130;78427:137;78128:442;-1:-1:-1;;;78128:442:0:o;78875:81::-;22609:13;:11;:13::i;:::-;78933:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;78933:17:0;;::::1;::::0;;;::::1;::::0;;78875:81::o;50927:164::-;-1:-1:-1;;;;;51048:25:0;;;51024:4;51048:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50927:164::o;78650:219::-;22609:13;:11;:13::i;:::-;78783:9:::1;;78768:11;78752:13;39512:12:::0;;39299:7;39496:13;:28;;39238:323;78752:13:::1;:27;;;;:::i;:::-;:40;;78744:73;;;::::0;-1:-1:-1;;;78744:73:0;;12970:2:1;78744:73:0::1;::::0;::::1;12952:21:1::0;13009:2;12989:18;;;12982:30;-1:-1:-1;;;13028:18:1;;;13021:50;13088:18;;78744:73:0::1;12768:344:1::0;78744:73:0::1;78828:33;78838:9;78849:11;78828:9;:33::i;23622:201::-:0;22609:13;:11;:13::i;:::-;-1:-1:-1;;;;;23711:22:0;::::1;23703:73;;;::::0;-1:-1:-1;;;23703:73:0;;13319:2:1;23703:73:0::1;::::0;::::1;13301:21:1::0;13358:2;13338:18;;;13331:30;13397:34;13377:18;;;13370:62;-1:-1:-1;;;13448:18:1;;;13441:36;13494:19;;23703:73:0::1;13117:402:1::0;23703:73:0::1;23787:28;23806:8;23787:18;:28::i;:::-;23622:201:::0;:::o;79813:89::-;22609:13;:11;:13::i;:::-;79875:10:::1;:21:::0;79813:89::o;67489:112::-;67566:27;67576:2;67580:8;67566:27;;;;;;;;;;;;:9;:27::i;51349:282::-;51414:4;51504:13;;51494:7;:23;51451:153;;;;-1:-1:-1;;51555:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;51555:44:0;:49;;51349:282::o;22888:132::-;22796:6;;-1:-1:-1;;;;;22796:6:0;73744:10;22952:23;22944:68;;;;-1:-1:-1;;;22944:68:0;;13726:2:1;22944:68:0;;;13708:21:1;;;13745:18;;;13738:30;13804:34;13784:18;;;13777:62;13856:18;;22944:68:0;13524:356:1;46035:1275:0;46102:7;46137;46239:13;;46232:4;:20;46228:1015;;;46277:14;46294:23;;;:17;:23;;;;;;;-1:-1:-1;;;46383:24:0;;:29;;46379:845;;47048:113;47055:6;47065:1;47055:11;47048:113;;-1:-1:-1;;;47126:6:0;47108:25;;;;:17;:25;;;;;;47048:113;;46379:845;46254:989;46228:1015;47271:31;;-1:-1:-1;;;47271:31:0;;;;;;;;;;;2458:293;1860:1;2592:7;;:19;2584:63;;;;-1:-1:-1;;;2584:63:0;;14087:2:1;2584:63:0;;;14069:21:1;14126:2;14106:18;;;14099:30;14165:33;14145:18;;;14138:61;14216:18;;2584:63:0;13885:355:1;2584:63:0;1860:1;2725:7;:18;2458:293::o;23983:191::-;24076:6;;;-1:-1:-1;;;;;24093:17:0;;;-1:-1:-1;;;;;;24093:17:0;;;;;;;24126:40;;24076:6;;;24093:17;24076:6;;24126:40;;24057:16;;24126:40;24046:128;23983:191;:::o;59820:716::-;60004:88;;-1:-1:-1;;;60004:88:0;;59983:4;;-1:-1:-1;;;;;60004:45:0;;;;;:88;;73744:10;;60071:4;;60077:7;;60086:5;;60004:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60004:88:0;;;;;;;;-1:-1:-1;;60004:88:0;;;;;;;;;;;;:::i;:::-;;;60000:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60287:6;:13;60304:1;60287:18;60283:235;;60333:40;;-1:-1:-1;;;60333:40:0;;;;;;;;;;;60283:235;60476:6;60470:13;60461:6;60457:2;60453:15;60446:38;60000:529;-1:-1:-1;;;;;;60163:64:0;-1:-1:-1;;;60163:64:0;;-1:-1:-1;60000:529:0;59820:716;;;;;;:::o;78018:104::-;78078:13;78107:9;78100:16;;;;;:::i;18193:716::-;18249:13;18300:14;18317:17;18328:5;18317:10;:17::i;:::-;18337:1;18317:21;18300:38;;18353:20;18387:6;18376:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18376:18:0;-1:-1:-1;18353:41:0;-1:-1:-1;18518:28:0;;;18534:2;18518:28;18575:288;-1:-1:-1;;18607:5:0;-1:-1:-1;;;18744:2:0;18733:14;;18728:30;18607:5;18715:44;18805:2;18796:11;;;-1:-1:-1;18826:21:0;18575:288;18826:21;-1:-1:-1;18884:6:0;18193:716;-1:-1:-1;;;18193:716:0:o;66716:689::-;66847:19;66853:2;66857:8;66847:5;:19::i;:::-;-1:-1:-1;;;;;66908:14:0;;;:19;66904:483;;66948:11;66962:13;67010:14;;;67043:233;67074:62;67113:1;67117:2;67121:7;;;;;;67130:5;67074:30;:62::i;:::-;67069:167;;67172:40;;-1:-1:-1;;;67172:40:0;;;;;;;;;;;67069:167;67271:3;67263:5;:11;67043:233;;67358:3;67341:13;;:20;67337:34;;67363:8;;;67337:34;66929:458;;66716:689;;;:::o;15027:948::-;15080:7;;-1:-1:-1;;;15158:17:0;;15154:106;;-1:-1:-1;;;15196:17:0;;;-1:-1:-1;15242:2:0;15232:12;15154:106;15287:8;15278:5;:17;15274:106;;15325:8;15316:17;;;-1:-1:-1;15362:2:0;15352:12;15274:106;15407:8;15398:5;:17;15394:106;;15445:8;15436:17;;;-1:-1:-1;15482:2:0;15472:12;15394:106;15527:7;15518:5;:16;15514:103;;15564:7;15555:16;;;-1:-1:-1;15600:1:0;15590:11;15514:103;15644:7;15635:5;:16;15631:103;;15681:7;15672:16;;;-1:-1:-1;15717:1:0;15707:11;15631:103;15761:7;15752:5;:16;15748:103;;15798:7;15789:16;;;-1:-1:-1;15834:1:0;15824:11;15748:103;15878:7;15869:5;:16;15865:68;;15916:1;15906:11;15961:6;15027:948;-1:-1:-1;;15027:948:0:o;60998:2966::-;61071:20;61094:13;;;61122;;;61118:44;;61144:18;;-1:-1:-1;;;61144:18:0;;;;;;;;;;;61118:44;-1:-1:-1;;;;;61650:22:0;;;;;;:18;:22;;;;34719:2;61650:22;;;:71;;61688:32;61676:45;;61650:71;;;61964:31;;;:17;:31;;;;;-1:-1:-1;48700:15:0;;48674:24;48670:46;48269:11;48244:23;48240:41;48237:52;48227:63;;61964:173;;62199:23;;;;61964:31;;61650:22;;62964:25;61650:22;;62817:335;63478:1;63464:12;63460:20;63418:346;63519:3;63510:7;63507:16;63418:346;;63737:7;63727:8;63724:1;63697:25;63694:1;63691;63686:59;63572:1;63559:15;63418:346;;;63422:77;63797:8;63809:1;63797:13;63793:45;;63819:19;;-1:-1:-1;;;63819:19:0;;;;;;;;;;;63793:45;63855:13;:19;-1:-1:-1;77155:790:0;;77108:837;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:127::-;2421:10;2416:3;2412:20;2409:1;2402:31;2452:4;2449:1;2442:15;2476:4;2473:1;2466:15;2492:632;2557:5;2587:18;2628:2;2620:6;2617:14;2614:40;;;2634:18;;:::i;:::-;2709:2;2703:9;2677:2;2763:15;;-1:-1:-1;;2759:24:1;;;2785:2;2755:33;2751:42;2739:55;;;2809:18;;;2829:22;;;2806:46;2803:72;;;2855:18;;:::i;:::-;2895:10;2891:2;2884:22;2924:6;2915:15;;2954:6;2946;2939:22;2994:3;2985:6;2980:3;2976:16;2973:25;2970:45;;;3011:1;3008;3001:12;2970:45;3061:6;3056:3;3049:4;3041:6;3037:17;3024:44;3116:1;3109:4;3100:6;3092;3088:19;3084:30;3077:41;;;;2492:632;;;;;:::o;3129:451::-;3198:6;3251:2;3239:9;3230:7;3226:23;3222:32;3219:52;;;3267:1;3264;3257:12;3219:52;3307:9;3294:23;3340:18;3332:6;3329:30;3326:50;;;3372:1;3369;3362:12;3326:50;3395:22;;3448:4;3440:13;;3436:27;-1:-1:-1;3426:55:1;;3477:1;3474;3467:12;3426:55;3500:74;3566:7;3561:2;3548:16;3543:2;3539;3535:11;3500:74;:::i;3585:160::-;3650:20;;3706:13;;3699:21;3689:32;;3679:60;;3735:1;3732;3725:12;3750:180;3806:6;3859:2;3847:9;3838:7;3834:23;3830:32;3827:52;;;3875:1;3872;3865:12;3827:52;3898:26;3914:9;3898:26;:::i;3935:328::-;4012:6;4020;4028;4081:2;4069:9;4060:7;4056:23;4052:32;4049:52;;;4097:1;4094;4087:12;4049:52;4120:29;4139:9;4120:29;:::i;:::-;4110:39;;4168:38;4202:2;4191:9;4187:18;4168:38;:::i;:::-;4158:48;;4253:2;4242:9;4238:18;4225:32;4215:42;;3935:328;;;;;:::o;4268:186::-;4327:6;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4419:29;4438:9;4419:29;:::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:254::-;5723:6;5731;5784:2;5772:9;5763:7;5759:23;5755:32;5752:52;;;5800:1;5797;5790:12;5752:52;5836:9;5823:23;5813:33;;5865:38;5899:2;5888:9;5884:18;5865:38;:::i;5914:380::-;5993:1;5989:12;;;;6036;;;6057:61;;6111:4;6103:6;6099:17;6089:27;;6057:61;6164:2;6156:6;6153:14;6133:18;6130:38;6127:161;;6210:10;6205:3;6201:20;6198:1;6191:31;6245:4;6242:1;6235:15;6273:4;6270:1;6263:15;6127:161;;5914:380;;;:::o;6646:127::-;6707:10;6702:3;6698:20;6695:1;6688:31;6738:4;6735:1;6728:15;6762:4;6759:1;6752:15;6778:125;6843:9;;;6864:10;;;6861:36;;;6877:18;;:::i;7671:128::-;7738:9;;;7759:11;;;7756:37;;;7773:18;;:::i;8162:168::-;8235:9;;;8266;;8283:15;;;8277:22;;8263:37;8253:71;;8304:18;;:::i;8803:545::-;8905:2;8900:3;8897:11;8894:448;;;8941:1;8966:5;8962:2;8955:17;9011:4;9007:2;8997:19;9081:2;9069:10;9065:19;9062:1;9058:27;9052:4;9048:38;9117:4;9105:10;9102:20;9099:47;;;-1:-1:-1;9140:4:1;9099:47;9195:2;9190:3;9186:12;9183:1;9179:20;9173:4;9169:31;9159:41;;9250:82;9268:2;9261:5;9258:13;9250:82;;;9313:17;;;9294:1;9283:13;9250:82;;9524:1352;9650:3;9644:10;9677:18;9669:6;9666:30;9663:56;;;9699:18;;:::i;:::-;9728:97;9818:6;9778:38;9810:4;9804:11;9778:38;:::i;:::-;9772:4;9728:97;:::i;:::-;9880:4;;9944:2;9933:14;;9961:1;9956:663;;;;10663:1;10680:6;10677:89;;;-1:-1:-1;10732:19:1;;;10726:26;10677:89;-1:-1:-1;;9481:1:1;9477:11;;;9473:24;9469:29;9459:40;9505:1;9501:11;;;9456:57;10779:81;;9926:944;;9956:663;8750:1;8743:14;;;8787:4;8774:18;;-1:-1:-1;;9992:20:1;;;10110:236;10124:7;10121:1;10118:14;10110:236;;;10213:19;;;10207:26;10192:42;;10305:27;;;;10273:1;10261:14;;;;10140:19;;10110:236;;;10114:3;10374:6;10365:7;10362:19;10359:201;;;10435:19;;;10429:26;-1:-1:-1;;10518:1:1;10514:14;;;10530:3;10510:24;10506:37;10502:42;10487:58;10472:74;;10359:201;-1:-1:-1;;;;;10606:1:1;10590:14;;;10586:22;10573:36;;-1:-1:-1;9524:1352:1:o;11507:1256::-;11731:3;11769:6;11763:13;11795:4;11808:64;11865:6;11860:3;11855:2;11847:6;11843:15;11808:64;:::i;:::-;11935:13;;11894:16;;;;11957:68;11935:13;11894:16;11992:15;;;11957:68;:::i;:::-;12114:13;;12047:20;;;12087:1;;12152:36;12114:13;12152:36;:::i;:::-;12207:1;12224:18;;;12251:141;;;;12406:1;12401:337;;;;12217:521;;12251:141;-1:-1:-1;;12286:24:1;;12272:39;;12363:16;;12356:24;12342:39;;12331:51;;;-1:-1:-1;12251:141:1;;12401:337;12432:6;12429:1;12422:17;12480:2;12477:1;12467:16;12505:1;12519:169;12533:8;12530:1;12527:15;12519:169;;;12615:14;;12600:13;;;12593:37;12658:16;;;;12550:10;;12519:169;;;12523:3;;12719:8;12712:5;12708:20;12701:27;;12217:521;-1:-1:-1;12754:3:1;;11507:1256;-1:-1:-1;;;;;;;;;;11507:1256:1:o;14245:489::-;-1:-1:-1;;;;;14514:15:1;;;14496:34;;14566:15;;14561:2;14546:18;;14539:43;14613:2;14598:18;;14591:34;;;14661:3;14656:2;14641:18;;14634:31;;;14439:4;;14682:46;;14708:19;;14700:6;14682:46;:::i;:::-;14674:54;14245:489;-1:-1:-1;;;;;;14245:489:1:o;14739:249::-;14808:6;14861:2;14849:9;14840:7;14836:23;14832:32;14829:52;;;14877:1;14874;14867:12;14829:52;14909:9;14903:16;14928:30;14952:5;14928:30;:::i
Swarm Source
ipfs://ac01879550949110222ef6b85881c5adf008bf96bc67185da664971048dfbad1
Loading...
Loading
Loading...
Loading
OVERVIEW
SHДDФЩS ФF ILLЦMIИДΓI4444 SЦPPLУ FЦLLУ ДИIMДΓΞD CФLLΞCΓIФИMultichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.