More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 266 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 20457369 | 58 days ago | IN | 0 ETH | 0.00487719 | ||||
Unstake | 19563643 | 183 days ago | IN | 0 ETH | 0.00455412 | ||||
Claim | 19436754 | 200 days ago | IN | 0 ETH | 0.00772395 | ||||
Claim | 19125429 | 244 days ago | IN | 0 ETH | 0.00420511 | ||||
Claim | 19043638 | 256 days ago | IN | 0 ETH | 0.00231842 | ||||
Stake | 18923477 | 272 days ago | IN | 0 ETH | 0.00508143 | ||||
Unstake | 18923448 | 272 days ago | IN | 0 ETH | 0.00379706 | ||||
Claim | 18923448 | 272 days ago | IN | 0 ETH | 0.00333743 | ||||
Unstake | 18874129 | 279 days ago | IN | 0 ETH | 0.00238837 | ||||
Claim | 18745301 | 297 days ago | IN | 0 ETH | 0.00882937 | ||||
Claim | 18650503 | 311 days ago | IN | 0 ETH | 0.00767632 | ||||
Unstake | 18648150 | 311 days ago | IN | 0 ETH | 0.00288922 | ||||
Stake | 18645438 | 311 days ago | IN | 0 ETH | 0.00290372 | ||||
Unstake | 18644832 | 311 days ago | IN | 0 ETH | 0.0027042 | ||||
Claim | 18644828 | 311 days ago | IN | 0 ETH | 0.00192025 | ||||
Stake | 18644726 | 312 days ago | IN | 0 ETH | 0.00892232 | ||||
Claim | 18635091 | 313 days ago | IN | 0 ETH | 0.00791278 | ||||
Claim | 18633634 | 313 days ago | IN | 0 ETH | 0.00314773 | ||||
Unstake | 18629857 | 314 days ago | IN | 0 ETH | 0.00733651 | ||||
Unstake | 18622319 | 315 days ago | IN | 0 ETH | 0.00961431 | ||||
Claim | 18622292 | 315 days ago | IN | 0 ETH | 0.00715921 | ||||
Unstake | 18618071 | 315 days ago | IN | 0 ETH | 0.00335608 | ||||
Stake | 18618066 | 315 days ago | IN | 0 ETH | 0.00266136 | ||||
Unstake | 18618054 | 315 days ago | IN | 0 ETH | 0.00290708 | ||||
Claim | 18611893 | 316 days ago | IN | 0 ETH | 0.00658278 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
NFTStaking
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-13 */ // SPDX-License-Identifier: MIT /* */ // 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/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/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; 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 pragma solidity ^0.8.0; 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/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 (last updated v4.6.0) (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`. * * 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; /** * @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 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; interface IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // 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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * 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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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 { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // TOKENS REWARDS interface TokenRewards { function mint(address to, uint256 amount) external; function transfer(address to, uint256 amount) external; function transferFrom(address from, address to, uint256 amount) external returns (bool); function balanceOf(address owner) external view returns (uint256 balance); } // File: contracts/NFTStaking.sol pragma solidity >= 0.8.0 < 0.9.0; contract NFTStaking is Ownable, IERC721Receiver { uint256 public totalStaked; uint256 public commonRewardsTimer = 86400; uint256 public rareRewardsTimer = 43200; bool public stakeEnabled = true; mapping(uint256 => uint256) public stakingPeriod; mapping(uint256 => bool) public rareTokens; // struct to store a stake's token, owner, and earning values 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); // reference to the base NFT contract & ERC20 token ERC721A nft; TokenRewards token; // maps tokenId to stake mapping(uint256 => Stake) public vault; constructor (ERC721A _nft, TokenRewards _token) { nft = _nft; token = _token; } // ~~~~~~~~~~~~~~~~~~~~ STAKE FUNCTIONS ~~~~~~~~~~~~~~~~~~~~ // STAKE function stake(uint256[] calldata tokenIds) external { require(stakeEnabled == true, "Staking is not enabled yet."); uint256 tokenId; totalStaked += tokenIds.length; for (uint i = 0; i < tokenIds.length; i++) { tokenId = tokenIds[i]; require(nft.ownerOf(tokenId) == msg.sender, "You are not the owner of this NFT."); require(vault[tokenId].tokenId == 0, "Token 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) }); } } // UNSTAKE 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); } // Token rewards 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 the owner of this NFT."); uint256 stakedAt = staked.timestamp; if(rareTokens[tokenId]) { rewardmath = 100 ether * (block.timestamp - stakedAt) / rareRewardsTimer ; } else { rewardmath = 100 ether * (block.timestamp - stakedAt) / commonRewardsTimer ; } stakingPeriod[tokenId] = block.timestamp; earned += rewardmath / 10; 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); } // Token Rewards Info 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 the owner of this NFT."); uint256 stakedAt = staked.timestamp; if(rareTokens[tokenId]) { rewardmath = 100 ether * (block.timestamp - stakedAt) / rareRewardsTimer ; } else { rewardmath = 100 ether * (block.timestamp - stakedAt) / commonRewardsTimer ; } earned += rewardmath / 10; } if (earned > 0) { return [earned]; } } // Should never be used inside of transaction because of gas fees function balanceOf(address account) public view returns (uint256) { uint256 balance = 0; uint256 supply = 5000; for(uint i = 1; i <= supply; i++) { if (vault[i].owner == account) { balance += 1; } } return balance; } // Should never be used inside of transaction because of gas fees function tokensOfOwner(address account) public view returns (uint256[] memory ownerTokens) { uint256 supply = 5000; 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; } // Check Wallet assets function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = nft.balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= nft.totalSupply()) { address ownership = nft.ownerOf(currentTokenId); if (ownership == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } 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; } // ~~~~~~~~~~~~~~~~~~~~ onlyOwner Functions ~~~~~~~~~~~~~~~~~~~~ // SET STAKE STATE function toggleStakeState() external onlyOwner { stakeEnabled = !stakeEnabled; } // SET COMMON REWARDS TIMER function setCommonRewardsTimer(uint256 _rewardsTimer) external onlyOwner { commonRewardsTimer = _rewardsTimer; } // SET RARE REWARDS TIMER function setRareRewardsTimer(uint256 _rewardsTimer) external onlyOwner { rareRewardsTimer = _rewardsTimer; } // SET RARE TOKENS function setTokensRare(uint256[] calldata _tokenID) external onlyOwner { for (uint256 i = 0; i < _tokenID.length; i++) { rareTokens[_tokenID[i]] = true; } } // SET COMMON TOKENS function setTokensCommon(uint256[] calldata _tokenID) external onlyOwner { for (uint256 i = 0; i < _tokenID.length; i++) { rareTokens[_tokenID[i]] = false; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ERC721A","name":"_nft","type":"address"},{"internalType":"contract TokenRewards","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":[],"name":"commonRewardsTimer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"rareRewardsTimer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rareTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsTimer","type":"uint256"}],"name":"setCommonRewardsTimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsTimer","type":"uint256"}],"name":"setRareRewardsTimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenID","type":"uint256[]"}],"name":"setTokensCommon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenID","type":"uint256[]"}],"name":"setTokensRare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleStakeState","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"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526201518060025561a8c06003556001600460006101000a81548160ff0219169083151502179055503480156200003957600080fd5b5060405162002e8338038062002e8383398181016040528101906200005f919062000298565b6200007f620000736200010960201b60201c565b6200011160201b60201c565b81600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002df565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200020782620001da565b9050919050565b60006200021b82620001fa565b9050919050565b6200022d816200020e565b81146200023957600080fd5b50565b6000815190506200024d8162000222565b92915050565b60006200026082620001fa565b9050919050565b620002728162000253565b81146200027e57600080fd5b50565b600081519050620002928162000267565b92915050565b60008060408385031215620002b257620002b1620001d5565b5b6000620002c2858286016200023c565b9250506020620002d58582860162000281565b9150509250929050565b612b9480620002ef6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80637e75dd60116100c3578063c1027c981161007c578063c1027c98146103db578063c1bb77fb1461040b578063c36be35714610415578063ce21c69c14610431578063e449f3411461044d578063f2fde38b1461046957610158565b80637e75dd60146102ef578063817b1cd21461031f57806381a36fb61461033d5780638462151c1461036f5780638da5cb5b1461039f578063b22a0613146103bd57610158565b80634dd12cfc116101155780634dd12cfc1461022f5780636ba4c1381461024b57806370a0823114610267578063715018a61461029757806379bf738a146102a15780637b6c920d146102d157610158565b80630fbf0a931461015d578063148773fb14610179578063150b7a02146101955780633b17c736146101c5578063438b6300146101e3578063494cf74b14610213575b600080fd5b61017760048036038101906101729190611f33565b610485565b005b610193600480360381019061018e9190611f33565b610869565b005b6101af60048036038101906101aa919061206a565b610950565b6040516101bc919061212d565b60405180910390f35b6101cd6109d3565b6040516101da9190612163565b60405180910390f35b6101fd60048036038101906101f8919061217e565b6109e6565b60405161020a9190612269565b60405180910390f35b61022d6004803603810190610228919061228b565b610ca4565b005b61024960048036038101906102449190611f33565b610d2a565b005b61026560048036038101906102609190611f33565b610e11565b005b610281600480360381019061027c919061217e565b610e22565b60405161028e91906122c7565b60405180910390f35b61029f610ed5565b005b6102bb60048036038101906102b6919061228b565b610f5d565b6040516102c89190612163565b60405180910390f35b6102d9610f7d565b6040516102e691906122c7565b60405180910390f35b610309600480360381019061030491906122e2565b610f83565b60405161031691906123c6565b60405180910390f35b6103276111ee565b60405161033491906122c7565b60405180910390f35b6103576004803603810190610352919061228b565b6111f4565b6040516103669392919061242f565b60405180910390f35b6103896004803603810190610384919061217e565b61125f565b6040516103969190612269565b60405180910390f35b6103a761144d565b6040516103b49190612466565b60405180910390f35b6103c5611476565b6040516103d291906122c7565b60405180910390f35b6103f560048036038101906103f0919061228b565b61147c565b60405161040291906122c7565b60405180910390f35b610413611494565b005b61042f600480360381019061042a91906122e2565b61153c565b005b61044b6004803603810190610446919061228b565b61154e565b005b61046760048036038101906104629190611f33565b6115d4565b005b610483600480360381019061047e919061217e565b6115e5565b005b60011515600460009054906101000a900460ff161515146104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d2906124de565b60405180910390fd5b600082829050600160008282546104f2919061252d565b9250508190555060005b838390508110156108635783838281811061051a57610519612561565b5b9050602002013591503373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161059591906122c7565b602060405180830381865afa1580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906125a5565b73ffffffffffffffffffffffffffffffffffffffff161461062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062390612644565b60405180910390fd5b60006009600084815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff1614610699576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610690906126b0565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106f8939291906126d0565b600060405180830381600087803b15801561071257600080fd5b505af1158015610726573d6000803e3d6000fd5b505050507f36b3725f1783bad4ff05b7f4c077c3aa68eeb23a4d054ba189db4d01ac278d3933834260405161075d93929190612707565b60405180910390a160405180606001604052808362ffffff1681526020014265ffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152506009600084815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050808061085b9061273e565b9150506104fc565b50505050565b6108716116dc565b73ffffffffffffffffffffffffffffffffffffffff1661088f61144d565b73ffffffffffffffffffffffffffffffffffffffff16146108e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dc906127d2565b60405180910390fd5b60005b8282905081101561094b5760006006600085858581811061090c5761090b612561565b5b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555080806109439061273e565b9150506108e8565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b790612864565b60405180910390fd5b63150b7a0260e01b905095945050505050565b600460009054906101000a900460ff1681565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610a459190612466565b602060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190612899565b905060008167ffffffffffffffff811115610aa457610aa36128c6565b5b604051908082528060200260200182016040528015610ad25781602001602082028036833780820191505090505b50905060006001905060005b8381108015610b7d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b799190612899565b8211155b15610c98576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610bdf91906122c7565b602060405180830381865afa158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906125a5565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c845782848381518110610c6957610c68612561565b5b6020026020010181815250508180610c809061273e565b9250505b8280610c8f9061273e565b93505050610ade565b82945050505050919050565b610cac6116dc565b73ffffffffffffffffffffffffffffffffffffffff16610cca61144d565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d17906127d2565b60405180910390fd5b8060028190555050565b610d326116dc565b73ffffffffffffffffffffffffffffffffffffffff16610d5061144d565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906127d2565b60405180910390fd5b60005b82829050811015610e0c57600160066000858585818110610dcd57610dcc612561565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e049061273e565b915050610da9565b505050565b610e1e33838360006116e4565b5050565b60008060009050600061138890506000600190505b818111610eca578473ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610eb757600183610eb4919061252d565b92505b8080610ec29061273e565b915050610e37565b508192505050919050565b610edd6116dc565b73ffffffffffffffffffffffffffffffffffffffff16610efb61144d565b73ffffffffffffffffffffffffffffffffffffffff1614610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f48906127d2565b60405180910390fd5b610f5b6000611b0a565b565b60066020528060005260406000206000915054906101000a900460ff1681565b60035481565b610f8b611ea2565b600080600090506000805b868690508110156111c057868682818110610fb457610fb3612561565b5b9050602002013593506000600960008681526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508873ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16146110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed90612941565b60405180910390fd5b6000816020015165ffffffffffff1690506006600087815260200190815260200160002060009054906101000a900460ff161561116157600354814261113c9190612961565b68056bc75e2d631000006111509190612995565b61115a9190612a06565b9350611191565b60025481426111709190612961565b68056bc75e2d631000006111849190612995565b61118e9190612a06565b93505b600a8461119e9190612a06565b856111a9919061252d565b9450505080806111b89061273e565b915050610f96565b5060008211156111e35760405180602001604052808381525093505050506111e7565b5050505b9392505050565b60015481565b60096020528060005260406000206000915090508060000160009054906101000a900462ffffff16908060000160039054906101000a900465ffffffffffff16908060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905083565b60606000611388905060008167ffffffffffffffff811115611284576112836128c6565b5b6040519080825280602002602001820160405280156112b25781602001602082028036833780820191505090505b509050600080600190505b83811161139a578573ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611387576009600082815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff1683838151811061136b5761136a612561565b5b602002602001018181525050600182611384919061252d565b91505b80806113929061273e565b9150506112bd565b5060008167ffffffffffffffff8111156113b7576113b66128c6565b5b6040519080825280602002602001820160405280156113e55781602001602082028036833780820191505090505b50905060005b828110156114405783818151811061140657611405612561565b5b602002602001015182828151811061142157611420612561565b5b60200260200101818152505080806114389061273e565b9150506113eb565b5080945050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b60056020528060005260406000206000915090505481565b61149c6116dc565b73ffffffffffffffffffffffffffffffffffffffff166114ba61144d565b73ffffffffffffffffffffffffffffffffffffffff1614611510576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611507906127d2565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b61154983838360006116e4565b505050565b6115566116dc565b73ffffffffffffffffffffffffffffffffffffffff1661157461144d565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c1906127d2565b60405180910390fd5b8060038190555050565b6115e133838360016116e4565b5050565b6115ed6116dc565b73ffffffffffffffffffffffffffffffffffffffff1661160b61144d565b73ffffffffffffffffffffffffffffffffffffffff1614611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906127d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790612aa9565b60405180910390fd5b6116d981611b0a565b50565b600033905090565b600080600090506000805b86869050811015611a1c5786868281811061170d5761170c612561565b5b9050602002013593506000600960008681526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508873ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690612941565b60405180910390fd5b6000816020015165ffffffffffff1690506006600087815260200190815260200160002060009054906101000a900460ff16156118ba5760035481426118959190612961565b68056bc75e2d631000006118a99190612995565b6118b39190612a06565b93506118ea565b60025481426118c99190612961565b68056bc75e2d631000006118dd9190612995565b6118e79190612a06565b93505b426005600088815260200190815260200160002081905550600a8461190f9190612a06565b8561191a919061252d565b945060405180606001604052808762ffffff1681526020014265ffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff168152506009600088815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050508080611a149061273e565b9150506116ef565b506000821115611ab657600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1988846040518363ffffffff1660e01b8152600401611a83929190612ac9565b600060405180830381600087803b158015611a9d57600080fd5b505af1158015611ab1573d6000803e3d6000fd5b505050505b8315611ac857611ac7878787611bce565b5b7fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8783604051611af9929190612ac9565b60405180910390a150505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008282905060016000828254611be59190612961565b9250508190555060005b83839050811015611e9b57838382818110611c0d57611c0c612561565b5b9050602002013591506000600960008481526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690612b3e565b60405180910390fd5b60096000848152602001908152602001600020600080820160006101000a81549062ffffff02191690556000820160036101000a81549065ffffffffffff02191690556000820160096101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550507fc486b9458a8637650d84d262414833a5a457bc91ae86b7da110386c8c3fa255b868442604051611dee93929190612707565b60405180910390a1600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3088866040518463ffffffff1660e01b8152600401611e55939291906126d0565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b50505050508080611e939061273e565b915050611bef565b5050505050565b6040518060200160405280600190602082028036833780820191505090505090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611ef357611ef2611ece565b5b8235905067ffffffffffffffff811115611f1057611f0f611ed3565b5b602083019150836020820283011115611f2c57611f2b611ed8565b5b9250929050565b60008060208385031215611f4a57611f49611ec4565b5b600083013567ffffffffffffffff811115611f6857611f67611ec9565b5b611f7485828601611edd565b92509250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fab82611f80565b9050919050565b611fbb81611fa0565b8114611fc657600080fd5b50565b600081359050611fd881611fb2565b92915050565b6000819050919050565b611ff181611fde565b8114611ffc57600080fd5b50565b60008135905061200e81611fe8565b92915050565b60008083601f84011261202a57612029611ece565b5b8235905067ffffffffffffffff81111561204757612046611ed3565b5b60208301915083600182028301111561206357612062611ed8565b5b9250929050565b60008060008060006080868803121561208657612085611ec4565b5b600061209488828901611fc9565b95505060206120a588828901611fc9565b94505060406120b688828901611fff565b935050606086013567ffffffffffffffff8111156120d7576120d6611ec9565b5b6120e388828901612014565b92509250509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612127816120f2565b82525050565b6000602082019050612142600083018461211e565b92915050565b60008115159050919050565b61215d81612148565b82525050565b60006020820190506121786000830184612154565b92915050565b60006020828403121561219457612193611ec4565b5b60006121a284828501611fc9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6121e081611fde565b82525050565b60006121f283836121d7565b60208301905092915050565b6000602082019050919050565b6000612216826121ab565b61222081856121b6565b935061222b836121c7565b8060005b8381101561225c57815161224388826121e6565b975061224e836121fe565b92505060018101905061222f565b5085935050505092915050565b60006020820190508181036000830152612283818461220b565b905092915050565b6000602082840312156122a1576122a0611ec4565b5b60006122af84828501611fff565b91505092915050565b6122c181611fde565b82525050565b60006020820190506122dc60008301846122b8565b92915050565b6000806000604084860312156122fb576122fa611ec4565b5b600061230986828701611fc9565b935050602084013567ffffffffffffffff81111561232a57612329611ec9565b5b61233686828701611edd565b92509250509250925092565b600060019050919050565b600081905092915050565b6000819050919050565b6000602082019050919050565b61237881612342565b612382818461234d565b925061238d82612358565b8060005b838110156123be5781516123a587826121e6565b96506123b083612362565b925050600181019050612391565b505050505050565b60006020820190506123db600083018461236f565b92915050565b600062ffffff82169050919050565b6123f9816123e1565b82525050565b600065ffffffffffff82169050919050565b61241a816123ff565b82525050565b61242981611fa0565b82525050565b600060608201905061244460008301866123f0565b6124516020830185612411565b61245e6040830184612420565b949350505050565b600060208201905061247b6000830184612420565b92915050565b600082825260208201905092915050565b7f5374616b696e67206973206e6f7420656e61626c6564207965742e0000000000600082015250565b60006124c8601b83612481565b91506124d382612492565b602082019050919050565b600060208201905081810360008301526124f7816124bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061253882611fde565b915061254383611fde565b925082820190508082111561255b5761255a6124fe565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061259f81611fb2565b92915050565b6000602082840312156125bb576125ba611ec4565b5b60006125c984828501612590565b91505092915050565b7f596f7520617265206e6f7420746865206f776e6572206f662074686973204e4660008201527f542e000000000000000000000000000000000000000000000000000000000000602082015250565b600061262e602283612481565b9150612639826125d2565b604082019050919050565b6000602082019050818103600083015261265d81612621565b9050919050565b7f546f6b656e20616c7265616479207374616b65642e0000000000000000000000600082015250565b600061269a601583612481565b91506126a582612664565b602082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b60006060820190506126e56000830186612420565b6126f26020830185612420565b6126ff60408301846122b8565b949350505050565b600060608201905061271c6000830186612420565b61272960208301856122b8565b61273660408301846122b8565b949350505050565b600061274982611fde565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361277b5761277a6124fe565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006127bc602083612481565b91506127c782612786565b602082019050919050565b600060208201905081810360008301526127eb816127af565b9050919050565b7f43616e6e6f742073656e64206e66747320746f205661756c742064697265637460008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b600061284e602383612481565b9150612859826127f2565b604082019050919050565b6000602082019050818103600083015261287d81612841565b9050919050565b60008151905061289381611fe8565b92915050565b6000602082840312156128af576128ae611ec4565b5b60006128bd84828501612884565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e6f7420746865206f776e6572206f662074686973204e46542e000000000000600082015250565b600061292b601a83612481565b9150612936826128f5565b602082019050919050565b6000602082019050818103600083015261295a8161291e565b9050919050565b600061296c82611fde565b915061297783611fde565b925082820390508181111561298f5761298e6124fe565b5b92915050565b60006129a082611fde565b91506129ab83611fde565b92508282026129b981611fde565b915082820484148315176129d0576129cf6124fe565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a1182611fde565b9150612a1c83611fde565b925082612a2c57612a2b6129d7565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a93602683612481565b9150612a9e82612a37565b604082019050919050565b60006020820190508181036000830152612ac281612a86565b9050919050565b6000604082019050612ade6000830185612420565b612aeb60208301846122b8565b9392505050565b7f6e6f7420616e206f776e65720000000000000000000000000000000000000000600082015250565b6000612b28600c83612481565b9150612b3382612af2565b602082019050919050565b60006020820190508181036000830152612b5781612b1b565b905091905056fea2646970667358221220affb9bb2142cc6caa0d872ce3c7380e2843e88f0abca590001b28352d64afd2064736f6c634300081100330000000000000000000000003acefd60d589187bc437a5dd455ef1688f722dd50000000000000000000000006f2790df69b7ffbad65addaec7acaa1fad3ad1ba
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80637e75dd60116100c3578063c1027c981161007c578063c1027c98146103db578063c1bb77fb1461040b578063c36be35714610415578063ce21c69c14610431578063e449f3411461044d578063f2fde38b1461046957610158565b80637e75dd60146102ef578063817b1cd21461031f57806381a36fb61461033d5780638462151c1461036f5780638da5cb5b1461039f578063b22a0613146103bd57610158565b80634dd12cfc116101155780634dd12cfc1461022f5780636ba4c1381461024b57806370a0823114610267578063715018a61461029757806379bf738a146102a15780637b6c920d146102d157610158565b80630fbf0a931461015d578063148773fb14610179578063150b7a02146101955780633b17c736146101c5578063438b6300146101e3578063494cf74b14610213575b600080fd5b61017760048036038101906101729190611f33565b610485565b005b610193600480360381019061018e9190611f33565b610869565b005b6101af60048036038101906101aa919061206a565b610950565b6040516101bc919061212d565b60405180910390f35b6101cd6109d3565b6040516101da9190612163565b60405180910390f35b6101fd60048036038101906101f8919061217e565b6109e6565b60405161020a9190612269565b60405180910390f35b61022d6004803603810190610228919061228b565b610ca4565b005b61024960048036038101906102449190611f33565b610d2a565b005b61026560048036038101906102609190611f33565b610e11565b005b610281600480360381019061027c919061217e565b610e22565b60405161028e91906122c7565b60405180910390f35b61029f610ed5565b005b6102bb60048036038101906102b6919061228b565b610f5d565b6040516102c89190612163565b60405180910390f35b6102d9610f7d565b6040516102e691906122c7565b60405180910390f35b610309600480360381019061030491906122e2565b610f83565b60405161031691906123c6565b60405180910390f35b6103276111ee565b60405161033491906122c7565b60405180910390f35b6103576004803603810190610352919061228b565b6111f4565b6040516103669392919061242f565b60405180910390f35b6103896004803603810190610384919061217e565b61125f565b6040516103969190612269565b60405180910390f35b6103a761144d565b6040516103b49190612466565b60405180910390f35b6103c5611476565b6040516103d291906122c7565b60405180910390f35b6103f560048036038101906103f0919061228b565b61147c565b60405161040291906122c7565b60405180910390f35b610413611494565b005b61042f600480360381019061042a91906122e2565b61153c565b005b61044b6004803603810190610446919061228b565b61154e565b005b61046760048036038101906104629190611f33565b6115d4565b005b610483600480360381019061047e919061217e565b6115e5565b005b60011515600460009054906101000a900460ff161515146104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d2906124de565b60405180910390fd5b600082829050600160008282546104f2919061252d565b9250508190555060005b838390508110156108635783838281811061051a57610519612561565b5b9050602002013591503373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161059591906122c7565b602060405180830381865afa1580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906125a5565b73ffffffffffffffffffffffffffffffffffffffff161461062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062390612644565b60405180910390fd5b60006009600084815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff1614610699576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610690906126b0565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106f8939291906126d0565b600060405180830381600087803b15801561071257600080fd5b505af1158015610726573d6000803e3d6000fd5b505050507f36b3725f1783bad4ff05b7f4c077c3aa68eeb23a4d054ba189db4d01ac278d3933834260405161075d93929190612707565b60405180910390a160405180606001604052808362ffffff1681526020014265ffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152506009600084815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050808061085b9061273e565b9150506104fc565b50505050565b6108716116dc565b73ffffffffffffffffffffffffffffffffffffffff1661088f61144d565b73ffffffffffffffffffffffffffffffffffffffff16146108e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dc906127d2565b60405180910390fd5b60005b8282905081101561094b5760006006600085858581811061090c5761090b612561565b5b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555080806109439061273e565b9150506108e8565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b790612864565b60405180910390fd5b63150b7a0260e01b905095945050505050565b600460009054906101000a900460ff1681565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610a459190612466565b602060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190612899565b905060008167ffffffffffffffff811115610aa457610aa36128c6565b5b604051908082528060200260200182016040528015610ad25781602001602082028036833780820191505090505b50905060006001905060005b8381108015610b7d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b799190612899565b8211155b15610c98576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610bdf91906122c7565b602060405180830381865afa158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2091906125a5565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c845782848381518110610c6957610c68612561565b5b6020026020010181815250508180610c809061273e565b9250505b8280610c8f9061273e565b93505050610ade565b82945050505050919050565b610cac6116dc565b73ffffffffffffffffffffffffffffffffffffffff16610cca61144d565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d17906127d2565b60405180910390fd5b8060028190555050565b610d326116dc565b73ffffffffffffffffffffffffffffffffffffffff16610d5061144d565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906127d2565b60405180910390fd5b60005b82829050811015610e0c57600160066000858585818110610dcd57610dcc612561565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e049061273e565b915050610da9565b505050565b610e1e33838360006116e4565b5050565b60008060009050600061138890506000600190505b818111610eca578473ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610eb757600183610eb4919061252d565b92505b8080610ec29061273e565b915050610e37565b508192505050919050565b610edd6116dc565b73ffffffffffffffffffffffffffffffffffffffff16610efb61144d565b73ffffffffffffffffffffffffffffffffffffffff1614610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f48906127d2565b60405180910390fd5b610f5b6000611b0a565b565b60066020528060005260406000206000915054906101000a900460ff1681565b60035481565b610f8b611ea2565b600080600090506000805b868690508110156111c057868682818110610fb457610fb3612561565b5b9050602002013593506000600960008681526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508873ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16146110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed90612941565b60405180910390fd5b6000816020015165ffffffffffff1690506006600087815260200190815260200160002060009054906101000a900460ff161561116157600354814261113c9190612961565b68056bc75e2d631000006111509190612995565b61115a9190612a06565b9350611191565b60025481426111709190612961565b68056bc75e2d631000006111849190612995565b61118e9190612a06565b93505b600a8461119e9190612a06565b856111a9919061252d565b9450505080806111b89061273e565b915050610f96565b5060008211156111e35760405180602001604052808381525093505050506111e7565b5050505b9392505050565b60015481565b60096020528060005260406000206000915090508060000160009054906101000a900462ffffff16908060000160039054906101000a900465ffffffffffff16908060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905083565b60606000611388905060008167ffffffffffffffff811115611284576112836128c6565b5b6040519080825280602002602001820160405280156112b25781602001602082028036833780820191505090505b509050600080600190505b83811161139a578573ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060000160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611387576009600082815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff1683838151811061136b5761136a612561565b5b602002602001018181525050600182611384919061252d565b91505b80806113929061273e565b9150506112bd565b5060008167ffffffffffffffff8111156113b7576113b66128c6565b5b6040519080825280602002602001820160405280156113e55781602001602082028036833780820191505090505b50905060005b828110156114405783818151811061140657611405612561565b5b602002602001015182828151811061142157611420612561565b5b60200260200101818152505080806114389061273e565b9150506113eb565b5080945050505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b60056020528060005260406000206000915090505481565b61149c6116dc565b73ffffffffffffffffffffffffffffffffffffffff166114ba61144d565b73ffffffffffffffffffffffffffffffffffffffff1614611510576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611507906127d2565b60405180910390fd5b600460009054906101000a900460ff1615600460006101000a81548160ff021916908315150217905550565b61154983838360006116e4565b505050565b6115566116dc565b73ffffffffffffffffffffffffffffffffffffffff1661157461144d565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c1906127d2565b60405180910390fd5b8060038190555050565b6115e133838360016116e4565b5050565b6115ed6116dc565b73ffffffffffffffffffffffffffffffffffffffff1661160b61144d565b73ffffffffffffffffffffffffffffffffffffffff1614611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906127d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790612aa9565b60405180910390fd5b6116d981611b0a565b50565b600033905090565b600080600090506000805b86869050811015611a1c5786868281811061170d5761170c612561565b5b9050602002013593506000600960008681526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508873ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690612941565b60405180910390fd5b6000816020015165ffffffffffff1690506006600087815260200190815260200160002060009054906101000a900460ff16156118ba5760035481426118959190612961565b68056bc75e2d631000006118a99190612995565b6118b39190612a06565b93506118ea565b60025481426118c99190612961565b68056bc75e2d631000006118dd9190612995565b6118e79190612a06565b93505b426005600088815260200190815260200160002081905550600a8461190f9190612a06565b8561191a919061252d565b945060405180606001604052808762ffffff1681526020014265ffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff168152506009600088815260200190815260200160002060008201518160000160006101000a81548162ffffff021916908362ffffff16021790555060208201518160000160036101000a81548165ffffffffffff021916908365ffffffffffff16021790555060408201518160000160096101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050508080611a149061273e565b9150506116ef565b506000821115611ab657600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1988846040518363ffffffff1660e01b8152600401611a83929190612ac9565b600060405180830381600087803b158015611a9d57600080fd5b505af1158015611ab1573d6000803e3d6000fd5b505050505b8315611ac857611ac7878787611bce565b5b7fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8783604051611af9929190612ac9565b60405180910390a150505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008282905060016000828254611be59190612961565b9250508190555060005b83839050811015611e9b57838382818110611c0d57611c0c612561565b5b9050602002013591506000600960008481526020019081526020016000206040518060600160405290816000820160009054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160039054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff1681526020016000820160099054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690612b3e565b60405180910390fd5b60096000848152602001908152602001600020600080820160006101000a81549062ffffff02191690556000820160036101000a81549065ffffffffffff02191690556000820160096101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550507fc486b9458a8637650d84d262414833a5a457bc91ae86b7da110386c8c3fa255b868442604051611dee93929190612707565b60405180910390a1600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3088866040518463ffffffff1660e01b8152600401611e55939291906126d0565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b50505050508080611e939061273e565b915050611bef565b5050505050565b6040518060200160405280600190602082028036833780820191505090505090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611ef357611ef2611ece565b5b8235905067ffffffffffffffff811115611f1057611f0f611ed3565b5b602083019150836020820283011115611f2c57611f2b611ed8565b5b9250929050565b60008060208385031215611f4a57611f49611ec4565b5b600083013567ffffffffffffffff811115611f6857611f67611ec9565b5b611f7485828601611edd565b92509250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fab82611f80565b9050919050565b611fbb81611fa0565b8114611fc657600080fd5b50565b600081359050611fd881611fb2565b92915050565b6000819050919050565b611ff181611fde565b8114611ffc57600080fd5b50565b60008135905061200e81611fe8565b92915050565b60008083601f84011261202a57612029611ece565b5b8235905067ffffffffffffffff81111561204757612046611ed3565b5b60208301915083600182028301111561206357612062611ed8565b5b9250929050565b60008060008060006080868803121561208657612085611ec4565b5b600061209488828901611fc9565b95505060206120a588828901611fc9565b94505060406120b688828901611fff565b935050606086013567ffffffffffffffff8111156120d7576120d6611ec9565b5b6120e388828901612014565b92509250509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612127816120f2565b82525050565b6000602082019050612142600083018461211e565b92915050565b60008115159050919050565b61215d81612148565b82525050565b60006020820190506121786000830184612154565b92915050565b60006020828403121561219457612193611ec4565b5b60006121a284828501611fc9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6121e081611fde565b82525050565b60006121f283836121d7565b60208301905092915050565b6000602082019050919050565b6000612216826121ab565b61222081856121b6565b935061222b836121c7565b8060005b8381101561225c57815161224388826121e6565b975061224e836121fe565b92505060018101905061222f565b5085935050505092915050565b60006020820190508181036000830152612283818461220b565b905092915050565b6000602082840312156122a1576122a0611ec4565b5b60006122af84828501611fff565b91505092915050565b6122c181611fde565b82525050565b60006020820190506122dc60008301846122b8565b92915050565b6000806000604084860312156122fb576122fa611ec4565b5b600061230986828701611fc9565b935050602084013567ffffffffffffffff81111561232a57612329611ec9565b5b61233686828701611edd565b92509250509250925092565b600060019050919050565b600081905092915050565b6000819050919050565b6000602082019050919050565b61237881612342565b612382818461234d565b925061238d82612358565b8060005b838110156123be5781516123a587826121e6565b96506123b083612362565b925050600181019050612391565b505050505050565b60006020820190506123db600083018461236f565b92915050565b600062ffffff82169050919050565b6123f9816123e1565b82525050565b600065ffffffffffff82169050919050565b61241a816123ff565b82525050565b61242981611fa0565b82525050565b600060608201905061244460008301866123f0565b6124516020830185612411565b61245e6040830184612420565b949350505050565b600060208201905061247b6000830184612420565b92915050565b600082825260208201905092915050565b7f5374616b696e67206973206e6f7420656e61626c6564207965742e0000000000600082015250565b60006124c8601b83612481565b91506124d382612492565b602082019050919050565b600060208201905081810360008301526124f7816124bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061253882611fde565b915061254383611fde565b925082820190508082111561255b5761255a6124fe565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061259f81611fb2565b92915050565b6000602082840312156125bb576125ba611ec4565b5b60006125c984828501612590565b91505092915050565b7f596f7520617265206e6f7420746865206f776e6572206f662074686973204e4660008201527f542e000000000000000000000000000000000000000000000000000000000000602082015250565b600061262e602283612481565b9150612639826125d2565b604082019050919050565b6000602082019050818103600083015261265d81612621565b9050919050565b7f546f6b656e20616c7265616479207374616b65642e0000000000000000000000600082015250565b600061269a601583612481565b91506126a582612664565b602082019050919050565b600060208201905081810360008301526126c98161268d565b9050919050565b60006060820190506126e56000830186612420565b6126f26020830185612420565b6126ff60408301846122b8565b949350505050565b600060608201905061271c6000830186612420565b61272960208301856122b8565b61273660408301846122b8565b949350505050565b600061274982611fde565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361277b5761277a6124fe565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006127bc602083612481565b91506127c782612786565b602082019050919050565b600060208201905081810360008301526127eb816127af565b9050919050565b7f43616e6e6f742073656e64206e66747320746f205661756c742064697265637460008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b600061284e602383612481565b9150612859826127f2565b604082019050919050565b6000602082019050818103600083015261287d81612841565b9050919050565b60008151905061289381611fe8565b92915050565b6000602082840312156128af576128ae611ec4565b5b60006128bd84828501612884565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e6f7420746865206f776e6572206f662074686973204e46542e000000000000600082015250565b600061292b601a83612481565b9150612936826128f5565b602082019050919050565b6000602082019050818103600083015261295a8161291e565b9050919050565b600061296c82611fde565b915061297783611fde565b925082820390508181111561298f5761298e6124fe565b5b92915050565b60006129a082611fde565b91506129ab83611fde565b92508282026129b981611fde565b915082820484148315176129d0576129cf6124fe565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a1182611fde565b9150612a1c83611fde565b925082612a2c57612a2b6129d7565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a93602683612481565b9150612a9e82612a37565b604082019050919050565b60006020820190508181036000830152612ac281612a86565b9050919050565b6000604082019050612ade6000830185612420565b612aeb60208301846122b8565b9392505050565b7f6e6f7420616e206f776e65720000000000000000000000000000000000000000600082015250565b6000612b28600c83612481565b9150612b3382612af2565b602082019050919050565b60006020820190508181036000830152612b5781612b1b565b905091905056fea2646970667358221220affb9bb2142cc6caa0d872ce3c7380e2843e88f0abca590001b28352d64afd2064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003acefd60d589187bc437a5dd455ef1688f722dd50000000000000000000000006f2790df69b7ffbad65addaec7acaa1fad3ad1ba
-----Decoded View---------------
Arg [0] : _nft (address): 0x3aCeFd60d589187bC437a5dd455eF1688F722dd5
Arg [1] : _token (address): 0x6F2790DF69B7ffbad65ADDaeC7acaA1faD3ad1Ba
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003acefd60d589187bc437a5dd455ef1688f722dd5
Arg [1] : 0000000000000000000000006f2790df69b7ffbad65addaec7acaa1fad3ad1ba
Deployed Bytecode Sourcemap
44306:7298:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45307:716;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51417:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50438:250;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44484:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49819:613;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50909:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51208:179;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46535:103;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48904:269;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;12207:103;;;:::i;:::-;;44575:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44438:39;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48026:803;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44361:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45089:38;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;49248:539;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11556:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44392:41;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44522:48;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50782:88;;;:::i;:::-;;46644:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51064:116;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46777:104;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;12465:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45307:716;45391:4;45375:20;;:12;;;;;;;;;;;:20;;;45367:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;45440:15;45477:8;;:15;;45462:11;;:30;;;;;;;:::i;:::-;;;;;;;;45506:6;45501:517;45522:8;;:15;;45518:1;:19;45501:517;;;45563:8;;45572:1;45563:11;;;;;;;:::i;:::-;;;;;;;;45553:21;;45615:10;45591:34;;:3;;;;;;;;;;;:11;;;45603:7;45591:20;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;;;45583:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;45707:1;45681:5;:14;45687:7;45681:14;;;;;;;;;;;:22;;;;;;;;;;;;:27;;;45673:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;45745:3;;;;;;;;;;;:16;;;45762:10;45782:4;45789:7;45745:52;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45811:47;45821:10;45833:7;45842:15;45811:47;;;;;;;;:::i;:::-;;;;;;;;45886:124;;;;;;;;45947:7;45886:124;;;;;;45984:15;45886:124;;;;;;45910:10;45886:124;;;;;45869:5;:14;45875:7;45869:14;;;;;;;;;;;:141;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45539:3;;;;;:::i;:::-;;;;45501:517;;;;45360:663;45307:716;;:::o;51417:182::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;51502:9:::1;51497:97;51521:8;;:15;;51517:1;:19;51497:97;;;51580:5;51554:10;:23;51565:8;;51574:1;51565:11;;;;;;;:::i;:::-;;;;;;;;51554:23;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;51538:3;;;;;:::i;:::-;;;;51497:97;;;;51417:182:::0;;:::o;50438:250::-;50544:6;50583:3;50567:20;;:4;:20;;;50559:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;50641:41;;;50634:48;;50438:250;;;;;;;:::o;44484:31::-;;;;;;;;;;;;;:::o;49819:613::-;49879:16;49904:23;49930:3;;;;;;;;;;;:13;;;49944:6;49930:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49904:47;;49958:30;50005:15;49991:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49958:63;;50028:22;50053:1;50028:26;;50061:23;50097:303;50122:15;50104;:33;:72;;;;;50159:3;;;;;;;;;;;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50141:14;:35;;50104:72;50097:303;;;50187:17;50207:3;;;;;;;;;;;:11;;;50219:14;50207:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50187:47;;50262:6;50249:19;;:9;:19;;;50245:123;;50314:14;50281:13;50295:15;50281:30;;;;;;;;:::i;:::-;;;;;;;:47;;;;;50339:17;;;;;:::i;:::-;;;;50245:123;50376:16;;;;;:::i;:::-;;;;50178:222;50097:303;;;50413:13;50406:20;;;;;;49819:613;;;:::o;50909:120::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;51010:13:::1;50989:18;:34;;;;50909:120:::0;:::o;51208:179::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;51291:9:::1;51286:96;51310:8;;:15;;51306:1;:19;51286:96;;;51369:4;51343:10;:23;51354:8;;51363:1;51354:11;;;;;;;:::i;:::-;;;;;;;;51343:23;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;51327:3;;;;;:::i;:::-;;;;51286:96;;;;51208:179:::0;;:::o;46535:103::-;46597:35;46604:10;46616:8;;46626:5;46597:6;:35::i;:::-;46535:103;;:::o;48904:269::-;48961:7;48979:15;48997:1;48979:19;;49005:14;49022:4;49005:21;;49039:6;49048:1;49039:10;;49035:114;49056:6;49051:1;:11;49035:114;;49100:7;49082:25;;:5;:8;49088:1;49082:8;;;;;;;;;;;:14;;;;;;;;;;;;:25;;;49078:64;;49131:1;49120:12;;;;;:::i;:::-;;;49078:64;49064:3;;;;;:::i;:::-;;;;49035:114;;;;49160:7;49153:14;;;;48904:269;;;:::o;12207:103::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;12272:30:::1;12299:1;12272:18;:30::i;:::-;12207:103::o:0;44575:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;44438:39::-;;;;:::o;48026:803::-;48116:22;;:::i;:::-;48148:15;48171:14;48188:1;48171:18;;48197;48233:6;48228:540;48249:8;;:15;;48245:1;:19;48228:540;;;48290:8;;48299:1;48290:11;;;;;;;:::i;:::-;;;;;;;;48280:21;;48310:19;48332:5;:14;48338:7;48332:14;;;;;;;;;;;48310:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48379:7;48363:23;;:6;:12;;;:23;;;48355:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;48426:16;48445:6;:16;;;48426:35;;;;48481:10;:19;48492:7;48481:19;;;;;;;;;;;;;;;;;;;;;48478:249;;;48578:16;;48566:8;48548:15;:26;;;;:::i;:::-;48535:9;:40;;;;:::i;:::-;:59;;;;:::i;:::-;48522:72;;48478:249;;;48696:18;;48684:8;48666:15;:26;;;;:::i;:::-;48653:9;:40;;;;:::i;:::-;:61;;;;:::i;:::-;48640:74;;48478:249;48758:2;48745:10;:15;;;;:::i;:::-;48735:25;;;;;:::i;:::-;;;48271:497;;48266:3;;;;;:::i;:::-;;;;48228:540;;;;48789:1;48780:6;:10;48776:48;;;48801:15;;;;;;;;48809:6;48801:15;;;;;;;;;;48776:48;48140:689;;;48026:803;;;;;;:::o;44361:26::-;;;;:::o;45089:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49248:539::-;49309:28;49348:14;49365:4;49348:21;;49376:20;49413:6;49399:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49376:44;;49429:13;49457:12;49472:1;49457:16;;49453:181;49486:6;49475:7;:17;49453:181;;49542:7;49518:31;;:5;:14;49524:7;49518:14;;;;;;;;;;;:20;;;;;;;;;;;;:31;;;49514:113;;49575:5;:14;49581:7;49575:14;;;;;;;;;;;:22;;;;;;;;;;;;49562:35;;:3;49566:5;49562:10;;;;;;;;:::i;:::-;;;;;;;:35;;;;;49616:1;49608:9;;;;;:::i;:::-;;;49514:113;49494:9;;;;;:::i;:::-;;;;49453:181;;;;49642:23;49682:5;49668:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49642:46;;49699:6;49695:67;49715:5;49711:1;:9;49695:67;;;49748:3;49752:1;49748:6;;;;;;;;:::i;:::-;;;;;;;;49736;49743:1;49736:9;;;;;;;;:::i;:::-;;;;;;;:18;;;;;49722:3;;;;;:::i;:::-;;;;49695:67;;;;49775:6;49768:13;;;;;;49248:539;;;:::o;11556:87::-;11602:7;11629:6;;;;;;;;;;;11622:13;;11556:87;:::o;44392:41::-;;;;:::o;44522:48::-;;;;;;;;;;;;;;;;;:::o;50782:88::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;50852:12:::1;;;;;;;;;;;50851:13;50836:12;;:28;;;;;;;;;;;;;;;;;;50782:88::o:0;46644:127::-;46733:32;46740:7;46749:8;;46759:5;46733:6;:32::i;:::-;46644:127;;;:::o;51064:116::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;51161:13:::1;51142:16;:32;;;;51064:116:::0;:::o;46777:104::-;46841:34;46848:10;46860:8;;46870:4;46841:6;:34::i;:::-;46777:104;;:::o;12465:201::-;11787:12;:10;:12::i;:::-;11776:23;;:7;:5;:7::i;:::-;:23;;;11768:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;12574:1:::1;12554:22;;:8;:22;;::::0;12546:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;12630:28;12649:8;12630:18;:28::i;:::-;12465:201:::0;:::o;10848:98::-;10901:7;10928:10;10921:17;;10848:98;:::o;46907:1088::-;47000:15;47022:14;47039:1;47022:18;;47047;47083:6;47078:738;47099:8;;:15;;47095:1;:19;47078:738;;;47140:8;;47149:1;47140:11;;;;;;;:::i;:::-;;;;;;;;47130:21;;47160:19;47182:5;:14;47188:7;47182:14;;;;;;;;;;;47160:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47229:7;47213:23;;:6;:12;;;:23;;;47205:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;47276:16;47295:6;:16;;;47276:35;;;;47331:10;:19;47342:7;47331:19;;;;;;;;;;;;;;;;;;;;;47328:249;;;47428:16;;47416:8;47398:15;:26;;;;:::i;:::-;47385:9;:40;;;;:::i;:::-;:59;;;;:::i;:::-;47372:72;;47328:249;;;47546:18;;47534:8;47516:15;:26;;;;:::i;:::-;47503:9;:40;;;;:::i;:::-;:61;;;;:::i;:::-;47490:74;;47328:249;47610:15;47585:13;:22;47599:7;47585:22;;;;;;;;;;;:40;;;;47657:2;47644:10;:15;;;;:::i;:::-;47634:25;;;;;:::i;:::-;;;47687:121;;;;;;;;47745:7;47687:121;;;;;;47782:15;47687:121;;;;;;47711:7;47687:121;;;;;47670:5;:14;47676:7;47670:14;;;;;;;;;;;:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47121:695;;47116:3;;;;;:::i;:::-;;;;47078:738;;;;47837:1;47828:6;:10;47824:60;;;47849:5;;;;;;;;;;;:10;;;47860:7;47869:6;47849:27;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47824:60;47896:8;47892:62;;;47915:31;47928:7;47937:8;;47915:12;:31::i;:::-;47892:62;47965:24;47973:7;47982:6;47965:24;;;;;;;:::i;:::-;;;;;;;;46993:1002;;;46907:1088;;;;:::o;12826:191::-;12900:16;12919:6;;;;;;;;;;;12900:25;;12945:8;12936:6;;:17;;;;;;;;;;;;;;;;;;13000:8;12969:40;;12990:8;12969:40;;;;;;;;;;;;12889:128;12826:191;:::o;46043:486::-;46127:15;46164:8;;:15;;46149:11;;:30;;;;;;;:::i;:::-;;;;;;;;46193:6;46188:336;46209:8;;:15;;46205:1;:19;46188:336;;;46250:8;;46259:1;46250:11;;;;;;;:::i;:::-;;;;;;;;46240:21;;46270:19;46292:5;:14;46298:7;46292:14;;;;;;;;;;;46270:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46339:10;46323:26;;:6;:12;;;:26;;;46315:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;46384:5;:14;46390:7;46384:14;;;;;;;;;;;;46377:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46412:46;46424:7;46433;46442:15;46412:46;;;;;;;;:::i;:::-;;;;;;;;46467:3;;;;;;;;;;;:16;;;46492:4;46499:7;46508;46467:49;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46231:293;46226:3;;;;;:::i;:::-;;;;46188:336;;;;46120:409;46043:486;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;88:117:1:-;197:1;194;187:12;211:117;320:1;317;310:12;334:117;443:1;440;433:12;457:117;566:1;563;556:12;580:117;689:1;686;679:12;720:568;793:8;803:6;853:3;846:4;838:6;834:17;830:27;820:122;;861:79;;:::i;:::-;820:122;974:6;961:20;951:30;;1004:18;996:6;993:30;990:117;;;1026:79;;:::i;:::-;990:117;1140:4;1132:6;1128:17;1116:29;;1194:3;1186:4;1178:6;1174:17;1164:8;1160:32;1157:41;1154:128;;;1201:79;;:::i;:::-;1154:128;720:568;;;;;:::o;1294:559::-;1380:6;1388;1437:2;1425:9;1416:7;1412:23;1408:32;1405:119;;;1443:79;;:::i;:::-;1405:119;1591:1;1580:9;1576:17;1563:31;1621:18;1613:6;1610:30;1607:117;;;1643:79;;:::i;:::-;1607:117;1756:80;1828:7;1819:6;1808:9;1804:22;1756:80;:::i;:::-;1738:98;;;;1534:312;1294:559;;;;;:::o;1859:126::-;1896:7;1936:42;1929:5;1925:54;1914:65;;1859:126;;;:::o;1991:96::-;2028:7;2057:24;2075:5;2057:24;:::i;:::-;2046:35;;1991:96;;;:::o;2093:122::-;2166:24;2184:5;2166:24;:::i;:::-;2159:5;2156:35;2146:63;;2205:1;2202;2195:12;2146:63;2093:122;:::o;2221:139::-;2267:5;2305:6;2292:20;2283:29;;2321:33;2348:5;2321:33;:::i;:::-;2221:139;;;;:::o;2366:77::-;2403:7;2432:5;2421:16;;2366:77;;;:::o;2449:122::-;2522:24;2540:5;2522:24;:::i;:::-;2515:5;2512:35;2502:63;;2561:1;2558;2551:12;2502:63;2449:122;:::o;2577:139::-;2623:5;2661:6;2648:20;2639:29;;2677:33;2704:5;2677:33;:::i;:::-;2577:139;;;;:::o;2735:552::-;2792:8;2802:6;2852:3;2845:4;2837:6;2833:17;2829:27;2819:122;;2860:79;;:::i;:::-;2819:122;2973:6;2960:20;2950:30;;3003:18;2995:6;2992:30;2989:117;;;3025:79;;:::i;:::-;2989:117;3139:4;3131:6;3127:17;3115:29;;3193:3;3185:4;3177:6;3173:17;3163:8;3159:32;3156:41;3153:128;;;3200:79;;:::i;:::-;3153:128;2735:552;;;;;:::o;3293:963::-;3390:6;3398;3406;3414;3422;3471:3;3459:9;3450:7;3446:23;3442:33;3439:120;;;3478:79;;:::i;:::-;3439:120;3598:1;3623:53;3668:7;3659:6;3648:9;3644:22;3623:53;:::i;:::-;3613:63;;3569:117;3725:2;3751:53;3796:7;3787:6;3776:9;3772:22;3751:53;:::i;:::-;3741:63;;3696:118;3853:2;3879:53;3924:7;3915:6;3904:9;3900:22;3879:53;:::i;:::-;3869:63;;3824:118;4009:2;3998:9;3994:18;3981:32;4040:18;4032:6;4029:30;4026:117;;;4062:79;;:::i;:::-;4026:117;4175:64;4231:7;4222:6;4211:9;4207:22;4175:64;:::i;:::-;4157:82;;;;3952:297;3293:963;;;;;;;;:::o;4262:149::-;4298:7;4338:66;4331:5;4327:78;4316:89;;4262:149;;;:::o;4417:115::-;4502:23;4519:5;4502:23;:::i;:::-;4497:3;4490:36;4417:115;;:::o;4538:218::-;4629:4;4667:2;4656:9;4652:18;4644:26;;4680:69;4746:1;4735:9;4731:17;4722:6;4680:69;:::i;:::-;4538:218;;;;:::o;4762:90::-;4796:7;4839:5;4832:13;4825:21;4814:32;;4762:90;;;:::o;4858:109::-;4939:21;4954:5;4939:21;:::i;:::-;4934:3;4927:34;4858:109;;:::o;4973:210::-;5060:4;5098:2;5087:9;5083:18;5075:26;;5111:65;5173:1;5162:9;5158:17;5149:6;5111:65;:::i;:::-;4973:210;;;;:::o;5189:329::-;5248:6;5297:2;5285:9;5276:7;5272:23;5268:32;5265:119;;;5303:79;;:::i;:::-;5265:119;5423:1;5448:53;5493:7;5484:6;5473:9;5469:22;5448:53;:::i;:::-;5438:63;;5394:117;5189:329;;;;:::o;5524:114::-;5591:6;5625:5;5619:12;5609:22;;5524:114;;;:::o;5644:184::-;5743:11;5777:6;5772:3;5765:19;5817:4;5812:3;5808:14;5793:29;;5644:184;;;;:::o;5834:132::-;5901:4;5924:3;5916:11;;5954:4;5949:3;5945:14;5937:22;;5834:132;;;:::o;5972:108::-;6049:24;6067:5;6049:24;:::i;:::-;6044:3;6037:37;5972:108;;:::o;6086:179::-;6155:10;6176:46;6218:3;6210:6;6176:46;:::i;:::-;6254:4;6249:3;6245:14;6231:28;;6086:179;;;;:::o;6271:113::-;6341:4;6373;6368:3;6364:14;6356:22;;6271:113;;;:::o;6420:732::-;6539:3;6568:54;6616:5;6568:54;:::i;:::-;6638:86;6717:6;6712:3;6638:86;:::i;:::-;6631:93;;6748:56;6798:5;6748:56;:::i;:::-;6827:7;6858:1;6843:284;6868:6;6865:1;6862:13;6843:284;;;6944:6;6938:13;6971:63;7030:3;7015:13;6971:63;:::i;:::-;6964:70;;7057:60;7110:6;7057:60;:::i;:::-;7047:70;;6903:224;6890:1;6887;6883:9;6878:14;;6843:284;;;6847:14;7143:3;7136:10;;6544:608;;;6420:732;;;;:::o;7158:373::-;7301:4;7339:2;7328:9;7324:18;7316:26;;7388:9;7382:4;7378:20;7374:1;7363:9;7359:17;7352:47;7416:108;7519:4;7510:6;7416:108;:::i;:::-;7408:116;;7158:373;;;;:::o;7537:329::-;7596:6;7645:2;7633:9;7624:7;7620:23;7616:32;7613:119;;;7651:79;;:::i;:::-;7613:119;7771:1;7796:53;7841:7;7832:6;7821:9;7817:22;7796:53;:::i;:::-;7786:63;;7742:117;7537:329;;;;:::o;7872:118::-;7959:24;7977:5;7959:24;:::i;:::-;7954:3;7947:37;7872:118;;:::o;7996:222::-;8089:4;8127:2;8116:9;8112:18;8104:26;;8140:71;8208:1;8197:9;8193:17;8184:6;8140:71;:::i;:::-;7996:222;;;;:::o;8224:704::-;8319:6;8327;8335;8384:2;8372:9;8363:7;8359:23;8355:32;8352:119;;;8390:79;;:::i;:::-;8352:119;8510:1;8535:53;8580:7;8571:6;8560:9;8556:22;8535:53;:::i;:::-;8525:63;;8481:117;8665:2;8654:9;8650:18;8637:32;8696:18;8688:6;8685:30;8682:117;;;8718:79;;:::i;:::-;8682:117;8831:80;8903:7;8894:6;8883:9;8879:22;8831:80;:::i;:::-;8813:98;;;;8608:313;8224:704;;;;;:::o;8934:104::-;8999:6;9027:4;9017:14;;8934:104;;;:::o;9044:143::-;9141:11;9178:3;9163:18;;9044:143;;;;:::o;9193:98::-;9258:4;9281:3;9273:11;;9193:98;;;:::o;9297:111::-;9365:4;9397;9392:3;9388:14;9380:22;;9297:111;;;:::o;9446:694::-;9582:52;9628:5;9582:52;:::i;:::-;9650:84;9727:6;9722:3;9650:84;:::i;:::-;9643:91;;9758:54;9806:5;9758:54;:::i;:::-;9835:7;9866:1;9851:282;9876:6;9873:1;9870:13;9851:282;;;9952:6;9946:13;9979:63;10038:3;10023:13;9979:63;:::i;:::-;9972:70;;10065:58;10116:6;10065:58;:::i;:::-;10055:68;;9911:222;9898:1;9895;9891:9;9886:14;;9851:282;;;9855:14;9558:582;;;9446:694;;:::o;10146:314::-;10285:4;10323:2;10312:9;10308:18;10300:26;;10336:117;10450:1;10439:9;10435:17;10426:6;10336:117;:::i;:::-;10146:314;;;;:::o;10466:91::-;10502:7;10542:8;10535:5;10531:20;10520:31;;10466:91;;;:::o;10563:115::-;10648:23;10665:5;10648:23;:::i;:::-;10643:3;10636:36;10563:115;;:::o;10684:97::-;10720:7;10760:14;10753:5;10749:26;10738:37;;10684:97;;;:::o;10787:115::-;10872:23;10889:5;10872:23;:::i;:::-;10867:3;10860:36;10787:115;;:::o;10908:118::-;10995:24;11013:5;10995:24;:::i;:::-;10990:3;10983:37;10908:118;;:::o;11032:434::-;11177:4;11215:2;11204:9;11200:18;11192:26;;11228:69;11294:1;11283:9;11279:17;11270:6;11228:69;:::i;:::-;11307:70;11373:2;11362:9;11358:18;11349:6;11307:70;:::i;:::-;11387:72;11455:2;11444:9;11440:18;11431:6;11387:72;:::i;:::-;11032:434;;;;;;:::o;11472:222::-;11565:4;11603:2;11592:9;11588:18;11580:26;;11616:71;11684:1;11673:9;11669:17;11660:6;11616:71;:::i;:::-;11472:222;;;;:::o;11700:169::-;11784:11;11818:6;11813:3;11806:19;11858:4;11853:3;11849:14;11834:29;;11700:169;;;;:::o;11875:177::-;12015:29;12011:1;12003:6;11999:14;11992:53;11875:177;:::o;12058:366::-;12200:3;12221:67;12285:2;12280:3;12221:67;:::i;:::-;12214:74;;12297:93;12386:3;12297:93;:::i;:::-;12415:2;12410:3;12406:12;12399:19;;12058:366;;;:::o;12430:419::-;12596:4;12634:2;12623:9;12619:18;12611:26;;12683:9;12677:4;12673:20;12669:1;12658:9;12654:17;12647:47;12711:131;12837:4;12711:131;:::i;:::-;12703:139;;12430:419;;;:::o;12855:180::-;12903:77;12900:1;12893:88;13000:4;12997:1;12990:15;13024:4;13021:1;13014:15;13041:191;13081:3;13100:20;13118:1;13100:20;:::i;:::-;13095:25;;13134:20;13152:1;13134:20;:::i;:::-;13129:25;;13177:1;13174;13170:9;13163:16;;13198:3;13195:1;13192:10;13189:36;;;13205:18;;:::i;:::-;13189:36;13041:191;;;;:::o;13238:180::-;13286:77;13283:1;13276:88;13383:4;13380:1;13373:15;13407:4;13404:1;13397:15;13424:143;13481:5;13512:6;13506:13;13497:22;;13528:33;13555:5;13528:33;:::i;:::-;13424:143;;;;:::o;13573:351::-;13643:6;13692:2;13680:9;13671:7;13667:23;13663:32;13660:119;;;13698:79;;:::i;:::-;13660:119;13818:1;13843:64;13899:7;13890:6;13879:9;13875:22;13843:64;:::i;:::-;13833:74;;13789:128;13573:351;;;;:::o;13930:221::-;14070:34;14066:1;14058:6;14054:14;14047:58;14139:4;14134:2;14126:6;14122:15;14115:29;13930:221;:::o;14157:366::-;14299:3;14320:67;14384:2;14379:3;14320:67;:::i;:::-;14313:74;;14396:93;14485:3;14396:93;:::i;:::-;14514:2;14509:3;14505:12;14498:19;;14157:366;;;:::o;14529:419::-;14695:4;14733:2;14722:9;14718:18;14710:26;;14782:9;14776:4;14772:20;14768:1;14757:9;14753:17;14746:47;14810:131;14936:4;14810:131;:::i;:::-;14802:139;;14529:419;;;:::o;14954:171::-;15094:23;15090:1;15082:6;15078:14;15071:47;14954:171;:::o;15131:366::-;15273:3;15294:67;15358:2;15353:3;15294:67;:::i;:::-;15287:74;;15370:93;15459:3;15370:93;:::i;:::-;15488:2;15483:3;15479:12;15472:19;;15131:366;;;:::o;15503:419::-;15669:4;15707:2;15696:9;15692:18;15684:26;;15756:9;15750:4;15746:20;15742:1;15731:9;15727:17;15720:47;15784:131;15910:4;15784:131;:::i;:::-;15776:139;;15503:419;;;:::o;15928:442::-;16077:4;16115:2;16104:9;16100:18;16092:26;;16128:71;16196:1;16185:9;16181:17;16172:6;16128:71;:::i;:::-;16209:72;16277:2;16266:9;16262:18;16253:6;16209:72;:::i;:::-;16291;16359:2;16348:9;16344:18;16335:6;16291:72;:::i;:::-;15928:442;;;;;;:::o;16376:::-;16525:4;16563:2;16552:9;16548:18;16540:26;;16576:71;16644:1;16633:9;16629:17;16620:6;16576:71;:::i;:::-;16657:72;16725:2;16714:9;16710:18;16701:6;16657:72;:::i;:::-;16739;16807:2;16796:9;16792:18;16783:6;16739:72;:::i;:::-;16376:442;;;;;;:::o;16824:233::-;16863:3;16886:24;16904:5;16886:24;:::i;:::-;16877:33;;16932:66;16925:5;16922:77;16919:103;;17002:18;;:::i;:::-;16919:103;17049:1;17042:5;17038:13;17031:20;;16824:233;;;:::o;17063:182::-;17203:34;17199:1;17191:6;17187:14;17180:58;17063:182;:::o;17251:366::-;17393:3;17414:67;17478:2;17473:3;17414:67;:::i;:::-;17407:74;;17490:93;17579:3;17490:93;:::i;:::-;17608:2;17603:3;17599:12;17592:19;;17251:366;;;:::o;17623:419::-;17789:4;17827:2;17816:9;17812:18;17804:26;;17876:9;17870:4;17866:20;17862:1;17851:9;17847:17;17840:47;17904:131;18030:4;17904:131;:::i;:::-;17896:139;;17623:419;;;:::o;18048:222::-;18188:34;18184:1;18176:6;18172:14;18165:58;18257:5;18252:2;18244:6;18240:15;18233:30;18048:222;:::o;18276:366::-;18418:3;18439:67;18503:2;18498:3;18439:67;:::i;:::-;18432:74;;18515:93;18604:3;18515:93;:::i;:::-;18633:2;18628:3;18624:12;18617:19;;18276:366;;;:::o;18648:419::-;18814:4;18852:2;18841:9;18837:18;18829:26;;18901:9;18895:4;18891:20;18887:1;18876:9;18872:17;18865:47;18929:131;19055:4;18929:131;:::i;:::-;18921:139;;18648:419;;;:::o;19073:143::-;19130:5;19161:6;19155:13;19146:22;;19177:33;19204:5;19177:33;:::i;:::-;19073:143;;;;:::o;19222:351::-;19292:6;19341:2;19329:9;19320:7;19316:23;19312:32;19309:119;;;19347:79;;:::i;:::-;19309:119;19467:1;19492:64;19548:7;19539:6;19528:9;19524:22;19492:64;:::i;:::-;19482:74;;19438:128;19222:351;;;;:::o;19579:180::-;19627:77;19624:1;19617:88;19724:4;19721:1;19714:15;19748:4;19745:1;19738:15;19765:176;19905:28;19901:1;19893:6;19889:14;19882:52;19765:176;:::o;19947:366::-;20089:3;20110:67;20174:2;20169:3;20110:67;:::i;:::-;20103:74;;20186:93;20275:3;20186:93;:::i;:::-;20304:2;20299:3;20295:12;20288:19;;19947:366;;;:::o;20319:419::-;20485:4;20523:2;20512:9;20508:18;20500:26;;20572:9;20566:4;20562:20;20558:1;20547:9;20543:17;20536:47;20600:131;20726:4;20600:131;:::i;:::-;20592:139;;20319:419;;;:::o;20744:194::-;20784:4;20804:20;20822:1;20804:20;:::i;:::-;20799:25;;20838:20;20856:1;20838:20;:::i;:::-;20833:25;;20882:1;20879;20875:9;20867:17;;20906:1;20900:4;20897:11;20894:37;;;20911:18;;:::i;:::-;20894:37;20744:194;;;;:::o;20944:410::-;20984:7;21007:20;21025:1;21007:20;:::i;:::-;21002:25;;21041:20;21059:1;21041:20;:::i;:::-;21036:25;;21096:1;21093;21089:9;21118:30;21136:11;21118:30;:::i;:::-;21107:41;;21297:1;21288:7;21284:15;21281:1;21278:22;21258:1;21251:9;21231:83;21208:139;;21327:18;;:::i;:::-;21208:139;20992:362;20944:410;;;;:::o;21360:180::-;21408:77;21405:1;21398:88;21505:4;21502:1;21495:15;21529:4;21526:1;21519:15;21546:185;21586:1;21603:20;21621:1;21603:20;:::i;:::-;21598:25;;21637:20;21655:1;21637:20;:::i;:::-;21632:25;;21676:1;21666:35;;21681:18;;:::i;:::-;21666:35;21723:1;21720;21716:9;21711:14;;21546:185;;;;:::o;21737:225::-;21877:34;21873:1;21865:6;21861:14;21854:58;21946:8;21941:2;21933:6;21929:15;21922:33;21737:225;:::o;21968:366::-;22110:3;22131:67;22195:2;22190:3;22131:67;:::i;:::-;22124:74;;22207:93;22296:3;22207:93;:::i;:::-;22325:2;22320:3;22316:12;22309:19;;21968:366;;;:::o;22340:419::-;22506:4;22544:2;22533:9;22529:18;22521:26;;22593:9;22587:4;22583:20;22579:1;22568:9;22564:17;22557:47;22621:131;22747:4;22621:131;:::i;:::-;22613:139;;22340:419;;;:::o;22765:332::-;22886:4;22924:2;22913:9;22909:18;22901:26;;22937:71;23005:1;22994:9;22990:17;22981:6;22937:71;:::i;:::-;23018:72;23086:2;23075:9;23071:18;23062:6;23018:72;:::i;:::-;22765:332;;;;;:::o;23103:162::-;23243:14;23239:1;23231:6;23227:14;23220:38;23103:162;:::o;23271:366::-;23413:3;23434:67;23498:2;23493:3;23434:67;:::i;:::-;23427:74;;23510:93;23599:3;23510:93;:::i;:::-;23628:2;23623:3;23619:12;23612:19;;23271:366;;;:::o;23643:419::-;23809:4;23847:2;23836:9;23832:18;23824:26;;23896:9;23890:4;23886:20;23882:1;23871:9;23867:17;23860:47;23924:131;24050:4;23924:131;:::i;:::-;23916:139;;23643:419;;;:::o
Swarm Source
ipfs://affb9bb2142cc6caa0d872ce3c7380e2843e88f0abca590001b28352d64afd20
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.