More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 4,140 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Cancel Multi Sta... | 20172866 | 28 days ago | IN | 0 ETH | 0.00071176 | ||||
Cancel Multi Sta... | 20115198 | 36 days ago | IN | 0 ETH | 0.00435278 | ||||
Cancel Multi Sta... | 20097273 | 38 days ago | IN | 0 ETH | 0.00073704 | ||||
Cancel Multi Sta... | 20066114 | 43 days ago | IN | 0 ETH | 0.00253388 | ||||
Cancel Multi Sta... | 20065284 | 43 days ago | IN | 0 ETH | 0.00058053 | ||||
Cancel Multi Sta... | 20058947 | 44 days ago | IN | 0 ETH | 0.00045722 | ||||
Multi Stake Toke... | 20044410 | 46 days ago | IN | 0 ETH | 0.00018724 | ||||
Multi Stake Toke... | 20044407 | 46 days ago | IN | 0 ETH | 0.00145396 | ||||
Cancel Multi Sta... | 20044403 | 46 days ago | IN | 0 ETH | 0.00016694 | ||||
Cancel Multi Sta... | 20044402 | 46 days ago | IN | 0 ETH | 0.00090588 | ||||
Cancel Multi Sta... | 19956877 | 58 days ago | IN | 0 ETH | 0.00088794 | ||||
Cancel Multi Sta... | 19939524 | 61 days ago | IN | 0 ETH | 0.0026209 | ||||
Cancel Multi Sta... | 19857906 | 72 days ago | IN | 0 ETH | 0.00059264 | ||||
Cancel Multi Sta... | 19854854 | 72 days ago | IN | 0 ETH | 0.00129825 | ||||
Cancel Multi Sta... | 19796341 | 81 days ago | IN | 0 ETH | 0.00113254 | ||||
Cancel Multi Sta... | 19707985 | 93 days ago | IN | 0 ETH | 0.00396394 | ||||
Cancel Multi Sta... | 19668397 | 98 days ago | IN | 0 ETH | 0.0029223 | ||||
Cancel Multi Sta... | 19658899 | 100 days ago | IN | 0 ETH | 0.00114625 | ||||
Cancel Multi Sta... | 19651996 | 101 days ago | IN | 0 ETH | 0.00162917 | ||||
Cancel Multi Sta... | 19622426 | 105 days ago | IN | 0 ETH | 0.00233557 | ||||
Cancel Multi Sta... | 19582376 | 111 days ago | IN | 0 ETH | 0.00517955 | ||||
Multi Stake Toke... | 19558973 | 114 days ago | IN | 0 ETH | 0.00051189 | ||||
Cancel Multi Sta... | 19515389 | 120 days ago | IN | 0 ETH | 0.0038683 | ||||
Multi Stake Toke... | 19465269 | 127 days ago | IN | 0 ETH | 0.00575213 | ||||
Cancel Multi Sta... | 19300783 | 150 days ago | IN | 0 ETH | 0.00498963 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakeNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-03 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 ) external; /** * @dev Transfers `tokenId` token 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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 calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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 (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: stake62.sol pragma solidity ^0.8.9; interface TokenPool { function distributePool(address) external; } contract StakeNFT { //State variabble TokenPool poolAddress; address nftStakingAddress; //constructor constructor() {} //enumerator enum StakingStatus {Active, Claimable, Claimed, Cancelled} //structs struct Staking { address staker; address token; uint tokenId; uint releaseTime; StakingStatus status; } struct UserInfo { uint256[] stakedTokens; } //mapping mapping(uint => Staking) private _StakedItem; // maps address for token id's per user mapping(address => UserInfo) user; // maps tokenId to stake for a wallet address //event event tokenStaked(address indexed staker, address indexed token, uint token_id, StakingStatus status); event tokenClaimStatus(address indexed token, uint indexed token_id, StakingStatus indexed status); event tokenCancelComplete(address indexed token, uint indexed token_id, StakingStatus indexed status); //function to call another function function callStakeToken(address token, uint _tokenID) public { require(token == 0xDfe3AC769b2d8E382cB86143E0b0B497E1ED5447, "incorrect NFT to stake"); // hardcode the NFT smart contract to allow only specific NFT into staking, assume 0xd2...d005 as NFT contract address _stakeToken(token, _tokenID); } function multiStakeToken(address token, uint[] calldata _tokenIds) public { require(token == 0xDfe3AC769b2d8E382cB86143E0b0B497E1ED5447, "incorrect NFT to stake"); // hardcode the NFT smart contract to allow only specific NFT into staking, assume 0xd2...d005 as NFT contract address for (uint i = 0; i < _tokenIds.length; i++) { _stakeToken(token, _tokenIds[i]); } } //function to transfer NFT from user to contract function _stakeToken(address token, uint tokenId) private returns(Staking memory) { IERC721(token).transferFrom(msg.sender, address(this), tokenId); // User must approve() this contract address via the NFT ERC721 contract before NFT can be transfered uint256 numberOfMinutes = 5; //hardcoded as 5 minutes uint releaseTime = block.timestamp + (numberOfMinutes * 1 minutes); Staking memory staking = Staking(msg.sender, token, tokenId, releaseTime, StakingStatus.Active); _StakedItem[tokenId] = staking; emit tokenStaked(msg.sender, staking.token, staking.tokenId, staking.status); user[msg.sender].stakedTokens.push(tokenId); return _StakedItem[tokenId]; } //function to view staked NFT function viewStake(uint tokenId) public view returns (Staking memory) { return _StakedItem[tokenId]; } //function to check NFT stake duration status function checkStake(uint tokenId, address staker) public returns (Staking memory) { Staking storage staking = _StakedItem[tokenId]; require(staker == msg.sender, "You cannot check this staking as it is not listed under this address"); require(staking.status == StakingStatus.Active, "Staking is not active or claimed"); if (block.timestamp >= staking.releaseTime) { staking.status = StakingStatus.Claimable; } emit tokenClaimStatus(staking.token, staking.tokenId, staking.status); return _StakedItem[tokenId]; } //function to cancel NFT stake function cancelStake(uint tokenId) private { Staking storage staking = _StakedItem[tokenId]; require(staking.staker == msg.sender, "You cannot cancel this staking as it is not listed under this address"); require(staking.status == StakingStatus.Active, "Staking is either not active (Cancelled or in claiming process)"); staking.status = StakingStatus.Cancelled; IERC721(staking.token).transferFrom(address(this), msg.sender, staking.tokenId); emit tokenCancelComplete(staking.token, staking.tokenId, staking.status); delete _StakedItem[tokenId]; deleteStakedToken(msg.sender, tokenId); } function cancelMultiStakes(uint[] calldata tokenIds) public { for (uint i = 0; i < tokenIds.length; i++) { cancelStake(tokenIds[i]); } } function getStakedTokens(address _wallet) public view returns (uint256[] memory) { return user[_wallet].stakedTokens; } function deleteStakedToken(address _user, uint256 _tokenId) private { for (uint256 index = 0; index < user[_user].stakedTokens.length; index++) { if(user[_user].stakedTokens[index] == _tokenId) { deleteStakedTokenFromUserByIndex(index); } } } /** * Deletes the token id based on the index value of the struct array */ function deleteStakedTokenFromUserByIndex(uint _index) private returns(bool) { for (uint i = _index; i < user[msg.sender].stakedTokens.length - 1; i++) { user[msg.sender].stakedTokens[i] = user[msg.sender].stakedTokens[i + 1]; } user[msg.sender].stakedTokens.pop(); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":true,"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"}],"name":"tokenCancelComplete","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":true,"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"}],"name":"tokenClaimStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":false,"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"}],"name":"tokenStaked","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"callStakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"cancelMultiStakes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"staker","type":"address"}],"name":"checkStake","outputs":[{"components":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"}],"internalType":"struct StakeNFT.Staking","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getStakedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"multiStakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"viewStake","outputs":[{"components":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"}],"internalType":"struct StakeNFT.Staking","name":"","type":"tuple"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50611b6b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806323691677146100675780634c7ce2c7146100975780635ab58b15146100b357806363c28db1146100e357806389117cd414610113578063c0b5fc801461012f575b600080fd5b610081600480360381019061007c91906111d1565b61014b565b60405161008e919061132d565b60405180910390f35b6100b160048036038101906100ac91906113ad565b610273565b005b6100cd60048036038101906100c89190611426565b6102bb565b6040516100da919061132d565b60405180910390f35b6100fd60048036038101906100f89190611466565b6105ab565b60405161010a9190611542565b60405180910390f35b61012d60048036038101906101289190611564565b610645565b005b610149600480360381019061014491906115a4565b6106d6565b005b610153611124565b600260008381526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff1660038111156102565761025561124e565b5b60038111156102685761026761124e565b5b815250509050919050565b60005b828290508110156102b6576102a383838381811061029757610296611604565b5b905060200201356107a3565b80806102ae90611662565b915050610276565b505050565b6102c3611124565b60006002600085815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033f90611753565b60405180910390fd5b6000600381111561035c5761035b61124e565b5b8160040160009054906101000a900460ff1660038111156103805761037f61124e565b5b146103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b7906117bf565b60405180910390fd5b806003015442106103f95760018160040160006101000a81548160ff021916908360038111156103f3576103f261124e565b5b02179055505b8060040160009054906101000a900460ff16600381111561041d5761041c61124e565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f5e83d52293b5ace064230d8bf57171304994545c25b16c1a2ecdf9035160209160405160405180910390a4600260008581526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600381111561058c5761058b61124e565b5b600381111561059e5761059d61124e565b5b8152505091505092915050565b6060600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561063957602002820191906000526020600020905b815481526020019060010190808311610625575b50505050509050919050565b73dfe3ac769b2d8e382cb86143e0b0b497e1ed544773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146106c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106be9061182b565b60405180910390fd5b6106d18282610aae565b505050565b73dfe3ac769b2d8e382cb86143e0b0b497e1ed544773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f9061182b565b60405180910390fd5b60005b8282905081101561079d576107898484848481811061077d5761077c611604565b5b90506020020135610aae565b50808061079590611662565b91505061075b565b50505050565b60006002600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461084c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610843906118e3565b60405180910390fd5b600060038111156108605761085f61124e565b5b8160040160009054906101000a900460ff1660038111156108845761088361124e565b5b146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb90611975565b60405180910390fd5b60038160040160006101000a81548160ff021916908360038111156108ec576108eb61124e565b5b02179055508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd303384600201546040518463ffffffff1660e01b8152600401610956939291906119b3565b600060405180830381600087803b15801561097057600080fd5b505af1158015610984573d6000803e3d6000fd5b505050508060040160009054906101000a900460ff1660038111156109ac576109ab61124e565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f999d547d8d089cf86770a8d456089ad67809fe3a82bdcddbd9acafe0dfdd5b1f60405160405180910390a460026000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000905560038201600090556004820160006101000a81549060ff02191690555050610aaa3383610e9a565b5050565b610ab6611124565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401610af3939291906119b3565b600060405180830381600087803b158015610b0d57600080fd5b505af1158015610b21573d6000803e3d6000fd5b505050506000600590506000603c82610b3a91906119ea565b42610b459190611a44565b905060006040518060a001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200183815260200160006003811115610bac57610bab61124e565b5b8152509050806002600087815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690836003811115610c9257610c9161124e565b5b0217905550905050806020015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe15362f55ad2141e7402fe719d0de466f939f1a493b098856c784c75f3fc168d83604001518460800151604051610d05929190611aa9565b60405180910390a3600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001859080600181540180825580915050600190039060005260206000200160009091909190915055600260008681526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff166003811115610e7957610e7861124e565b5b6003811115610e8b57610e8a61124e565b5b81525050935050505092915050565b60005b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180549050811015610f6d5781600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018281548110610f3f57610f3e611604565b5b906000526020600020015403610f5a57610f5881610f72565b505b8080610f6590611662565b915050610e9d565b505050565b6000808290505b6001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180549050610fcb9190611ad2565b8110156110b257600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016001826110219190611a44565b8154811061103257611031611604565b5b9060005260206000200154600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001828154811061109157611090611604565b5b906000526020600020018190555080806110aa90611662565b915050610f79565b50600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180548061110557611104611b06565b5b6001900381819060005260206000200160009055905560019050919050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000600381111561118b5761118a61124e565b5b81525090565b600080fd5b600080fd5b6000819050919050565b6111ae8161119b565b81146111b957600080fd5b50565b6000813590506111cb816111a5565b92915050565b6000602082840312156111e7576111e6611191565b5b60006111f5848285016111bc565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611229826111fe565b9050919050565b6112398161121e565b82525050565b6112488161119b565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061128e5761128d61124e565b5b50565b600081905061129f8261127d565b919050565b60006112af82611291565b9050919050565b6112bf816112a4565b82525050565b60a0820160008201516112db6000850182611230565b5060208201516112ee6020850182611230565b506040820151611301604085018261123f565b506060820151611314606085018261123f565b50608082015161132760808501826112b6565b50505050565b600060a08201905061134260008301846112c5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261136d5761136c611348565b5b8235905067ffffffffffffffff81111561138a5761138961134d565b5b6020830191508360208202830111156113a6576113a5611352565b5b9250929050565b600080602083850312156113c4576113c3611191565b5b600083013567ffffffffffffffff8111156113e2576113e1611196565b5b6113ee85828601611357565b92509250509250929050565b6114038161121e565b811461140e57600080fd5b50565b600081359050611420816113fa565b92915050565b6000806040838503121561143d5761143c611191565b5b600061144b858286016111bc565b925050602061145c85828601611411565b9150509250929050565b60006020828403121561147c5761147b611191565b5b600061148a84828501611411565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006114cb838361123f565b60208301905092915050565b6000602082019050919050565b60006114ef82611493565b6114f9818561149e565b9350611504836114af565b8060005b8381101561153557815161151c88826114bf565b9750611527836114d7565b925050600181019050611508565b5085935050505092915050565b6000602082019050818103600083015261155c81846114e4565b905092915050565b6000806040838503121561157b5761157a611191565b5b600061158985828601611411565b925050602061159a858286016111bc565b9150509250929050565b6000806000604084860312156115bd576115bc611191565b5b60006115cb86828701611411565b935050602084013567ffffffffffffffff8111156115ec576115eb611196565b5b6115f886828701611357565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061166d8261119b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361169f5761169e611633565b5b600182019050919050565b600082825260208201905092915050565b7f596f752063616e6e6f7420636865636b2074686973207374616b696e6720617360008201527f206974206973206e6f74206c697374656420756e64657220746869732061646460208201527f7265737300000000000000000000000000000000000000000000000000000000604082015250565b600061173d6044836116aa565b9150611748826116bb565b606082019050919050565b6000602082019050818103600083015261176c81611730565b9050919050565b7f5374616b696e67206973206e6f7420616374697665206f7220636c61696d6564600082015250565b60006117a96020836116aa565b91506117b482611773565b602082019050919050565b600060208201905081810360008301526117d88161179c565b9050919050565b7f696e636f7272656374204e465420746f207374616b6500000000000000000000600082015250565b60006118156016836116aa565b9150611820826117df565b602082019050919050565b6000602082019050818103600083015261184481611808565b9050919050565b7f596f752063616e6e6f742063616e63656c2074686973207374616b696e67206160008201527f73206974206973206e6f74206c697374656420756e646572207468697320616460208201527f6472657373000000000000000000000000000000000000000000000000000000604082015250565b60006118cd6045836116aa565b91506118d88261184b565b606082019050919050565b600060208201905081810360008301526118fc816118c0565b9050919050565b7f5374616b696e6720697320656974686572206e6f74206163746976652028436160008201527f6e63656c6c6564206f7220696e20636c61696d696e672070726f636573732900602082015250565b600061195f603f836116aa565b915061196a82611903565b604082019050919050565b6000602082019050818103600083015261198e81611952565b9050919050565b61199e8161121e565b82525050565b6119ad8161119b565b82525050565b60006060820190506119c86000830186611995565b6119d56020830185611995565b6119e260408301846119a4565b949350505050565b60006119f58261119b565b9150611a008361119b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a3957611a38611633565b5b828202905092915050565b6000611a4f8261119b565b9150611a5a8361119b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a8f57611a8e611633565b5b828201905092915050565b611aa3816112a4565b82525050565b6000604082019050611abe60008301856119a4565b611acb6020830184611a9a565b9392505050565b6000611add8261119b565b9150611ae88361119b565b925082821015611afb57611afa611633565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122035bb04227f42c0ce4cf7e0e00afc197b3ccbe055b6fa9e3430e5e08e38d271dc64736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c806323691677146100675780634c7ce2c7146100975780635ab58b15146100b357806363c28db1146100e357806389117cd414610113578063c0b5fc801461012f575b600080fd5b610081600480360381019061007c91906111d1565b61014b565b60405161008e919061132d565b60405180910390f35b6100b160048036038101906100ac91906113ad565b610273565b005b6100cd60048036038101906100c89190611426565b6102bb565b6040516100da919061132d565b60405180910390f35b6100fd60048036038101906100f89190611466565b6105ab565b60405161010a9190611542565b60405180910390f35b61012d60048036038101906101289190611564565b610645565b005b610149600480360381019061014491906115a4565b6106d6565b005b610153611124565b600260008381526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff1660038111156102565761025561124e565b5b60038111156102685761026761124e565b5b815250509050919050565b60005b828290508110156102b6576102a383838381811061029757610296611604565b5b905060200201356107a3565b80806102ae90611662565b915050610276565b505050565b6102c3611124565b60006002600085815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033f90611753565b60405180910390fd5b6000600381111561035c5761035b61124e565b5b8160040160009054906101000a900460ff1660038111156103805761037f61124e565b5b146103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b7906117bf565b60405180910390fd5b806003015442106103f95760018160040160006101000a81548160ff021916908360038111156103f3576103f261124e565b5b02179055505b8060040160009054906101000a900460ff16600381111561041d5761041c61124e565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f5e83d52293b5ace064230d8bf57171304994545c25b16c1a2ecdf9035160209160405160405180910390a4600260008581526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600381111561058c5761058b61124e565b5b600381111561059e5761059d61124e565b5b8152505091505092915050565b6060600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561063957602002820191906000526020600020905b815481526020019060010190808311610625575b50505050509050919050565b73dfe3ac769b2d8e382cb86143e0b0b497e1ed544773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146106c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106be9061182b565b60405180910390fd5b6106d18282610aae565b505050565b73dfe3ac769b2d8e382cb86143e0b0b497e1ed544773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f9061182b565b60405180910390fd5b60005b8282905081101561079d576107898484848481811061077d5761077c611604565b5b90506020020135610aae565b50808061079590611662565b91505061075b565b50505050565b60006002600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461084c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610843906118e3565b60405180910390fd5b600060038111156108605761085f61124e565b5b8160040160009054906101000a900460ff1660038111156108845761088361124e565b5b146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb90611975565b60405180910390fd5b60038160040160006101000a81548160ff021916908360038111156108ec576108eb61124e565b5b02179055508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd303384600201546040518463ffffffff1660e01b8152600401610956939291906119b3565b600060405180830381600087803b15801561097057600080fd5b505af1158015610984573d6000803e3d6000fd5b505050508060040160009054906101000a900460ff1660038111156109ac576109ab61124e565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f999d547d8d089cf86770a8d456089ad67809fe3a82bdcddbd9acafe0dfdd5b1f60405160405180910390a460026000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000905560038201600090556004820160006101000a81549060ff02191690555050610aaa3383610e9a565b5050565b610ab6611124565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401610af3939291906119b3565b600060405180830381600087803b158015610b0d57600080fd5b505af1158015610b21573d6000803e3d6000fd5b505050506000600590506000603c82610b3a91906119ea565b42610b459190611a44565b905060006040518060a001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200183815260200160006003811115610bac57610bab61124e565b5b8152509050806002600087815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690836003811115610c9257610c9161124e565b5b0217905550905050806020015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe15362f55ad2141e7402fe719d0de466f939f1a493b098856c784c75f3fc168d83604001518460800151604051610d05929190611aa9565b60405180910390a3600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001859080600181540180825580915050600190039060005260206000200160009091909190915055600260008681526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff166003811115610e7957610e7861124e565b5b6003811115610e8b57610e8a61124e565b5b81525050935050505092915050565b60005b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180549050811015610f6d5781600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018281548110610f3f57610f3e611604565b5b906000526020600020015403610f5a57610f5881610f72565b505b8080610f6590611662565b915050610e9d565b505050565b6000808290505b6001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180549050610fcb9190611ad2565b8110156110b257600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016001826110219190611a44565b8154811061103257611031611604565b5b9060005260206000200154600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001828154811061109157611090611604565b5b906000526020600020018190555080806110aa90611662565b915050610f79565b50600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000180548061110557611104611b06565b5b6001900381819060005260206000200160009055905560019050919050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000600381111561118b5761118a61124e565b5b81525090565b600080fd5b600080fd5b6000819050919050565b6111ae8161119b565b81146111b957600080fd5b50565b6000813590506111cb816111a5565b92915050565b6000602082840312156111e7576111e6611191565b5b60006111f5848285016111bc565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611229826111fe565b9050919050565b6112398161121e565b82525050565b6112488161119b565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061128e5761128d61124e565b5b50565b600081905061129f8261127d565b919050565b60006112af82611291565b9050919050565b6112bf816112a4565b82525050565b60a0820160008201516112db6000850182611230565b5060208201516112ee6020850182611230565b506040820151611301604085018261123f565b506060820151611314606085018261123f565b50608082015161132760808501826112b6565b50505050565b600060a08201905061134260008301846112c5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261136d5761136c611348565b5b8235905067ffffffffffffffff81111561138a5761138961134d565b5b6020830191508360208202830111156113a6576113a5611352565b5b9250929050565b600080602083850312156113c4576113c3611191565b5b600083013567ffffffffffffffff8111156113e2576113e1611196565b5b6113ee85828601611357565b92509250509250929050565b6114038161121e565b811461140e57600080fd5b50565b600081359050611420816113fa565b92915050565b6000806040838503121561143d5761143c611191565b5b600061144b858286016111bc565b925050602061145c85828601611411565b9150509250929050565b60006020828403121561147c5761147b611191565b5b600061148a84828501611411565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006114cb838361123f565b60208301905092915050565b6000602082019050919050565b60006114ef82611493565b6114f9818561149e565b9350611504836114af565b8060005b8381101561153557815161151c88826114bf565b9750611527836114d7565b925050600181019050611508565b5085935050505092915050565b6000602082019050818103600083015261155c81846114e4565b905092915050565b6000806040838503121561157b5761157a611191565b5b600061158985828601611411565b925050602061159a858286016111bc565b9150509250929050565b6000806000604084860312156115bd576115bc611191565b5b60006115cb86828701611411565b935050602084013567ffffffffffffffff8111156115ec576115eb611196565b5b6115f886828701611357565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061166d8261119b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361169f5761169e611633565b5b600182019050919050565b600082825260208201905092915050565b7f596f752063616e6e6f7420636865636b2074686973207374616b696e6720617360008201527f206974206973206e6f74206c697374656420756e64657220746869732061646460208201527f7265737300000000000000000000000000000000000000000000000000000000604082015250565b600061173d6044836116aa565b9150611748826116bb565b606082019050919050565b6000602082019050818103600083015261176c81611730565b9050919050565b7f5374616b696e67206973206e6f7420616374697665206f7220636c61696d6564600082015250565b60006117a96020836116aa565b91506117b482611773565b602082019050919050565b600060208201905081810360008301526117d88161179c565b9050919050565b7f696e636f7272656374204e465420746f207374616b6500000000000000000000600082015250565b60006118156016836116aa565b9150611820826117df565b602082019050919050565b6000602082019050818103600083015261184481611808565b9050919050565b7f596f752063616e6e6f742063616e63656c2074686973207374616b696e67206160008201527f73206974206973206e6f74206c697374656420756e646572207468697320616460208201527f6472657373000000000000000000000000000000000000000000000000000000604082015250565b60006118cd6045836116aa565b91506118d88261184b565b606082019050919050565b600060208201905081810360008301526118fc816118c0565b9050919050565b7f5374616b696e6720697320656974686572206e6f74206163746976652028436160008201527f6e63656c6c6564206f7220696e20636c61696d696e672070726f636573732900602082015250565b600061195f603f836116aa565b915061196a82611903565b604082019050919050565b6000602082019050818103600083015261198e81611952565b9050919050565b61199e8161121e565b82525050565b6119ad8161119b565b82525050565b60006060820190506119c86000830186611995565b6119d56020830185611995565b6119e260408301846119a4565b949350505050565b60006119f58261119b565b9150611a008361119b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a3957611a38611633565b5b828202905092915050565b6000611a4f8261119b565b9150611a5a8361119b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a8f57611a8e611633565b5b828201905092915050565b611aa3816112a4565b82525050565b6000604082019050611abe60008301856119a4565b611acb6020830184611a9a565b9392505050565b6000611add8261119b565b9150611ae88361119b565b925082821015611afb57611afa611633565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122035bb04227f42c0ce4cf7e0e00afc197b3ccbe055b6fa9e3430e5e08e38d271dc64736f6c634300080d0033
Deployed Bytecode Sourcemap
37362:5195:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40023:116;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41534:172;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40199:604;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41714:129;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38427:324;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;38759:411;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40023:116;40077:14;;:::i;:::-;40111:11;:20;40123:7;40111:20;;;;;;;;;;;40104:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;40023:116;;;:::o;41534:172::-;41610:6;41605:94;41626:8;;:15;;41622:1;:19;41605:94;;;41663:24;41675:8;;41684:1;41675:11;;;;;;;:::i;:::-;;;;;;;;41663;:24::i;:::-;41643:3;;;;;:::i;:::-;;;;41605:94;;;;41534:172;;:::o;40199:604::-;40265:14;;:::i;:::-;40292:23;40318:11;:20;40330:7;40318:20;;;;;;;;;;;40292:46;;40377:10;40367:20;;:6;:20;;;40359:101;;;;;;;;;;;;:::i;:::-;;;;;;;;;40497:20;40479:38;;;;;;;;:::i;:::-;;:7;:14;;;;;;;;;;;;:38;;;;;;;;:::i;:::-;;;40471:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;40588:7;:19;;;40569:15;:38;40565:111;;40641:23;40624:7;:14;;;:40;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;40565:111;40742:7;:14;;;;;;;;;;;;40693:64;;;;;;;;:::i;:::-;;40725:7;:15;;;40710:7;:13;;;;;;;;;;;;40693:64;;;;;;;;;;;;40775:11;:20;40787:7;40775:20;;;;;;;;;;;40768:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;40199:604;;;;:::o;41714:129::-;41777:16;41811:4;:13;41816:7;41811:13;;;;;;;;;;;;;;;:26;;41804:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41714:129;;;:::o;38427:324::-;38516:42;38507:51;;:5;:51;;;38499:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;38715:28;38727:5;38734:8;38715:11;:28::i;:::-;;38427:324;;:::o;38759:411::-;38861:42;38852:51;;:5;:51;;;38844:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;39065:6;39060:103;39081:9;;:16;;39077:1;:20;39060:103;;;39119:32;39131:5;39138:9;;39148:1;39138:12;;;;;;;:::i;:::-;;;;;;;;39119:11;:32::i;:::-;;39099:3;;;;;:::i;:::-;;;;39060:103;;;;38759:411;;;:::o;40847:679::-;40901:23;40927:11;:20;40939:7;40927:20;;;;;;;;;;;40901:46;;40984:10;40966:28;;:7;:14;;;;;;;;;;;;:28;;;40958:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;41105:20;41087:38;;;;;;;;:::i;:::-;;:7;:14;;;;;;;;;;;;:38;;;;;;;;:::i;:::-;;;41079:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;41231:23;41214:7;:14;;;:40;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;41273:7;:13;;;;;;;;;;;;41265:35;;;41309:4;41316:10;41328:7;:15;;;41265:79;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41414:7;:14;;;;;;;;;;;;41362:67;;;;;;;;:::i;:::-;;41397:7;:15;;;41382:7;:13;;;;;;;;;;;;41362:67;;;;;;;;;;;;41449:11;:20;41461:7;41449:20;;;;;;;;;;;;41442:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41480:38;41498:10;41510:7;41480:17;:38::i;:::-;40890:636;40847:679;:::o;39232:748::-;39298:14;;:::i;:::-;39333:5;39325:27;;;39353:10;39373:4;39380:7;39325:63;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39501:23;39527:1;39501:27;;39564:16;39620:9;39602:15;:27;;;;:::i;:::-;39583:15;:47;;;;:::i;:::-;39564:66;;39643:22;39668:70;;;;;;;;39676:10;39668:70;;;;;;39688:5;39668:70;;;;;;39695:7;39668:70;;;;39704:11;39668:70;;;;39717:20;39668:70;;;;;;;;:::i;:::-;;;;;39643:95;;39784:7;39761:11;:20;39773:7;39761:20;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;39833:7;:13;;;39809:71;;39821:10;39809:71;;;39848:7;:15;;;39865:7;:14;;;39809:71;;;;;;;:::i;:::-;;;;;;;;39891:4;:16;39896:10;39891:16;;;;;;;;;;;;;;;:29;;39926:7;39891:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39952:11;:20;39964:7;39952:20;;;;;;;;;;;39945:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;39232:748;;;;:::o;41851:290::-;41931:13;41926:210;41958:4;:11;41963:5;41958:11;;;;;;;;;;;;;;;:24;;:31;;;;41950:5;:39;41926:210;;;42049:8;42014:4;:11;42019:5;42014:11;;;;;;;;;;;;;;;:24;;42039:5;42014:31;;;;;;;;:::i;:::-;;;;;;;;;;:43;42011:118;;42078:39;42111:5;42078:32;:39::i;:::-;;42011:118;41991:7;;;;;:::i;:::-;;;;41926:210;;;;41851:290;;:::o;42224:330::-;42295:4;42316:6;42325;42316:15;;42311:169;42376:1;42337:4;:16;42342:10;42337:16;;;;;;;;;;;;;;;:29;;:36;;;;:40;;;;:::i;:::-;42333:1;:44;42311:169;;;42433:4;:16;42438:10;42433:16;;;;;;;;;;;;;;;:29;;42467:1;42463;:5;;;;:::i;:::-;42433:36;;;;;;;;:::i;:::-;;;;;;;;;;42398:4;:16;42403:10;42398:16;;;;;;;;;;;;;;;:29;;42428:1;42398:32;;;;;;;;:::i;:::-;;;;;;;;;:71;;;;42379:3;;;;;:::i;:::-;;;;42311:169;;;;42489:4;:16;42494:10;42489:16;;;;;;;;;;;;;;;:29;;:35;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42541:4;42534:11;;42224:330;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;88:117:1:-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:126::-;1062:7;1102:42;1095:5;1091:54;1080:65;;1025:126;;;:::o;1157:96::-;1194:7;1223:24;1241:5;1223:24;:::i;:::-;1212:35;;1157:96;;;:::o;1259:108::-;1336:24;1354:5;1336:24;:::i;:::-;1331:3;1324:37;1259:108;;:::o;1373:::-;1450:24;1468:5;1450:24;:::i;:::-;1445:3;1438:37;1373:108;;:::o;1487:180::-;1535:77;1532:1;1525:88;1632:4;1629:1;1622:15;1656:4;1653:1;1646:15;1673:123;1764:1;1757:5;1754:12;1744:46;;1770:18;;:::i;:::-;1744:46;1673:123;:::o;1802:147::-;1857:7;1886:5;1875:16;;1892:51;1937:5;1892:51;:::i;:::-;1802:147;;;:::o;1955:::-;2021:9;2054:42;2090:5;2054:42;:::i;:::-;2041:55;;1955:147;;;:::o;2108:153::-;2201:53;2248:5;2201:53;:::i;:::-;2196:3;2189:66;2108:153;;:::o;2325:1060::-;2472:4;2467:3;2463:14;2561:4;2554:5;2550:16;2544:23;2580:63;2637:4;2632:3;2628:14;2614:12;2580:63;:::i;:::-;2487:166;2736:4;2729:5;2725:16;2719:23;2755:63;2812:4;2807:3;2803:14;2789:12;2755:63;:::i;:::-;2663:165;2913:4;2906:5;2902:16;2896:23;2932:63;2989:4;2984:3;2980:14;2966:12;2932:63;:::i;:::-;2838:167;3094:4;3087:5;3083:16;3077:23;3113:63;3170:4;3165:3;3161:14;3147:12;3113:63;:::i;:::-;3015:171;3270:4;3263:5;3259:16;3253:23;3289:79;3362:4;3357:3;3353:14;3339:12;3289:79;:::i;:::-;3196:182;2441:944;2325:1060;;:::o;3391:323::-;3534:4;3572:3;3561:9;3557:19;3549:27;;3586:121;3704:1;3693:9;3689:17;3680:6;3586:121;:::i;:::-;3391:323;;;;:::o;3720:117::-;3829:1;3826;3819:12;3843:117;3952:1;3949;3942:12;3966:117;4075:1;4072;4065:12;4106:568;4179:8;4189:6;4239:3;4232:4;4224:6;4220:17;4216:27;4206:122;;4247:79;;:::i;:::-;4206:122;4360:6;4347:20;4337:30;;4390:18;4382:6;4379:30;4376:117;;;4412:79;;:::i;:::-;4376:117;4526:4;4518:6;4514:17;4502:29;;4580:3;4572:4;4564:6;4560:17;4550:8;4546:32;4543:41;4540:128;;;4587:79;;:::i;:::-;4540:128;4106:568;;;;;:::o;4680:559::-;4766:6;4774;4823:2;4811:9;4802:7;4798:23;4794:32;4791:119;;;4829:79;;:::i;:::-;4791:119;4977:1;4966:9;4962:17;4949:31;5007:18;4999:6;4996:30;4993:117;;;5029:79;;:::i;:::-;4993:117;5142:80;5214:7;5205:6;5194:9;5190:22;5142:80;:::i;:::-;5124:98;;;;4920:312;4680:559;;;;;:::o;5245:122::-;5318:24;5336:5;5318:24;:::i;:::-;5311:5;5308:35;5298:63;;5357:1;5354;5347:12;5298:63;5245:122;:::o;5373:139::-;5419:5;5457:6;5444:20;5435:29;;5473:33;5500:5;5473:33;:::i;:::-;5373:139;;;;:::o;5518:474::-;5586:6;5594;5643:2;5631:9;5622:7;5618:23;5614:32;5611:119;;;5649:79;;:::i;:::-;5611:119;5769:1;5794:53;5839:7;5830:6;5819:9;5815:22;5794:53;:::i;:::-;5784:63;;5740:117;5896:2;5922:53;5967:7;5958:6;5947:9;5943:22;5922:53;:::i;:::-;5912:63;;5867:118;5518:474;;;;;:::o;5998:329::-;6057:6;6106:2;6094:9;6085:7;6081:23;6077:32;6074:119;;;6112:79;;:::i;:::-;6074:119;6232:1;6257:53;6302:7;6293:6;6282:9;6278:22;6257:53;:::i;:::-;6247:63;;6203:117;5998:329;;;;:::o;6333:114::-;6400:6;6434:5;6428:12;6418:22;;6333:114;;;:::o;6453:184::-;6552:11;6586:6;6581:3;6574:19;6626:4;6621:3;6617:14;6602:29;;6453:184;;;;:::o;6643:132::-;6710:4;6733:3;6725:11;;6763:4;6758:3;6754:14;6746:22;;6643:132;;;:::o;6781:179::-;6850:10;6871:46;6913:3;6905:6;6871:46;:::i;:::-;6949:4;6944:3;6940:14;6926:28;;6781:179;;;;:::o;6966:113::-;7036:4;7068;7063:3;7059:14;7051:22;;6966:113;;;:::o;7115:732::-;7234:3;7263:54;7311:5;7263:54;:::i;:::-;7333:86;7412:6;7407:3;7333:86;:::i;:::-;7326:93;;7443:56;7493:5;7443:56;:::i;:::-;7522:7;7553:1;7538:284;7563:6;7560:1;7557:13;7538:284;;;7639:6;7633:13;7666:63;7725:3;7710:13;7666:63;:::i;:::-;7659:70;;7752:60;7805:6;7752:60;:::i;:::-;7742:70;;7598:224;7585:1;7582;7578:9;7573:14;;7538:284;;;7542:14;7838:3;7831:10;;7239:608;;;7115:732;;;;:::o;7853:373::-;7996:4;8034:2;8023:9;8019:18;8011:26;;8083:9;8077:4;8073:20;8069:1;8058:9;8054:17;8047:47;8111:108;8214:4;8205:6;8111:108;:::i;:::-;8103:116;;7853:373;;;;:::o;8232:474::-;8300:6;8308;8357:2;8345:9;8336:7;8332:23;8328:32;8325:119;;;8363:79;;:::i;:::-;8325:119;8483:1;8508:53;8553:7;8544:6;8533:9;8529:22;8508:53;:::i;:::-;8498:63;;8454:117;8610:2;8636:53;8681:7;8672:6;8661:9;8657:22;8636:53;:::i;:::-;8626:63;;8581:118;8232:474;;;;;:::o;8712:704::-;8807:6;8815;8823;8872:2;8860:9;8851:7;8847:23;8843:32;8840:119;;;8878:79;;:::i;:::-;8840:119;8998:1;9023:53;9068:7;9059:6;9048:9;9044:22;9023:53;:::i;:::-;9013:63;;8969:117;9153:2;9142:9;9138:18;9125:32;9184:18;9176:6;9173:30;9170:117;;;9206:79;;:::i;:::-;9170:117;9319:80;9391:7;9382:6;9371:9;9367:22;9319:80;:::i;:::-;9301:98;;;;9096:313;8712:704;;;;;:::o;9422:180::-;9470:77;9467:1;9460:88;9567:4;9564:1;9557:15;9591:4;9588:1;9581:15;9608:180;9656:77;9653:1;9646:88;9753:4;9750:1;9743:15;9777:4;9774:1;9767:15;9794:233;9833:3;9856:24;9874:5;9856:24;:::i;:::-;9847:33;;9902:66;9895:5;9892:77;9889:103;;9972:18;;:::i;:::-;9889:103;10019:1;10012:5;10008:13;10001:20;;9794:233;;;:::o;10033:169::-;10117:11;10151:6;10146:3;10139:19;10191:4;10186:3;10182:14;10167:29;;10033:169;;;;:::o;10208:292::-;10348:34;10344:1;10336:6;10332:14;10325:58;10417:34;10412:2;10404:6;10400:15;10393:59;10486:6;10481:2;10473:6;10469:15;10462:31;10208:292;:::o;10506:366::-;10648:3;10669:67;10733:2;10728:3;10669:67;:::i;:::-;10662:74;;10745:93;10834:3;10745:93;:::i;:::-;10863:2;10858:3;10854:12;10847:19;;10506:366;;;:::o;10878:419::-;11044:4;11082:2;11071:9;11067:18;11059:26;;11131:9;11125:4;11121:20;11117:1;11106:9;11102:17;11095:47;11159:131;11285:4;11159:131;:::i;:::-;11151:139;;10878:419;;;:::o;11303:182::-;11443:34;11439:1;11431:6;11427:14;11420:58;11303:182;:::o;11491:366::-;11633:3;11654:67;11718:2;11713:3;11654:67;:::i;:::-;11647:74;;11730:93;11819:3;11730:93;:::i;:::-;11848:2;11843:3;11839:12;11832:19;;11491:366;;;:::o;11863:419::-;12029:4;12067:2;12056:9;12052:18;12044:26;;12116:9;12110:4;12106:20;12102:1;12091:9;12087:17;12080:47;12144:131;12270:4;12144:131;:::i;:::-;12136:139;;11863:419;;;:::o;12288:172::-;12428:24;12424:1;12416:6;12412:14;12405:48;12288:172;:::o;12466:366::-;12608:3;12629:67;12693:2;12688:3;12629:67;:::i;:::-;12622:74;;12705:93;12794:3;12705:93;:::i;:::-;12823:2;12818:3;12814:12;12807:19;;12466:366;;;:::o;12838:419::-;13004:4;13042:2;13031:9;13027:18;13019:26;;13091:9;13085:4;13081:20;13077:1;13066:9;13062:17;13055:47;13119:131;13245:4;13119:131;:::i;:::-;13111:139;;12838:419;;;:::o;13263:293::-;13403:34;13399:1;13391:6;13387:14;13380:58;13472:34;13467:2;13459:6;13455:15;13448:59;13541:7;13536:2;13528:6;13524:15;13517:32;13263:293;:::o;13562:366::-;13704:3;13725:67;13789:2;13784:3;13725:67;:::i;:::-;13718:74;;13801:93;13890:3;13801:93;:::i;:::-;13919:2;13914:3;13910:12;13903:19;;13562:366;;;:::o;13934:419::-;14100:4;14138:2;14127:9;14123:18;14115:26;;14187:9;14181:4;14177:20;14173:1;14162:9;14158:17;14151:47;14215:131;14341:4;14215:131;:::i;:::-;14207:139;;13934:419;;;:::o;14359:250::-;14499:34;14495:1;14487:6;14483:14;14476:58;14568:33;14563:2;14555:6;14551:15;14544:58;14359:250;:::o;14615:366::-;14757:3;14778:67;14842:2;14837:3;14778:67;:::i;:::-;14771:74;;14854:93;14943:3;14854:93;:::i;:::-;14972:2;14967:3;14963:12;14956:19;;14615:366;;;:::o;14987:419::-;15153:4;15191:2;15180:9;15176:18;15168:26;;15240:9;15234:4;15230:20;15226:1;15215:9;15211:17;15204:47;15268:131;15394:4;15268:131;:::i;:::-;15260:139;;14987:419;;;:::o;15412:118::-;15499:24;15517:5;15499:24;:::i;:::-;15494:3;15487:37;15412:118;;:::o;15536:::-;15623:24;15641:5;15623:24;:::i;:::-;15618:3;15611:37;15536:118;;:::o;15660:442::-;15809:4;15847:2;15836:9;15832:18;15824:26;;15860:71;15928:1;15917:9;15913:17;15904:6;15860:71;:::i;:::-;15941:72;16009:2;15998:9;15994:18;15985:6;15941:72;:::i;:::-;16023;16091:2;16080:9;16076:18;16067:6;16023:72;:::i;:::-;15660:442;;;;;;:::o;16108:348::-;16148:7;16171:20;16189:1;16171:20;:::i;:::-;16166:25;;16205:20;16223:1;16205:20;:::i;:::-;16200:25;;16393:1;16325:66;16321:74;16318:1;16315:81;16310:1;16303:9;16296:17;16292:105;16289:131;;;16400:18;;:::i;:::-;16289:131;16448:1;16445;16441:9;16430:20;;16108:348;;;;:::o;16462:305::-;16502:3;16521:20;16539:1;16521:20;:::i;:::-;16516:25;;16555:20;16573:1;16555:20;:::i;:::-;16550:25;;16709:1;16641:66;16637:74;16634:1;16631:81;16628:107;;;16715:18;;:::i;:::-;16628:107;16759:1;16756;16752:9;16745:16;;16462:305;;;;:::o;16773:163::-;16876:53;16923:5;16876:53;:::i;:::-;16871:3;16864:66;16773:163;;:::o;16942:364::-;17079:4;17117:2;17106:9;17102:18;17094:26;;17130:71;17198:1;17187:9;17183:17;17174:6;17130:71;:::i;:::-;17211:88;17295:2;17284:9;17280:18;17271:6;17211:88;:::i;:::-;16942:364;;;;;:::o;17312:191::-;17352:4;17372:20;17390:1;17372:20;:::i;:::-;17367:25;;17406:20;17424:1;17406:20;:::i;:::-;17401:25;;17445:1;17442;17439:8;17436:34;;;17450:18;;:::i;:::-;17436:34;17495:1;17492;17488:9;17480:17;;17312:191;;;;:::o;17509:180::-;17557:77;17554:1;17547:88;17654:4;17651:1;17644:15;17678:4;17675:1;17668:15
Swarm Source
ipfs://35bb04227f42c0ce4cf7e0e00afc197b3ccbe055b6fa9e3430e5e08e38d271dc
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.