Overview
ETH Balance
0.0000001554 ETH
Eth Value
Less Than $0.01 (@ $3,281.60/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
ElementWorld
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-02 */ // SPDX-License-Identifier: MIT // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: contracts/ElementWorld.sol pragma solidity ^0.8.0; contract ElementWorld is ERC721A { uint256 public constant version = 1; uint256 public _unitPrice; uint256 private _unit3Price; string private _tokenURI = "https://ipfs.io/ipfs/QmYBQNXdoL2nUMjtzhwXeqPkezvd5Liz98ZAwZyoY3cYiA/json/"; address private _payeeAddr = 0x000000001c1e0572adc0D80f01bFafD9BC3b098E; mapping(uint256 => uint256) private tokenRandomNumbers; event NewMint(address indexed msgSender, uint256 indexed mintQuantity); constructor() ERC721A("Elemental World", "EWD") { } function _startTokenId() internal view override virtual returns (uint256) { return 1; } function transferOut() public { uint256 balance = address(this).balance; payable(address(_payeeAddr)).transfer(balance); } function transferAllERC20Out(address _tokenAddress) public { IERC20 token = IERC20(_tokenAddress); uint256 balance = token.balanceOf(address(this)); require(balance > 0, "No token balance to transfer"); token.transfer(address(_payeeAddr), balance); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 uriIndex = tokenRandomNumbers[tokenId]; // 获取token的随机数字 require(uriIndex >= 1 && uriIndex <= 199, "Invalid URI index"); return string(abi.encodePacked(_tokenURI, Strings.toString(uriIndex), ".json")); } receive() payable external { } function mint(uint256 quantity) public payable { require(quantity <= 3 || quantity == 10 || quantity == 100 , "ERC721: Invalid quantity"); if (quantity > 10) { require(msg.value >= 0.0005 ether, "ERC721: Insufficient payment"); } uint256 tokenIdStart = totalSupply(); _safeMint(msg.sender, quantity); for (uint256 i = 1; i <= quantity; i++) { uint256 randomNumber = (uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, i))) % 199) + 1; tokenRandomNumbers[tokenIdStart+i] = randomNumber; } emit NewMint(msg.sender, quantity); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"msgSender","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintQuantity","type":"uint256"}],"name":"NewMint","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":"_unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_tokenAddress","type":"address"}],"name":"transferAllERC20Out","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":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61010060405260496080818152906200179060a03980516200002a91600a91602090910190620000d1565b50600b80546001600160a01b0319166f1c1e0572adc0d80f01bfafd9bc3b098e1790553480156200005a57600080fd5b50604080518082018252600f81526e115b195b595b9d185b0815dbdc9b19608a1b6020808301918252835180850190945260038452621155d160ea1b908401528151919291620000ad91600291620000d1565b508051620000c3906003906020840190620000d1565b5050600160005550620001b4565b828054620000df9062000177565b90600052602060002090601f0160209004810192826200010357600085556200014e565b82601f106200011e57805160ff19168380011785556200014e565b828001600101855582156200014e579182015b828111156200014e57825182559160200191906001019062000131565b506200015c92915062000160565b5090565b5b808211156200015c576000815560010162000161565b600181811c908216806200018c57607f821691505b60208210811415620001ae57634e487b7160e01b600052602260045260246000fd5b50919050565b6115cc80620001c46000396000f3fe6080604052600436106101185760003560e01c806370a08231116100a0578063c10f410b11610064578063c10f410b146102c5578063c87b56dd146102da578063dde502d1146102fa578063e985e9c514610310578063ea1e10ab1461035957600080fd5b806370a082311461024a57806395d89b411461026a578063a0712d681461027f578063a22cb46514610292578063b88d4fde146102b257600080fd5b806318160ddd116100e757806318160ddd146101c857806323b872dd146101ef57806342842e0e1461020257806354fd4d50146102155780636352211e1461022a57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b357600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5061014461013f36600461127f565b610379565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103cb565b604051610150919061142b565b34801561018757600080fd5b5061019b6101963660046112b9565b61045d565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004611238565b6104a1565b005b3480156101d457600080fd5b5060015460005403600019015b604051908152602001610150565b6101c66101fd3660046110e9565b610541565b6101c66102103660046110e9565b6106d2565b34801561022157600080fd5b506101e1600181565b34801561023657600080fd5b5061019b6102453660046112b9565b6106f2565b34801561025657600080fd5b506101e161026536600461109b565b6106fd565b34801561027657600080fd5b5061016e61074c565b6101c661028d3660046112b9565b61075b565b34801561029e57600080fd5b506101c66102ad366004611201565b61091b565b6101c66102c0366004611125565b610987565b3480156102d157600080fd5b506101c66109d1565b3480156102e657600080fd5b5061016e6102f53660046112b9565b610a0f565b34801561030657600080fd5b506101e160085481565b34801561031c57600080fd5b5061014461032b3660046110b6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561036557600080fd5b506101c661037436600461109b565b610b12565b60006301ffc9a760e01b6001600160e01b0319831614806103aa57506380ac58cd60e01b6001600160e01b03198316145b806103c55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103da906114ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610406906114ad565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b5050505050905090565b600061046882610c66565b610485576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104ac826106f2565b9050336001600160a01b038216146104e5576104c8813361032b565b6104e5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061054c82610c9b565b9050836001600160a01b0316816001600160a01b03161461057f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176105cc576105af863361032b565b6105cc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166105f357604051633a954ecd60e21b815260040160405180910390fd5b80156105fe57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661068957600184016000818152600460205260409020546106875760005481146106875760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106ed83838360405180602001604052806000815250610987565b505050565b60006103c582610c9b565b60006001600160a01b038216610726576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103da906114ad565b60038111158061076b575080600a145b806107765750806064145b6107c75760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e74697479000000000000000060448201526064015b60405180910390fd5b600a811115610827576601c6bf526340003410156108275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016107be565b600061083c6001546000546000199190030190565b90506108483383610d0b565b60015b8281116108e957604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810182905260009060c7906074016040516020818303038152906040528051906020012060001c6108a99190611503565b6108b490600161143e565b905080600c60006108c5858761143e565b815260208101919091526040016000205550806108e1816114e8565b91505061084b565b50604051829033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610992848484610541565b6001600160a01b0383163b156109cb576109ae84848484610d25565b6109cb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610a0b573d6000803e3d6000fd5b5050565b6060610a1a82610c66565b610a7e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107be565b6000828152600c602052604090205460018110801590610a9f575060c78111155b610adf5760405162461bcd60e51b8152602060048201526011602482015270092dcecc2d8d2c840aaa49240d2dcc8caf607b1b60448201526064016107be565b600a610aea82610e1d565b604051602001610afb929190611333565b604051602081830303815290604052915050919050565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b5657600080fd5b505afa158015610b6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8e91906112d2565b905060008111610be05760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e2062616c616e636520746f207472616e736665720000000060448201526064016107be565b600b5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610c2e57600080fd5b505af1158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb9190611262565b600081600111158015610c7a575060005482105b80156103c5575050600090815260046020526040902054600160e01b161590565b60008180600111610cf257600054811015610cf257600081815260046020526040902054600160e01b8116610cf0575b80610ce9575060001901600081815260046020526040902054610ccb565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610a0b828260405180602001604052806000815250610f1b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d5a9033908990889088906004016113ee565b602060405180830381600087803b158015610d7457600080fd5b505af1925050508015610da4575060408051601f3d908101601f19168201909252610da19181019061129c565b60015b610dff573d808015610dd2576040519150601f19603f3d011682016040523d82523d6000602084013e610dd7565b606091505b508051610df7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081610e415750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e6b5780610e55816114e8565b9150610e649050600a83611456565b9150610e45565b60008167ffffffffffffffff811115610e8657610e86611559565b6040519080825280601f01601f191660200182016040528015610eb0576020820181803683370190505b5090505b8415610e1557610ec560018361146a565b9150610ed2600a86611503565b610edd90603061143e565b60f81b818381518110610ef257610ef2611543565b60200101906001600160f81b031916908160001a905350610f14600a86611456565b9450610eb4565b610f258383610f88565b6001600160a01b0383163b156106ed576000548281035b610f4f6000868380600101945086610d25565b610f6c576040516368d2bf6b60e11b815260040160405180910390fd5b818110610f3c578160005414610f8157600080fd5b5050505050565b60005481610fa95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461105857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611020565b508161107657604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461109657600080fd5b919050565b6000602082840312156110ad57600080fd5b610ce98261107f565b600080604083850312156110c957600080fd5b6110d28361107f565b91506110e06020840161107f565b90509250929050565b6000806000606084860312156110fe57600080fd5b6111078461107f565b92506111156020850161107f565b9150604084013590509250925092565b6000806000806080858703121561113b57600080fd5b6111448561107f565b93506111526020860161107f565b925060408501359150606085013567ffffffffffffffff8082111561117657600080fd5b818701915087601f83011261118a57600080fd5b81358181111561119c5761119c611559565b604051601f8201601f19908116603f011681019083821181831017156111c4576111c4611559565b816040528281528a60208487010111156111dd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561121457600080fd5b61121d8361107f565b9150602083013561122d8161156f565b809150509250929050565b6000806040838503121561124b57600080fd5b6112548361107f565b946020939093013593505050565b60006020828403121561127457600080fd5b8151610ce98161156f565b60006020828403121561129157600080fd5b8135610ce981611580565b6000602082840312156112ae57600080fd5b8151610ce981611580565b6000602082840312156112cb57600080fd5b5035919050565b6000602082840312156112e457600080fd5b5051919050565b60008151808452611303816020860160208601611481565b601f01601f19169290920160200192915050565b60008151611329818560208601611481565b9290920192915050565b600080845481600182811c91508083168061134f57607f831692505b602080841082141561136f57634e487b7160e01b86526022600452602486fd5b8180156113835760018114611394576113c1565b60ff198616895284890196506113c1565b60008b81526020902060005b868110156113b95781548b8201529085019083016113a0565b505084890196505b5050505050506113e56113d48286611317565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611421908301846112eb565b9695505050505050565b602081526000610ce960208301846112eb565b6000821982111561145157611451611517565b500190565b6000826114655761146561152d565b500490565b60008282101561147c5761147c611517565b500390565b60005b8381101561149c578181015183820152602001611484565b838111156109cb5750506000910152565b600181811c908216806114c157607f821691505b602082108114156114e257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156114fc576114fc611517565b5060010190565b6000826115125761151261152d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461157d57600080fd5b50565b6001600160e01b03198116811461157d57600080fdfea2646970667358221220e87cff08c78940400001db264e48f32890d709b988da3dfc6067aa2e62a48a1f64736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d5942514e58646f4c326e554d6a747a6877586571506b657a7664354c697a39385a41775a796f5933635969412f6a736f6e2f
Deployed Bytecode
0x6080604052600436106101185760003560e01c806370a08231116100a0578063c10f410b11610064578063c10f410b146102c5578063c87b56dd146102da578063dde502d1146102fa578063e985e9c514610310578063ea1e10ab1461035957600080fd5b806370a082311461024a57806395d89b411461026a578063a0712d681461027f578063a22cb46514610292578063b88d4fde146102b257600080fd5b806318160ddd116100e757806318160ddd146101c857806323b872dd146101ef57806342842e0e1461020257806354fd4d50146102155780636352211e1461022a57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b357600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5061014461013f36600461127f565b610379565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103cb565b604051610150919061142b565b34801561018757600080fd5b5061019b6101963660046112b9565b61045d565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004611238565b6104a1565b005b3480156101d457600080fd5b5060015460005403600019015b604051908152602001610150565b6101c66101fd3660046110e9565b610541565b6101c66102103660046110e9565b6106d2565b34801561022157600080fd5b506101e1600181565b34801561023657600080fd5b5061019b6102453660046112b9565b6106f2565b34801561025657600080fd5b506101e161026536600461109b565b6106fd565b34801561027657600080fd5b5061016e61074c565b6101c661028d3660046112b9565b61075b565b34801561029e57600080fd5b506101c66102ad366004611201565b61091b565b6101c66102c0366004611125565b610987565b3480156102d157600080fd5b506101c66109d1565b3480156102e657600080fd5b5061016e6102f53660046112b9565b610a0f565b34801561030657600080fd5b506101e160085481565b34801561031c57600080fd5b5061014461032b3660046110b6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561036557600080fd5b506101c661037436600461109b565b610b12565b60006301ffc9a760e01b6001600160e01b0319831614806103aa57506380ac58cd60e01b6001600160e01b03198316145b806103c55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103da906114ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610406906114ad565b80156104535780601f1061042857610100808354040283529160200191610453565b820191906000526020600020905b81548152906001019060200180831161043657829003601f168201915b5050505050905090565b600061046882610c66565b610485576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104ac826106f2565b9050336001600160a01b038216146104e5576104c8813361032b565b6104e5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061054c82610c9b565b9050836001600160a01b0316816001600160a01b03161461057f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176105cc576105af863361032b565b6105cc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166105f357604051633a954ecd60e21b815260040160405180910390fd5b80156105fe57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661068957600184016000818152600460205260409020546106875760005481146106875760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106ed83838360405180602001604052806000815250610987565b505050565b60006103c582610c9b565b60006001600160a01b038216610726576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103da906114ad565b60038111158061076b575080600a145b806107765750806064145b6107c75760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e74697479000000000000000060448201526064015b60405180910390fd5b600a811115610827576601c6bf526340003410156108275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e740000000060448201526064016107be565b600061083c6001546000546000199190030190565b90506108483383610d0b565b60015b8281116108e957604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810182905260009060c7906074016040516020818303038152906040528051906020012060001c6108a99190611503565b6108b490600161143e565b905080600c60006108c5858761143e565b815260208101919091526040016000205550806108e1816114e8565b91505061084b565b50604051829033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610992848484610541565b6001600160a01b0383163b156109cb576109ae84848484610d25565b6109cb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610a0b573d6000803e3d6000fd5b5050565b6060610a1a82610c66565b610a7e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107be565b6000828152600c602052604090205460018110801590610a9f575060c78111155b610adf5760405162461bcd60e51b8152602060048201526011602482015270092dcecc2d8d2c840aaa49240d2dcc8caf607b1b60448201526064016107be565b600a610aea82610e1d565b604051602001610afb929190611333565b604051602081830303815290604052915050919050565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b5657600080fd5b505afa158015610b6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8e91906112d2565b905060008111610be05760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e2062616c616e636520746f207472616e736665720000000060448201526064016107be565b600b5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610c2e57600080fd5b505af1158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb9190611262565b600081600111158015610c7a575060005482105b80156103c5575050600090815260046020526040902054600160e01b161590565b60008180600111610cf257600054811015610cf257600081815260046020526040902054600160e01b8116610cf0575b80610ce9575060001901600081815260046020526040902054610ccb565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610a0b828260405180602001604052806000815250610f1b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d5a9033908990889088906004016113ee565b602060405180830381600087803b158015610d7457600080fd5b505af1925050508015610da4575060408051601f3d908101601f19168201909252610da19181019061129c565b60015b610dff573d808015610dd2576040519150601f19603f3d011682016040523d82523d6000602084013e610dd7565b606091505b508051610df7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081610e415750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e6b5780610e55816114e8565b9150610e649050600a83611456565b9150610e45565b60008167ffffffffffffffff811115610e8657610e86611559565b6040519080825280601f01601f191660200182016040528015610eb0576020820181803683370190505b5090505b8415610e1557610ec560018361146a565b9150610ed2600a86611503565b610edd90603061143e565b60f81b818381518110610ef257610ef2611543565b60200101906001600160f81b031916908160001a905350610f14600a86611456565b9450610eb4565b610f258383610f88565b6001600160a01b0383163b156106ed576000548281035b610f4f6000868380600101945086610d25565b610f6c576040516368d2bf6b60e11b815260040160405180910390fd5b818110610f3c578160005414610f8157600080fd5b5050505050565b60005481610fa95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461105857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611020565b508161107657604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461109657600080fd5b919050565b6000602082840312156110ad57600080fd5b610ce98261107f565b600080604083850312156110c957600080fd5b6110d28361107f565b91506110e06020840161107f565b90509250929050565b6000806000606084860312156110fe57600080fd5b6111078461107f565b92506111156020850161107f565b9150604084013590509250925092565b6000806000806080858703121561113b57600080fd5b6111448561107f565b93506111526020860161107f565b925060408501359150606085013567ffffffffffffffff8082111561117657600080fd5b818701915087601f83011261118a57600080fd5b81358181111561119c5761119c611559565b604051601f8201601f19908116603f011681019083821181831017156111c4576111c4611559565b816040528281528a60208487010111156111dd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561121457600080fd5b61121d8361107f565b9150602083013561122d8161156f565b809150509250929050565b6000806040838503121561124b57600080fd5b6112548361107f565b946020939093013593505050565b60006020828403121561127457600080fd5b8151610ce98161156f565b60006020828403121561129157600080fd5b8135610ce981611580565b6000602082840312156112ae57600080fd5b8151610ce981611580565b6000602082840312156112cb57600080fd5b5035919050565b6000602082840312156112e457600080fd5b5051919050565b60008151808452611303816020860160208601611481565b601f01601f19169290920160200192915050565b60008151611329818560208601611481565b9290920192915050565b600080845481600182811c91508083168061134f57607f831692505b602080841082141561136f57634e487b7160e01b86526022600452602486fd5b8180156113835760018114611394576113c1565b60ff198616895284890196506113c1565b60008b81526020902060005b868110156113b95781548b8201529085019083016113a0565b505084890196505b5050505050506113e56113d48286611317565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611421908301846112eb565b9695505050505050565b602081526000610ce960208301846112eb565b6000821982111561145157611451611517565b500190565b6000826114655761146561152d565b500490565b60008282101561147c5761147c611517565b500390565b60005b8381101561149c578181015183820152602001611484565b838111156109cb5750506000910152565b600181811c908216806114c157607f821691505b602082108114156114e257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156114fc576114fc611517565b5060010190565b6000826115125761151261152d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461157d57600080fd5b50565b6001600160e01b03198116811461157d57600080fdfea2646970667358221220e87cff08c78940400001db264e48f32890d709b988da3dfc6067aa2e62a48a1f64736f6c63430008070033
Deployed Bytecode Sourcemap
56549:2273:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18437:639;;;;;;;;;;-1:-1:-1;18437:639:0;;;;;:::i;:::-;;:::i;:::-;;;7216:14:1;;7209:22;7191:41;;7179:2;7164:18;18437:639:0;;;;;;;;19339:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25830:218::-;;;;;;;;;;-1:-1:-1;25830:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6235:32:1;;;6217:51;;6205:2;6190:18;25830:218:0;6071:203:1;25263:408:0;;;;;;:::i;:::-;;:::i;:::-;;15090:323;;;;;;;;;;-1:-1:-1;57184:1:0;15364:12;15151:7;15348:13;:28;-1:-1:-1;;15348:46:0;15090:323;;;9442:25:1;;;9430:2;9415:18;15090:323:0;9296:177:1;29469:2825:0;;;;;;:::i;:::-;;:::i;32390:193::-;;;;;;:::i;:::-;;:::i;56591:35::-;;;;;;;;;;;;56625:1;56591:35;;20732:152;;;;;;;;;;-1:-1:-1;20732:152:0;;;;;:::i;:::-;;:::i;16274:233::-;;;;;;;;;;-1:-1:-1;16274:233:0;;;;;:::i;:::-;;:::i;19515:104::-;;;;;;;;;;;;;:::i;58154:662::-;;;;;;:::i;:::-;;:::i;26388:234::-;;;;;;;;;;-1:-1:-1;26388:234:0;;;;;:::i;:::-;;:::i;33181:407::-;;;;;;:::i;:::-;;:::i;57201:145::-;;;;;;;;;;;;;:::i;57660:443::-;;;;;;;;;;-1:-1:-1;57660:443:0;;;;;:::i;:::-;;:::i;56633:25::-;;;;;;;;;;;;;;;;26779:164;;;;;;;;;;-1:-1:-1;26779:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26900:25:0;;;26876:4;26900:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26779:164;57354:298;;;;;;;;;;-1:-1:-1;57354:298:0;;;;;:::i;:::-;;:::i;18437:639::-;18522:4;-1:-1:-1;;;;;;;;;18846:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18923:25:0;;;18846:102;:179;;;-1:-1:-1;;;;;;;;;;19000:25:0;;;18846:179;18826:199;18437:639;-1:-1:-1;;18437:639:0:o;19339:100::-;19393:13;19426:5;19419:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19339:100;:::o;25830:218::-;25906:7;25931:16;25939:7;25931;:16::i;:::-;25926:64;;25956:34;;-1:-1:-1;;;25956:34:0;;;;;;;;;;;25926:64;-1:-1:-1;26010:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26010:30:0;;25830:218::o;25263:408::-;25352:13;25368:16;25376:7;25368;:16::i;:::-;25352:32;-1:-1:-1;49596:10:0;-1:-1:-1;;;;;25401:28:0;;;25397:175;;25449:44;25466:5;49596:10;26779:164;:::i;25449:44::-;25444:128;;25521:35;;-1:-1:-1;;;25521:35:0;;;;;;;;;;;25444:128;25584:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25584:35:0;-1:-1:-1;;;;;25584:35:0;;;;;;;;;25635:28;;25584:24;;25635:28;;;;;;;25341:330;25263:408;;:::o;29469:2825::-;29611:27;29641;29660:7;29641:18;:27::i;:::-;29611:57;;29726:4;-1:-1:-1;;;;;29685:45:0;29701:19;-1:-1:-1;;;;;29685:45:0;;29681:86;;29739:28;;-1:-1:-1;;;29739:28:0;;;;;;;;;;;29681:86;29781:27;28577:24;;;:15;:24;;;;;28805:26;;49596:10;28202:30;;;-1:-1:-1;;;;;27895:28:0;;28180:20;;;28177:56;29967:180;;30060:43;30077:4;49596:10;26779:164;:::i;30060:43::-;30055:92;;30112:35;;-1:-1:-1;;;30112:35:0;;;;;;;;;;;30055:92;-1:-1:-1;;;;;30164:16:0;;30160:52;;30189:23;;-1:-1:-1;;;30189:23:0;;;;;;;;;;;30160:52;30361:15;30358:160;;;30501:1;30480:19;30473:30;30358:160;-1:-1:-1;;;;;30898:24:0;;;;;;;:18;:24;;;;;;30896:26;;-1:-1:-1;;30896:26:0;;;30967:22;;;;;;;;;30965:24;;-1:-1:-1;30965:24:0;;;24121:11;24096:23;24092:41;24079:63;-1:-1:-1;;;24079:63:0;31260:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31555:47:0;;31551:627;;31660:1;31650:11;;31628:19;31783:30;;;:17;:30;;;;;;31779:384;;31921:13;;31906:11;:28;31902:242;;32068:30;;;;:17;:30;;;;;:52;;;31902:242;31609:569;31551:627;32225:7;32221:2;-1:-1:-1;;;;;32206:27:0;32215:4;-1:-1:-1;;;;;32206:27:0;;;;;;;;;;;29600:2694;;;29469:2825;;;:::o;32390:193::-;32536:39;32553:4;32559:2;32563:7;32536:39;;;;;;;;;;;;:16;:39::i;:::-;32390:193;;;:::o;20732:152::-;20804:7;20847:27;20866:7;20847:18;:27::i;16274:233::-;16346:7;-1:-1:-1;;;;;16370:19:0;;16366:60;;16398:28;;-1:-1:-1;;;16398:28:0;;;;;;;;;;;16366:60;-1:-1:-1;;;;;;16444:25:0;;;;;:18;:25;;;;;;10433:13;16444:55;;16274:233::o;19515:104::-;19571:13;19604:7;19597:14;;;;;:::i;58154:662::-;58232:1;58220:8;:13;;:31;;;;58237:8;58249:2;58237:14;58220:31;:50;;;;58255:8;58267:3;58255:15;58220:50;58212:88;;;;-1:-1:-1;;;58212:88:0;;8799:2:1;58212:88:0;;;8781:21:1;8838:2;8818:18;;;8811:30;8877:26;8857:18;;;8850:54;8921:18;;58212:88:0;;;;;;;;;58328:2;58317:8;:13;58313:112;;;58368:12;58355:9;:25;;58347:66;;;;-1:-1:-1;;;58347:66:0;;7669:2:1;58347:66:0;;;7651:21:1;7708:2;7688:18;;;7681:30;7747;7727:18;;;7720:58;7795:18;;58347:66:0;7467:352:1;58347:66:0;58437:20;58460:13;57184:1;15364:12;15151:7;15348:13;-1:-1:-1;;15348:28:0;;;:46;;15090:323;58460:13;58437:36;;58484:31;58494:10;58506:8;58484:9;:31::i;:::-;58545:1;58528:234;58553:8;58548:1;:13;58528:234;;58625:48;;;58642:15;58625:48;;;5892:19:1;-1:-1:-1;;58659:10:0;5949:2:1;5945:15;5941:53;5927:12;;;5920:75;;;;6011:12;;;6004:28;;;58583:20:0;;58678:3;;6048:12:1;;58625:48:0;;;;;;;;;;;;58615:59;;;;;;58607:68;;:74;;;;:::i;:::-;58606:80;;58685:1;58606:80;:::i;:::-;58583:103;-1:-1:-1;58583:103:0;58701:18;:34;58720:14;58733:1;58720:12;:14;:::i;:::-;58701:34;;;;;;;;;;;-1:-1:-1;58701:34:0;:49;-1:-1:-1;58563:3:0;;;;:::i;:::-;;;;58528:234;;;-1:-1:-1;58779:29:0;;58799:8;;58787:10;;58779:29;;;;;58201:615;58154:662;:::o;26388:234::-;49596:10;26483:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26483:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26483:60:0;;;;;;;;;;26559:55;;7191:41:1;;;26483:49:0;;49596:10;26559:55;;7164:18:1;26559:55:0;;;;;;;26388:234;;:::o;33181:407::-;33356:31;33369:4;33375:2;33379:7;33356:12;:31::i;:::-;-1:-1:-1;;;;;33402:14:0;;;:19;33398:183;;33441:56;33472:4;33478:2;33482:7;33491:5;33441:30;:56::i;:::-;33436:145;;33525:40;;-1:-1:-1;;;33525:40:0;;;;;;;;;;;33436:145;33181:407;;;;:::o;57201:145::-;57308:10;;57292:46;;57260:21;;-1:-1:-1;;;;;57308:10:0;;57292:46;;;;;57260:21;;57242:15;57292:46;57242:15;57292:46;57260:21;57308:10;57292:46;;;;;;;;;;;;;;;;;;;;;57231:115;57201:145::o;57660:443::-;57725:13;57759:16;57767:7;57759;:16::i;:::-;57751:76;;;;-1:-1:-1;;;57751:76:0;;8026:2:1;57751:76:0;;;8008:21:1;8065:2;8045:18;;;8038:30;8104:34;8084:18;;;8077:62;-1:-1:-1;;;8155:18:1;;;8148:45;8210:19;;57751:76:0;7824:411:1;57751:76:0;57844:16;57863:27;;;:18;:27;;;;;;57961:1;57949:13;;;;;:32;;;57978:3;57966:8;:15;;57949:32;57941:62;;;;-1:-1:-1;;;57941:62:0;;9152:2:1;57941:62:0;;;9134:21:1;9191:2;9171:18;;;9164:30;-1:-1:-1;;;9210:18:1;;;9203:47;9267:18;;57941:62:0;8950:341:1;57941:62:0;58047:9;58058:26;58075:8;58058:16;:26::i;:::-;58030:64;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58016:79;;;57660:443;;;:::o;57354:298::-;57494:30;;-1:-1:-1;;;57494:30:0;;57518:4;57494:30;;;6217:51:1;57451:13:0;;57429:12;;-1:-1:-1;;;;;57494:15:0;;;;;6190:18:1;;57494:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57476:48;;57553:1;57543:7;:11;57535:52;;;;-1:-1:-1;;;57535:52:0;;8442:2:1;57535:52:0;;;8424:21:1;8481:2;8461:18;;;8454:30;8520;8500:18;;;8493:58;8568:18;;57535:52:0;8240:352:1;57535:52:0;57623:10;;57600:44;;-1:-1:-1;;;57600:44:0;;-1:-1:-1;;;;;57623:10:0;;;57600:44;;;6946:51:1;7013:18;;;7006:34;;;57600:14:0;;;;;;6919:18:1;;57600:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;27201:282::-;27266:4;27322:7;57184:1;27303:26;;:66;;;;;27356:13;;27346:7;:23;27303:66;:153;;;;-1:-1:-1;;27407:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27407:44:0;:49;;27201:282::o;21887:1275::-;21954:7;21989;;57184:1;22038:23;22034:1061;;22091:13;;22084:4;:20;22080:1015;;;22129:14;22146:23;;;:17;:23;;;;;;-1:-1:-1;;;22235:24:0;;22231:845;;22900:113;22907:11;22900:113;;-1:-1:-1;;;22978:6:0;22960:25;;;;:17;:25;;;;;;22900:113;;;23046:6;21887:1275;-1:-1:-1;;;21887:1275:0:o;22231:845::-;22106:989;22080:1015;23123:31;;-1:-1:-1;;;23123:31:0;;;;;;;;;;;43341:112;43418:27;43428:2;43432:8;43418:27;;;;;;;;;;;;:9;:27::i;35672:716::-;35856:88;;-1:-1:-1;;;35856:88:0;;35835:4;;-1:-1:-1;;;;;35856:45:0;;;;;:88;;49596:10;;35923:4;;35929:7;;35938:5;;35856:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35856:88:0;;;;;;;;-1:-1:-1;;35856:88:0;;;;;;;;;;;;:::i;:::-;;;35852:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36139:13:0;;36135:235;;36185:40;;-1:-1:-1;;;36185:40:0;;;;;;;;;;;36135:235;36328:6;36322:13;36313:6;36309:2;36305:15;36298:38;35852:529;-1:-1:-1;;;;;;36015:64:0;-1:-1:-1;;;36015:64:0;;-1:-1:-1;35852:529:0;35672:716;;;;;;:::o;51833:723::-;51889:13;52110:10;52106:53;;-1:-1:-1;;52137:10:0;;;;;;;;;;;;-1:-1:-1;;;52137:10:0;;;;;51833:723::o;52106:53::-;52184:5;52169:12;52225:78;52232:9;;52225:78;;52258:8;;;;:::i;:::-;;-1:-1:-1;52281:10:0;;-1:-1:-1;52289:2:0;52281:10;;:::i;:::-;;;52225:78;;;52313:19;52345:6;52335:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52335:17:0;;52313:39;;52363:154;52370:10;;52363:154;;52397:11;52407:1;52397:11;;:::i;:::-;;-1:-1:-1;52466:10:0;52474:2;52466:5;:10;:::i;:::-;52453:24;;:2;:24;:::i;:::-;52440:39;;52423:6;52430;52423:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;52423:56:0;;;;;;;;-1:-1:-1;52494:11:0;52503:2;52494:11;;:::i;:::-;;;52363:154;;42568:689;42699:19;42705:2;42709:8;42699:5;:19::i;:::-;-1:-1:-1;;;;;42760:14:0;;;:19;42756:483;;42800:11;42814:13;42862:14;;;42895:233;42926:62;42965:1;42969:2;42973:7;;;;;;42982:5;42926:30;:62::i;:::-;42921:167;;43024:40;;-1:-1:-1;;;43024:40:0;;;;;;;;;;;42921:167;43123:3;43115:5;:11;42895:233;;43210:3;43193:13;;:20;43189:34;;43215:8;;;43189:34;42781:458;;42568:689;;;:::o;36850:2966::-;36923:20;36946:13;36974;36970:44;;36996:18;;-1:-1:-1;;;36996:18:0;;;;;;;;;;;36970:44;-1:-1:-1;;;;;37502:22:0;;;;;;:18;:22;;;;10571:2;37502:22;;;:71;;37540:32;37528:45;;37502:71;;;37816:31;;;:17;:31;;;;;-1:-1:-1;24552:15:0;;24526:24;24522:46;24121:11;24096:23;24092:41;24089:52;24079:63;;37816:173;;38051:23;;;;37816:31;;37502:22;;38816:25;37502:22;;38669:335;39330:1;39316:12;39312:20;39270:346;39371:3;39362:7;39359:16;39270:346;;39589:7;39579:8;39576:1;39549:25;39546:1;39543;39538:59;39424:1;39411:15;39270:346;;;-1:-1:-1;39649:13:0;39645:45;;39671:19;;-1:-1:-1;;;39671:19:0;;;;;;;;;;;39645:45;39707:13;:19;-1:-1:-1;32390:193:0;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:315::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2381:28;2403:5;2381:28;:::i;:::-;2428:5;2418:15;;;2124:315;;;;;:::o;2444:254::-;2512:6;2520;2573:2;2561:9;2552:7;2548:23;2544:32;2541:52;;;2589:1;2586;2579:12;2541:52;2612:29;2631:9;2612:29;:::i;:::-;2602:39;2688:2;2673:18;;;;2660:32;;-1:-1:-1;;;2444:254:1:o;2703:245::-;2770:6;2823:2;2811:9;2802:7;2798:23;2794:32;2791:52;;;2839:1;2836;2829:12;2791:52;2871:9;2865:16;2890:28;2912:5;2890:28;:::i;2953:245::-;3011:6;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3119:9;3106:23;3138:30;3162:5;3138:30;:::i;3203:249::-;3272:6;3325:2;3313:9;3304:7;3300:23;3296:32;3293:52;;;3341:1;3338;3331:12;3293:52;3373:9;3367:16;3392:30;3416:5;3392:30;:::i;3457:180::-;3516:6;3569:2;3557:9;3548:7;3544:23;3540:32;3537:52;;;3585:1;3582;3575:12;3537:52;-1:-1:-1;3608:23:1;;3457:180;-1:-1:-1;3457:180:1:o;3642:184::-;3712:6;3765:2;3753:9;3744:7;3740:23;3736:32;3733:52;;;3781:1;3778;3771:12;3733:52;-1:-1:-1;3804:16:1;;3642:184;-1:-1:-1;3642:184:1:o;3831:257::-;3872:3;3910:5;3904:12;3937:6;3932:3;3925:19;3953:63;4009:6;4002:4;3997:3;3993:14;3986:4;3979:5;3975:16;3953:63;:::i;:::-;4070:2;4049:15;-1:-1:-1;;4045:29:1;4036:39;;;;4077:4;4032:50;;3831:257;-1:-1:-1;;3831:257:1:o;4093:185::-;4135:3;4173:5;4167:12;4188:52;4233:6;4228:3;4221:4;4214:5;4210:16;4188:52;:::i;:::-;4256:16;;;;;4093:185;-1:-1:-1;;4093:185:1:o;4401:1301::-;4678:3;4707:1;4740:6;4734:13;4770:3;4792:1;4820:9;4816:2;4812:18;4802:28;;4880:2;4869:9;4865:18;4902;4892:61;;4946:4;4938:6;4934:17;4924:27;;4892:61;4972:2;5020;5012:6;5009:14;4989:18;4986:38;4983:165;;;-1:-1:-1;;;5047:33:1;;5103:4;5100:1;5093:15;5133:4;5054:3;5121:17;4983:165;5164:18;5191:104;;;;5309:1;5304:320;;;;5157:467;;5191:104;-1:-1:-1;;5224:24:1;;5212:37;;5269:16;;;;-1:-1:-1;5191:104:1;;5304:320;9551:1;9544:14;;;9588:4;9575:18;;5399:1;5413:165;5427:6;5424:1;5421:13;5413:165;;;5505:14;;5492:11;;;5485:35;5548:16;;;;5442:10;;5413:165;;;5417:3;;5607:6;5602:3;5598:16;5591:23;;5157:467;;;;;;;5640:56;5665:30;5691:3;5683:6;5665:30;:::i;:::-;-1:-1:-1;;;4343:20:1;;4388:1;4379:11;;4283:113;5640:56;5633:63;4401:1301;-1:-1:-1;;;;;4401:1301:1:o;6279:488::-;-1:-1:-1;;;;;6548:15:1;;;6530:34;;6600:15;;6595:2;6580:18;;6573:43;6647:2;6632:18;;6625:34;;;6695:3;6690:2;6675:18;;6668:31;;;6473:4;;6716:45;;6741:19;;6733:6;6716:45;:::i;:::-;6708:53;6279:488;-1:-1:-1;;;;;;6279:488:1:o;7243:219::-;7392:2;7381:9;7374:21;7355:4;7412:44;7452:2;7441:9;7437:18;7429:6;7412:44;:::i;9604:128::-;9644:3;9675:1;9671:6;9668:1;9665:13;9662:39;;;9681:18;;:::i;:::-;-1:-1:-1;9717:9:1;;9604:128::o;9737:120::-;9777:1;9803;9793:35;;9808:18;;:::i;:::-;-1:-1:-1;9842:9:1;;9737:120::o;9862:125::-;9902:4;9930:1;9927;9924:8;9921:34;;;9935:18;;:::i;:::-;-1:-1:-1;9972:9:1;;9862:125::o;9992:258::-;10064:1;10074:113;10088:6;10085:1;10082:13;10074:113;;;10164:11;;;10158:18;10145:11;;;10138:39;10110:2;10103:10;10074:113;;;10205:6;10202:1;10199:13;10196:48;;;-1:-1:-1;;10240:1:1;10222:16;;10215:27;9992:258::o;10255:380::-;10334:1;10330:12;;;;10377;;;10398:61;;10452:4;10444:6;10440:17;10430:27;;10398:61;10505:2;10497:6;10494:14;10474:18;10471:38;10468:161;;;10551:10;10546:3;10542:20;10539:1;10532:31;10586:4;10583:1;10576:15;10614:4;10611:1;10604:15;10468:161;;10255:380;;;:::o;10640:135::-;10679:3;-1:-1:-1;;10700:17:1;;10697:43;;;10720:18;;:::i;:::-;-1:-1:-1;10767:1:1;10756:13;;10640:135::o;10780:112::-;10812:1;10838;10828:35;;10843:18;;:::i;:::-;-1:-1:-1;10877:9:1;;10780:112::o;10897:127::-;10958:10;10953:3;10949:20;10946:1;10939:31;10989:4;10986:1;10979:15;11013:4;11010:1;11003:15;11029:127;11090:10;11085:3;11081:20;11078:1;11071:31;11121:4;11118:1;11111:15;11145:4;11142:1;11135:15;11161:127;11222:10;11217:3;11213:20;11210:1;11203:31;11253:4;11250:1;11243:15;11277:4;11274:1;11267:15;11293:127;11354:10;11349:3;11345:20;11342:1;11335:31;11385:4;11382:1;11375:15;11409:4;11406:1;11399:15;11425:118;11511:5;11504:13;11497:21;11490:5;11487:32;11477:60;;11533:1;11530;11523:12;11477:60;11425:118;:::o;11548:131::-;-1:-1:-1;;;;;;11622:32:1;;11612:43;;11602:71;;11669:1;11666;11659:12
Swarm Source
ipfs://e87cff08c78940400001db264e48f32890d709b988da3dfc6067aa2e62a48a1f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,281.6 | 0.0000001554 | $0.00051 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.