More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 284 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Unstake | 16226162 | 588 days ago | IN | 0 ETH | 0.00235379 | ||||
Unstake | 16002351 | 619 days ago | IN | 0 ETH | 0.00183298 | ||||
Unstake | 15918281 | 631 days ago | IN | 0 ETH | 0.00174476 | ||||
Unstake | 15759676 | 653 days ago | IN | 0 ETH | 0.00181351 | ||||
Unstake | 15655540 | 667 days ago | IN | 0 ETH | 0.00139918 | ||||
Unstake | 15643196 | 669 days ago | IN | 0 ETH | 0.00121048 | ||||
Unstake | 15631057 | 671 days ago | IN | 0 ETH | 0.00164068 | ||||
Unstake | 15630058 | 671 days ago | IN | 0 ETH | 0.00135152 | ||||
Unstake | 15627675 | 671 days ago | IN | 0 ETH | 0.0013375 | ||||
Unstake | 15621209 | 672 days ago | IN | 0 ETH | 0.00137362 | ||||
Unstake | 15620071 | 672 days ago | IN | 0 ETH | 0.00546355 | ||||
Unstake | 15618245 | 673 days ago | IN | 0 ETH | 0.00237462 | ||||
Unstake | 15618233 | 673 days ago | IN | 0 ETH | 0.00302244 | ||||
Unstake | 15617541 | 673 days ago | IN | 0 ETH | 0.00202489 | ||||
Unstake | 15615828 | 673 days ago | IN | 0 ETH | 0.00100244 | ||||
Unstake | 15614738 | 673 days ago | IN | 0 ETH | 0.00083116 | ||||
Unstake | 15614546 | 673 days ago | IN | 0 ETH | 0.00071249 | ||||
Unstake | 15605444 | 674 days ago | IN | 0 ETH | 0.00445432 | ||||
Unstake | 15602358 | 675 days ago | IN | 0 ETH | 0.0006855 | ||||
Unstake | 15601076 | 675 days ago | IN | 0 ETH | 0.00130895 | ||||
Unstake | 15599443 | 675 days ago | IN | 0 ETH | 0.00091843 | ||||
Unstake | 15598270 | 675 days ago | IN | 0 ETH | 0.00088222 | ||||
Unstake | 15597912 | 675 days ago | IN | 0 ETH | 0.00172031 | ||||
Unstake | 15597532 | 676 days ago | IN | 0 ETH | 0.00176037 | ||||
Unstake | 15595025 | 676 days ago | IN | 0 ETH | 0.00069428 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DelusionStaker
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-17 */ // File: contracts/TokenContract.sol //SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; abstract contract TokenContract { function mint(address to, uint256 amount) external virtual; } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @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; /** * @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.2 // 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 { // Reference type for token approval. 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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/del_staker.sol pragma solidity >=0.8.0 <0.9.0; contract DelusionStaker is Ownable, IERC721Receiver { uint256 public totalStaked; uint256 perdayreward; struct Stake { uint24 tokenId; uint48 timestamp; address owner; } event NFTStaked(address owner, uint256 tokenId, uint256 value); event NFTUnstaked(address owner, uint256 tokenId, uint256 value); event Claimed(address owner, uint256 amount); ERC721A nft; TokenContract token; mapping(uint256 => Stake) public vault; constructor(address _nft, address _token) { nft = ERC721A(_nft); token = TokenContract(_token); perdayreward = 1000 ether; // 10 $DEL A DAY } function stake(uint256[] calldata tokenIds) external { uint256 tokenId; totalStaked += tokenIds.length; for (uint i = 0; i < tokenIds.length; i++) { tokenId = tokenIds[i]; require(nft.ownerOf(tokenId) == msg.sender, "not your token"); require(vault[tokenId].tokenId == 0, 'already staked'); nft.transferFrom(msg.sender, address(this), tokenId); emit NFTStaked(msg.sender, tokenId, block.timestamp); vault[tokenId] = Stake({ owner: msg.sender, tokenId: uint24(tokenId), timestamp: uint48(block.timestamp) }); } } function _unstakeMany(address account, uint256[] calldata tokenIds) internal { uint256 tokenId; totalStaked -= tokenIds.length; for (uint i = 0; i < tokenIds.length; i++) { tokenId = tokenIds[i]; Stake memory staked = vault[tokenId]; require(staked.owner == msg.sender, "not an owner"); delete vault[tokenId]; emit NFTUnstaked(account, tokenId, block.timestamp); nft.transferFrom(address(this), account, tokenId); } } function claim(uint256[] calldata tokenIds) external { _claim(msg.sender, tokenIds, false); } function claimForAddress(address account, uint256[] calldata tokenIds) external { _claim(account, tokenIds, false); } function unstake(uint256[] calldata tokenIds) external { _claim(msg.sender, tokenIds, true); } function _claim(address account, uint256[] calldata tokenIds, bool _unstake) internal { uint256 tokenId; uint256 earned = 0; uint256 rewardmath = 0; for (uint i = 0; i < tokenIds.length; i++) { tokenId = tokenIds[i]; Stake memory staked = vault[tokenId]; require(staked.owner == account, "not an owner"); uint256 stakedAt = staked.timestamp; rewardmath = perdayreward * (block.timestamp - stakedAt) / 86400 ; earned = rewardmath / 100; vault[tokenId] = Stake({ owner: account, tokenId: uint24(tokenId), timestamp: uint48(block.timestamp) }); } if (earned > 0) { token.mint(account, earned); } if (_unstake) { _unstakeMany(account, tokenIds); } emit Claimed(account, earned); } function earningInfo(address account, uint256[] calldata tokenIds) external view returns (uint256[1] memory info) { uint256 tokenId; uint256 earned = 0; uint256 rewardmath = 0; for (uint i = 0; i < tokenIds.length; i++) { tokenId = tokenIds[i]; Stake memory staked = vault[tokenId]; require(staked.owner == account, "not an owner"); uint256 stakedAt = staked.timestamp; rewardmath = perdayreward * (block.timestamp - stakedAt) / 86400; earned = rewardmath / 100; } if (earned > 0) { return [earned]; } } function balanceOf(address account) public view returns (uint256) { uint256 balance = 0; uint256 supply = nft.totalSupply(); for(uint i = 1; i <= supply; i++) { if (vault[i].owner == account) { balance += 1; } } return balance; } function tokensOfOwner(address account) public view returns (uint256[] memory ownerTokens) { uint256 supply = nft.totalSupply(); uint256[] memory tmp = new uint256[](supply); uint256 index = 0; for(uint tokenId = 1; tokenId <= supply; tokenId++) { if (vault[tokenId].owner == account) { tmp[index] = vault[tokenId].tokenId; index +=1; } } uint256[] memory tokens = new uint256[](index); for(uint i = 0; i < index; i++) { tokens[i] = tmp[i]; } return tokens; } function setPerDayReward(uint256 newReward) external onlyOwner { perdayreward = newReward; } function onERC721Received( address, address from, uint256, bytes calldata ) external pure override returns (bytes4) { require(from == address(0x0), "Cannot send nfts to Vault directly"); return IERC721Receiver.onERC721Received.selector; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_nft","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"NFTStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"NFTUnstaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"earningInfo","outputs":[{"internalType":"uint256[1]","name":"info","type":"uint256[1]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newReward","type":"uint256"}],"name":"setPerDayReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vault","outputs":[{"internalType":"uint24","name":"tokenId","type":"uint24"},{"internalType":"uint48","name":"timestamp","type":"uint48"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001911380380620019118339810160408190526200003491620000eb565b6200003f336200007e565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055683635c9adc5dea0000060025562000123565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000e657600080fd5b919050565b60008060408385031215620000ff57600080fd5b6200010a83620000ce565b91506200011a60208401620000ce565b90509250929050565b6117de80620001336000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806381a36fb61161008c57806392fade8a1161006657806392fade8a14610292578063c36be357146102a5578063e449f341146102b8578063f2fde38b146102cb57600080fd5b806381a36fb6146101b25780638462151c1461024a5780638da5cb5b1461026a57600080fd5b806370a08231116100c857806370a0823114610160578063715018a6146101815780637e75dd6014610189578063817b1cd2146101a957600080fd5b80630fbf0a93146100ef578063150b7a02146101045780636ba4c1381461014d575b600080fd5b6101026100fd36600461152f565b6102de565b005b61011761011236600461143b565b610673565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61010261015b36600461152f565b610744565b61017361016e366004611401565b610755565b604051908152602001610144565b61010261086f565b61019c6101973660046114da565b610883565b60405161014491906115a3565b61017360015481565b61020c6101c0366004611571565b60056020526000908152604090205462ffffff8116906301000000810465ffffffffffff16906901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1683565b6040805162ffffff909416845265ffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610144565b61025d610258366004611401565b610a08565b60405161014491906115d5565b60005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610144565b6101026102a0366004611571565b610c39565b6101026102b33660046114da565b610c46565b6101026102c636600461152f565b610c58565b6101026102d9366004611401565b610c65565b600082829050600160008282546102f59190611619565b90915550600090505b8281101561066d5783838281811061031857610318611728565b6003546040517f6352211e0000000000000000000000000000000000000000000000000000000081526020929092029390930135600482018190529450339273ffffffffffffffffffffffffffffffffffffffff169150636352211e9060240160206040518083038186803b15801561039057600080fd5b505afa1580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c8919061141e565b73ffffffffffffffffffffffffffffffffffffffff161461044a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f6e6f7420796f757220746f6b656e00000000000000000000000000000000000060448201526064015b60405180910390fd5b60008281526005602052604090205462ffffff16156104c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f616c7265616479207374616b65640000000000000000000000000000000000006044820152606401610441565b6003546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905273ffffffffffffffffffffffffffffffffffffffff909116906323b872dd90606401600060405180830381600087803b15801561053d57600080fd5b505af1158015610551573d6000803e3d6000fd5b50506040805133815260208101869052428183015290517f36b3725f1783bad4ff05b7f4c077c3aa68eeb23a4d054ba189db4d01ac278d399350908190036060019150a16040805160608101825262ffffff808516825265ffffffffffff42811660208085019182523385870190815260008981526005909252959020935184549151955173ffffffffffffffffffffffffffffffffffffffff166901000000000000000000027fffffff0000000000000000000000000000000000000000ffffffffffffffffff969093166301000000027fffffffffffffffffffffffffffffffffffffffffffffff000000000000000000909216931692909217919091179290921691909117905580610665816116c0565b9150506102fe565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff851615610719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f43616e6e6f742073656e64206e66747320746f205661756c742064697265637460448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610441565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6107513383836000610d1c565b5050565b600080600090506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107c657600080fd5b505afa1580156107da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fe919061158a565b905060015b8181116108665760008181526005602052604090205473ffffffffffffffffffffffffffffffffffffffff868116690100000000000000000090920416141561085457610851600184611619565b92505b8061085e816116c0565b915050610803565b50909392505050565b610877611058565b61088160006110d9565b565b61088b611397565b60008080805b858110156109dd578686828181106108ab576108ab611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff8116825265ffffffffffff63010000008204169582019590955273ffffffffffffffffffffffffffffffffffffffff6901000000000000000000909504851691810182905291975090928b16149050610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b602081015165ffffffffffff16620151806109a282426116a9565b6002546109af919061166c565b6109b99190611631565b93506109c6606485611631565b9450505080806109d5906116c0565b915050610891565b5081156109fd576040518060200160405280838152509350505050610a01565b5050505b9392505050565b60606000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a7457600080fd5b505afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061158a565b905060008167ffffffffffffffff811115610ac957610ac9611757565b604051908082528060200260200182016040528015610af2578160200160208202803683370190505b509050600060015b838111610b935760008181526005602052604090205473ffffffffffffffffffffffffffffffffffffffff8781166901000000000000000000909204161415610b8157600081815260056020526040902054835162ffffff90911690849084908110610b6857610b68611728565b6020908102919091010152610b7e600183611619565b91505b80610b8b816116c0565b915050610afa565b5060008167ffffffffffffffff811115610baf57610baf611757565b604051908082528060200260200182016040528015610bd8578160200160208202803683370190505b50905060005b82811015610c2f57838181518110610bf857610bf8611728565b6020026020010151828281518110610c1257610c12611728565b602090810291909101015280610c27816116c0565b915050610bde565b5095945050505050565b610c41611058565b600255565b610c538383836000610d1c565b505050565b6107513383836001610d1c565b610c6d611058565b73ffffffffffffffffffffffffffffffffffffffff8116610d10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610441565b610d19816110d9565b50565b60008080805b85811015610f5957868682818110610d3c57610d3c611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff8116825265ffffffffffff63010000008204169582019590955273ffffffffffffffffffffffffffffffffffffffff6901000000000000000000909504851691810182905291975090928b16149050610e18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b602081015165ffffffffffff1662015180610e3382426116a9565b600254610e40919061166c565b610e4a9190611631565b9350610e57606485611631565b945060405180606001604052808762ffffff1681526020014265ffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff168152506005600088815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050508080610f51906116c0565b915050610d22565b508115610fef57600480546040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811693820193909352602481018590529116906340c10f1990604401600060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b505050505b83156110005761100087878761114e565b6040805173ffffffffffffffffffffffffffffffffffffffff89168152602081018490527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a150505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610441565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000828290506001600082825461116591906116a9565b90915550600090505b828110156113905783838281811061118857611188611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff811682526301000000810465ffffffffffff1695820195909552690100000000000000000090940473ffffffffffffffffffffffffffffffffffffffff1690840181905290945033149050611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b60008381526005602090815260409182902080547fffffff0000000000000000000000000000000000000000000000000000000000169055815173ffffffffffffffffffffffffffffffffffffffff89168152908101859052428183015290517fc486b9458a8637650d84d262414833a5a457bc91ae86b7da110386c8c3fa255b9181900360600190a16003546040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff888116602483015260448201869052909116906323b872dd90606401600060405180830381600087803b15801561136457600080fd5b505af1158015611378573d6000803e3d6000fd5b50505050508080611388906116c0565b91505061116e565b5050505050565b60405180602001604052806001906020820280368337509192915050565b60008083601f8401126113c757600080fd5b50813567ffffffffffffffff8111156113df57600080fd5b6020830191508360208260051b85010111156113fa57600080fd5b9250929050565b60006020828403121561141357600080fd5b8135610a0181611786565b60006020828403121561143057600080fd5b8151610a0181611786565b60008060008060006080868803121561145357600080fd5b853561145e81611786565b9450602086013561146e81611786565b935060408601359250606086013567ffffffffffffffff8082111561149257600080fd5b818801915088601f8301126114a657600080fd5b8135818111156114b557600080fd5b8960208285010111156114c757600080fd5b9699959850939650602001949392505050565b6000806000604084860312156114ef57600080fd5b83356114fa81611786565b9250602084013567ffffffffffffffff81111561151657600080fd5b611522868287016113b5565b9497909650939450505050565b6000806020838503121561154257600080fd5b823567ffffffffffffffff81111561155957600080fd5b611565858286016113b5565b90969095509350505050565b60006020828403121561158357600080fd5b5035919050565b60006020828403121561159c57600080fd5b5051919050565b602081810190828460005b60018110156115cb578151835291830191908301906001016115ae565b5050505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561160d578351835292840192918401916001016115f1565b50909695505050505050565b6000821982111561162c5761162c6116f9565b500190565b600082611667577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116a4576116a46116f9565b500290565b6000828210156116bb576116bb6116f9565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116f2576116f26116f9565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610d1957600080fdfea2646970667358221220abfec098a971efe0a858101cc70a272abcbdafce3ecac5a4d885c318d2af31e464736f6c634300080700330000000000000000000000002c0d708c6e82dc6c427ce6a96ba5ff2ea09be272000000000000000000000000e0654764887672eb7c75cbf9848af09a93fae194
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806381a36fb61161008c57806392fade8a1161006657806392fade8a14610292578063c36be357146102a5578063e449f341146102b8578063f2fde38b146102cb57600080fd5b806381a36fb6146101b25780638462151c1461024a5780638da5cb5b1461026a57600080fd5b806370a08231116100c857806370a0823114610160578063715018a6146101815780637e75dd6014610189578063817b1cd2146101a957600080fd5b80630fbf0a93146100ef578063150b7a02146101045780636ba4c1381461014d575b600080fd5b6101026100fd36600461152f565b6102de565b005b61011761011236600461143b565b610673565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61010261015b36600461152f565b610744565b61017361016e366004611401565b610755565b604051908152602001610144565b61010261086f565b61019c6101973660046114da565b610883565b60405161014491906115a3565b61017360015481565b61020c6101c0366004611571565b60056020526000908152604090205462ffffff8116906301000000810465ffffffffffff16906901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1683565b6040805162ffffff909416845265ffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610144565b61025d610258366004611401565b610a08565b60405161014491906115d5565b60005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610144565b6101026102a0366004611571565b610c39565b6101026102b33660046114da565b610c46565b6101026102c636600461152f565b610c58565b6101026102d9366004611401565b610c65565b600082829050600160008282546102f59190611619565b90915550600090505b8281101561066d5783838281811061031857610318611728565b6003546040517f6352211e0000000000000000000000000000000000000000000000000000000081526020929092029390930135600482018190529450339273ffffffffffffffffffffffffffffffffffffffff169150636352211e9060240160206040518083038186803b15801561039057600080fd5b505afa1580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c8919061141e565b73ffffffffffffffffffffffffffffffffffffffff161461044a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f6e6f7420796f757220746f6b656e00000000000000000000000000000000000060448201526064015b60405180910390fd5b60008281526005602052604090205462ffffff16156104c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f616c7265616479207374616b65640000000000000000000000000000000000006044820152606401610441565b6003546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905273ffffffffffffffffffffffffffffffffffffffff909116906323b872dd90606401600060405180830381600087803b15801561053d57600080fd5b505af1158015610551573d6000803e3d6000fd5b50506040805133815260208101869052428183015290517f36b3725f1783bad4ff05b7f4c077c3aa68eeb23a4d054ba189db4d01ac278d399350908190036060019150a16040805160608101825262ffffff808516825265ffffffffffff42811660208085019182523385870190815260008981526005909252959020935184549151955173ffffffffffffffffffffffffffffffffffffffff166901000000000000000000027fffffff0000000000000000000000000000000000000000ffffffffffffffffff969093166301000000027fffffffffffffffffffffffffffffffffffffffffffffff000000000000000000909216931692909217919091179290921691909117905580610665816116c0565b9150506102fe565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff851615610719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f43616e6e6f742073656e64206e66747320746f205661756c742064697265637460448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610441565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6107513383836000610d1c565b5050565b600080600090506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107c657600080fd5b505afa1580156107da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fe919061158a565b905060015b8181116108665760008181526005602052604090205473ffffffffffffffffffffffffffffffffffffffff868116690100000000000000000090920416141561085457610851600184611619565b92505b8061085e816116c0565b915050610803565b50909392505050565b610877611058565b61088160006110d9565b565b61088b611397565b60008080805b858110156109dd578686828181106108ab576108ab611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff8116825265ffffffffffff63010000008204169582019590955273ffffffffffffffffffffffffffffffffffffffff6901000000000000000000909504851691810182905291975090928b16149050610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b602081015165ffffffffffff16620151806109a282426116a9565b6002546109af919061166c565b6109b99190611631565b93506109c6606485611631565b9450505080806109d5906116c0565b915050610891565b5081156109fd576040518060200160405280838152509350505050610a01565b5050505b9392505050565b60606000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a7457600080fd5b505afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061158a565b905060008167ffffffffffffffff811115610ac957610ac9611757565b604051908082528060200260200182016040528015610af2578160200160208202803683370190505b509050600060015b838111610b935760008181526005602052604090205473ffffffffffffffffffffffffffffffffffffffff8781166901000000000000000000909204161415610b8157600081815260056020526040902054835162ffffff90911690849084908110610b6857610b68611728565b6020908102919091010152610b7e600183611619565b91505b80610b8b816116c0565b915050610afa565b5060008167ffffffffffffffff811115610baf57610baf611757565b604051908082528060200260200182016040528015610bd8578160200160208202803683370190505b50905060005b82811015610c2f57838181518110610bf857610bf8611728565b6020026020010151828281518110610c1257610c12611728565b602090810291909101015280610c27816116c0565b915050610bde565b5095945050505050565b610c41611058565b600255565b610c538383836000610d1c565b505050565b6107513383836001610d1c565b610c6d611058565b73ffffffffffffffffffffffffffffffffffffffff8116610d10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610441565b610d19816110d9565b50565b60008080805b85811015610f5957868682818110610d3c57610d3c611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff8116825265ffffffffffff63010000008204169582019590955273ffffffffffffffffffffffffffffffffffffffff6901000000000000000000909504851691810182905291975090928b16149050610e18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b602081015165ffffffffffff1662015180610e3382426116a9565b600254610e40919061166c565b610e4a9190611631565b9350610e57606485611631565b945060405180606001604052808762ffffff1681526020014265ffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff168152506005600088815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050508080610f51906116c0565b915050610d22565b508115610fef57600480546040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811693820193909352602481018590529116906340c10f1990604401600060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b505050505b83156110005761100087878761114e565b6040805173ffffffffffffffffffffffffffffffffffffffff89168152602081018490527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a150505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610441565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000828290506001600082825461116591906116a9565b90915550600090505b828110156113905783838281811061118857611188611728565b602090810292909201356000818152600584526040908190208151606081018352905462ffffff811682526301000000810465ffffffffffff1695820195909552690100000000000000000090940473ffffffffffffffffffffffffffffffffffffffff1690840181905290945033149050611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6e6f7420616e206f776e657200000000000000000000000000000000000000006044820152606401610441565b60008381526005602090815260409182902080547fffffff0000000000000000000000000000000000000000000000000000000000169055815173ffffffffffffffffffffffffffffffffffffffff89168152908101859052428183015290517fc486b9458a8637650d84d262414833a5a457bc91ae86b7da110386c8c3fa255b9181900360600190a16003546040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff888116602483015260448201869052909116906323b872dd90606401600060405180830381600087803b15801561136457600080fd5b505af1158015611378573d6000803e3d6000fd5b50505050508080611388906116c0565b91505061116e565b5050505050565b60405180602001604052806001906020820280368337509192915050565b60008083601f8401126113c757600080fd5b50813567ffffffffffffffff8111156113df57600080fd5b6020830191508360208260051b85010111156113fa57600080fd5b9250929050565b60006020828403121561141357600080fd5b8135610a0181611786565b60006020828403121561143057600080fd5b8151610a0181611786565b60008060008060006080868803121561145357600080fd5b853561145e81611786565b9450602086013561146e81611786565b935060408601359250606086013567ffffffffffffffff8082111561149257600080fd5b818801915088601f8301126114a657600080fd5b8135818111156114b557600080fd5b8960208285010111156114c757600080fd5b9699959850939650602001949392505050565b6000806000604084860312156114ef57600080fd5b83356114fa81611786565b9250602084013567ffffffffffffffff81111561151657600080fd5b611522868287016113b5565b9497909650939450505050565b6000806020838503121561154257600080fd5b823567ffffffffffffffff81111561155957600080fd5b611565858286016113b5565b90969095509350505050565b60006020828403121561158357600080fd5b5035919050565b60006020828403121561159c57600080fd5b5051919050565b602081810190828460005b60018110156115cb578151835291830191908301906001016115ae565b5050505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561160d578351835292840192918401916001016115f1565b50909695505050505050565b6000821982111561162c5761162c6116f9565b500190565b600082611667577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116a4576116a46116f9565b500290565b6000828210156116bb576116bb6116f9565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116f2576116f26116f9565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610d1957600080fdfea2646970667358221220abfec098a971efe0a858101cc70a272abcbdafce3ecac5a4d885c318d2af31e464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002c0d708c6e82dc6c427ce6a96ba5ff2ea09be272000000000000000000000000e0654764887672eb7c75cbf9848af09a93fae194
-----Decoded View---------------
Arg [0] : _nft (address): 0x2c0d708C6E82DC6c427CE6A96BA5ff2EA09bE272
Arg [1] : _token (address): 0xe0654764887672eB7C75cBF9848AF09a93fAE194
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002c0d708c6e82dc6c427ce6a96ba5ff2ea09be272
Arg [1] : 000000000000000000000000e0654764887672eb7c75cbf9848af09a93fae194
Deployed Bytecode Sourcemap
55767:4804:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56417:614;;;;;;:::i;:::-;;:::i;:::-;;60266:298;;;;;;:::i;:::-;;:::i;:::-;;;5844:66:1;5832:79;;;5814:98;;5802:2;5787:18;60266:298:0;;;;;;;;57527:103;;;;;;:::i;:::-;;:::i;59314:280::-;;;;;;:::i;:::-;;:::i;:::-;;;8672:25:1;;;8660:2;8645:18;59314:280:0;8526:177:1;54866:103:0;;;:::i;58713:595::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55826:26::-;;;;;;56204:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8349:8:1;8337:21;;;8319:40;;8407:14;8395:27;;;8390:2;8375:18;;8368:55;8471:42;8459:55;8439:18;;;8432:83;8307:2;8292:18;56204:38:0;8121:400:1;59600:554:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54218:87::-;54264:7;54291:6;54218:87;;54291:6;;;;3374:74:1;;3362:2;3347:18;54218:87:0;3228:226:1;60160:100:0;;;;;;:::i;:::-;;:::i;57636:127::-;;;;;;:::i;:::-;;:::i;57769:104::-;;;;;;:::i;:::-;;:::i;55124:201::-;;;;;;:::i;:::-;;:::i;56417:614::-;56477:15;56514:8;;:15;;56499:11;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;56541:6:0;;-1:-1:-1;56536:490:0;56553:19;;;56536:490;;;56598:8;;56607:1;56598:11;;;;;;;:::i;:::-;56626:3;;:20;;;;;56598:11;;;;;;;;;;56626:20;;;8672:25:1;;;56598:11:0;-1:-1:-1;56650:10:0;;56626:34;:3;;-1:-1:-1;56626:11:0;;8645:18:1;;56626:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;;;56618:61;;;;;;;6532:2:1;56618:61:0;;;6514:21:1;6571:2;6551:18;;;6544:30;6610:16;6590:18;;;6583:44;6644:18;;56618:61:0;;;;;;;;;56696:14;;;;:5;:14;;;;;:22;;;:27;56688:54;;;;;;;7980:2:1;56688:54:0;;;7962:21:1;8019:2;7999:18;;;7992:30;8058:16;8038:18;;;8031:44;8092:18;;56688:54:0;7778:338:1;56688:54:0;56753:3;;:52;;;;;56770:10;56753:52;;;3722:34:1;56790:4:0;3772:18:1;;;3765:43;3824:18;;;3817:34;;;56753:3:0;;;;;:16;;3634:18:1;;56753:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56819:47:0;;;56829:10;4366:74:1;;4471:2;4456:18;;4449:34;;;56850:15:0;4499:18:1;;;4492:34;56819:47:0;;;;-1:-1:-1;56819:47:0;;;;4354:2:1;56819:47:0;;-1:-1:-1;56819:47:0;56894:124;;;;;;;;;;;;;;;56992:15;56894:124;;;;;;;;;56918:10;56894:124;;;;;;-1:-1:-1;56877:14:0;;;:5;:14;;;;;;:141;;;;;;;;56894:124;56877:141;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56574:3;;;;:::i;:::-;;;;56536:490;;;;56470:561;56417:614;;:::o;60266:298::-;60415:6;60440:20;;;;60432:67;;;;;;;7577:2:1;60432:67:0;;;7559:21:1;7616:2;7596:18;;;7589:30;7655:34;7635:18;;;7628:62;7726:4;7706:18;;;7699:32;7748:19;;60432:67:0;7375:398:1;60432:67:0;-1:-1:-1;60515:41:0;60266:298;;;;;;;:::o;57527:103::-;57589:35;57596:10;57608:8;;57618:5;57589:6;:35::i;:::-;57527:103;;:::o;59314:280::-;59371:7;59387:15;59405:1;59387:19;;59413:14;59430:3;;;;;;;;;;;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59413:34;-1:-1:-1;59467:1:0;59454:114;59475:6;59470:1;:11;59454:114;;59501:8;;;;:5;:8;;;;;:14;:25;;;;:14;;;;;:25;59497:64;;;59539:12;59550:1;59539:12;;:::i;:::-;;;59497:64;59483:3;;;;:::i;:::-;;;;59454:114;;;-1:-1:-1;59581:7:0;;59314:280;-1:-1:-1;;;59314:280:0:o;54866:103::-;54104:13;:11;:13::i;:::-;54931:30:::1;54958:1;54931:18;:30::i;:::-;54866:103::o:0;58713:595::-;58803:22;;:::i;:::-;58835:15;;;;58915:336;58932:19;;;58915:336;;;58977:8;;58986:1;58977:11;;;;;;;:::i;:::-;;;;;;;;;;58997:19;59019:14;;;:5;:14;;;;;;;58997:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58977:11;;-1:-1:-1;58997:36:0;;59050:23;;;;-1:-1:-1;59042:48:0;;;;;;;7236:2:1;59042:48:0;;;7218:21:1;7275:2;7255:18;;;7248:30;7314:14;7294:18;;;7287:42;7346:18;;59042:48:0;7034:336:1;59042:48:0;59118:16;;;;59099:35;;59202:5;59172:26;59099:35;59172:15;:26;:::i;:::-;59156:12;;:43;;;;:::i;:::-;:51;;;;:::i;:::-;59143:64;-1:-1:-1;59225:16:0;59238:3;59143:64;59225:16;:::i;:::-;59216:25;;58958:293;;58953:3;;;;;:::i;:::-;;;;58915:336;;;-1:-1:-1;59261:10:0;;59257:48;;59282:15;;;;;;;;59290:6;59282:15;;;;;;;;;;59257:48;58827:481;;;58713:595;;;;;;:::o;59600:554::-;59661:28;59700:14;59717:3;;;;;;;;;;;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59700:34;;59741:20;59778:6;59764:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59764:21:0;-1:-1:-1;59741:44:0;-1:-1:-1;59794:13:0;59837:1;59818:181;59851:6;59840:7;:17;59818:181;;59883:14;;;;:5;:14;;;;;:20;:31;;;;:20;;;;;:31;59879:113;;;59940:14;;;;:5;:14;;;;;:22;59927:10;;59940:22;;;;;59927:3;;59931:5;;59927:10;;;;;;:::i;:::-;;;;;;;;;;:35;59973:9;59981:1;59973:9;;:::i;:::-;;;59879:113;59859:9;;;;:::i;:::-;;;;59818:181;;;;60007:23;60047:5;60033:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60033:20:0;;60007:46;;60064:6;60060:67;60080:5;60076:1;:9;60060:67;;;60113:3;60117:1;60113:6;;;;;;;;:::i;:::-;;;;;;;60101;60108:1;60101:9;;;;;;;;:::i;:::-;;;;;;;;;;:18;60087:3;;;;:::i;:::-;;;;60060:67;;;-1:-1:-1;60142:6:0;59600:554;-1:-1:-1;;;;;59600:554:0:o;60160:100::-;54104:13;:11;:13::i;:::-;60230:12:::1;:24:::0;60160:100::o;57636:127::-;57725:32;57732:7;57741:8;;57751:5;57725:6;:32::i;:::-;57636:127;;;:::o;57769:104::-;57833:34;57840:10;57852:8;;57862:4;57833:6;:34::i;55124:201::-;54104:13;:11;:13::i;:::-;55213:22:::1;::::0;::::1;55205:73;;;::::0;::::1;::::0;;6125:2:1;55205:73:0::1;::::0;::::1;6107:21:1::0;6164:2;6144:18;;;6137:30;6203:34;6183:18;;;6176:62;6274:8;6254:18;;;6247:36;6300:19;;55205:73:0::1;5923:402:1::0;55205:73:0::1;55289:28;55308:8;55289:18;:28::i;:::-;55124:201:::0;:::o;57879:828::-;57972:15;;;;58050:482;58067:19;;;58050:482;;;58112:8;;58121:1;58112:11;;;;;;;:::i;:::-;;;;;;;;;;58132:19;58154:14;;;:5;:14;;;;;;;58132:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58112:11;;-1:-1:-1;58132:36:0;;58185:23;;;;-1:-1:-1;58177:48:0;;;;;;;7236:2:1;58177:48:0;;;7218:21:1;7275:2;7255:18;;;7248:30;7314:14;7294:18;;;7287:42;7346:18;;58177:48:0;7034:336:1;58177:48:0;58253:16;;;;58234:35;;58337:5;58307:26;58234:35;58307:15;:26;:::i;:::-;58291:12;;:43;;;;:::i;:::-;:51;;;;:::i;:::-;58278:64;-1:-1:-1;58361:16:0;58374:3;58278:64;58361:16;:::i;:::-;58352:25;;58403:121;;;;;;;;58461:7;58403:121;;;;;;58498:15;58403:121;;;;;;58427:7;58403:121;;;;;58386:5;:14;58392:7;58386:14;;;;;;;;;;;:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58093:439;;58088:3;;;;;:::i;:::-;;;;58050:482;;;-1:-1:-1;58542:10:0;;58538:60;;58563:5;;;:27;;;;;:5;4054:55:1;;;58563:27:0;;;4036:74:1;;;;4126:18;;;4119:34;;;58563:5:0;;;:10;;4009:18:1;;58563:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58538:60;58608:8;58604:62;;;58627:31;58640:7;58649:8;;58627:12;:31::i;:::-;58677:24;;;4066:42:1;4054:55;;4036:74;;4141:2;4126:18;;4119:34;;;58677:24:0;;4009:18:1;58677:24:0;;;;;;;57965:742;;;57879:828;;;;:::o;54383:132::-;54264:7;54291:6;54447:23;54291:6;52849:10;54447:23;54439:68;;;;;;;6875:2:1;54439:68:0;;;6857:21:1;;;6894:18;;;6887:30;6953:34;6933:18;;;6926:62;7005:18;;54439:68:0;6673:356:1;55485:191:0;55559:16;55578:6;;;55595:17;;;;;;;;;;55628:40;;55578:6;;;;;;;55628:40;;55559:16;55628:40;55548:128;55485:191;:::o;57037:484::-;57121:15;57158:8;;:15;;57143:11;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;57185:6:0;;-1:-1:-1;57180:336:0;57197:19;;;57180:336;;;57242:8;;57251:1;57242:11;;;;;;;:::i;:::-;;;;;;;;;;57262:19;57284:14;;;:5;:14;;;;;;;57262:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57242:11;;-1:-1:-1;57331:10:0;57315:26;;-1:-1:-1;57307:51:0;;;;;;;7236:2:1;57307:51:0;;;7218:21:1;7275:2;7255:18;;;7248:30;7314:14;7294:18;;;7287:42;7346:18;;57307:51:0;7034:336:1;57307:51:0;57376:14;;;;:5;:14;;;;;;;;;57369:21;;;;;;57404:46;;4396:42:1;4384:55;;4366:74;;4456:18;;;4449:34;;;57434:15:0;4499:18:1;;;4492:34;57404:46:0;;;;;;;4354:2:1;57404:46:0;;;57459:3;;:49;;;;;57484:4;57459:49;;;3722:34:1;57459:3:0;3792:15:1;;;3772:18;;;3765:43;3824:18;;;3817:34;;;57459:3:0;;;;:16;;3634:18:1;;57459:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57223:293;57218:3;;;;;:::i;:::-;;;;57180:336;;;;57114:407;57037:484;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:367:1:-;77:8;87:6;141:3;134:4;126:6;122:17;118:27;108:55;;159:1;156;149:12;108:55;-1:-1:-1;182:20:1;;225:18;214:30;;211:50;;;257:1;254;247:12;211:50;294:4;286:6;282:17;270:29;;354:3;347:4;337:6;334:1;330:14;322:6;318:27;314:38;311:47;308:67;;;371:1;368;361:12;308:67;14:367;;;;;:::o;386:247::-;445:6;498:2;486:9;477:7;473:23;469:32;466:52;;;514:1;511;504:12;466:52;553:9;540:23;572:31;597:5;572:31;:::i;638:251::-;708:6;761:2;749:9;740:7;736:23;732:32;729:52;;;777:1;774;767:12;729:52;809:9;803:16;828:31;853:5;828:31;:::i;894:936::-;991:6;999;1007;1015;1023;1076:3;1064:9;1055:7;1051:23;1047:33;1044:53;;;1093:1;1090;1083:12;1044:53;1132:9;1119:23;1151:31;1176:5;1151:31;:::i;:::-;1201:5;-1:-1:-1;1258:2:1;1243:18;;1230:32;1271:33;1230:32;1271:33;:::i;:::-;1323:7;-1:-1:-1;1377:2:1;1362:18;;1349:32;;-1:-1:-1;1432:2:1;1417:18;;1404:32;1455:18;1485:14;;;1482:34;;;1512:1;1509;1502:12;1482:34;1550:6;1539:9;1535:22;1525:32;;1595:7;1588:4;1584:2;1580:13;1576:27;1566:55;;1617:1;1614;1607:12;1566:55;1657:2;1644:16;1683:2;1675:6;1672:14;1669:34;;;1699:1;1696;1689:12;1669:34;1744:7;1739:2;1730:6;1726:2;1722:15;1718:24;1715:37;1712:57;;;1765:1;1762;1755:12;1712:57;894:936;;;;-1:-1:-1;894:936:1;;-1:-1:-1;1796:2:1;1788:11;;1818:6;894:936;-1:-1:-1;;;894:936:1:o;1835:572::-;1930:6;1938;1946;1999:2;1987:9;1978:7;1974:23;1970:32;1967:52;;;2015:1;2012;2005:12;1967:52;2054:9;2041:23;2073:31;2098:5;2073:31;:::i;:::-;2123:5;-1:-1:-1;2179:2:1;2164:18;;2151:32;2206:18;2195:30;;2192:50;;;2238:1;2235;2228:12;2192:50;2277:70;2339:7;2330:6;2319:9;2315:22;2277:70;:::i;:::-;1835:572;;2366:8;;-1:-1:-1;2251:96:1;;-1:-1:-1;;;;1835:572:1:o;2412:437::-;2498:6;2506;2559:2;2547:9;2538:7;2534:23;2530:32;2527:52;;;2575:1;2572;2565:12;2527:52;2615:9;2602:23;2648:18;2640:6;2637:30;2634:50;;;2680:1;2677;2670:12;2634:50;2719:70;2781:7;2772:6;2761:9;2757:22;2719:70;:::i;:::-;2808:8;;2693:96;;-1:-1:-1;2412:437:1;-1:-1:-1;;;;2412:437:1:o;2854:180::-;2913:6;2966:2;2954:9;2945:7;2941:23;2937:32;2934:52;;;2982:1;2979;2972:12;2934:52;-1:-1:-1;3005:23:1;;2854:180;-1:-1:-1;2854:180:1:o;3039:184::-;3109:6;3162:2;3150:9;3141:7;3137:23;3133:32;3130:52;;;3178:1;3175;3168:12;3130:52;-1:-1:-1;3201:16:1;;3039:184;-1:-1:-1;3039:184:1:o;4537:491::-;4704:2;4723:18;;;;4727:9;4818:6;4675:4;4852:170;4866:4;4863:1;4860:11;4852:170;;;4928:13;;4916:26;;4962:12;;;;4997:15;;;;4886:4;4879:12;4852:170;;;4856:3;;;;4537:491;;;;:::o;5033:632::-;5204:2;5256:21;;;5326:13;;5229:18;;;5348:22;;;5175:4;;5204:2;5427:15;;;;5401:2;5386:18;;;5175:4;5470:169;5484:6;5481:1;5478:13;5470:169;;;5545:13;;5533:26;;5614:15;;;;5579:12;;;;5506:1;5499:9;5470:169;;;-1:-1:-1;5656:3:1;;5033:632;-1:-1:-1;;;;;;5033:632:1:o;8708:128::-;8748:3;8779:1;8775:6;8772:1;8769:13;8766:39;;;8785:18;;:::i;:::-;-1:-1:-1;8821:9:1;;8708:128::o;8841:274::-;8881:1;8907;8897:189;;8942:77;8939:1;8932:88;9043:4;9040:1;9033:15;9071:4;9068:1;9061:15;8897:189;-1:-1:-1;9100:9:1;;8841:274::o;9120:228::-;9160:7;9286:1;9218:66;9214:74;9211:1;9208:81;9203:1;9196:9;9189:17;9185:105;9182:131;;;9293:18;;:::i;:::-;-1:-1:-1;9333:9:1;;9120:228::o;9353:125::-;9393:4;9421:1;9418;9415:8;9412:34;;;9426:18;;:::i;:::-;-1:-1:-1;9463:9:1;;9353:125::o;9483:195::-;9522:3;9553:66;9546:5;9543:77;9540:103;;;9623:18;;:::i;:::-;-1:-1:-1;9670:1:1;9659:13;;9483:195::o;9683:184::-;9735:77;9732:1;9725:88;9832:4;9829:1;9822:15;9856:4;9853:1;9846:15;9872:184;9924:77;9921:1;9914:88;10021:4;10018:1;10011:15;10045:4;10042:1;10035:15;10061:184;10113:77;10110:1;10103:88;10210:4;10207:1;10200:15;10234:4;10231:1;10224:15;10250:154;10336:42;10329:5;10325:54;10318:5;10315:65;10305:93;;10394:1;10391;10384:12
Swarm Source
ipfs://abfec098a971efe0a858101cc70a272abcbdafce3ecac5a4d885c318d2af31e4
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.