Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 114 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Change Mintable | 16275331 | 794 days ago | IN | 0 ETH | 0.00031986 | ||||
Withdraw | 16262528 | 796 days ago | IN | 0 ETH | 0.00031929 | ||||
Mint | 16255605 | 797 days ago | IN | 0 ETH | 0.0014546 | ||||
Mint | 16255524 | 797 days ago | IN | 0 ETH | 0.00165001 | ||||
Mint | 16255524 | 797 days ago | IN | 0 ETH | 0.00202433 | ||||
Mint | 16255468 | 797 days ago | IN | 0 ETH | 0.00187555 | ||||
Mint | 16255371 | 797 days ago | IN | 0 ETH | 0.00172434 | ||||
Mint | 16255363 | 797 days ago | IN | 0 ETH | 0.00132509 | ||||
Mint | 16255363 | 797 days ago | IN | 0 ETH | 0.00134755 | ||||
Mint | 16255360 | 797 days ago | IN | 0 ETH | 0.0012813 | ||||
Mint | 16255360 | 797 days ago | IN | 0 ETH | 0.00145985 | ||||
Mint | 16255357 | 797 days ago | IN | 0 ETH | 0.00145985 | ||||
Mint | 16255348 | 797 days ago | IN | 0.002 ETH | 0.00036497 | ||||
Mint | 16255347 | 797 days ago | IN | 0.002 ETH | 0.00088471 | ||||
Mint | 16255345 | 797 days ago | IN | 0.002 ETH | 0.00086349 | ||||
Mint | 16255345 | 797 days ago | IN | 0.002 ETH | 0.00086349 | ||||
Mint | 16255345 | 797 days ago | IN | 0.002 ETH | 0.00086349 | ||||
Mint | 16255329 | 797 days ago | IN | 0 ETH | 0.00128949 | ||||
Mint | 16255319 | 797 days ago | IN | 0 ETH | 0.00142546 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 | ||||
Mint | 16255317 | 797 days ago | IN | 0 ETH | 0.00113075 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
NFT
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-24 */ // Sources flattened with hardhat v2.12.3 https://hardhat.org // File operator-filter-registry/src/[email protected] // pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File operator-filter-registry/src/[email protected] // pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File operator-filter-registry/src/[email protected] // pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File @openzeppelin/contracts/utils/[email protected] // // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File @openzeppelin/contracts/utils/[email protected] // // 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/[email protected] // // 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 erc721a/contracts/[email protected] // // 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/[email protected] // // 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/NFT.sol // pragma solidity ^0.8.13; contract NFT is ERC721A, DefaultOperatorFilterer, Ownable { using Address for address; string private _baseTokenURI; uint256 public maxNum; uint256 public maxMint; uint256 public price; bool public mintable; mapping(address => uint256) public minted; constructor( string memory url, string memory name, string memory symbol, address _owner, uint256 _price ) ERC721A(name, symbol) { _baseTokenURI = url; maxNum = 3333; maxMint = 10; price = _price; mintable = true; _transferOwnership(_owner); } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function tokenURI( uint256 tokenId ) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return string(abi.encodePacked(baseURI, _toString(tokenId), ".json")); } function changeBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function changeMintable(bool _mintable) public onlyOwner { mintable = _mintable; } function changePrice(uint256 _price) public onlyOwner { price = _price; } function changeMaxMint(uint256 _maxMint) public onlyOwner { maxMint = _maxMint; } function mint(uint256 num) public payable { uint256 amount = num * price; if (minted[msg.sender] == 0) { amount -= price; } require(mintable, "status err"); require(msg.value == amount, "eth err"); require(minted[msg.sender] + num <= maxMint, "num err"); minted[msg.sender] += num; require(totalSupply() + num <= maxNum, "num err"); _safeMint(msg.sender, num); } function setApprovalForAll( address operator, bool approved ) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function _startTokenId() internal view override returns (uint256) { return 1; } function approve( address operator, uint256 tokenId ) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function airdrop( address[] memory users, uint256[] memory nums ) public onlyOwner { require(users.length == nums.length); for (uint i = 0; i < users.length; i++) { uint256 num = nums[i]; address user = users[i]; require(totalSupply() + num <= maxNum, "num err"); _safeMint(user, num); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"url","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"nums","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"changeMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintable","type":"bool"}],"name":"changeMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001f5d38038062001f5d8339810160408190526200003491620003e4565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600290805190602001906200006592919062000271565b5080516200007b90600390602084019062000271565b50600160005550506daaeb6d7670e522a718067333cd4e3b15620001c85780156200011657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000f757600080fd5b505af11580156200010c573d6000803e3d6000fd5b50505050620001c8565b6001600160a01b03821615620001675760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000dc565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ae57600080fd5b505af1158015620001c3573d6000803e3d6000fd5b505050505b50620001d69050336200021f565b8451620001eb90600990602088019062000271565b50610d05600a908155600b55600c819055600d805460ff1916600117905562000214826200021f565b5050505050620004df565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200027f90620004a3565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200033f57600080fd5b81516001600160401b03808211156200035c576200035c62000317565b604051601f8301601f19908116603f0116810190828211818310171562000387576200038762000317565b81604052838152602092508683858801011115620003a457600080fd5b600091505b83821015620003c85785820183015181830184015290820190620003a9565b83821115620003da5760008385830101525b9695505050505050565b600080600080600060a08688031215620003fd57600080fd5b85516001600160401b03808211156200041557600080fd5b6200042389838a016200032d565b965060208801519150808211156200043a57600080fd5b6200044889838a016200032d565b955060408801519150808211156200045f57600080fd5b506200046e888289016200032d565b606088015190945090506001600160a01b03811681146200048e57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620004b857607f821691505b602082108103620004d957634e487b7160e01b600052602260045260246000fd5b50919050565b611a6e80620004ef6000396000f3fe6080604052600436106101cd5760003560e01c80636352211e116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104de578063c87b56dd146104f1578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063a035b1fe14610475578063a0712d681461048b578063a22cb4651461049e578063a2b40d19146104be57600080fd5b8063715018a6116100d1578063715018a6146104175780637501f7411461042c5780638da5cb5b1461044257806395d89b411461046057600080fd5b80636352211e146103b757806367243482146103d757806370a08231146103f757600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103545780634779b82e146103675780634bf365df146103875780634dfdc21f146103a157600080fd5b806323b872dd146102ea57806339a0c6f9146102fd5780633ccfd60b1461031d57806341f434341461033257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029d57806320c63e3b146102ca57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461140e565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe9190611483565b34801561023557600080fd5b50610249610244366004611496565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114cb565b6106a2565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b3480156102a957600080fd5b5061028f6102b83660046114f5565b600e6020526000908152604090205481565b3480156102d657600080fd5b506102746102e5366004611496565b6106bb565b6102746102f8366004611510565b6106c8565b34801561030957600080fd5b506102746103183660046115eb565b6106f3565b34801561032957600080fd5b50610274610712565b34801561033e57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b610274610362366004611510565b610749565b34801561037357600080fd5b50610274610382366004611642565b61076e565b34801561039357600080fd5b50600d546101f29060ff1681565b3480156103ad57600080fd5b5061028f600a5481565b3480156103c357600080fd5b506102496103d2366004611496565b610789565b3480156103e357600080fd5b506102746103f23660046116ee565b610794565b34801561040357600080fd5b5061028f6104123660046114f5565b610859565b34801561042357600080fd5b506102746108a8565b34801561043857600080fd5b5061028f600b5481565b34801561044e57600080fd5b506008546001600160a01b0316610249565b34801561046c57600080fd5b5061021c6108bc565b34801561048157600080fd5b5061028f600c5481565b610274610499366004611496565b6108cb565b3480156104aa57600080fd5b506102746104b93660046117ae565b610a1e565b3480156104ca57600080fd5b506102746104d9366004611496565b610a32565b6102746104ec3660046117e5565b610a3f565b3480156104fd57600080fd5b5061021c61050c366004611496565b610a6c565b34801561051d57600080fd5b506101f261052c366004611861565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b506102746105753660046114f5565b610b19565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611894565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611894565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610b8f565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106ac81610bc4565b6106b68383610c7d565b505050565b6106c3610d1d565b600b55565b826001600160a01b03811633146106e2576106e233610bc4565b6106ed848484610d77565b50505050565b6106fb610d1d565b805161070e90600990602084019061135f565b5050565b61071a610d1d565b60405133904780156108fc02916000818181858888f19350505050158015610746573d6000803e3d6000fd5b50565b826001600160a01b03811633146107635761076333610bc4565b6106ed848484610f0f565b610776610d1d565b600d805460ff1916911515919091179055565b60006105c682610f2a565b61079c610d1d565b80518251146107aa57600080fd5b60005b82518110156106b65760008282815181106107ca576107ca6118ce565b6020026020010151905060008483815181106107e8576107e86118ce565b60200260200101519050600a54826108096001546000546000199190030190565b61081391906118fa565b111561083a5760405162461bcd60e51b815260040161083190611912565b60405180910390fd5b6108448183610fa0565b5050808061085190611933565b9150506107ad565b60006001600160a01b038216610882576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108b0610d1d565b6108ba6000610fba565b565b6060600380546105db90611894565b6000600c54826108db919061194c565b336000908152600e60205260408120549192500361090357600c54610900908261196b565b90505b600d5460ff166109425760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610831565b80341461097b5760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610831565b600b54336000908152600e60205260409020546109999084906118fa565b11156109b75760405162461bcd60e51b815260040161083190611912565b336000908152600e6020526040812080548492906109d69084906118fa565b9091555050600a5460015460005484919003600019016109f691906118fa565b1115610a145760405162461bcd60e51b815260040161083190611912565b61070e3383610fa0565b81610a2881610bc4565b6106b6838361100c565b610a3a610d1d565b600c55565b836001600160a01b0381163314610a5957610a5933610bc4565b610a6585858585611078565b5050505050565b6060610a7782610b8f565b610adb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610831565b6000610ae56110bc565b905080610af1846110cb565b604051602001610b02929190611982565b604051602081830303815290604052915050919050565b610b21610d1d565b6001600160a01b038116610b865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610831565b61074681610fba565b600081600111158015610ba3575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5591906119c1565b61074657604051633b79c77360e21b81526001600160a01b0382166004820152602401610831565b6000610c8882610789565b9050336001600160a01b03821614610cc157610ca4813361052c565b610cc1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610831565b6000610d8282610f2a565b9050836001600160a01b0316816001600160a01b031614610db55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e0257610de5863361052c565b610e0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2957604051633a954ecd60e21b815260040160405180910390fd5b8015610e3457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ec657600184016000818152600460205260408120549003610ec4576000548114610ec45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b683838360405180602001604052806000815250610a3f565b60008180600111610f8757600054811015610f875760008181526004602052604081205490600160e01b82169003610f85575b80600003610f7e575060001901600081815260046020526040902054610f5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070e82826040518060200160405280600081525061110f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110838484846106c8565b6001600160a01b0383163b156106ed5761109f84848484611175565b6106ed576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105db90611894565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110e55750819003601f19909101908152919050565b6111198383611261565b6001600160a01b0383163b156106b6576000548281035b6111436000868380600101945086611175565b611160576040516368d2bf6b60e11b815260040160405180910390fd5b818110611130578160005414610a6557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111aa9033908990889088906004016119de565b6020604051808303816000875af19250505080156111e5575060408051601f3d908101601f191682019092526111e291810190611a1b565b60015b611243573d808015611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b50805160000361123b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461133557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112fd565b508160000361135657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461136b90611894565b90600052602060002090601f01602090048101928261138d57600085556113d3565b82601f106113a657805160ff19168380011785556113d3565b828001600101855582156113d3579182015b828111156113d35782518255916020019190600101906113b8565b506113df9291506113e3565b5090565b5b808211156113df57600081556001016113e4565b6001600160e01b03198116811461074657600080fd5b60006020828403121561142057600080fd5b8135610f7e816113f8565b60005b8381101561144657818101518382015260200161142e565b838111156106ed5750506000910152565b6000815180845261146f81602086016020860161142b565b601f01601f19169290920160200192915050565b602081526000610f7e6020830184611457565b6000602082840312156114a857600080fd5b5035919050565b80356001600160a01b03811681146114c657600080fd5b919050565b600080604083850312156114de57600080fd5b6114e7836114af565b946020939093013593505050565b60006020828403121561150757600080fd5b610f7e826114af565b60008060006060848603121561152557600080fd5b61152e846114af565b925061153c602085016114af565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561158b5761158b61154c565b604052919050565b600067ffffffffffffffff8311156115ad576115ad61154c565b6115c0601f8401601f1916602001611562565b90508281528383830111156115d457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115fd57600080fd5b813567ffffffffffffffff81111561161457600080fd5b8201601f8101841361162557600080fd5b61125984823560208401611593565b801515811461074657600080fd5b60006020828403121561165457600080fd5b8135610f7e81611634565b600067ffffffffffffffff8211156116795761167961154c565b5060051b60200190565b600082601f83011261169457600080fd5b813560206116a96116a48361165f565b611562565b82815260059290921b840181019181810190868411156116c857600080fd5b8286015b848110156116e357803583529183019183016116cc565b509695505050505050565b6000806040838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b8135602061173d6116a48361165f565b82815260059290921b8401810191818101908984111561175c57600080fd5b948201945b8386101561178157611772866114af565b82529482019490820190611761565b9650508601359250508082111561179757600080fd5b506117a485828601611683565b9150509250929050565b600080604083850312156117c157600080fd5b6117ca836114af565b915060208301356117da81611634565b809150509250929050565b600080600080608085870312156117fb57600080fd5b611804856114af565b9350611812602086016114af565b925060408501359150606085013567ffffffffffffffff81111561183557600080fd5b8501601f8101871361184657600080fd5b61185587823560208401611593565b91505092959194509250565b6000806040838503121561187457600080fd5b61187d836114af565b915061188b602084016114af565b90509250929050565b600181811c908216806118a857607f821691505b6020821081036118c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561190d5761190d6118e4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611945576119456118e4565b5060010190565b6000816000190483118215151615611966576119666118e4565b500290565b60008282101561197d5761197d6118e4565b500390565b6000835161199481846020880161142b565b8351908301906119a881836020880161142b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119d357600080fd5b8151610f7e81611634565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1190830184611457565b9695505050505050565b600060208284031215611a2d57600080fd5b8151610f7e816113f856fea26469706673582212207d6f02586a53f3a1188e43c8121cd42bd0c33ce103137be44ad411fc6671204364736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006df2bbb7e1ef2f3e03c53626f37c3d96e38e6c0c00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656965716f687a6334613279723567676232696c736b79757a726e6474656b376c62666a71786e6561696b68686e6b6b7967676965792f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a546967657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a546967657220436c756200000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80636352211e116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104de578063c87b56dd146104f1578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063a035b1fe14610475578063a0712d681461048b578063a22cb4651461049e578063a2b40d19146104be57600080fd5b8063715018a6116100d1578063715018a6146104175780637501f7411461042c5780638da5cb5b1461044257806395d89b411461046057600080fd5b80636352211e146103b757806367243482146103d757806370a08231146103f757600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103545780634779b82e146103675780634bf365df146103875780634dfdc21f146103a157600080fd5b806323b872dd146102ea57806339a0c6f9146102fd5780633ccfd60b1461031d57806341f434341461033257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029d57806320c63e3b146102ca57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461140e565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe9190611483565b34801561023557600080fd5b50610249610244366004611496565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114cb565b6106a2565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b3480156102a957600080fd5b5061028f6102b83660046114f5565b600e6020526000908152604090205481565b3480156102d657600080fd5b506102746102e5366004611496565b6106bb565b6102746102f8366004611510565b6106c8565b34801561030957600080fd5b506102746103183660046115eb565b6106f3565b34801561032957600080fd5b50610274610712565b34801561033e57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b610274610362366004611510565b610749565b34801561037357600080fd5b50610274610382366004611642565b61076e565b34801561039357600080fd5b50600d546101f29060ff1681565b3480156103ad57600080fd5b5061028f600a5481565b3480156103c357600080fd5b506102496103d2366004611496565b610789565b3480156103e357600080fd5b506102746103f23660046116ee565b610794565b34801561040357600080fd5b5061028f6104123660046114f5565b610859565b34801561042357600080fd5b506102746108a8565b34801561043857600080fd5b5061028f600b5481565b34801561044e57600080fd5b506008546001600160a01b0316610249565b34801561046c57600080fd5b5061021c6108bc565b34801561048157600080fd5b5061028f600c5481565b610274610499366004611496565b6108cb565b3480156104aa57600080fd5b506102746104b93660046117ae565b610a1e565b3480156104ca57600080fd5b506102746104d9366004611496565b610a32565b6102746104ec3660046117e5565b610a3f565b3480156104fd57600080fd5b5061021c61050c366004611496565b610a6c565b34801561051d57600080fd5b506101f261052c366004611861565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b506102746105753660046114f5565b610b19565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611894565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611894565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610b8f565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106ac81610bc4565b6106b68383610c7d565b505050565b6106c3610d1d565b600b55565b826001600160a01b03811633146106e2576106e233610bc4565b6106ed848484610d77565b50505050565b6106fb610d1d565b805161070e90600990602084019061135f565b5050565b61071a610d1d565b60405133904780156108fc02916000818181858888f19350505050158015610746573d6000803e3d6000fd5b50565b826001600160a01b03811633146107635761076333610bc4565b6106ed848484610f0f565b610776610d1d565b600d805460ff1916911515919091179055565b60006105c682610f2a565b61079c610d1d565b80518251146107aa57600080fd5b60005b82518110156106b65760008282815181106107ca576107ca6118ce565b6020026020010151905060008483815181106107e8576107e86118ce565b60200260200101519050600a54826108096001546000546000199190030190565b61081391906118fa565b111561083a5760405162461bcd60e51b815260040161083190611912565b60405180910390fd5b6108448183610fa0565b5050808061085190611933565b9150506107ad565b60006001600160a01b038216610882576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108b0610d1d565b6108ba6000610fba565b565b6060600380546105db90611894565b6000600c54826108db919061194c565b336000908152600e60205260408120549192500361090357600c54610900908261196b565b90505b600d5460ff166109425760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610831565b80341461097b5760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610831565b600b54336000908152600e60205260409020546109999084906118fa565b11156109b75760405162461bcd60e51b815260040161083190611912565b336000908152600e6020526040812080548492906109d69084906118fa565b9091555050600a5460015460005484919003600019016109f691906118fa565b1115610a145760405162461bcd60e51b815260040161083190611912565b61070e3383610fa0565b81610a2881610bc4565b6106b6838361100c565b610a3a610d1d565b600c55565b836001600160a01b0381163314610a5957610a5933610bc4565b610a6585858585611078565b5050505050565b6060610a7782610b8f565b610adb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610831565b6000610ae56110bc565b905080610af1846110cb565b604051602001610b02929190611982565b604051602081830303815290604052915050919050565b610b21610d1d565b6001600160a01b038116610b865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610831565b61074681610fba565b600081600111158015610ba3575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5591906119c1565b61074657604051633b79c77360e21b81526001600160a01b0382166004820152602401610831565b6000610c8882610789565b9050336001600160a01b03821614610cc157610ca4813361052c565b610cc1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610831565b6000610d8282610f2a565b9050836001600160a01b0316816001600160a01b031614610db55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e0257610de5863361052c565b610e0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2957604051633a954ecd60e21b815260040160405180910390fd5b8015610e3457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ec657600184016000818152600460205260408120549003610ec4576000548114610ec45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b683838360405180602001604052806000815250610a3f565b60008180600111610f8757600054811015610f875760008181526004602052604081205490600160e01b82169003610f85575b80600003610f7e575060001901600081815260046020526040902054610f5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070e82826040518060200160405280600081525061110f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110838484846106c8565b6001600160a01b0383163b156106ed5761109f84848484611175565b6106ed576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105db90611894565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110e55750819003601f19909101908152919050565b6111198383611261565b6001600160a01b0383163b156106b6576000548281035b6111436000868380600101945086611175565b611160576040516368d2bf6b60e11b815260040160405180910390fd5b818110611130578160005414610a6557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111aa9033908990889088906004016119de565b6020604051808303816000875af19250505080156111e5575060408051601f3d908101601f191682019092526111e291810190611a1b565b60015b611243573d808015611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b50805160000361123b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461133557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112fd565b508160000361135657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461136b90611894565b90600052602060002090601f01602090048101928261138d57600085556113d3565b82601f106113a657805160ff19168380011785556113d3565b828001600101855582156113d3579182015b828111156113d35782518255916020019190600101906113b8565b506113df9291506113e3565b5090565b5b808211156113df57600081556001016113e4565b6001600160e01b03198116811461074657600080fd5b60006020828403121561142057600080fd5b8135610f7e816113f8565b60005b8381101561144657818101518382015260200161142e565b838111156106ed5750506000910152565b6000815180845261146f81602086016020860161142b565b601f01601f19169290920160200192915050565b602081526000610f7e6020830184611457565b6000602082840312156114a857600080fd5b5035919050565b80356001600160a01b03811681146114c657600080fd5b919050565b600080604083850312156114de57600080fd5b6114e7836114af565b946020939093013593505050565b60006020828403121561150757600080fd5b610f7e826114af565b60008060006060848603121561152557600080fd5b61152e846114af565b925061153c602085016114af565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561158b5761158b61154c565b604052919050565b600067ffffffffffffffff8311156115ad576115ad61154c565b6115c0601f8401601f1916602001611562565b90508281528383830111156115d457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115fd57600080fd5b813567ffffffffffffffff81111561161457600080fd5b8201601f8101841361162557600080fd5b61125984823560208401611593565b801515811461074657600080fd5b60006020828403121561165457600080fd5b8135610f7e81611634565b600067ffffffffffffffff8211156116795761167961154c565b5060051b60200190565b600082601f83011261169457600080fd5b813560206116a96116a48361165f565b611562565b82815260059290921b840181019181810190868411156116c857600080fd5b8286015b848110156116e357803583529183019183016116cc565b509695505050505050565b6000806040838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b8135602061173d6116a48361165f565b82815260059290921b8401810191818101908984111561175c57600080fd5b948201945b8386101561178157611772866114af565b82529482019490820190611761565b9650508601359250508082111561179757600080fd5b506117a485828601611683565b9150509250929050565b600080604083850312156117c157600080fd5b6117ca836114af565b915060208301356117da81611634565b809150509250929050565b600080600080608085870312156117fb57600080fd5b611804856114af565b9350611812602086016114af565b925060408501359150606085013567ffffffffffffffff81111561183557600080fd5b8501601f8101871361184657600080fd5b61185587823560208401611593565b91505092959194509250565b6000806040838503121561187457600080fd5b61187d836114af565b915061188b602084016114af565b90509250929050565b600181811c908216806118a857607f821691505b6020821081036118c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561190d5761190d6118e4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611945576119456118e4565b5060010190565b6000816000190483118215151615611966576119666118e4565b500290565b60008282101561197d5761197d6118e4565b500390565b6000835161199481846020880161142b565b8351908301906119a881836020880161142b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119d357600080fd5b8151610f7e81611634565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1190830184611457565b9695505050505050565b600060208284031215611a2d57600080fd5b8151610f7e816113f856fea26469706673582212207d6f02586a53f3a1188e43c8121cd42bd0c33ce103137be44ad411fc6671204364736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006df2bbb7e1ef2f3e03c53626f37c3d96e38e6c0c00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656965716f687a6334613279723567676232696c736b79757a726e6474656b376c62666a71786e6561696b68686e6b6b7967676965792f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a546967657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a546967657220436c756200000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : url (string): ipfs://bafybeieqohzc4a2yr5ggb2ilskyuzrndtek7lbfjqxneaikhhnkkyggiey/
Arg [1] : name (string): Tiger Club
Arg [2] : symbol (string): Tiger Club
Arg [3] : _owner (address): 0x6dF2bBb7E1EF2F3E03c53626F37C3d96e38E6C0C
Arg [4] : _price (uint256): 2000000000000000
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000006df2bbb7e1ef2f3e03c53626f37c3d96e38e6c0c
Arg [4] : 00000000000000000000000000000000000000000000000000071afd498d0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 697066733a2f2f6261667962656965716f687a6334613279723567676232696c
Arg [7] : 736b79757a726e6474656b376c62666a71786e6561696b68686e6b6b79676769
Arg [8] : 65792f0000000000000000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 546967657220436c756200000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [12] : 546967657220436c756200000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
70094:3730:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36993:639;;;;;;;;;;-1:-1:-1;36993:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36993:639:0;;;;;;;;37895:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44386:218::-;;;;;;;;;;-1:-1:-1;44386:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;44386:218:0;1528:203:1;72421:190:0;;;;;;:::i;:::-;;:::i;:::-;;33646:323;;;;;;;;;;-1:-1:-1;72404:1:0;33920:12;33707:7;33904:13;:28;-1:-1:-1;;33904:46:0;33646:323;;;2319:25:1;;;2307:2;2292:18;33646:323:0;2173:177:1;70341:41:0;;;;;;;;;;-1:-1:-1;70341:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;71538:95;;;;;;;;;;-1:-1:-1;71538:95:0;;;;;:::i;:::-;;:::i;72619:205::-;;;;;;:::i;:::-;;:::i;71226:105::-;;;;;;;;;;-1:-1:-1;71226:105:0;;;;;:::i;:::-;;:::i;73308:109::-;;;;;;;;;;;;;:::i;3010:143::-;;;;;;;;;;;;3110:42;3010:143;;72832:213;;;;;;:::i;:::-;;:::i;71339:96::-;;;;;;;;;;-1:-1:-1;71339:96:0;;;;;:::i;:::-;;:::i;70312:20::-;;;;;;;;;;-1:-1:-1;70312:20:0;;;;;;;;70228:21;;;;;;;;;;;;;;;;39288:152;;;;;;;;;;-1:-1:-1;39288:152:0;;;;;:::i;:::-;;:::i;73425:396::-;;;;;;;;;;-1:-1:-1;73425:396:0;;;;;:::i;:::-;;:::i;34830:233::-;;;;;;;;;;-1:-1:-1;34830:233:0;;;;;:::i;:::-;;:::i;17752:103::-;;;;;;;;;;;;;:::i;70256:22::-;;;;;;;;;;;;;;;;17104:87;;;;;;;;;;-1:-1:-1;17177:6:0;;-1:-1:-1;;;;;17177:6:0;17104:87;;38071:104;;;;;;;;;;;;;:::i;70285:20::-;;;;;;;;;;;;;;;;71641:461;;;;;;:::i;:::-;;:::i;72110:201::-;;;;;;;;;;-1:-1:-1;72110:201:0;;;;;:::i;:::-;;:::i;71443:87::-;;;;;;;;;;-1:-1:-1;71443:87:0;;;;;:::i;:::-;;:::i;73053:247::-;;;;;;:::i;:::-;;:::i;70865:353::-;;;;;;;;;;-1:-1:-1;70865:353:0;;;;;:::i;:::-;;:::i;45335:164::-;;;;;;;;;;-1:-1:-1;45335:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45456:25:0;;;45432:4;45456:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45335:164;18010:201;;;;;;;;;;-1:-1:-1;18010:201:0;;;;;:::i;:::-;;:::i;36993:639::-;37078:4;-1:-1:-1;;;;;;;;;37402:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37479:25:0;;;37402:102;:179;;;-1:-1:-1;;;;;;;;;;37556:25:0;;;37402:179;37382:199;36993:639;-1:-1:-1;;36993:639:0:o;37895:100::-;37949:13;37982:5;37975:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37895:100;:::o;44386:218::-;44462:7;44487:16;44495:7;44487;:16::i;:::-;44482:64;;44512:34;;-1:-1:-1;;;44512:34:0;;;;;;;;;;;44482:64;-1:-1:-1;44566:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44566:30:0;;44386:218::o;72421:190::-;72550:8;4531:30;4552:8;4531:20;:30::i;:::-;72571:32:::1;72585:8;72595:7;72571:13;:32::i;:::-;72421:190:::0;;;:::o;71538:95::-;16990:13;:11;:13::i;:::-;71607:7:::1;:18:::0;71538:95::o;72619:205::-;72762:4;-1:-1:-1;;;;;4351:18:0;;4359:10;4351:18;4347:83;;4386:32;4407:10;4386:20;:32::i;:::-;72779:37:::1;72798:4;72804:2;72808:7;72779:18;:37::i;:::-;72619:205:::0;;;;:::o;71226:105::-;16990:13;:11;:13::i;:::-;71300:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71226:105:::0;:::o;73308:109::-;16990:13;:11;:13::i;:::-;73358:51:::1;::::0;73366:10:::1;::::0;73387:21:::1;73358:51:::0;::::1;;;::::0;::::1;::::0;;;73387:21;73366:10;73358:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;73308:109::o:0;72832:213::-;72979:4;-1:-1:-1;;;;;4351:18:0;;4359:10;4351:18;4347:83;;4386:32;4407:10;4386:20;:32::i;:::-;72996:41:::1;73019:4;73025:2;73029:7;72996:22;:41::i;71339:96::-:0;16990:13;:11;:13::i;:::-;71407:8:::1;:20:::0;;-1:-1:-1;;71407:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71339:96::o;39288:152::-;39360:7;39403:27;39422:7;39403:18;:27::i;73425:396::-;16990:13;:11;:13::i;:::-;73566:4:::1;:11;73550:5;:12;:27;73542:36;;;::::0;::::1;;73594:6;73589:225;73610:5;:12;73606:1;:16;73589:225;;;73644:11;73658:4;73663:1;73658:7;;;;;;;;:::i;:::-;;;;;;;73644:21;;73680:12;73695:5;73701:1;73695:8;;;;;;;;:::i;:::-;;;;;;;73680:23;;73749:6;;73742:3;73726:13;72404:1:::0;33920:12;33707:7;33904:13;-1:-1:-1;;33904:28:0;;;:46;;33646:323;73726:13:::1;:19;;;;:::i;:::-;:29;;73718:49;;;;-1:-1:-1::0;;;73718:49:0::1;;;;;;;:::i;:::-;;;;;;;;;73782:20;73792:4;73798:3;73782:9;:20::i;:::-;73629:185;;73624:3;;;;;:::i;:::-;;;;73589:225;;34830:233:::0;34902:7;-1:-1:-1;;;;;34926:19:0;;34922:60;;34954:28;;-1:-1:-1;;;34954:28:0;;;;;;;;;;;34922:60;-1:-1:-1;;;;;;35000:25:0;;;;;:18;:25;;;;;;28989:13;35000:55;;34830:233::o;17752:103::-;16990:13;:11;:13::i;:::-;17817:30:::1;17844:1;17817:18;:30::i;:::-;17752:103::o:0;38071:104::-;38127:13;38160:7;38153:14;;;;;:::i;71641:461::-;71694:14;71717:5;;71711:3;:11;;;;:::i;:::-;71744:10;71737:18;;;;:6;:18;;;;;;71694:28;;-1:-1:-1;71737:23:0;71733:71;;71787:5;;71777:15;;;;:::i;:::-;;;71733:71;71822:8;;;;71814:31;;;;-1:-1:-1;;;71814:31:0;;9792:2:1;71814:31:0;;;9774:21:1;9831:2;9811:18;;;9804:30;-1:-1:-1;;;9850:18:1;;;9843:40;9900:18;;71814:31:0;9590:334:1;71814:31:0;71877:6;71864:9;:19;71856:39;;;;-1:-1:-1;;;71856:39:0;;10131:2:1;71856:39:0;;;10113:21:1;10170:1;10150:18;;;10143:29;-1:-1:-1;;;10188:18:1;;;10181:37;10235:18;;71856:39:0;9929:330:1;71856:39:0;71942:7;;71921:10;71914:18;;;;:6;:18;;;;;;:24;;71935:3;;71914:24;:::i;:::-;:35;;71906:55;;;;-1:-1:-1;;;71906:55:0;;;;;;;:::i;:::-;71979:10;71972:18;;;;:6;:18;;;;;:25;;71994:3;;71972:18;:25;;71994:3;;71972:25;:::i;:::-;;;;-1:-1:-1;;72039:6:0;;72404:1;33920:12;33707:7;33904:13;72032:3;;33904:28;;-1:-1:-1;;33904:46:0;72016:19;;;;:::i;:::-;:29;;72008:49;;;;-1:-1:-1;;;72008:49:0;;;;;;;:::i;:::-;72068:26;72078:10;72090:3;72068:9;:26::i;72110:201::-;72239:8;4531:30;4552:8;4531:20;:30::i;:::-;72260:43:::1;72284:8;72294;72260:23;:43::i;71443:87::-:0;16990:13;:11;:13::i;:::-;71508:5:::1;:14:::0;71443:87::o;73053:247::-;73228:4;-1:-1:-1;;;;;4351:18:0;;4359:10;4351:18;4347:83;;4386:32;4407:10;4386:20;:32::i;:::-;73245:47:::1;73268:4;73274:2;73278:7;73287:4;73245:22;:47::i;:::-;73053:247:::0;;;;;:::o;70865:353::-;70946:13;70994:16;71002:7;70994;:16::i;:::-;70972:113;;;;-1:-1:-1;;;70972:113:0;;10466:2:1;70972:113:0;;;10448:21:1;10505:2;10485:18;;;10478:30;10544:34;10524:18;;;10517:62;-1:-1:-1;;;10595:18:1;;;10588:45;10650:19;;70972:113:0;10264:411:1;70972:113:0;71096:21;71120:10;:8;:10::i;:::-;71096:34;;71172:7;71181:18;71191:7;71181:9;:18::i;:::-;71155:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71141:69;;;70865:353;;;:::o;18010:201::-;16990:13;:11;:13::i;:::-;-1:-1:-1;;;;;18099:22:0;::::1;18091:73;;;::::0;-1:-1:-1;;;18091:73:0;;11524:2:1;18091:73:0::1;::::0;::::1;11506:21:1::0;11563:2;11543:18;;;11536:30;11602:34;11582:18;;;11575:62;-1:-1:-1;;;11653:18:1;;;11646:36;11699:19;;18091:73:0::1;11322:402:1::0;18091:73:0::1;18175:28;18194:8;18175:18;:28::i;45757:282::-:0;45822:4;45878:7;72404:1;45859:26;;:66;;;;;45912:13;;45902:7;:23;45859:66;:153;;;;-1:-1:-1;;45963:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45963:44:0;:49;;45757:282::o;4589:419::-;3110:42;4780:45;:49;4776:225;;4851:67;;-1:-1:-1;;;4851:67:0;;4902:4;4851:67;;;11941:34:1;-1:-1:-1;;;;;12011:15:1;;11991:18;;;11984:43;3110:42:0;;4851;;11876:18:1;;4851:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4846:144;;4946:28;;-1:-1:-1;;;4946:28:0;;-1:-1:-1;;;;;1692:32:1;;4946:28:0;;;1674:51:1;1647:18;;4946:28:0;1528:203:1;43819:408:0;43908:13;43924:16;43932:7;43924;:16::i;:::-;43908:32;-1:-1:-1;68152:10:0;-1:-1:-1;;;;;43957:28:0;;;43953:175;;44005:44;44022:5;68152:10;45335:164;:::i;44005:44::-;44000:128;;44077:35;;-1:-1:-1;;;44077:35:0;;;;;;;;;;;44000:128;44140:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44140:35:0;-1:-1:-1;;;;;44140:35:0;;;;;;;;;44191:28;;44140:24;;44191:28;;;;;;;43897:330;43819:408;;:::o;17269:132::-;17177:6;;-1:-1:-1;;;;;17177:6:0;68152:10;17333:23;17325:68;;;;-1:-1:-1;;;17325:68:0;;12490:2:1;17325:68:0;;;12472:21:1;;;12509:18;;;12502:30;12568:34;12548:18;;;12541:62;12620:18;;17325:68:0;12288:356:1;48025:2825:0;48167:27;48197;48216:7;48197:18;:27::i;:::-;48167:57;;48282:4;-1:-1:-1;;;;;48241:45:0;48257:19;-1:-1:-1;;;;;48241:45:0;;48237:86;;48295:28;;-1:-1:-1;;;48295:28:0;;;;;;;;;;;48237:86;48337:27;47133:24;;;:15;:24;;;;;47361:26;;68152:10;46758:30;;;-1:-1:-1;;;;;46451:28:0;;46736:20;;;46733:56;48523:180;;48616:43;48633:4;68152:10;45335:164;:::i;48616:43::-;48611:92;;48668:35;;-1:-1:-1;;;48668:35:0;;;;;;;;;;;48611:92;-1:-1:-1;;;;;48720:16:0;;48716:52;;48745:23;;-1:-1:-1;;;48745:23:0;;;;;;;;;;;48716:52;48917:15;48914:160;;;49057:1;49036:19;49029:30;48914:160;-1:-1:-1;;;;;49454:24:0;;;;;;;:18;:24;;;;;;49452:26;;-1:-1:-1;;49452:26:0;;;49523:22;;;;;;;;;49521:24;;-1:-1:-1;49521:24:0;;;42677:11;42652:23;42648:41;42635:63;-1:-1:-1;;;42635:63:0;49816:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;50111:47:0;;:52;;50107:627;;50216:1;50206:11;;50184:19;50339:30;;;:17;:30;;;;;;:35;;50335:384;;50477:13;;50462:11;:28;50458:242;;50624:30;;;;:17;:30;;;;;:52;;;50458:242;50165:569;50107:627;50781:7;50777:2;-1:-1:-1;;;;;50762:27:0;50771:4;-1:-1:-1;;;;;50762:27:0;;;;;;;;;;;48156:2694;;;48025:2825;;;:::o;50946:193::-;51092:39;51109:4;51115:2;51119:7;51092:39;;;;;;;;;;;;:16;:39::i;40443:1275::-;40510:7;40545;;72404:1;40594:23;40590:1061;;40647:13;;40640:4;:20;40636:1015;;;40685:14;40702:23;;;:17;:23;;;;;;;-1:-1:-1;;;40791:24:0;;:29;;40787:845;;41456:113;41463:6;41473:1;41463:11;41456:113;;-1:-1:-1;;;41534:6:0;41516:25;;;;:17;:25;;;;;;41456:113;;;41602:6;40443:1275;-1:-1:-1;;;40443:1275:0:o;40787:845::-;40662:989;40636:1015;41679:31;;-1:-1:-1;;;41679:31:0;;;;;;;;;;;61897:112;61974:27;61984:2;61988:8;61974:27;;;;;;;;;;;;:9;:27::i;18371:191::-;18464:6;;;-1:-1:-1;;;;;18481:17:0;;;-1:-1:-1;;;;;;18481:17:0;;;;;;;18514:40;;18464:6;;;18481:17;18464:6;;18514:40;;18445:16;;18514:40;18434:128;18371:191;:::o;44944:234::-;68152:10;45039:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45039:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45039:60:0;;;;;;;;;;45115:55;;540:41:1;;;45039:49:0;;68152:10;45115:55;;513:18:1;45115:55:0;;;;;;;44944:234;;:::o;51737:407::-;51912:31;51925:4;51931:2;51935:7;51912:12;:31::i;:::-;-1:-1:-1;;;;;51958:14:0;;;:19;51954:183;;51997:56;52028:4;52034:2;52038:7;52047:5;51997:30;:56::i;:::-;51992:145;;52081:40;;-1:-1:-1;;;52081:40:0;;;;;;;;;;;70751:106;70803:13;70836;70829:20;;;;;:::i;68272:1745::-;68337:17;68771:4;68764;68758:11;68754:22;68863:1;68857:4;68850:15;68938:4;68935:1;68931:12;68924:19;;;69020:1;69015:3;69008:14;69124:3;69363:5;69345:428;69411:1;69406:3;69402:11;69395:18;;69582:2;69576:4;69572:13;69568:2;69564:22;69559:3;69551:36;69676:2;69666:13;;69733:25;69345:428;69733:25;-1:-1:-1;69803:13:0;;;-1:-1:-1;;69918:14:0;;;69980:19;;;69918:14;68272:1745;-1:-1:-1;68272:1745:0:o;61124:689::-;61255:19;61261:2;61265:8;61255:5;:19::i;:::-;-1:-1:-1;;;;;61316:14:0;;;:19;61312:483;;61356:11;61370:13;61418:14;;;61451:233;61482:62;61521:1;61525:2;61529:7;;;;;;61538:5;61482:30;:62::i;:::-;61477:167;;61580:40;;-1:-1:-1;;;61580:40:0;;;;;;;;;;;61477:167;61679:3;61671:5;:11;61451:233;;61766:3;61749:13;;:20;61745:34;;61771:8;;;54228:716;54412:88;;-1:-1:-1;;;54412:88:0;;54391:4;;-1:-1:-1;;;;;54412:45:0;;;;;:88;;68152:10;;54479:4;;54485:7;;54494:5;;54412:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54412:88:0;;;;;;;;-1:-1:-1;;54412:88:0;;;;;;;;;;;;:::i;:::-;;;54408:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54695:6;:13;54712:1;54695:18;54691:235;;54741:40;;-1:-1:-1;;;54741:40:0;;;;;;;;;;;54691:235;54884:6;54878:13;54869:6;54865:2;54861:15;54854:38;54408:529;-1:-1:-1;;;;;;54571:64:0;-1:-1:-1;;;54571:64:0;;-1:-1:-1;54408:529:0;54228:716;;;;;;:::o;55406:2966::-;55479:20;55502:13;;;55530;;;55526:44;;55552:18;;-1:-1:-1;;;55552:18:0;;;;;;;;;;;55526:44;-1:-1:-1;;;;;56058:22:0;;;;;;:18;:22;;;;29127:2;56058:22;;;:71;;56096:32;56084:45;;56058:71;;;56372:31;;;:17;:31;;;;;-1:-1:-1;43108:15:0;;43082:24;43078:46;42677:11;42652:23;42648:41;42645:52;42635:63;;56372:173;;56607:23;;;;56372:31;;56058:22;;57372:25;56058:22;;57225:335;57886:1;57872:12;57868:20;57826:346;57927:3;57918:7;57915:16;57826:346;;58145:7;58135:8;58132:1;58105:25;58102:1;58099;58094:59;57980:1;57967:15;57826:346;;;57830:77;58205:8;58217:1;58205:13;58201:45;;58227:19;;-1:-1:-1;;;58227:19:0;;;;;;;;;;;58201:45;58263:13;:19;-1:-1:-1;72421:190:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;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;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:275;3082:2;3076:9;3147:2;3128:13;;-1:-1:-1;;3124:27:1;3112:40;;3182:18;3167:34;;3203:22;;;3164:62;3161:88;;;3229:18;;:::i;:::-;3265:2;3258:22;3011:275;;-1:-1:-1;3011:275:1:o;3291:407::-;3356:5;3390:18;3382:6;3379:30;3376:56;;;3412:18;;:::i;:::-;3450:57;3495:2;3474:15;;-1:-1:-1;;3470:29:1;3501:4;3466:40;3450:57;:::i;:::-;3441:66;;3530:6;3523:5;3516:21;3570:3;3561:6;3556:3;3552:16;3549:25;3546:45;;;3587:1;3584;3577:12;3546:45;3636:6;3631:3;3624:4;3617:5;3613:16;3600:43;3690:1;3683:4;3674:6;3667:5;3663:18;3659:29;3652:40;3291:407;;;;;:::o;3703:451::-;3772:6;3825:2;3813:9;3804:7;3800:23;3796:32;3793:52;;;3841:1;3838;3831:12;3793:52;3881:9;3868:23;3914:18;3906:6;3903:30;3900:50;;;3946:1;3943;3936:12;3900:50;3969:22;;4022:4;4014:13;;4010:27;-1:-1:-1;4000:55:1;;4051:1;4048;4041:12;4000:55;4074:74;4140:7;4135:2;4122:16;4117:2;4113;4109:11;4074:74;:::i;4398:118::-;4484:5;4477:13;4470:21;4463:5;4460:32;4450:60;;4506:1;4503;4496:12;4521:241;4577:6;4630:2;4618:9;4609:7;4605:23;4601:32;4598:52;;;4646:1;4643;4636:12;4598:52;4685:9;4672:23;4704:28;4726:5;4704:28;:::i;4767:183::-;4827:4;4860:18;4852:6;4849:30;4846:56;;;4882:18;;:::i;:::-;-1:-1:-1;4927:1:1;4923:14;4939:4;4919:25;;4767:183::o;4955:662::-;5009:5;5062:3;5055:4;5047:6;5043:17;5039:27;5029:55;;5080:1;5077;5070:12;5029:55;5116:6;5103:20;5142:4;5166:60;5182:43;5222:2;5182:43;:::i;:::-;5166:60;:::i;:::-;5260:15;;;5346:1;5342:10;;;;5330:23;;5326:32;;;5291:12;;;;5370:15;;;5367:35;;;5398:1;5395;5388:12;5367:35;5434:2;5426:6;5422:15;5446:142;5462:6;5457:3;5454:15;5446:142;;;5528:17;;5516:30;;5566:12;;;;5479;;5446:142;;;-1:-1:-1;5606:5:1;4955:662;-1:-1:-1;;;;;;4955:662:1:o;5622:1146::-;5740:6;5748;5801:2;5789:9;5780:7;5776:23;5772:32;5769:52;;;5817:1;5814;5807:12;5769:52;5857:9;5844:23;5886:18;5927:2;5919:6;5916:14;5913:34;;;5943:1;5940;5933:12;5913:34;5981:6;5970:9;5966:22;5956:32;;6026:7;6019:4;6015:2;6011:13;6007:27;5997:55;;6048:1;6045;6038:12;5997:55;6084:2;6071:16;6106:4;6130:60;6146:43;6186:2;6146:43;:::i;6130:60::-;6224:15;;;6306:1;6302:10;;;;6294:19;;6290:28;;;6255:12;;;;6330:19;;;6327:39;;;6362:1;6359;6352:12;6327:39;6386:11;;;;6406:148;6422:6;6417:3;6414:15;6406:148;;;6488:23;6507:3;6488:23;:::i;:::-;6476:36;;6439:12;;;;6532;;;;6406:148;;;6573:5;-1:-1:-1;;6616:18:1;;6603:32;;-1:-1:-1;;6647:16:1;;;6644:36;;;6676:1;6673;6666:12;6644:36;;6699:63;6754:7;6743:8;6732:9;6728:24;6699:63;:::i;:::-;6689:73;;;5622:1146;;;;;:::o;6773:315::-;6838:6;6846;6899:2;6887:9;6878:7;6874:23;6870:32;6867:52;;;6915:1;6912;6905:12;6867:52;6938:29;6957:9;6938:29;:::i;:::-;6928:39;;7017:2;7006:9;7002:18;6989:32;7030:28;7052:5;7030:28;:::i;:::-;7077:5;7067:15;;;6773:315;;;;;:::o;7093:667::-;7188:6;7196;7204;7212;7265:3;7253:9;7244:7;7240:23;7236:33;7233:53;;;7282:1;7279;7272:12;7233:53;7305:29;7324:9;7305:29;:::i;:::-;7295:39;;7353:38;7387:2;7376:9;7372:18;7353:38;:::i;:::-;7343:48;;7438:2;7427:9;7423:18;7410:32;7400:42;;7493:2;7482:9;7478:18;7465:32;7520:18;7512:6;7509:30;7506:50;;;7552:1;7549;7542:12;7506:50;7575:22;;7628:4;7620:13;;7616:27;-1:-1:-1;7606:55:1;;7657:1;7654;7647:12;7606:55;7680:74;7746:7;7741:2;7728:16;7723:2;7719;7715:11;7680:74;:::i;:::-;7670:84;;;7093:667;;;;;;;:::o;7765:260::-;7833:6;7841;7894:2;7882:9;7873:7;7869:23;7865:32;7862:52;;;7910:1;7907;7900:12;7862:52;7933:29;7952:9;7933:29;:::i;:::-;7923:39;;7981:38;8015:2;8004:9;8000:18;7981:38;:::i;:::-;7971:48;;7765:260;;;;;:::o;8030:380::-;8109:1;8105:12;;;;8152;;;8173:61;;8227:4;8219:6;8215:17;8205:27;;8173:61;8280:2;8272:6;8269:14;8249:18;8246:38;8243:161;;8326:10;8321:3;8317:20;8314:1;8307:31;8361:4;8358:1;8351:15;8389:4;8386:1;8379:15;8243:161;;8030:380;;;:::o;8415:127::-;8476:10;8471:3;8467:20;8464:1;8457:31;8507:4;8504:1;8497:15;8531:4;8528:1;8521:15;8547:127;8608:10;8603:3;8599:20;8596:1;8589:31;8639:4;8636:1;8629:15;8663:4;8660:1;8653:15;8679:128;8719:3;8750:1;8746:6;8743:1;8740:13;8737:39;;;8756:18;;:::i;:::-;-1:-1:-1;8792:9:1;;8679:128::o;8812:330::-;9014:2;8996:21;;;9053:1;9033:18;;;9026:29;-1:-1:-1;;;9086:2:1;9071:18;;9064:37;9133:2;9118:18;;8812:330::o;9147:135::-;9186:3;9207:17;;;9204:43;;9227:18;;:::i;:::-;-1:-1:-1;9274:1:1;9263:13;;9147:135::o;9287:168::-;9327:7;9393:1;9389;9385:6;9381:14;9378:1;9375:21;9370:1;9363:9;9356:17;9352:45;9349:71;;;9400:18;;:::i;:::-;-1:-1:-1;9440:9:1;;9287:168::o;9460:125::-;9500:4;9528:1;9525;9522:8;9519:34;;;9533:18;;:::i;:::-;-1:-1:-1;9570:9:1;;9460:125::o;10680:637::-;10960:3;10998:6;10992:13;11014:53;11060:6;11055:3;11048:4;11040:6;11036:17;11014:53;:::i;:::-;11130:13;;11089:16;;;;11152:57;11130:13;11089:16;11186:4;11174:17;;11152:57;:::i;:::-;-1:-1:-1;;;11231:20:1;;11260:22;;;11309:1;11298:13;;10680:637;-1:-1:-1;;;;10680:637:1:o;12038:245::-;12105:6;12158:2;12146:9;12137:7;12133:23;12129:32;12126:52;;;12174:1;12171;12164:12;12126:52;12206:9;12200:16;12225:28;12247:5;12225:28;:::i;12649:489::-;-1:-1:-1;;;;;12918:15:1;;;12900:34;;12970:15;;12965:2;12950:18;;12943:43;13017:2;13002:18;;12995:34;;;13065:3;13060:2;13045:18;;13038:31;;;12843:4;;13086:46;;13112:19;;13104:6;13086:46;:::i;:::-;13078:54;12649:489;-1:-1:-1;;;;;;12649:489:1:o;13143:249::-;13212:6;13265:2;13253:9;13244:7;13240:23;13236:32;13233:52;;;13281:1;13278;13271:12;13233:52;13313:9;13307:16;13332:30;13356:5;13332:30;:::i
Swarm Source
ipfs://7d6f02586a53f3a1188e43c8121cd42bd0c33ce103137be44ad411fc66712043
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 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.