Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,105 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19707342 | 215 days ago | IN | 0 ETH | 0.00031119 | ||||
Set Approval For... | 18903963 | 328 days ago | IN | 0 ETH | 0.00055663 | ||||
Set Approval For... | 18177516 | 430 days ago | IN | 0 ETH | 0.00087755 | ||||
Set Approval For... | 17549729 | 518 days ago | IN | 0 ETH | 0.00059881 | ||||
Set Approval For... | 17547318 | 518 days ago | IN | 0 ETH | 0.00063931 | ||||
Withdraw | 17546849 | 518 days ago | IN | 0 ETH | 0.00039414 | ||||
Set Approval For... | 17544652 | 519 days ago | IN | 0 ETH | 0.00061171 | ||||
Set Approval For... | 17544448 | 519 days ago | IN | 0 ETH | 0.00071072 | ||||
Set Approval For... | 17544446 | 519 days ago | IN | 0 ETH | 0.00070758 | ||||
Set Approval For... | 17544422 | 519 days ago | IN | 0 ETH | 0.00075192 | ||||
Set Approval For... | 17544371 | 519 days ago | IN | 0 ETH | 0.00087874 | ||||
Set Approval For... | 17544344 | 519 days ago | IN | 0 ETH | 0.00086116 | ||||
Set Approval For... | 17544317 | 519 days ago | IN | 0 ETH | 0.00110357 | ||||
Set Approval For... | 17544311 | 519 days ago | IN | 0 ETH | 0.00111093 | ||||
Set Approval For... | 17544306 | 519 days ago | IN | 0 ETH | 0.00107831 | ||||
Set Approval For... | 17544306 | 519 days ago | IN | 0 ETH | 0.0010983 | ||||
Set Approval For... | 17544304 | 519 days ago | IN | 0 ETH | 0.00110443 | ||||
Set Approval For... | 17544297 | 519 days ago | IN | 0 ETH | 0.00100033 | ||||
Set Approval For... | 17544291 | 519 days ago | IN | 0 ETH | 0.00101452 | ||||
Set Approval For... | 17544287 | 519 days ago | IN | 0 ETH | 0.00106989 | ||||
Set Approval For... | 17544286 | 519 days ago | IN | 0 ETH | 0.00097242 | ||||
Set Approval For... | 17544286 | 519 days ago | IN | 0 ETH | 0.00105995 | ||||
Set Approval For... | 17544286 | 519 days ago | IN | 0 ETH | 0.00105995 | ||||
Set Approval For... | 17544286 | 519 days ago | IN | 0 ETH | 0.00105995 | ||||
Set Approval For... | 17544286 | 519 days ago | IN | 0 ETH | 0.00105995 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17546849 | 518 days ago | 1.445 ETH |
Loading...
Loading
Contract Name:
ELEMENTOR
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-23 */ // File: @openzeppelin\contracts\security\ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin\contracts\utils\Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin\contracts\access\Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin\contracts\utils\math\Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` //  `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` //  `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin\contracts\utils\Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: node_modules\erc721a\contracts\IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a\contracts\ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts\contract.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract ELEMENTOR is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public maxSupply = 4443; uint256 public maxFreeSupply = 4443; uint256 public cost = 0.001 ether; uint256 public freeAmount = 3; uint256 public maxPerWallet = 18; bool public isRevealed = true; bool public pause = false; string private baseURL = ""; string public hiddenMetadataUrl = ""; mapping(address => uint256) public userBalance; constructor( string memory _baseMetadataUrl ) ERC721A("ELEMENTOR", "ELEMENTOR") { setBaseUri(_baseMetadataUrl); } function _baseURI() internal view override returns (string memory) { return baseURL; } function setBaseUri(string memory _baseURL) public onlyOwner { baseURL = _baseURL; } function mint(uint256 mintAmount) external payable { require(!pause, "The sale is paused"); if(userBalance[msg.sender] >= freeAmount) require(msg.value >= cost * mintAmount, "Insufficient funds"); else{ if(totalSupply() + mintAmount <= maxFreeSupply) require(msg.value >= cost * (mintAmount - (freeAmount - userBalance[msg.sender])), "Insufficient funds"); else require(msg.value >= cost * mintAmount, "Insufficient funds"); } require(_totalMinted() + mintAmount <= maxSupply,"Exceeds max supply"); require(userBalance[msg.sender] + mintAmount <= maxPerWallet, "Exceeds max per wallet"); _safeMint(msg.sender, mintAmount); userBalance[msg.sender] = userBalance[msg.sender] + mintAmount; } function airdrop(address to, uint256 mintAmount) external onlyOwner { require( _totalMinted() + mintAmount <= maxSupply, "Exceeds max supply" ); _safeMint(to, mintAmount); } function sethiddenMetadataUrl(string memory _hiddenMetadataUrl) public onlyOwner { hiddenMetadataUrl = _hiddenMetadataUrl; } function reveal(bool _state) external onlyOwner { isRevealed = _state; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setMaxSupply(uint256 newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function setMaxFreeSupply(uint256 newMaxFreeSupply) external onlyOwner { maxFreeSupply = newMaxFreeSupply; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "That token doesn't exist"); if(isRevealed == false) { return hiddenMetadataUrl; } else return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")) : ""; } function setCost(uint256 _newCost) public onlyOwner{ cost = _newCost; } function setPause(bool _state) public onlyOwner{ pause = _state; } function setFreeAmount(uint256 _newAmt) public onlyOwner{ require(_newAmt < maxPerWallet, "Not possible"); freeAmount = _newAmt; } function setMaxPerWallet(uint256 _newAmt) public onlyOwner{ require(_newAmt > freeAmount, "Not possible"); maxPerWallet = _newAmt; } function withdraw() external onlyOwner { (bool success, ) = payable(owner()).call{ value: address(this).balance }(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseMetadataUrl","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURL","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxFreeSupply","type":"uint256"}],"name":"setMaxFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUrl","type":"string"}],"name":"sethiddenMetadataUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61115b600a819055600b5566038d7ea4c68000600c556003600d556012600e55600f805461ffff1916600117905560a06040526000608090815260109062000048908262000286565b5060408051602081019091526000815260119062000067908262000286565b503480156200007557600080fd5b506040516200217838038062002178833981016040819052620000989162000352565b60408051808201825260098082526822a622a6a2a72a27a960b91b6020808401829052845180860190955291845290830152906002620000d9838262000286565b506003620000e8828262000286565b5050600160005550620000fb3362000112565b60016009556200010b8162000164565b5062000427565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016e62000180565b60106200017c828262000286565b5050565b6008546001600160a01b03163314620001df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020c57607f821691505b6020821081036200022d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028157600081815260208120601f850160051c810160208610156200025c5750805b601f850160051c820191505b818110156200027d5782815560010162000268565b5050505b505050565b81516001600160401b03811115620002a257620002a2620001e1565b620002ba81620002b38454620001f7565b8462000233565b602080601f831160018114620002f25760008415620002d95750858301515b600019600386901b1c1916600185901b1785556200027d565b600085815260208120601f198616915b82811015620003235788860151825594840194600190910190840162000302565b5085821015620003425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083850312156200036657600080fd5b82516001600160401b03808211156200037e57600080fd5b818501915085601f8301126200039357600080fd5b815181811115620003a857620003a8620001e1565b604051601f8201601f19908116603f01168101908382118183101715620003d357620003d3620001e1565b816040528281528886848701011115620003ec57600080fd5b600093505b82841015620004105784840186015181850187015292850192620003f1565b600086848301015280965050505050505092915050565b611d4180620004376000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a0bcfc7f116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461069457600080fd5b8063a0bcfc7f14610562578063a22cb46514610582578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104dc57806392910eec146104fa578063940cd05b1461051a57806395d89b411461053a578063a0712d681461054f57600080fd5b806370a0823114610468578063715018a6146104885780638456cb591461049d5780638ba4cc3c146104bc57600080fd5b806323b872dd116101b1578063475133341161017557806347513334146103d857806354214f69146103ee5780635b28fd91146104085780636352211e146104285780636f8b44b01461044857600080fd5b806323b872dd146103675780633ccfd60b1461037a57806342842e0e1461038f57806344a0d68a146103a2578063453c2310146103c257600080fd5b8063081812fc116101f8578063081812fc146102d2578063095ea7b31461030a57806313faede61461031f5780631638fef01461033557806318160ddd1461034a57600080fd5b80630103c92b1461022a57806301ffc9a71461026a5780630451a9f11461029a57806306fdde03146102b0575b600080fd5b34801561023657600080fd5b506102576102453660046117d7565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a610285366004611808565b6106b4565b6040519015158152602001610261565b3480156102a657600080fd5b50610257600d5481565b3480156102bc57600080fd5b506102c5610706565b6040516102619190611875565b3480156102de57600080fd5b506102f26102ed366004611888565b610798565b6040516001600160a01b039091168152602001610261565b61031d6103183660046118a1565b6107dc565b005b34801561032b57600080fd5b50610257600c5481565b34801561034157600080fd5b506102c5610899565b34801561035657600080fd5b506001546000540360001901610257565b61031d6103753660046118cb565b610927565b34801561038657600080fd5b5061031d610add565b61031d61039d3660046118cb565b610b59565b3480156103ae57600080fd5b5061031d6103bd366004611888565b610b79565b3480156103ce57600080fd5b50610257600e5481565b3480156103e457600080fd5b50610257600b5481565b3480156103fa57600080fd5b50600f5461028a9060ff1681565b34801561041457600080fd5b5061031d610423366004611888565b610b86565b34801561043457600080fd5b506102f2610443366004611888565b610b93565b34801561045457600080fd5b5061031d610463366004611888565b610b9e565b34801561047457600080fd5b506102576104833660046117d7565b610bab565b34801561049457600080fd5b5061031d610bfa565b3480156104a957600080fd5b50600f5461028a90610100900460ff1681565b3480156104c857600080fd5b5061031d6104d73660046118a1565b610c0e565b3480156104e857600080fd5b506008546001600160a01b03166102f2565b34801561050657600080fd5b5061031d610515366004611888565b610c87565b34801561052657600080fd5b5061031d610535366004611917565b610cd4565b34801561054657600080fd5b506102c5610cef565b61031d61055d366004611888565b610cfe565b34801561056e57600080fd5b5061031d61057d3660046119be565b610f62565b34801561058e57600080fd5b5061031d61059d366004611a07565b610f76565b61031d6105b0366004611a3a565b610fe2565b3480156105c157600080fd5b5061031d6105d0366004611917565b61102c565b3480156105e157600080fd5b506102c56105f0366004611888565b61104e565b34801561060157600080fd5b5061031d6106103660046119be565b6111a7565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b5061031d610646366004611888565b6111bb565b34801561065757600080fd5b5061028a610666366004611ab6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106a057600080fd5b5061031d6106af3660046117d7565b611208565b60006301ffc9a760e01b6001600160e01b0319831614806106e557506380ac58cd60e01b6001600160e01b03198316145b806107005750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071590611ae0565b80601f016020809104026020016040519081016040528092919081815260200182805461074190611ae0565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b60006107a38261127e565b6107c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107e782610b93565b9050336001600160a01b0382161461083d576001600160a01b038116600090815260076020908152604080832033845290915290205460ff1661083d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b601180546108a690611ae0565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290611ae0565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b505050505081565b6000610932826112b3565b9050836001600160a01b0316816001600160a01b0316146109655760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109cf576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166109cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109f657604051633a954ecd60e21b815260040160405180910390fd5b8015610a0157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a9357600184016000818152600460205260408120549003610a91576000548114610a915760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610ae5611329565b6000610af96008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b43576040519150601f19603f3d011682016040523d82523d6000602084013e610b48565b606091505b5050905080610b5657600080fd5b50565b610b7483838360405180602001604052806000815250610fe2565b505050565b610b81611329565b600c55565b610b8e611329565b600b55565b6000610700826112b3565b610ba6611329565b600a55565b60006001600160a01b038216610bd4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c02611329565b610c0c6000611383565b565b610c16611329565b600a5481610c276000546000190190565b610c319190611b30565b1115610c795760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610c8382826113d5565b5050565b610c8f611329565b600e548110610ccf5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c70565b600d55565b610cdc611329565b600f805460ff1916911515919091179055565b60606003805461071590611ae0565b600f54610100900460ff1615610d4b5760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610c70565b600d543360009081526012602052604090205410610dba5780600c54610d719190611b43565b341015610db55760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c70565b610e60565b600b546001546000548391900360001901610dd59190611b30565b11610e0e5733600090815260126020526040902054600d54610df79190611b5a565b610e019082611b5a565b600c54610d719190611b43565b80600c54610e1c9190611b43565b341015610e605760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c70565b600a5481610e716000546000190190565b610e7b9190611b30565b1115610ebe5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610c70565b600e5433600090815260126020526040902054610edc908390611b30565b1115610f2a5760405162461bcd60e51b815260206004820152601660248201527f45786365656473206d6178207065722077616c6c6574000000000000000000006044820152606401610c70565b610f3433826113d5565b33600090815260126020526040902054610f4f908290611b30565b3360009081526012602052604090205550565b610f6a611329565b6010610c838282611bb3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fed848484610927565b6001600160a01b0383163b1561102657611009848484846113ef565b611026576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611034611329565b600f80549115156101000261ff0019909216919091179055565b60606110598261127e565b6110a55760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610c70565b600f5460ff16151560000361114657601180546110c190611ae0565b80601f01602080910402602001604051908101604052809291908181526020018280546110ed90611ae0565b801561113a5780601f1061110f5761010080835404028352916020019161113a565b820191906000526020600020905b81548152906001019060200180831161111d57829003601f168201915b50505050509050919050565b60006111506114db565b511161116b5760405180602001604052806000815250610700565b6111736114db565b61117c836114ea565b60405160200161118d929190611c73565b60405160208183030381529060405292915050565b919050565b6111af611329565b6011610c838282611bb3565b6111c3611329565b600d5481116112035760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c70565b600e55565b611210611329565b6001600160a01b0381166112755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c70565b610b5681611383565b600081600111158015611292575060005482105b8015610700575050600090815260046020526040902054600160e01b161590565b60008180600111611310576000548110156113105760008181526004602052604081205490600160e01b8216900361130e575b806000036113075750600019016000818152600460205260409020546112e6565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c70565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c8382826040518060200160405280600081525061157d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611424903390899088908890600401611cb2565b6020604051808303816000875af192505050801561145f575060408051601f3d908101601f1916820190925261145c91810190611cee565b60015b6114bd573d80801561148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b5080516000036114b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606010805461071590611ae0565b606060006114f7836115ea565b600101905060008167ffffffffffffffff81111561151757611517611932565b6040519080825280601f01601f191660200182016040528015611541576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461154b57509392505050565b61158783836116c2565b6001600160a01b0383163b15610b74576000548281035b6115b160008683806001019450866113ef565b6115ce576040516368d2bf6b60e11b815260040160405180910390fd5b81811061159e5781600054146115e357600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116295772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611655576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167357662386f26fc10000830492506010015b6305f5e100831061168b576305f5e100830492506008015b612710831061169f57612710830492506004015b606483106116b1576064830492506002015b600a83106107005760010192915050565b60008054908290036116e75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161175e565b50816000036117b757604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b03811681146111a257600080fd5b6000602082840312156117e957600080fd5b611307826117c0565b6001600160e01b031981168114610b5657600080fd5b60006020828403121561181a57600080fd5b8135611307816117f2565b60005b83811015611840578181015183820152602001611828565b50506000910152565b60008151808452611861816020860160208601611825565b601f01601f19169290920160200192915050565b6020815260006113076020830184611849565b60006020828403121561189a57600080fd5b5035919050565b600080604083850312156118b457600080fd5b6118bd836117c0565b946020939093013593505050565b6000806000606084860312156118e057600080fd5b6118e9846117c0565b92506118f7602085016117c0565b9150604084013590509250925092565b803580151581146111a257600080fd5b60006020828403121561192957600080fd5b61130782611907565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196357611963611932565b604051601f8501601f19908116603f0116810190828211818310171561198b5761198b611932565b816040528093508581528686860111156119a457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119d057600080fd5b813567ffffffffffffffff8111156119e757600080fd5b8201601f810184136119f857600080fd5b6114d384823560208401611948565b60008060408385031215611a1a57600080fd5b611a23836117c0565b9150611a3160208401611907565b90509250929050565b60008060008060808587031215611a5057600080fd5b611a59856117c0565b9350611a67602086016117c0565b925060408501359150606085013567ffffffffffffffff811115611a8a57600080fd5b8501601f81018713611a9b57600080fd5b611aaa87823560208401611948565b91505092959194509250565b60008060408385031215611ac957600080fd5b611ad2836117c0565b9150611a31602084016117c0565b600181811c90821680611af457607f821691505b602082108103611b1457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070057610700611b1a565b808202811582820484141761070057610700611b1a565b8181038181111561070057610700611b1a565b601f821115610b7457600081815260208120601f850160051c81016020861015611b945750805b601f850160051c820191505b81811015610ad557828155600101611ba0565b815167ffffffffffffffff811115611bcd57611bcd611932565b611be181611bdb8454611ae0565b84611b6d565b602080601f831160018114611c165760008415611bfe5750858301515b600019600386901b1c1916600185901b178555610ad5565b600085815260208120601f198616915b82811015611c4557888601518255948401946001909101908401611c26565b5085821015611c635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c85818460208801611825565b835190830190611c99818360208801611825565b64173539b7b760d91b9101908152600501949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611ce46080830184611849565b9695505050505050565b600060208284031215611d0057600080fd5b8151611307816117f256fea2646970667358221220cec78c4fc22b2a3978aa37f4e6f8239d473f19445f2d395210c73cefdccec10564736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569627168353366687077616b75757168336635646c7a63747036637a77356e616779717237636a32696737667467777433376d34612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a0bcfc7f116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461069457600080fd5b8063a0bcfc7f14610562578063a22cb46514610582578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104dc57806392910eec146104fa578063940cd05b1461051a57806395d89b411461053a578063a0712d681461054f57600080fd5b806370a0823114610468578063715018a6146104885780638456cb591461049d5780638ba4cc3c146104bc57600080fd5b806323b872dd116101b1578063475133341161017557806347513334146103d857806354214f69146103ee5780635b28fd91146104085780636352211e146104285780636f8b44b01461044857600080fd5b806323b872dd146103675780633ccfd60b1461037a57806342842e0e1461038f57806344a0d68a146103a2578063453c2310146103c257600080fd5b8063081812fc116101f8578063081812fc146102d2578063095ea7b31461030a57806313faede61461031f5780631638fef01461033557806318160ddd1461034a57600080fd5b80630103c92b1461022a57806301ffc9a71461026a5780630451a9f11461029a57806306fdde03146102b0575b600080fd5b34801561023657600080fd5b506102576102453660046117d7565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a610285366004611808565b6106b4565b6040519015158152602001610261565b3480156102a657600080fd5b50610257600d5481565b3480156102bc57600080fd5b506102c5610706565b6040516102619190611875565b3480156102de57600080fd5b506102f26102ed366004611888565b610798565b6040516001600160a01b039091168152602001610261565b61031d6103183660046118a1565b6107dc565b005b34801561032b57600080fd5b50610257600c5481565b34801561034157600080fd5b506102c5610899565b34801561035657600080fd5b506001546000540360001901610257565b61031d6103753660046118cb565b610927565b34801561038657600080fd5b5061031d610add565b61031d61039d3660046118cb565b610b59565b3480156103ae57600080fd5b5061031d6103bd366004611888565b610b79565b3480156103ce57600080fd5b50610257600e5481565b3480156103e457600080fd5b50610257600b5481565b3480156103fa57600080fd5b50600f5461028a9060ff1681565b34801561041457600080fd5b5061031d610423366004611888565b610b86565b34801561043457600080fd5b506102f2610443366004611888565b610b93565b34801561045457600080fd5b5061031d610463366004611888565b610b9e565b34801561047457600080fd5b506102576104833660046117d7565b610bab565b34801561049457600080fd5b5061031d610bfa565b3480156104a957600080fd5b50600f5461028a90610100900460ff1681565b3480156104c857600080fd5b5061031d6104d73660046118a1565b610c0e565b3480156104e857600080fd5b506008546001600160a01b03166102f2565b34801561050657600080fd5b5061031d610515366004611888565b610c87565b34801561052657600080fd5b5061031d610535366004611917565b610cd4565b34801561054657600080fd5b506102c5610cef565b61031d61055d366004611888565b610cfe565b34801561056e57600080fd5b5061031d61057d3660046119be565b610f62565b34801561058e57600080fd5b5061031d61059d366004611a07565b610f76565b61031d6105b0366004611a3a565b610fe2565b3480156105c157600080fd5b5061031d6105d0366004611917565b61102c565b3480156105e157600080fd5b506102c56105f0366004611888565b61104e565b34801561060157600080fd5b5061031d6106103660046119be565b6111a7565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b5061031d610646366004611888565b6111bb565b34801561065757600080fd5b5061028a610666366004611ab6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106a057600080fd5b5061031d6106af3660046117d7565b611208565b60006301ffc9a760e01b6001600160e01b0319831614806106e557506380ac58cd60e01b6001600160e01b03198316145b806107005750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071590611ae0565b80601f016020809104026020016040519081016040528092919081815260200182805461074190611ae0565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b60006107a38261127e565b6107c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107e782610b93565b9050336001600160a01b0382161461083d576001600160a01b038116600090815260076020908152604080832033845290915290205460ff1661083d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b601180546108a690611ae0565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290611ae0565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b505050505081565b6000610932826112b3565b9050836001600160a01b0316816001600160a01b0316146109655760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109cf576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166109cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109f657604051633a954ecd60e21b815260040160405180910390fd5b8015610a0157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a9357600184016000818152600460205260408120549003610a91576000548114610a915760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610ae5611329565b6000610af96008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b43576040519150601f19603f3d011682016040523d82523d6000602084013e610b48565b606091505b5050905080610b5657600080fd5b50565b610b7483838360405180602001604052806000815250610fe2565b505050565b610b81611329565b600c55565b610b8e611329565b600b55565b6000610700826112b3565b610ba6611329565b600a55565b60006001600160a01b038216610bd4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c02611329565b610c0c6000611383565b565b610c16611329565b600a5481610c276000546000190190565b610c319190611b30565b1115610c795760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610c8382826113d5565b5050565b610c8f611329565b600e548110610ccf5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c70565b600d55565b610cdc611329565b600f805460ff1916911515919091179055565b60606003805461071590611ae0565b600f54610100900460ff1615610d4b5760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610c70565b600d543360009081526012602052604090205410610dba5780600c54610d719190611b43565b341015610db55760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c70565b610e60565b600b546001546000548391900360001901610dd59190611b30565b11610e0e5733600090815260126020526040902054600d54610df79190611b5a565b610e019082611b5a565b600c54610d719190611b43565b80600c54610e1c9190611b43565b341015610e605760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c70565b600a5481610e716000546000190190565b610e7b9190611b30565b1115610ebe5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610c70565b600e5433600090815260126020526040902054610edc908390611b30565b1115610f2a5760405162461bcd60e51b815260206004820152601660248201527f45786365656473206d6178207065722077616c6c6574000000000000000000006044820152606401610c70565b610f3433826113d5565b33600090815260126020526040902054610f4f908290611b30565b3360009081526012602052604090205550565b610f6a611329565b6010610c838282611bb3565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fed848484610927565b6001600160a01b0383163b1561102657611009848484846113ef565b611026576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611034611329565b600f80549115156101000261ff0019909216919091179055565b60606110598261127e565b6110a55760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610c70565b600f5460ff16151560000361114657601180546110c190611ae0565b80601f01602080910402602001604051908101604052809291908181526020018280546110ed90611ae0565b801561113a5780601f1061110f5761010080835404028352916020019161113a565b820191906000526020600020905b81548152906001019060200180831161111d57829003601f168201915b50505050509050919050565b60006111506114db565b511161116b5760405180602001604052806000815250610700565b6111736114db565b61117c836114ea565b60405160200161118d929190611c73565b60405160208183030381529060405292915050565b919050565b6111af611329565b6011610c838282611bb3565b6111c3611329565b600d5481116112035760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c70565b600e55565b611210611329565b6001600160a01b0381166112755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c70565b610b5681611383565b600081600111158015611292575060005482105b8015610700575050600090815260046020526040902054600160e01b161590565b60008180600111611310576000548110156113105760008181526004602052604081205490600160e01b8216900361130e575b806000036113075750600019016000818152600460205260409020546112e6565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c70565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c8382826040518060200160405280600081525061157d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611424903390899088908890600401611cb2565b6020604051808303816000875af192505050801561145f575060408051601f3d908101601f1916820190925261145c91810190611cee565b60015b6114bd573d80801561148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b5080516000036114b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606010805461071590611ae0565b606060006114f7836115ea565b600101905060008167ffffffffffffffff81111561151757611517611932565b6040519080825280601f01601f191660200182016040528015611541576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461154b57509392505050565b61158783836116c2565b6001600160a01b0383163b15610b74576000548281035b6115b160008683806001019450866113ef565b6115ce576040516368d2bf6b60e11b815260040160405180910390fd5b81811061159e5781600054146115e357600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116295772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611655576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167357662386f26fc10000830492506010015b6305f5e100831061168b576305f5e100830492506008015b612710831061169f57612710830492506004015b606483106116b1576064830492506002015b600a83106107005760010192915050565b60008054908290036116e75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161175e565b50816000036117b757604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b03811681146111a257600080fd5b6000602082840312156117e957600080fd5b611307826117c0565b6001600160e01b031981168114610b5657600080fd5b60006020828403121561181a57600080fd5b8135611307816117f2565b60005b83811015611840578181015183820152602001611828565b50506000910152565b60008151808452611861816020860160208601611825565b601f01601f19169290920160200192915050565b6020815260006113076020830184611849565b60006020828403121561189a57600080fd5b5035919050565b600080604083850312156118b457600080fd5b6118bd836117c0565b946020939093013593505050565b6000806000606084860312156118e057600080fd5b6118e9846117c0565b92506118f7602085016117c0565b9150604084013590509250925092565b803580151581146111a257600080fd5b60006020828403121561192957600080fd5b61130782611907565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196357611963611932565b604051601f8501601f19908116603f0116810190828211818310171561198b5761198b611932565b816040528093508581528686860111156119a457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119d057600080fd5b813567ffffffffffffffff8111156119e757600080fd5b8201601f810184136119f857600080fd5b6114d384823560208401611948565b60008060408385031215611a1a57600080fd5b611a23836117c0565b9150611a3160208401611907565b90509250929050565b60008060008060808587031215611a5057600080fd5b611a59856117c0565b9350611a67602086016117c0565b925060408501359150606085013567ffffffffffffffff811115611a8a57600080fd5b8501601f81018713611a9b57600080fd5b611aaa87823560208401611948565b91505092959194509250565b60008060408385031215611ac957600080fd5b611ad2836117c0565b9150611a31602084016117c0565b600181811c90821680611af457607f821691505b602082108103611b1457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070057610700611b1a565b808202811582820484141761070057610700611b1a565b8181038181111561070057610700611b1a565b601f821115610b7457600081815260208120601f850160051c81016020861015611b945750805b601f850160051c820191505b81811015610ad557828155600101611ba0565b815167ffffffffffffffff811115611bcd57611bcd611932565b611be181611bdb8454611ae0565b84611b6d565b602080601f831160018114611c165760008415611bfe5750858301515b600019600386901b1c1916600185901b178555610ad5565b600085815260208120601f198616915b82811015611c4557888601518255948401946001909101908401611c26565b5085821015611c635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c85818460208801611825565b835190830190611c99818360208801611825565b64173539b7b760d91b9101908152600501949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611ce46080830184611849565b9695505050505050565b600060208284031215611d0057600080fd5b8151611307816117f256fea2646970667358221220cec78c4fc22b2a3978aa37f4e6f8239d473f19445f2d395210c73cefdccec10564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569627168353366687077616b75757168336635646c7a63747036637a77356e616779717237636a32696737667467777433376d34612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseMetadataUrl (string): ipfs://bafybeibqh53fhpwakuuqh3f5dlzctp6czw5nagyqr7cj2ig7ftgwt37m4a/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f62616679626569627168353366687077616b75757168336635
Arg [3] : 646c7a63747036637a77356e616779717237636a32696737667467777433376d
Arg [4] : 34612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73267:3444:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73702:46;;;;;;;;;;-1:-1:-1;73702:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;552:25:1;;;540:2;525:18;73702:46:0;;;;;;;;40141:639;;;;;;;;;;-1:-1:-1;40141:639:0;;;;;:::i;:::-;;:::i;:::-;;;1139:14:1;;1132:22;1114:41;;1102:2;1087:18;40141:639:0;974:187:1;73479:29:0;;;;;;;;;;;;;;;;41043:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47534:218::-;;;;;;;;;;-1:-1:-1;47534:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2271:55:1;;;2253:74;;2241:2;2226:18;47534:218:0;2107:226:1;46967:408:0;;;;;;:::i;:::-;;:::i;:::-;;73439:33;;;;;;;;;;;;;;;;73657:36;;;;;;;;;;;;;:::i;36794:323::-;;;;;;;;;;-1:-1:-1;75412:1:0;37068:12;36855:7;37052:13;:28;-1:-1:-1;;37052:46:0;36794:323;;51173:2825;;;;;;:::i;:::-;;:::i;76534:174::-;;;;;;;;;;;;;:::i;54094:193::-;;;;;;:::i;:::-;;:::i;76052:76::-;;;;;;;;;;-1:-1:-1;76052:76:0;;;;;:::i;:::-;;:::i;73515:32::-;;;;;;;;;;;;;;;;73397:35;;;;;;;;;;;;;;;;73556:29;;;;;;;;;;-1:-1:-1;73556:29:0;;;;;;;;75530:113;;;;;;;;;;-1:-1:-1;75530:113:0;;;;;:::i;:::-;;:::i;42436:152::-;;;;;;;;;;-1:-1:-1;42436:152:0;;;;;:::i;:::-;;:::i;75425:97::-;;;;;;;;;;-1:-1:-1;75425:97:0;;;;;:::i;:::-;;:::i;37978:233::-;;;;;;;;;;-1:-1:-1;37978:233:0;;;;;:::i;:::-;;:::i;5714:103::-;;;;;;;;;;;;;:::i;73589:25::-;;;;;;;;;;-1:-1:-1;73589:25:0;;;;;;;;;;;74888:202;;;;;;;;;;-1:-1:-1;74888:202:0;;;;;:::i;:::-;;:::i;5066:87::-;;;;;;;;;;-1:-1:-1;5139:6:0;;-1:-1:-1;;;;;5139:6:0;5066:87;;76212:153;;;;;;;;;;-1:-1:-1;76212:153:0;;;;;:::i;:::-;;:::i;75238:80::-;;;;;;;;;;-1:-1:-1;75238:80:0;;;;;:::i;:::-;;:::i;41219:104::-;;;;;;;;;;;;;:::i;74098:782::-;;;;;;:::i;:::-;;:::i;73998:92::-;;;;;;;;;;-1:-1:-1;73998:92:0;;;;;:::i;:::-;;:::i;48092:234::-;;;;;;;;;;-1:-1:-1;48092:234:0;;;;;:::i;:::-;;:::i;54885:407::-;;;;;;:::i;:::-;;:::i;76133:71::-;;;;;;;;;;-1:-1:-1;76133:71:0;;;;;:::i;:::-;;:::i;75648:399::-;;;;;;;;;;-1:-1:-1;75648:399:0;;;;;:::i;:::-;;:::i;75098:132::-;;;;;;;;;;-1:-1:-1;75098:132:0;;;;;:::i;:::-;;:::i;73359:31::-;;;;;;;;;;;;;;;;76373:156;;;;;;;;;;-1:-1:-1;76373:156:0;;;;;:::i;:::-;;:::i;48483:164::-;;;;;;;;;;-1:-1:-1;48483:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;48604:25:0;;;48580:4;48604:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48483:164;5972:201;;;;;;;;;;-1:-1:-1;5972:201:0;;;;;:::i;:::-;;:::i;40141:639::-;40226:4;-1:-1:-1;;;;;;;;;40550:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40627:25:0;;;40550:102;:179;;;-1:-1:-1;;;;;;;;;;40704:25:0;;;40550:179;40530:199;40141:639;-1:-1:-1;;40141:639:0:o;41043:100::-;41097:13;41130:5;41123:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41043:100;:::o;47534:218::-;47610:7;47635:16;47643:7;47635;:16::i;:::-;47630:64;;47660:34;;-1:-1:-1;;;47660:34:0;;;;;;;;;;;47630:64;-1:-1:-1;47714:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47714:30:0;;47534:218::o;46967:408::-;47056:13;47072:16;47080:7;47072;:16::i;:::-;47056:32;-1:-1:-1;71300:10:0;-1:-1:-1;;;;;47105:28:0;;;47101:175;;-1:-1:-1;;;;;48604:25:0;;48580:4;48604:25;;;:18;:25;;;;;;;;71300:10;48604:35;;;;;;;;;;47148:128;;47225:35;;-1:-1:-1;;;47225:35:0;;;;;;;;;;;47148:128;47288:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47288:35:0;-1:-1:-1;;;;;47288:35:0;;;;;;;;;47339:28;;47288:24;;47339:28;;;;;;;47045:330;46967:408;;:::o;73657:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51173:2825::-;51315:27;51345;51364:7;51345:18;:27::i;:::-;51315:57;;51430:4;-1:-1:-1;;;;;51389:45:0;51405:19;-1:-1:-1;;;;;51389:45:0;;51385:86;;51443:28;;-1:-1:-1;;;51443:28:0;;;;;;;;;;;51385:86;51485:27;50281:24;;;:15;:24;;;;;50509:26;;71300:10;49906:30;;;-1:-1:-1;;;;;49599:28:0;;49884:20;;;49881:56;51671:180;;-1:-1:-1;;;;;48604:25:0;;48580:4;48604:25;;;:18;:25;;;;;;;;71300:10;48604:35;;;;;;;;;;51759:92;;51816:35;;-1:-1:-1;;;51816:35:0;;;;;;;;;;;51759:92;-1:-1:-1;;;;;51868:16:0;;51864:52;;51893:23;;-1:-1:-1;;;51893:23:0;;;;;;;;;;;51864:52;52065:15;52062:160;;;52205:1;52184:19;52177:30;52062:160;-1:-1:-1;;;;;52602:24:0;;;;;;;:18;:24;;;;;;52600:26;;-1:-1:-1;;52600:26:0;;;52671:22;;;;;;;;;52669:24;;-1:-1:-1;52669:24:0;;;45825:11;45800:23;45796:41;45783:63;-1:-1:-1;;;45783:63:0;52964:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53259:47:0;;:52;;53255:627;;53364:1;53354:11;;53332:19;53487:30;;;:17;:30;;;;;;:35;;53483:384;;53625:13;;53610:11;:28;53606:242;;53772:30;;;;:17;:30;;;;;:52;;;53606:242;53313:569;53255:627;53929:7;53925:2;-1:-1:-1;;;;;53910:27:0;53919:4;-1:-1:-1;;;;;53910:27:0;;;;;;;;;;;53948:42;51304:2694;;;51173:2825;;;:::o;76534:174::-;4952:13;:11;:13::i;:::-;76579:12:::1;76605:7;5139:6:::0;;-1:-1:-1;;;;;5139:6:0;;5066:87;76605:7:::1;-1:-1:-1::0;;;;;76597:21:0::1;76640;76597:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76578:98;;;76695:7;76687:16;;;::::0;::::1;;76573:135;76534:174::o:0;54094:193::-;54240:39;54257:4;54263:2;54267:7;54240:39;;;;;;;;;;;;:16;:39::i;:::-;54094:193;;;:::o;76052:76::-;4952:13;:11;:13::i;:::-;76108:4:::1;:15:::0;76052:76::o;75530:113::-;4952:13;:11;:13::i;:::-;75606::::1;:32:::0;75530:113::o;42436:152::-;42508:7;42551:27;42570:7;42551:18;:27::i;75425:97::-;4952:13;:11;:13::i;:::-;75493:9:::1;:24:::0;75425:97::o;37978:233::-;38050:7;-1:-1:-1;;;;;38074:19:0;;38070:60;;38102:28;;-1:-1:-1;;;38102:28:0;;;;;;;;;;;38070:60;-1:-1:-1;;;;;;38148:25:0;;;;;:18;:25;;;;;;32137:13;38148:55;;37978:233::o;5714:103::-;4952:13;:11;:13::i;:::-;5779:30:::1;5806:1;5779:18;:30::i;:::-;5714:103::o:0;74888:202::-;4952:13;:11;:13::i;:::-;75005:9:::1;;74991:10;74974:14;37270:7:::0;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74974:14:::1;:27;;;;:::i;:::-;:40;;74961:84;;;::::0;-1:-1:-1;;;74961:84:0;;6760:2:1;74961:84:0::1;::::0;::::1;6742:21:1::0;6799:2;6779:18;;;6772:30;-1:-1:-1;;;6818:18:1;;;6811:48;6876:18;;74961:84:0::1;;;;;;;;;75050:25;75060:2;75064:10;75050:9;:25::i;:::-;74888:202:::0;;:::o;76212:153::-;4952:13;:11;:13::i;:::-;76297:12:::1;;76287:7;:22;76279:47;;;::::0;-1:-1:-1;;;76279:47:0;;7107:2:1;76279:47:0::1;::::0;::::1;7089:21:1::0;7146:2;7126:18;;;7119:30;-1:-1:-1;;;7165:18:1;;;7158:42;7217:18;;76279:47:0::1;6905:336:1::0;76279:47:0::1;76337:10;:20:::0;76212:153::o;75238:80::-;4952:13;:11;:13::i;:::-;75294:10:::1;:19:::0;;-1:-1:-1;;75294:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75238:80::o;41219:104::-;41275:13;41308:7;41301:14;;;;;:::i;74098:782::-;74163:5;;;;;;;74162:6;74154:37;;;;-1:-1:-1;;;74154:37:0;;7448:2:1;74154:37:0;;;7430:21:1;7487:2;7467:18;;;7460:30;-1:-1:-1;;;7506:18:1;;;7499:48;7564:18;;74154:37:0;7246:342:1;74154:37:0;74232:10;;74217;74205:23;;;;:11;:23;;;;;;:37;74202:378;;74272:10;74265:4;;:17;;;;:::i;:::-;74252:9;:30;;74244:61;;;;-1:-1:-1;;;74244:61:0;;7968:2:1;74244:61:0;;;7950:21:1;8007:2;7987:18;;;7980:30;-1:-1:-1;;;8026:18:1;;;8019:48;8084:18;;74244:61:0;7766:342:1;74244:61:0;74202:378;;;74368:13;;75412:1;37068:12;36855:7;37052:13;74354:10;;37052:28;;-1:-1:-1;;37052:46:0;74338:26;;;;:::i;:::-;:43;74335:233;;74451:10;74439:23;;;;:11;:23;;;;;;74426:10;;:36;;74439:23;74426:36;:::i;:::-;74412:51;;:10;:51;:::i;:::-;74404:4;;:60;;;;:::i;74335:233::-;74535:10;74528:4;;:17;;;;:::i;:::-;74515:9;:30;;74507:61;;;;-1:-1:-1;;;74507:61:0;;7968:2:1;74507:61:0;;;7950:21:1;8007:2;7987:18;;;7980:30;-1:-1:-1;;;8026:18:1;;;8019:48;8084:18;;74507:61:0;7766:342:1;74507:61:0;74629:9;;74615:10;74598:14;37270:7;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74598:14;:27;;;;:::i;:::-;:40;;74590:70;;;;-1:-1:-1;;;74590:70:0;;6760:2:1;74590:70:0;;;6742:21:1;6799:2;6779:18;;;6772:30;-1:-1:-1;;;6818:18:1;;;6811:48;6876:18;;74590:70:0;6558:342:1;74590:70:0;74719:12;;74691:10;74679:23;;;;:11;:23;;;;;;:36;;74705:10;;74679:36;:::i;:::-;:52;;74671:87;;;;-1:-1:-1;;;74671:87:0;;8448:2:1;74671:87:0;;;8430:21:1;8487:2;8467:18;;;8460:30;8526:24;8506:18;;;8499:52;8568:18;;74671:87:0;8246:346:1;74671:87:0;74769:33;74779:10;74791;74769:9;:33::i;:::-;74851:10;74839:23;;;;:11;:23;;;;;;:36;;74865:10;;74839:36;:::i;:::-;74825:10;74813:23;;;;:11;:23;;;;;:62;-1:-1:-1;74098:782:0:o;73998:92::-;4952:13;:11;:13::i;:::-;74067:7:::1;:18;74077:8:::0;74067:7;:18:::1;:::i;48092:234::-:0;71300:10;48187:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48187:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48187:60:0;;;;;;;;;;48263:55;;1114:41:1;;;48187:49:0;;71300:10;48263:55;;1087:18:1;48263:55:0;;;;;;;48092:234;;:::o;54885:407::-;55060:31;55073:4;55079:2;55083:7;55060:12;:31::i;:::-;-1:-1:-1;;;;;55106:14:0;;;:19;55102:183;;55145:56;55176:4;55182:2;55186:7;55195:5;55145:30;:56::i;:::-;55140:145;;55229:40;;-1:-1:-1;;;55229:40:0;;;;;;;;;;;55140:145;54885:407;;;;:::o;76133:71::-;4952:13;:11;:13::i;:::-;76185:5:::1;:14:::0;;;::::1;;;;-1:-1:-1::0;;76185:14:0;;::::1;::::0;;;::::1;::::0;;76133:71::o;75648:399::-;75725:13;75761:16;75769:7;75761;:16::i;:::-;75753:53;;;;-1:-1:-1;;;75753:53:0;;11003:2:1;75753:53:0;;;10985:21:1;11042:2;11022:18;;;11015:30;11081:26;11061:18;;;11054:54;11125:18;;75753:53:0;10801:348:1;75753:53:0;75820:10;;;;:19;;:10;:19;75817:225;;75863:17;75856:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75648:399;;;:::o;75817:225::-;75941:1;75920:10;:8;:10::i;:::-;75914:24;:28;:128;;;;;;;;;;;;;;;;;75983:10;:8;:10::i;:::-;75995:18;:7;:16;:18::i;:::-;75966:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75907:135;75648:399;-1:-1:-1;;75648:399:0:o;75817:225::-;75648:399;;;:::o;75098:132::-;4952:13;:11;:13::i;:::-;75187:17:::1;:38;75207:18:::0;75187:17;:38:::1;:::i;76373:156::-:0;4952:13;:11;:13::i;:::-;76461:10:::1;;76451:7;:20;76443:45;;;::::0;-1:-1:-1;;;76443:45:0;;7107:2:1;76443:45:0::1;::::0;::::1;7089:21:1::0;7146:2;7126:18;;;7119:30;-1:-1:-1;;;7165:18:1;;;7158:42;7217:18;;76443:45:0::1;6905:336:1::0;76443:45:0::1;76499:12;:22:::0;76373:156::o;5972:201::-;4952:13;:11;:13::i;:::-;-1:-1:-1;;;;;6061:22:0;::::1;6053:73;;;::::0;-1:-1:-1;;;6053:73:0;;12024:2:1;6053:73:0::1;::::0;::::1;12006:21:1::0;12063:2;12043:18;;;12036:30;12102:34;12082:18;;;12075:62;-1:-1:-1;;;12153:18:1;;;12146:36;12199:19;;6053:73:0::1;11822:402:1::0;6053:73:0::1;6137:28;6156:8;6137:18;:28::i;48905:282::-:0;48970:4;49026:7;75412:1;49007:26;;:66;;;;;49060:13;;49050:7;:23;49007:66;:153;;;;-1:-1:-1;;49111:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;49111:44:0;:49;;48905:282::o;43591:1275::-;43658:7;43693;;75412:1;43742:23;43738:1061;;43795:13;;43788:4;:20;43784:1015;;;43833:14;43850:23;;;:17;:23;;;;;;;-1:-1:-1;;;43939:24:0;;:29;;43935:845;;44604:113;44611:6;44621:1;44611:11;44604:113;;-1:-1:-1;;;44682:6:0;44664:25;;;;:17;:25;;;;;;44604:113;;;44750:6;43591:1275;-1:-1:-1;;;43591:1275:0:o;43935:845::-;43810:989;43784:1015;44827:31;;-1:-1:-1;;;44827:31:0;;;;;;;;;;;5231:132;5139:6;;-1:-1:-1;;;;;5139:6:0;71300:10;5295:23;5287:68;;;;-1:-1:-1;;;5287:68:0;;12431:2:1;5287:68:0;;;12413:21:1;;;12450:18;;;12443:30;12509:34;12489:18;;;12482:62;12561:18;;5287:68:0;12229:356:1;6333:191:0;6426:6;;;-1:-1:-1;;;;;6443:17:0;;;-1:-1:-1;;;;;;6443:17:0;;;;;;;6476:40;;6426:6;;;6443:17;6426:6;;6476:40;;6407:16;;6476:40;6396:128;6333:191;:::o;65045:112::-;65122:27;65132:2;65136:8;65122:27;;;;;;;;;;;;:9;:27::i;57376:716::-;57560:88;;-1:-1:-1;;;57560:88:0;;57539:4;;-1:-1:-1;;;;;57560:45:0;;;;;:88;;71300:10;;57627:4;;57633:7;;57642:5;;57560:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57560:88:0;;;;;;;;-1:-1:-1;;57560:88:0;;;;;;;;;;;;:::i;:::-;;;57556:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57843:6;:13;57860:1;57843:18;57839:235;;57889:40;;-1:-1:-1;;;57889:40:0;;;;;;;;;;;57839:235;58032:6;58026:13;58017:6;58013:2;58009:15;58002:38;57556:529;-1:-1:-1;;;;;;57719:64:0;-1:-1:-1;;;57719:64:0;;-1:-1:-1;57556:529:0;57376:716;;;;;;:::o;73899:91::-;73951:13;73978:7;73971:14;;;;;:::i;19836:716::-;19892:13;19943:14;19960:17;19971:5;19960:10;:17::i;:::-;19980:1;19960:21;19943:38;;19996:20;20030:6;20019:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20019:18:0;-1:-1:-1;19996:41:0;-1:-1:-1;20161:28:0;;;20177:2;20161:28;20218:288;-1:-1:-1;;20250:5:0;-1:-1:-1;;;20387:2:0;20376:14;;20371:30;20250:5;20358:44;20448:2;20439:11;;;-1:-1:-1;20469:21:0;20218:288;20469:21;-1:-1:-1;20527:6:0;19836:716;-1:-1:-1;;;19836:716:0:o;64272:689::-;64403:19;64409:2;64413:8;64403:5;:19::i;:::-;-1:-1:-1;;;;;64464:14:0;;;:19;64460:483;;64504:11;64518:13;64566:14;;;64599:233;64630:62;64669:1;64673:2;64677:7;;;;;;64686:5;64630:30;:62::i;:::-;64625:167;;64728:40;;-1:-1:-1;;;64728:40:0;;;;;;;;;;;64625:167;64827:3;64819:5;:11;64599:233;;64914:3;64897:13;;:20;64893:34;;64919:8;;;64893:34;64485:458;;64272:689;;;:::o;16706:922::-;16759:7;;-1:-1:-1;;;16837:15:0;;16833:102;;-1:-1:-1;;;16873:15:0;;;-1:-1:-1;16917:2:0;16907:12;16833:102;16962:6;16953:5;:15;16949:102;;16998:6;16989:15;;;-1:-1:-1;17033:2:0;17023:12;16949:102;17078:6;17069:5;:15;17065:102;;17114:6;17105:15;;;-1:-1:-1;17149:2:0;17139:12;17065:102;17194:5;17185;:14;17181:99;;17229:5;17220:14;;;-1:-1:-1;17263:1:0;17253:11;17181:99;17307:5;17298;:14;17294:99;;17342:5;17333:14;;;-1:-1:-1;17376:1:0;17366:11;17294:99;17420:5;17411;:14;17407:99;;17455:5;17446:14;;;-1:-1:-1;17489:1:0;17479:11;17407:99;17533:5;17524;:14;17520:66;;17569:1;17559:11;17614:6;16706:922;-1:-1:-1;;16706:922:0:o;58554:2966::-;58627:20;58650:13;;;58678;;;58674:44;;58700:18;;-1:-1:-1;;;58700:18:0;;;;;;;;;;;58674:44;-1:-1:-1;;;;;59206:22:0;;;;;;:18;:22;;;;32275:2;59206:22;;;:71;;59244:32;59232:45;;59206:71;;;59520:31;;;:17;:31;;;;;-1:-1:-1;46256:15:0;;46230:24;46226:46;45825:11;45800:23;45796:41;45793:52;45783:63;;59520:173;;59755:23;;;;59520:31;;59206:22;;60520:25;59206:22;;60373:335;61034:1;61020:12;61016:20;60974:346;61075:3;61066:7;61063:16;60974:346;;61293:7;61283:8;61280:1;61253:25;61250:1;61247;61242:59;61128:1;61115:15;60974:346;;;60978:77;61353:8;61365:1;61353:13;61349:45;;61375:19;;-1:-1:-1;;;61375:19:0;;;;;;;;;;;61349:45;61411:13;:19;-1:-1:-1;54094:193:0;;;:::o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;215:186;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;588:131::-;-1:-1:-1;;;;;;662:32:1;;652:43;;642:71;;709:1;706;699:12;724:245;782:6;835:2;823:9;814:7;810:23;806:32;803:52;;;851:1;848;841:12;803:52;890:9;877:23;909:30;933:5;909:30;:::i;1166:250::-;1251:1;1261:113;1275:6;1272:1;1269:13;1261:113;;;1351:11;;;1345:18;1332:11;;;1325:39;1297:2;1290:10;1261:113;;;-1:-1:-1;;1408:1:1;1390:16;;1383:27;1166:250::o;1421:271::-;1463:3;1501:5;1495:12;1528:6;1523:3;1516:19;1544:76;1613:6;1606:4;1601:3;1597:14;1590:4;1583:5;1579:16;1544:76;:::i;:::-;1674:2;1653:15;-1:-1:-1;;1649:29:1;1640:39;;;;1681:4;1636:50;;1421:271;-1:-1:-1;;1421:271:1:o;1697:220::-;1846:2;1835:9;1828:21;1809:4;1866:45;1907:2;1896:9;1892:18;1884:6;1866:45;:::i;1922:180::-;1981:6;2034:2;2022:9;2013:7;2009:23;2005:32;2002:52;;;2050:1;2047;2040:12;2002:52;-1:-1:-1;2073:23:1;;1922:180;-1:-1:-1;1922:180:1:o;2338:254::-;2406:6;2414;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;:::-;2496:39;2582:2;2567:18;;;;2554:32;;-1:-1:-1;;;2338:254:1:o;2597:328::-;2674:6;2682;2690;2743:2;2731:9;2722:7;2718:23;2714:32;2711:52;;;2759:1;2756;2749:12;2711:52;2782:29;2801:9;2782:29;:::i;:::-;2772:39;;2830:38;2864:2;2853:9;2849:18;2830:38;:::i;:::-;2820:48;;2915:2;2904:9;2900:18;2887:32;2877:42;;2597:328;;;;;:::o;2930:160::-;2995:20;;3051:13;;3044:21;3034:32;;3024:60;;3080:1;3077;3070:12;3095:180;3151:6;3204:2;3192:9;3183:7;3179:23;3175:32;3172:52;;;3220:1;3217;3210:12;3172:52;3243:26;3259:9;3243:26;:::i;3280:127::-;3341:10;3336:3;3332:20;3329:1;3322:31;3372:4;3369:1;3362:15;3396:4;3393:1;3386:15;3412:632;3477:5;3507:18;3548:2;3540:6;3537:14;3534:40;;;3554:18;;:::i;:::-;3629:2;3623:9;3597:2;3683:15;;-1:-1:-1;;3679:24:1;;;3705:2;3675:33;3671:42;3659:55;;;3729:18;;;3749:22;;;3726:46;3723:72;;;3775:18;;:::i;:::-;3815:10;3811:2;3804:22;3844:6;3835:15;;3874:6;3866;3859:22;3914:3;3905:6;3900:3;3896:16;3893:25;3890:45;;;3931:1;3928;3921:12;3890:45;3981:6;3976:3;3969:4;3961:6;3957:17;3944:44;4036:1;4029:4;4020:6;4012;4008:19;4004:30;3997:41;;;;3412:632;;;;;:::o;4049:451::-;4118:6;4171:2;4159:9;4150:7;4146:23;4142:32;4139:52;;;4187:1;4184;4177:12;4139:52;4227:9;4214:23;4260:18;4252:6;4249:30;4246:50;;;4292:1;4289;4282:12;4246:50;4315:22;;4368:4;4360:13;;4356:27;-1:-1:-1;4346:55:1;;4397:1;4394;4387:12;4346:55;4420:74;4486:7;4481:2;4468:16;4463:2;4459;4455:11;4420:74;:::i;4505:254::-;4570:6;4578;4631:2;4619:9;4610:7;4606:23;4602:32;4599:52;;;4647:1;4644;4637:12;4599:52;4670:29;4689:9;4670:29;:::i;:::-;4660:39;;4718:35;4749:2;4738:9;4734:18;4718:35;:::i;:::-;4708:45;;4505:254;;;;;:::o;4764:667::-;4859:6;4867;4875;4883;4936:3;4924:9;4915:7;4911:23;4907:33;4904:53;;;4953:1;4950;4943:12;4904:53;4976:29;4995:9;4976:29;:::i;:::-;4966:39;;5024:38;5058:2;5047:9;5043:18;5024:38;:::i;:::-;5014:48;;5109:2;5098:9;5094:18;5081:32;5071:42;;5164:2;5153:9;5149:18;5136:32;5191:18;5183:6;5180:30;5177:50;;;5223:1;5220;5213:12;5177:50;5246:22;;5299:4;5291:13;;5287:27;-1:-1:-1;5277:55:1;;5328:1;5325;5318:12;5277:55;5351:74;5417:7;5412:2;5399:16;5394:2;5390;5386:11;5351:74;:::i;:::-;5341:84;;;4764:667;;;;;;;:::o;5436:260::-;5504:6;5512;5565:2;5553:9;5544:7;5540:23;5536:32;5533:52;;;5581:1;5578;5571:12;5533:52;5604:29;5623:9;5604:29;:::i;:::-;5594:39;;5652:38;5686:2;5675:9;5671:18;5652:38;:::i;5701:380::-;5780:1;5776:12;;;;5823;;;5844:61;;5898:4;5890:6;5886:17;5876:27;;5844:61;5951:2;5943:6;5940:14;5920:18;5917:38;5914:161;;5997:10;5992:3;5988:20;5985:1;5978:31;6032:4;6029:1;6022:15;6060:4;6057:1;6050:15;5914:161;;5701:380;;;:::o;6296:127::-;6357:10;6352:3;6348:20;6345:1;6338:31;6388:4;6385:1;6378:15;6412:4;6409:1;6402:15;6428:125;6493:9;;;6514:10;;;6511:36;;;6527:18;;:::i;7593:168::-;7666:9;;;7697;;7714:15;;;7708:22;;7694:37;7684:71;;7735:18;;:::i;8113:128::-;8180:9;;;8201:11;;;8198:37;;;8215:18;;:::i;8723:545::-;8825:2;8820:3;8817:11;8814:448;;;8861:1;8886:5;8882:2;8875:17;8931:4;8927:2;8917:19;9001:2;8989:10;8985:19;8982:1;8978:27;8972:4;8968:38;9037:4;9025:10;9022:20;9019:47;;;-1:-1:-1;9060:4:1;9019:47;9115:2;9110:3;9106:12;9103:1;9099:20;9093:4;9089:31;9079:41;;9170:82;9188:2;9181:5;9178:13;9170:82;;;9233:17;;;9214:1;9203:13;9170:82;;9444:1352;9570:3;9564:10;9597:18;9589:6;9586:30;9583:56;;;9619:18;;:::i;:::-;9648:97;9738:6;9698:38;9730:4;9724:11;9698:38;:::i;:::-;9692:4;9648:97;:::i;:::-;9800:4;;9864:2;9853:14;;9881:1;9876:663;;;;10583:1;10600:6;10597:89;;;-1:-1:-1;10652:19:1;;;10646:26;10597:89;-1:-1:-1;;9401:1:1;9397:11;;;9393:24;9389:29;9379:40;9425:1;9421:11;;;9376:57;10699:81;;9846:944;;9876:663;8670:1;8663:14;;;8707:4;8694:18;;-1:-1:-1;;9912:20:1;;;10030:236;10044:7;10041:1;10038:14;10030:236;;;10133:19;;;10127:26;10112:42;;10225:27;;;;10193:1;10181:14;;;;10060:19;;10030:236;;;10034:3;10294:6;10285:7;10282:19;10279:201;;;10355:19;;;10349:26;-1:-1:-1;;10438:1:1;10434:14;;;10450:3;10430:24;10426:37;10422:42;10407:58;10392:74;;10279:201;-1:-1:-1;;;;;10526:1:1;10510:14;;;10506:22;10493:36;;-1:-1:-1;9444:1352:1:o;11154:663::-;11434:3;11472:6;11466:13;11488:66;11547:6;11542:3;11535:4;11527:6;11523:17;11488:66;:::i;:::-;11617:13;;11576:16;;;;11639:70;11617:13;11576:16;11686:4;11674:17;;11639:70;:::i;:::-;-1:-1:-1;;;11731:20:1;;11760:22;;;11809:1;11798:13;;11154:663;-1:-1:-1;;;;11154:663:1:o;12590:512::-;12784:4;-1:-1:-1;;;;;12894:2:1;12886:6;12882:15;12871:9;12864:34;12946:2;12938:6;12934:15;12929:2;12918:9;12914:18;12907:43;;12986:6;12981:2;12970:9;12966:18;12959:34;13029:3;13024:2;13013:9;13009:18;13002:31;13050:46;13091:3;13080:9;13076:19;13068:6;13050:46;:::i;:::-;13042:54;12590:512;-1:-1:-1;;;;;;12590:512:1:o;13107:249::-;13176:6;13229:2;13217:9;13208:7;13204:23;13200:32;13197:52;;;13245:1;13242;13235:12;13197:52;13277:9;13271:16;13296:30;13320:5;13296:30;:::i
Swarm Source
ipfs://cec78c4fc22b2a3978aa37f4e6f8239d473f19445f2d395210c73cefdccec105
Loading...
Loading
Loading...
Loading
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.