Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 90 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 16952046 | 518 days ago | IN | 0 ETH | 0.00058604 | ||||
Transfer | 16951786 | 518 days ago | IN | 0 ETH | 0.00103685 | ||||
Transfer | 16750012 | 546 days ago | IN | 0 ETH | 0.00104884 | ||||
Transfer | 16666306 | 558 days ago | IN | 0 ETH | 0.00057253 | ||||
Transfer | 16592761 | 568 days ago | IN | 0 ETH | 0.00123062 | ||||
Transfer | 16109628 | 636 days ago | IN | 0 ETH | 0.00056268 | ||||
Transfer | 16001682 | 651 days ago | IN | 0 ETH | 0.00035624 | ||||
Transfer | 15586654 | 709 days ago | IN | 0 ETH | 0.00010571 | ||||
Transfer | 15585753 | 709 days ago | IN | 0 ETH | 0.00021164 | ||||
Transfer | 15585653 | 709 days ago | IN | 0 ETH | 0.00017619 | ||||
Transfer | 15585036 | 709 days ago | IN | 0 ETH | 0.00026169 | ||||
Transfer | 15584479 | 709 days ago | IN | 0 ETH | 0.00086208 | ||||
Transfer | 15584037 | 709 days ago | IN | 0 ETH | 0.00061323 | ||||
Transfer | 15583916 | 709 days ago | IN | 0 ETH | 0.00047173 | ||||
Transfer | 15583289 | 709 days ago | IN | 0 ETH | 0.00061025 | ||||
Transfer | 15583049 | 709 days ago | IN | 0 ETH | 0.0005563 | ||||
Transfer | 15582997 | 709 days ago | IN | 0 ETH | 0.00059527 | ||||
Transfer | 15578024 | 710 days ago | IN | 0 ETH | 0.00025512 | ||||
Transfer | 15577399 | 710 days ago | IN | 0 ETH | 0.00031315 | ||||
Transfer | 15577214 | 710 days ago | IN | 0 ETH | 0.0003983 | ||||
Transfer | 15576274 | 710 days ago | IN | 0 ETH | 0.00048508 | ||||
Transfer | 15545050 | 715 days ago | IN | 0 ETH | 0.00020136 | ||||
Transfer | 15514644 | 720 days ago | IN | 0 ETH | 0.00012175 | ||||
Transfer | 15514469 | 720 days ago | IN | 0 ETH | 0.00015219 | ||||
Transfer | 15510370 | 720 days ago | IN | 0 ETH | 0.00022016 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SteamedBuns
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-28 */ // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/utils/introspection/[email protected] 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/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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/[email protected] 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/introspection/[email protected] 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/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File @openzeppelin/contracts/utils/math/[email protected] pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File contracts/SteamedBuns.sol pragma solidity >=0.8.0 <0.9.0; interface IRetroPandas { function pandasBalance(address user) external view returns(uint256); function pandanatorsBalance(address user) external view returns(uint256); } contract SteamedBuns is ERC20("Steamed Buns", "BUNS") { using SafeMath for uint256; IRetroPandas public retroPandasContract; uint256 public rewardEndTime; uint256 constant public pandasDailyRate = 10 ether; uint256 constant public pandanatorsDailyRate = 20 ether; mapping(address => uint256) public rewards; mapping(address => uint256) public lastReward; event RewardClaimed(address indexed user, uint256 reward); constructor(address retroPandas) { retroPandasContract =IRetroPandas(retroPandas); rewardEndTime = block.timestamp + 5 * 31536000; // 5 years } function registerUser(address user) external onlyContract { if (lastReward[user] == 0) { uint256 time = min(block.timestamp, rewardEndTime); lastReward[user] = time; } } function updateReward(address user) external onlyContract { uint256 timeFrom = lastReward[user]; uint256 timeTo = min(block.timestamp, rewardEndTime); uint256 pendingRewards = calcPendingRewards(user, timeFrom, timeTo); if (pendingRewards > 0) { rewards[user] += pendingRewards; } if (timeFrom != rewardEndTime) { lastReward[user] = timeTo; } } function claimReward(address user) external onlyContract { uint256 reward = rewards[user]; if (reward > 0) { rewards[user] = 0; _mint(user, reward); emit RewardClaimed(user, reward); } } function getClaimableAmount(address user) external view returns(uint256) { uint256 timeFrom = lastReward[user]; uint256 timeTo = min(block.timestamp, rewardEndTime); return rewards[user] + calcPendingRewards(user, timeFrom, timeTo); } function burn(address user, uint256 amount) external onlyContract { require(balanceOf(user) >= amount, "User don't have enough bums"); _burn(user, amount); } function calcPendingRewards(address user, uint256 timeFrom, uint256 timeTo) internal view returns (uint256) { if(timeFrom == 0) { return 0; } uint256 timeMultiplier = timeTo.sub(timeFrom).div(86400); return retroPandasContract.pandasBalance(user).mul(pandasDailyRate.mul(timeMultiplier)) + retroPandasContract.pandanatorsBalance(user).mul(pandanatorsDailyRate.mul(timeMultiplier)); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } modifier onlyContract { require(msg.sender == address(retroPandasContract), "Can be called only from contract."); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"retroPandas","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pandanatorsDailyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pandasDailyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"registerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retroPandasContract","outputs":[{"internalType":"contract IRetroPandas","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"updateReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002958380380620029588339818101604052810190620000379190620001fe565b6040518060400160405280600c81526020017f537465616d65642042756e7300000000000000000000000000000000000000008152506040518060400160405280600481526020017f42554e53000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000bb92919062000137565b508060049080519060200190620000d492919062000137565b50505080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506309660180426200012a91906200022a565b6006819055505062000373565b8280546200014590620002c5565b90600052602060002090601f016020900481019282620001695760008555620001b5565b82601f106200018457805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b457825182559160200191906001019062000197565b5b509050620001c49190620001c8565b5090565b5b80821115620001e3576000816000905550600101620001c9565b5090565b600081519050620001f88162000359565b92915050565b6000602082840312156200021157600080fd5b60006200022184828501620001e7565b91505092915050565b60006200023782620002bb565b91506200024483620002bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200027c576200027b620002fb565b5b828201905092915050565b600062000294826200029b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620002de57607f821691505b60208210811415620002f557620002f46200032a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003648162000287565b81146200037057600080fd5b50565b6125d580620003836000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a9059cbb1161007c578063a9059cbb1461038d578063b2158cd3146103bd578063d279c191146103ed578063dd62ed3e14610409578063e12f3a6114610439578063fb9ff8f41461046957610142565b806370a08231146102d557806395d89b411461030557806398451313146103235780639dc29fac14610341578063a457c2d71461035d57610142565b806323b872dd1161010a57806323b872dd146101ff578063313ce5671461022f57806337e9f64a1461024d578063395093511461026b5780633f15551d1461029b578063632447c9146102b957610142565b806306fdde03146101475780630700037d14610165578063095ea7b31461019557806318160ddd146101c55780632199d5cd146101e3575b600080fd5b61014f610487565b60405161015c9190611d84565b60405180910390f35b61017f600480360381019061017a91906119f2565b610519565b60405161018c9190611f26565b60405180910390f35b6101af60048036038101906101aa9190611aa6565b610531565b6040516101bc9190611d4e565b60405180910390f35b6101cd61054f565b6040516101da9190611f26565b60405180910390f35b6101fd60048036038101906101f891906119f2565b610559565b005b61021960048036038101906102149190611a57565b61068a565b6040516102269190611d4e565b60405180910390f35b610237610782565b6040516102449190611f41565b60405180910390f35b61025561078b565b6040516102629190611f26565b60405180910390f35b61028560048036038101906102809190611aa6565b610791565b6040516102929190611d4e565b60405180910390f35b6102a361083d565b6040516102b09190611d69565b60405180910390f35b6102d360048036038101906102ce91906119f2565b610863565b005b6102ef60048036038101906102ea91906119f2565b610a0a565b6040516102fc9190611f26565b60405180910390f35b61030d610a52565b60405161031a9190611d84565b60405180910390f35b61032b610ae4565b6040516103389190611f26565b60405180910390f35b61035b60048036038101906103569190611aa6565b610af0565b005b61037760048036038101906103729190611aa6565b610bd9565b6040516103849190611d4e565b60405180910390f35b6103a760048036038101906103a29190611aa6565b610cc4565b6040516103b49190611d4e565b60405180910390f35b6103d760048036038101906103d291906119f2565b610ce2565b6040516103e49190611f26565b60405180910390f35b610407600480360381019061040291906119f2565b610cfa565b005b610423600480360381019061041e9190611a1b565b610e79565b6040516104309190611f26565b60405180910390f35b610453600480360381019061044e91906119f2565b610f00565b6040516104609190611f26565b60405180910390f35b610471610fb3565b60405161047e9190611f26565b60405180910390f35b60606003805461049690612139565b80601f01602080910402602001604051908101604052809291908181526020018280546104c290612139565b801561050f5780601f106104e45761010080835404028352916020019161050f565b820191906000526020600020905b8154815290600101906020018083116104f257829003601f168201915b5050505050905090565b60076020528060005260406000206000915090505481565b600061054561053e610fc0565b8484610fc8565b6001905092915050565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e090611dc6565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561068757600061063f42600654611193565b905080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b50565b60006106978484846111ac565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106e2610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075990611e66565b60405180910390fd5b6107768561076e610fc0565b858403610fc8565b60019150509392505050565b60006012905090565b60065481565b600061083361079e610fc0565b8484600160006107ac610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461082e9190611f78565b610fc8565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90611dc6565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061094542600654611193565b9050600061095484848461142d565b905060008111156109b65780600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109ae9190611f78565b925050819055505b6006548314610a045781600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054610a6190612139565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d90612139565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b5050505050905090565b678ac7230489e8000081565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790611dc6565b60405180910390fd5b80610b8a83610a0a565b1015610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290611de6565b60405180910390fd5b610bd58282611630565b5050565b60008060016000610be8610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90611ee6565b60405180910390fd5b610cb9610cb0610fc0565b85858403610fc8565b600191505092915050565b6000610cd8610cd1610fc0565b84846111ac565b6001905092915050565b60086020528060005260406000206000915090505481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8190611dc6565b60405180910390fd5b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610e75576000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e268282611807565b8173ffffffffffffffffffffffffffffffffffffffff167f106f923f993c2149d49b4255ff723acafa1f2d94393f561d3eda32ae348f724182604051610e6c9190611f26565b60405180910390a25b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610f5342600654611193565b9050610f6084838361142d565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610faa9190611f78565b92505050919050565b6801158e460913d0000081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90611ec6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90611e26565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111869190611f26565b60405180910390a3505050565b60008183106111a257816111a4565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390611ea6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390611da6565b60405180910390fd5b611297838383611967565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490611e46565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113b09190611f78565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114149190611f26565b60405180910390a361142784848461196c565b50505050565b6000808314156114405760009050611629565b600061146a6201518061145c868661197190919063ffffffff16565b61198790919063ffffffff16565b905061154461148b826801158e460913d0000061199d90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637e73ee3a886040518263ffffffff1660e01b81526004016114e69190611d33565b60206040518083038186803b1580156114fe57600080fd5b505afa158015611512573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115369190611ae2565b61199d90919063ffffffff16565b61161b61156283678ac7230489e8000061199d90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343f21958896040518263ffffffff1660e01b81526004016115bd9190611d33565b60206040518083038186803b1580156115d557600080fd5b505afa1580156115e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160d9190611ae2565b61199d90919063ffffffff16565b6116259190611f78565b9150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790611e86565b60405180910390fd5b6116ac82600083611967565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990611e06565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546117899190612059565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117ee9190611f26565b60405180910390a36118028360008461196c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90611f06565b60405180910390fd5b61188360008383611967565b80600260008282546118959190611f78565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ea9190611f78565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161194f9190611f26565b60405180910390a36119636000838361196c565b5050565b505050565b505050565b6000818361197f9190612059565b905092915050565b600081836119959190611fce565b905092915050565b600081836119ab9190611fff565b905092915050565b6000813590506119c281612571565b92915050565b6000813590506119d781612588565b92915050565b6000815190506119ec81612588565b92915050565b600060208284031215611a0457600080fd5b6000611a12848285016119b3565b91505092915050565b60008060408385031215611a2e57600080fd5b6000611a3c858286016119b3565b9250506020611a4d858286016119b3565b9150509250929050565b600080600060608486031215611a6c57600080fd5b6000611a7a868287016119b3565b9350506020611a8b868287016119b3565b9250506040611a9c868287016119c8565b9150509250925092565b60008060408385031215611ab957600080fd5b6000611ac7858286016119b3565b9250506020611ad8858286016119c8565b9150509250929050565b600060208284031215611af457600080fd5b6000611b02848285016119dd565b91505092915050565b611b148161208d565b82525050565b611b238161209f565b82525050565b611b32816120e2565b82525050565b6000611b4382611f5c565b611b4d8185611f67565b9350611b5d818560208601612106565b611b66816121f8565b840191505092915050565b6000611b7e602383611f67565b9150611b8982612209565b604082019050919050565b6000611ba1602183611f67565b9150611bac82612258565b604082019050919050565b6000611bc4601b83611f67565b9150611bcf826122a7565b602082019050919050565b6000611be7602283611f67565b9150611bf2826122d0565b604082019050919050565b6000611c0a602283611f67565b9150611c158261231f565b604082019050919050565b6000611c2d602683611f67565b9150611c388261236e565b604082019050919050565b6000611c50602883611f67565b9150611c5b826123bd565b604082019050919050565b6000611c73602183611f67565b9150611c7e8261240c565b604082019050919050565b6000611c96602583611f67565b9150611ca18261245b565b604082019050919050565b6000611cb9602483611f67565b9150611cc4826124aa565b604082019050919050565b6000611cdc602583611f67565b9150611ce7826124f9565b604082019050919050565b6000611cff601f83611f67565b9150611d0a82612548565b602082019050919050565b611d1e816120cb565b82525050565b611d2d816120d5565b82525050565b6000602082019050611d486000830184611b0b565b92915050565b6000602082019050611d636000830184611b1a565b92915050565b6000602082019050611d7e6000830184611b29565b92915050565b60006020820190508181036000830152611d9e8184611b38565b905092915050565b60006020820190508181036000830152611dbf81611b71565b9050919050565b60006020820190508181036000830152611ddf81611b94565b9050919050565b60006020820190508181036000830152611dff81611bb7565b9050919050565b60006020820190508181036000830152611e1f81611bda565b9050919050565b60006020820190508181036000830152611e3f81611bfd565b9050919050565b60006020820190508181036000830152611e5f81611c20565b9050919050565b60006020820190508181036000830152611e7f81611c43565b9050919050565b60006020820190508181036000830152611e9f81611c66565b9050919050565b60006020820190508181036000830152611ebf81611c89565b9050919050565b60006020820190508181036000830152611edf81611cac565b9050919050565b60006020820190508181036000830152611eff81611ccf565b9050919050565b60006020820190508181036000830152611f1f81611cf2565b9050919050565b6000602082019050611f3b6000830184611d15565b92915050565b6000602082019050611f566000830184611d24565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611f83826120cb565b9150611f8e836120cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fc357611fc261216b565b5b828201905092915050565b6000611fd9826120cb565b9150611fe4836120cb565b925082611ff457611ff361219a565b5b828204905092915050565b600061200a826120cb565b9150612015836120cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561204e5761204d61216b565b5b828202905092915050565b6000612064826120cb565b915061206f836120cb565b9250828210156120825761208161216b565b5b828203905092915050565b6000612098826120ab565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006120ed826120f4565b9050919050565b60006120ff826120ab565b9050919050565b60005b83811015612124578082015181840152602081019050612109565b83811115612133576000848401525b50505050565b6000600282049050600182168061215157607f821691505b60208210811415612165576121646121c9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2062652063616c6c6564206f6e6c792066726f6d20636f6e747261637460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f5573657220646f6e2774206861766520656e6f7567682062756d730000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61257a8161208d565b811461258557600080fd5b50565b612591816120cb565b811461259c57600080fd5b5056fea2646970667358221220b944f2f00cfb5830234f76391588f5f84bd1a3d2ad5718626dcf2d737369549d64736f6c63430008040033000000000000000000000000dd741c2a21d3e57ec9eccba334053b66b03ef8b0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a9059cbb1161007c578063a9059cbb1461038d578063b2158cd3146103bd578063d279c191146103ed578063dd62ed3e14610409578063e12f3a6114610439578063fb9ff8f41461046957610142565b806370a08231146102d557806395d89b411461030557806398451313146103235780639dc29fac14610341578063a457c2d71461035d57610142565b806323b872dd1161010a57806323b872dd146101ff578063313ce5671461022f57806337e9f64a1461024d578063395093511461026b5780633f15551d1461029b578063632447c9146102b957610142565b806306fdde03146101475780630700037d14610165578063095ea7b31461019557806318160ddd146101c55780632199d5cd146101e3575b600080fd5b61014f610487565b60405161015c9190611d84565b60405180910390f35b61017f600480360381019061017a91906119f2565b610519565b60405161018c9190611f26565b60405180910390f35b6101af60048036038101906101aa9190611aa6565b610531565b6040516101bc9190611d4e565b60405180910390f35b6101cd61054f565b6040516101da9190611f26565b60405180910390f35b6101fd60048036038101906101f891906119f2565b610559565b005b61021960048036038101906102149190611a57565b61068a565b6040516102269190611d4e565b60405180910390f35b610237610782565b6040516102449190611f41565b60405180910390f35b61025561078b565b6040516102629190611f26565b60405180910390f35b61028560048036038101906102809190611aa6565b610791565b6040516102929190611d4e565b60405180910390f35b6102a361083d565b6040516102b09190611d69565b60405180910390f35b6102d360048036038101906102ce91906119f2565b610863565b005b6102ef60048036038101906102ea91906119f2565b610a0a565b6040516102fc9190611f26565b60405180910390f35b61030d610a52565b60405161031a9190611d84565b60405180910390f35b61032b610ae4565b6040516103389190611f26565b60405180910390f35b61035b60048036038101906103569190611aa6565b610af0565b005b61037760048036038101906103729190611aa6565b610bd9565b6040516103849190611d4e565b60405180910390f35b6103a760048036038101906103a29190611aa6565b610cc4565b6040516103b49190611d4e565b60405180910390f35b6103d760048036038101906103d291906119f2565b610ce2565b6040516103e49190611f26565b60405180910390f35b610407600480360381019061040291906119f2565b610cfa565b005b610423600480360381019061041e9190611a1b565b610e79565b6040516104309190611f26565b60405180910390f35b610453600480360381019061044e91906119f2565b610f00565b6040516104609190611f26565b60405180910390f35b610471610fb3565b60405161047e9190611f26565b60405180910390f35b60606003805461049690612139565b80601f01602080910402602001604051908101604052809291908181526020018280546104c290612139565b801561050f5780601f106104e45761010080835404028352916020019161050f565b820191906000526020600020905b8154815290600101906020018083116104f257829003601f168201915b5050505050905090565b60076020528060005260406000206000915090505481565b600061054561053e610fc0565b8484610fc8565b6001905092915050565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e090611dc6565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561068757600061063f42600654611193565b905080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b50565b60006106978484846111ac565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106e2610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075990611e66565b60405180910390fd5b6107768561076e610fc0565b858403610fc8565b60019150509392505050565b60006012905090565b60065481565b600061083361079e610fc0565b8484600160006107ac610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461082e9190611f78565b610fc8565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90611dc6565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061094542600654611193565b9050600061095484848461142d565b905060008111156109b65780600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109ae9190611f78565b925050819055505b6006548314610a045781600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054610a6190612139565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d90612139565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b5050505050905090565b678ac7230489e8000081565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790611dc6565b60405180910390fd5b80610b8a83610a0a565b1015610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290611de6565b60405180910390fd5b610bd58282611630565b5050565b60008060016000610be8610fc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90611ee6565b60405180910390fd5b610cb9610cb0610fc0565b85858403610fc8565b600191505092915050565b6000610cd8610cd1610fc0565b84846111ac565b6001905092915050565b60086020528060005260406000206000915090505481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8190611dc6565b60405180910390fd5b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610e75576000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e268282611807565b8173ffffffffffffffffffffffffffffffffffffffff167f106f923f993c2149d49b4255ff723acafa1f2d94393f561d3eda32ae348f724182604051610e6c9190611f26565b60405180910390a25b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610f5342600654611193565b9050610f6084838361142d565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610faa9190611f78565b92505050919050565b6801158e460913d0000081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90611ec6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90611e26565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111869190611f26565b60405180910390a3505050565b60008183106111a257816111a4565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390611ea6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390611da6565b60405180910390fd5b611297838383611967565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490611e46565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113b09190611f78565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114149190611f26565b60405180910390a361142784848461196c565b50505050565b6000808314156114405760009050611629565b600061146a6201518061145c868661197190919063ffffffff16565b61198790919063ffffffff16565b905061154461148b826801158e460913d0000061199d90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637e73ee3a886040518263ffffffff1660e01b81526004016114e69190611d33565b60206040518083038186803b1580156114fe57600080fd5b505afa158015611512573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115369190611ae2565b61199d90919063ffffffff16565b61161b61156283678ac7230489e8000061199d90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343f21958896040518263ffffffff1660e01b81526004016115bd9190611d33565b60206040518083038186803b1580156115d557600080fd5b505afa1580156115e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160d9190611ae2565b61199d90919063ffffffff16565b6116259190611f78565b9150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790611e86565b60405180910390fd5b6116ac82600083611967565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990611e06565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546117899190612059565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117ee9190611f26565b60405180910390a36118028360008461196c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90611f06565b60405180910390fd5b61188360008383611967565b80600260008282546118959190611f78565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ea9190611f78565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161194f9190611f26565b60405180910390a36119636000838361196c565b5050565b505050565b505050565b6000818361197f9190612059565b905092915050565b600081836119959190611fce565b905092915050565b600081836119ab9190611fff565b905092915050565b6000813590506119c281612571565b92915050565b6000813590506119d781612588565b92915050565b6000815190506119ec81612588565b92915050565b600060208284031215611a0457600080fd5b6000611a12848285016119b3565b91505092915050565b60008060408385031215611a2e57600080fd5b6000611a3c858286016119b3565b9250506020611a4d858286016119b3565b9150509250929050565b600080600060608486031215611a6c57600080fd5b6000611a7a868287016119b3565b9350506020611a8b868287016119b3565b9250506040611a9c868287016119c8565b9150509250925092565b60008060408385031215611ab957600080fd5b6000611ac7858286016119b3565b9250506020611ad8858286016119c8565b9150509250929050565b600060208284031215611af457600080fd5b6000611b02848285016119dd565b91505092915050565b611b148161208d565b82525050565b611b238161209f565b82525050565b611b32816120e2565b82525050565b6000611b4382611f5c565b611b4d8185611f67565b9350611b5d818560208601612106565b611b66816121f8565b840191505092915050565b6000611b7e602383611f67565b9150611b8982612209565b604082019050919050565b6000611ba1602183611f67565b9150611bac82612258565b604082019050919050565b6000611bc4601b83611f67565b9150611bcf826122a7565b602082019050919050565b6000611be7602283611f67565b9150611bf2826122d0565b604082019050919050565b6000611c0a602283611f67565b9150611c158261231f565b604082019050919050565b6000611c2d602683611f67565b9150611c388261236e565b604082019050919050565b6000611c50602883611f67565b9150611c5b826123bd565b604082019050919050565b6000611c73602183611f67565b9150611c7e8261240c565b604082019050919050565b6000611c96602583611f67565b9150611ca18261245b565b604082019050919050565b6000611cb9602483611f67565b9150611cc4826124aa565b604082019050919050565b6000611cdc602583611f67565b9150611ce7826124f9565b604082019050919050565b6000611cff601f83611f67565b9150611d0a82612548565b602082019050919050565b611d1e816120cb565b82525050565b611d2d816120d5565b82525050565b6000602082019050611d486000830184611b0b565b92915050565b6000602082019050611d636000830184611b1a565b92915050565b6000602082019050611d7e6000830184611b29565b92915050565b60006020820190508181036000830152611d9e8184611b38565b905092915050565b60006020820190508181036000830152611dbf81611b71565b9050919050565b60006020820190508181036000830152611ddf81611b94565b9050919050565b60006020820190508181036000830152611dff81611bb7565b9050919050565b60006020820190508181036000830152611e1f81611bda565b9050919050565b60006020820190508181036000830152611e3f81611bfd565b9050919050565b60006020820190508181036000830152611e5f81611c20565b9050919050565b60006020820190508181036000830152611e7f81611c43565b9050919050565b60006020820190508181036000830152611e9f81611c66565b9050919050565b60006020820190508181036000830152611ebf81611c89565b9050919050565b60006020820190508181036000830152611edf81611cac565b9050919050565b60006020820190508181036000830152611eff81611ccf565b9050919050565b60006020820190508181036000830152611f1f81611cf2565b9050919050565b6000602082019050611f3b6000830184611d15565b92915050565b6000602082019050611f566000830184611d24565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611f83826120cb565b9150611f8e836120cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fc357611fc261216b565b5b828201905092915050565b6000611fd9826120cb565b9150611fe4836120cb565b925082611ff457611ff361219a565b5b828204905092915050565b600061200a826120cb565b9150612015836120cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561204e5761204d61216b565b5b828202905092915050565b6000612064826120cb565b915061206f836120cb565b9250828210156120825761208161216b565b5b828203905092915050565b6000612098826120ab565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006120ed826120f4565b9050919050565b60006120ff826120ab565b9050919050565b60005b83811015612124578082015181840152602081019050612109565b83811115612133576000848401525b50505050565b6000600282049050600182168061215157607f821691505b60208210811415612165576121646121c9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e2062652063616c6c6564206f6e6c792066726f6d20636f6e747261637460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f5573657220646f6e2774206861766520656e6f7567682062756d730000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61257a8161208d565b811461258557600080fd5b50565b612591816120cb565b811461259c57600080fd5b5056fea2646970667358221220b944f2f00cfb5830234f76391588f5f84bd1a3d2ad5718626dcf2d737369549d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dd741c2a21d3e57ec9eccba334053b66b03ef8b0
-----Decoded View---------------
Arg [0] : retroPandas (address): 0xdD741C2a21d3E57ec9ECCbA334053b66b03EF8b0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000dd741c2a21d3e57ec9eccba334053b66b03ef8b0
Deployed Bytecode Sourcemap
65939:2533:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55724:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66220:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57891:169;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56844:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66546:196;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;58542:492;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56686:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66073:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59443:215;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66030:39;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66748:402;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57015:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55943:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66105:50;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67631:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60161:413;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57355:175;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66266:45;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67156:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57593:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67376:250;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66160:55;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55724:100;55778:13;55811:5;55804:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55724:100;:::o;66220:42::-;;;;;;;;;;;;;;;;;:::o;57891:169::-;57974:4;57991:39;58000:12;:10;:12::i;:::-;58014:7;58023:6;57991:8;:39::i;:::-;58048:4;58041:11;;57891:169;;;;:::o;56844:108::-;56905:7;56932:12;;56925:19;;56844:108;:::o;66546:196::-;68397:19;;;;;;;;;;;68375:42;;:10;:42;;;68367:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;66635:1:::1;66615:10;:16;66626:4;66615:16;;;;;;;;;;;;;;;;:21;66611:126;;;66647:12;66662:35;66666:15;66683:13;;66662:3;:35::i;:::-;66647:50;;66725:4;66706:10;:16;66717:4;66706:16;;;;;;;;;;;;;;;:23;;;;66611:126;;66546:196:::0;:::o;58542:492::-;58682:4;58699:36;58709:6;58717:9;58728:6;58699:9;:36::i;:::-;58748:24;58775:11;:19;58787:6;58775:19;;;;;;;;;;;;;;;:33;58795:12;:10;:12::i;:::-;58775:33;;;;;;;;;;;;;;;;58748:60;;58847:6;58827:16;:26;;58819:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;58934:57;58943:6;58951:12;:10;:12::i;:::-;58984:6;58965:16;:25;58934:8;:57::i;:::-;59022:4;59015:11;;;58542:492;;;;;:::o;56686:93::-;56744:5;56769:2;56762:9;;56686:93;:::o;66073:28::-;;;;:::o;59443:215::-;59531:4;59548:80;59557:12;:10;:12::i;:::-;59571:7;59617:10;59580:11;:25;59592:12;:10;:12::i;:::-;59580:25;;;;;;;;;;;;;;;:34;59606:7;59580:34;;;;;;;;;;;;;;;;:47;;;;:::i;:::-;59548:8;:80::i;:::-;59646:4;59639:11;;59443:215;;;;:::o;66030:39::-;;;;;;;;;;;;;:::o;66748:402::-;68397:19;;;;;;;;;;;68375:42;;:10;:42;;;68367:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;66815:16:::1;66834:10;:16;66845:4;66834:16;;;;;;;;;;;;;;;;66815:35;;66859:14;66876:35;66880:15;66897:13;;66876:3;:35::i;:::-;66859:52;;66922:22;66947:42;66966:4;66972:8;66982:6;66947:18;:42::i;:::-;66922:67;;67016:1;66999:14;:18;66995:72;;;67043:14;67026:7;:13;67034:4;67026:13;;;;;;;;;;;;;;;;:31;;;;;;;:::i;:::-;;;;;;;;66995:72;67088:13;;67076:8;:25;67072:73;;67129:6;67110:10;:16;67121:4;67110:16;;;;;;;;;;;;;;;:25;;;;67072:73;68462:1;;;66748:402:::0;:::o;57015:127::-;57089:7;57116:9;:18;57126:7;57116:18;;;;;;;;;;;;;;;;57109:25;;57015:127;;;:::o;55943:104::-;55999:13;56032:7;56025:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55943:104;:::o;66105:50::-;66147:8;66105:50;:::o;67631:170::-;68397:19;;;;;;;;;;;68375:42;;:10;:42;;;68367:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;67731:6:::1;67712:15;67722:4;67712:9;:15::i;:::-;:25;;67704:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;67776:19;67782:4;67788:6;67776:5;:19::i;:::-;67631:170:::0;;:::o;60161:413::-;60254:4;60271:24;60298:11;:25;60310:12;:10;:12::i;:::-;60298:25;;;;;;;;;;;;;;;:34;60324:7;60298:34;;;;;;;;;;;;;;;;60271:61;;60371:15;60351:16;:35;;60343:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;60464:67;60473:12;:10;:12::i;:::-;60487:7;60515:15;60496:16;:34;60464:8;:67::i;:::-;60562:4;60555:11;;;60161:413;;;;:::o;57355:175::-;57441:4;57458:42;57468:12;:10;:12::i;:::-;57482:9;57493:6;57458:9;:42::i;:::-;57518:4;57511:11;;57355:175;;;;:::o;66266:45::-;;;;;;;;;;;;;;;;;:::o;67156:212::-;68397:19;;;;;;;;;;;68375:42;;:10;:42;;;68367:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;67220:14:::1;67237:7;:13;67245:4;67237:13;;;;;;;;;;;;;;;;67220:30;;67268:1;67259:6;:10;67255:108;;;67293:1;67277:7;:13;67285:4;67277:13;;;;;;;;;;;;;;;:17;;;;67300:19;67306:4;67312:6;67300:5;:19::i;:::-;67344:4;67330:27;;;67350:6;67330:27;;;;;;:::i;:::-;;;;;;;;67255:108;68462:1;67156:212:::0;:::o;57593:151::-;57682:7;57709:11;:18;57721:5;57709:18;;;;;;;;;;;;;;;:27;57728:7;57709:27;;;;;;;;;;;;;;;;57702:34;;57593:151;;;;:::o;67376:250::-;67440:7;67456:16;67475:10;:16;67486:4;67475:16;;;;;;;;;;;;;;;;67456:35;;67498:14;67515:35;67519:15;67536:13;;67515:3;:35::i;:::-;67498:52;;67578:42;67597:4;67603:8;67613:6;67578:18;:42::i;:::-;67562:7;:13;67570:4;67562:13;;;;;;;;;;;;;;;;:58;;;;:::i;:::-;67555:65;;;;67376:250;;;:::o;66160:55::-;66207:8;66160:55;:::o;662:98::-;715:7;742:10;735:17;;662:98;:::o;63845:380::-;63998:1;63981:19;;:5;:19;;;;63973:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;64079:1;64060:21;;:7;:21;;;;64052:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;64163:6;64133:11;:18;64145:5;64133:18;;;;;;;;;;;;;;;:27;64152:7;64133:27;;;;;;;;;;;;;;;:36;;;;64201:7;64185:32;;64194:5;64185:32;;;64210:6;64185:32;;;;;;:::i;:::-;;;;;;;;63845:380;;;:::o;68235:97::-;68293:7;68318:1;68314;:5;:13;;68326:1;68314:13;;;68322:1;68314:13;68307:20;;68235:97;;;;:::o;61064:733::-;61222:1;61204:20;;:6;:20;;;;61196:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;61306:1;61285:23;;:9;:23;;;;61277:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;61361:47;61382:6;61390:9;61401:6;61361:20;:47::i;:::-;61421:21;61445:9;:17;61455:6;61445:17;;;;;;;;;;;;;;;;61421:41;;61498:6;61481:13;:23;;61473:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;61619:6;61603:13;:22;61583:9;:17;61593:6;61583:17;;;;;;;;;;;;;;;:42;;;;61671:6;61647:9;:20;61657:9;61647:20;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;61712:9;61695:35;;61704:6;61695:35;;;61723:6;61695:35;;;;;;:::i;:::-;;;;;;;;61743:46;61763:6;61771:9;61782:6;61743:19;:46::i;:::-;61064:733;;;;:::o;67807:421::-;67906:7;67937:1;67925:8;:13;67922:43;;;67956:1;67949:8;;;;67922:43;67971:22;67996:31;68021:5;67996:20;68007:8;67996:6;:10;;:20;;;;:::i;:::-;:24;;:31;;;;:::i;:::-;67971:56;;68133:90;68182:40;68207:14;66207:8;68182:24;;:40;;;;:::i;:::-;68133:19;;;;;;;;;;;:38;;;68172:4;68133:44;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;:90;;;;:::i;:::-;68039:80;68083:35;68103:14;66147:8;68083:19;;:35;;;;:::i;:::-;68039:19;;;;;;;;;;;:33;;;68073:4;68039:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:43;;:80;;;;:::i;:::-;:184;;;;:::i;:::-;68032:191;;;67807:421;;;;;;:::o;62816:591::-;62919:1;62900:21;;:7;:21;;;;62892:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;62972:49;62993:7;63010:1;63014:6;62972:20;:49::i;:::-;63034:22;63059:9;:18;63069:7;63059:18;;;;;;;;;;;;;;;;63034:43;;63114:6;63096:14;:24;;63088:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;63233:6;63216:14;:23;63195:9;:18;63205:7;63195:18;;;;;;;;;;;;;;;:44;;;;63277:6;63261:12;;:22;;;;;;;:::i;:::-;;;;;;;;63327:1;63301:37;;63310:7;63301:37;;;63331:6;63301:37;;;;;;:::i;:::-;;;;;;;;63351:48;63371:7;63388:1;63392:6;63351:19;:48::i;:::-;62816:591;;;:::o;62084:399::-;62187:1;62168:21;;:7;:21;;;;62160:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;62238:49;62267:1;62271:7;62280:6;62238:20;:49::i;:::-;62316:6;62300:12;;:22;;;;;;;:::i;:::-;;;;;;;;62355:6;62333:9;:18;62343:7;62333:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;62398:7;62377:37;;62394:1;62377:37;;;62407:6;62377:37;;;;;;:::i;:::-;;;;;;;;62427:48;62455:1;62459:7;62468:6;62427:19;:48::i;:::-;62084:399;;:::o;64825:125::-;;;;:::o;65554:124::-;;;;:::o;46365:98::-;46423:7;46454:1;46450;:5;;;;:::i;:::-;46443:12;;46365:98;;;;:::o;47121:::-;47179:7;47210:1;47206;:5;;;;:::i;:::-;47199:12;;47121:98;;;;:::o;46722:::-;46780:7;46811:1;46807;:5;;;;:::i;:::-;46800:12;;46722:98;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:139::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;204:87;;;;:::o;297:143::-;354:5;385:6;379:13;370:22;;401:33;428:5;401:33;:::i;:::-;360:80;;;;:::o;446:262::-;505:6;554:2;542:9;533:7;529:23;525:32;522:2;;;570:1;567;560:12;522:2;613:1;638:53;683:7;674:6;663:9;659:22;638:53;:::i;:::-;628:63;;584:117;512:196;;;;:::o;714:407::-;782:6;790;839:2;827:9;818:7;814:23;810:32;807:2;;;855:1;852;845:12;807:2;898:1;923:53;968:7;959:6;948:9;944:22;923:53;:::i;:::-;913:63;;869:117;1025:2;1051:53;1096:7;1087:6;1076:9;1072:22;1051:53;:::i;:::-;1041:63;;996:118;797:324;;;;;:::o;1127:552::-;1204:6;1212;1220;1269:2;1257:9;1248:7;1244:23;1240:32;1237:2;;;1285:1;1282;1275:12;1237:2;1328:1;1353:53;1398:7;1389:6;1378:9;1374:22;1353:53;:::i;:::-;1343:63;;1299:117;1455:2;1481:53;1526:7;1517:6;1506:9;1502:22;1481:53;:::i;:::-;1471:63;;1426:118;1583:2;1609:53;1654:7;1645:6;1634:9;1630:22;1609:53;:::i;:::-;1599:63;;1554:118;1227:452;;;;;:::o;1685:407::-;1753:6;1761;1810:2;1798:9;1789:7;1785:23;1781:32;1778:2;;;1826:1;1823;1816:12;1778:2;1869:1;1894:53;1939:7;1930:6;1919:9;1915:22;1894:53;:::i;:::-;1884:63;;1840:117;1996:2;2022:53;2067:7;2058:6;2047:9;2043:22;2022:53;:::i;:::-;2012:63;;1967:118;1768:324;;;;;:::o;2098:284::-;2168:6;2217:2;2205:9;2196:7;2192:23;2188:32;2185:2;;;2233:1;2230;2223:12;2185:2;2276:1;2301:64;2357:7;2348:6;2337:9;2333:22;2301:64;:::i;:::-;2291:74;;2247:128;2175:207;;;;:::o;2388:118::-;2475:24;2493:5;2475:24;:::i;:::-;2470:3;2463:37;2453:53;;:::o;2512:109::-;2593:21;2608:5;2593:21;:::i;:::-;2588:3;2581:34;2571:50;;:::o;2627:173::-;2735:58;2787:5;2735:58;:::i;:::-;2730:3;2723:71;2713:87;;:::o;2806:364::-;2894:3;2922:39;2955:5;2922:39;:::i;:::-;2977:71;3041:6;3036:3;2977:71;:::i;:::-;2970:78;;3057:52;3102:6;3097:3;3090:4;3083:5;3079:16;3057:52;:::i;:::-;3134:29;3156:6;3134:29;:::i;:::-;3129:3;3125:39;3118:46;;2898:272;;;;;:::o;3176:366::-;3318:3;3339:67;3403:2;3398:3;3339:67;:::i;:::-;3332:74;;3415:93;3504:3;3415:93;:::i;:::-;3533:2;3528:3;3524:12;3517:19;;3322:220;;;:::o;3548:366::-;3690:3;3711:67;3775:2;3770:3;3711:67;:::i;:::-;3704:74;;3787:93;3876:3;3787:93;:::i;:::-;3905:2;3900:3;3896:12;3889:19;;3694:220;;;:::o;3920:366::-;4062:3;4083:67;4147:2;4142:3;4083:67;:::i;:::-;4076:74;;4159:93;4248:3;4159:93;:::i;:::-;4277:2;4272:3;4268:12;4261:19;;4066:220;;;:::o;4292:366::-;4434:3;4455:67;4519:2;4514:3;4455:67;:::i;:::-;4448:74;;4531:93;4620:3;4531:93;:::i;:::-;4649:2;4644:3;4640:12;4633:19;;4438:220;;;:::o;4664:366::-;4806:3;4827:67;4891:2;4886:3;4827:67;:::i;:::-;4820:74;;4903:93;4992:3;4903:93;:::i;:::-;5021:2;5016:3;5012:12;5005:19;;4810:220;;;:::o;5036:366::-;5178:3;5199:67;5263:2;5258:3;5199:67;:::i;:::-;5192:74;;5275:93;5364:3;5275:93;:::i;:::-;5393:2;5388:3;5384:12;5377:19;;5182:220;;;:::o;5408:366::-;5550:3;5571:67;5635:2;5630:3;5571:67;:::i;:::-;5564:74;;5647:93;5736:3;5647:93;:::i;:::-;5765:2;5760:3;5756:12;5749:19;;5554:220;;;:::o;5780:366::-;5922:3;5943:67;6007:2;6002:3;5943:67;:::i;:::-;5936:74;;6019:93;6108:3;6019:93;:::i;:::-;6137:2;6132:3;6128:12;6121:19;;5926:220;;;:::o;6152:366::-;6294:3;6315:67;6379:2;6374:3;6315:67;:::i;:::-;6308:74;;6391:93;6480:3;6391:93;:::i;:::-;6509:2;6504:3;6500:12;6493:19;;6298:220;;;:::o;6524:366::-;6666:3;6687:67;6751:2;6746:3;6687:67;:::i;:::-;6680:74;;6763:93;6852:3;6763:93;:::i;:::-;6881:2;6876:3;6872:12;6865:19;;6670:220;;;:::o;6896:366::-;7038:3;7059:67;7123:2;7118:3;7059:67;:::i;:::-;7052:74;;7135:93;7224:3;7135:93;:::i;:::-;7253:2;7248:3;7244:12;7237:19;;7042:220;;;:::o;7268:366::-;7410:3;7431:67;7495:2;7490:3;7431:67;:::i;:::-;7424:74;;7507:93;7596:3;7507:93;:::i;:::-;7625:2;7620:3;7616:12;7609:19;;7414:220;;;:::o;7640:118::-;7727:24;7745:5;7727:24;:::i;:::-;7722:3;7715:37;7705:53;;:::o;7764:112::-;7847:22;7863:5;7847:22;:::i;:::-;7842:3;7835:35;7825:51;;:::o;7882:222::-;7975:4;8013:2;8002:9;7998:18;7990:26;;8026:71;8094:1;8083:9;8079:17;8070:6;8026:71;:::i;:::-;7980:124;;;;:::o;8110:210::-;8197:4;8235:2;8224:9;8220:18;8212:26;;8248:65;8310:1;8299:9;8295:17;8286:6;8248:65;:::i;:::-;8202:118;;;;:::o;8326:264::-;8440:4;8478:2;8467:9;8463:18;8455:26;;8491:92;8580:1;8569:9;8565:17;8556:6;8491:92;:::i;:::-;8445:145;;;;:::o;8596:313::-;8709:4;8747:2;8736:9;8732:18;8724:26;;8796:9;8790:4;8786:20;8782:1;8771:9;8767:17;8760:47;8824:78;8897:4;8888:6;8824:78;:::i;:::-;8816:86;;8714:195;;;;:::o;8915:419::-;9081:4;9119:2;9108:9;9104:18;9096:26;;9168:9;9162:4;9158:20;9154:1;9143:9;9139:17;9132:47;9196:131;9322:4;9196:131;:::i;:::-;9188:139;;9086:248;;;:::o;9340:419::-;9506:4;9544:2;9533:9;9529:18;9521:26;;9593:9;9587:4;9583:20;9579:1;9568:9;9564:17;9557:47;9621:131;9747:4;9621:131;:::i;:::-;9613:139;;9511:248;;;:::o;9765:419::-;9931:4;9969:2;9958:9;9954:18;9946:26;;10018:9;10012:4;10008:20;10004:1;9993:9;9989:17;9982:47;10046:131;10172:4;10046:131;:::i;:::-;10038:139;;9936:248;;;:::o;10190:419::-;10356:4;10394:2;10383:9;10379:18;10371:26;;10443:9;10437:4;10433:20;10429:1;10418:9;10414:17;10407:47;10471:131;10597:4;10471:131;:::i;:::-;10463:139;;10361:248;;;:::o;10615:419::-;10781:4;10819:2;10808:9;10804:18;10796:26;;10868:9;10862:4;10858:20;10854:1;10843:9;10839:17;10832:47;10896:131;11022:4;10896:131;:::i;:::-;10888:139;;10786:248;;;:::o;11040:419::-;11206:4;11244:2;11233:9;11229:18;11221:26;;11293:9;11287:4;11283:20;11279:1;11268:9;11264:17;11257:47;11321:131;11447:4;11321:131;:::i;:::-;11313:139;;11211:248;;;:::o;11465:419::-;11631:4;11669:2;11658:9;11654:18;11646:26;;11718:9;11712:4;11708:20;11704:1;11693:9;11689:17;11682:47;11746:131;11872:4;11746:131;:::i;:::-;11738:139;;11636:248;;;:::o;11890:419::-;12056:4;12094:2;12083:9;12079:18;12071:26;;12143:9;12137:4;12133:20;12129:1;12118:9;12114:17;12107:47;12171:131;12297:4;12171:131;:::i;:::-;12163:139;;12061:248;;;:::o;12315:419::-;12481:4;12519:2;12508:9;12504:18;12496:26;;12568:9;12562:4;12558:20;12554:1;12543:9;12539:17;12532:47;12596:131;12722:4;12596:131;:::i;:::-;12588:139;;12486:248;;;:::o;12740:419::-;12906:4;12944:2;12933:9;12929:18;12921:26;;12993:9;12987:4;12983:20;12979:1;12968:9;12964:17;12957:47;13021:131;13147:4;13021:131;:::i;:::-;13013:139;;12911:248;;;:::o;13165:419::-;13331:4;13369:2;13358:9;13354:18;13346:26;;13418:9;13412:4;13408:20;13404:1;13393:9;13389:17;13382:47;13446:131;13572:4;13446:131;:::i;:::-;13438:139;;13336:248;;;:::o;13590:419::-;13756:4;13794:2;13783:9;13779:18;13771:26;;13843:9;13837:4;13833:20;13829:1;13818:9;13814:17;13807:47;13871:131;13997:4;13871:131;:::i;:::-;13863:139;;13761:248;;;:::o;14015:222::-;14108:4;14146:2;14135:9;14131:18;14123:26;;14159:71;14227:1;14216:9;14212:17;14203:6;14159:71;:::i;:::-;14113:124;;;;:::o;14243:214::-;14332:4;14370:2;14359:9;14355:18;14347:26;;14383:67;14447:1;14436:9;14432:17;14423:6;14383:67;:::i;:::-;14337:120;;;;:::o;14463:99::-;14515:6;14549:5;14543:12;14533:22;;14522:40;;;:::o;14568:169::-;14652:11;14686:6;14681:3;14674:19;14726:4;14721:3;14717:14;14702:29;;14664:73;;;;:::o;14743:305::-;14783:3;14802:20;14820:1;14802:20;:::i;:::-;14797:25;;14836:20;14854:1;14836:20;:::i;:::-;14831:25;;14990:1;14922:66;14918:74;14915:1;14912:81;14909:2;;;14996:18;;:::i;:::-;14909:2;15040:1;15037;15033:9;15026:16;;14787:261;;;;:::o;15054:185::-;15094:1;15111:20;15129:1;15111:20;:::i;:::-;15106:25;;15145:20;15163:1;15145:20;:::i;:::-;15140:25;;15184:1;15174:2;;15189:18;;:::i;:::-;15174:2;15231:1;15228;15224:9;15219:14;;15096:143;;;;:::o;15245:348::-;15285:7;15308:20;15326:1;15308:20;:::i;:::-;15303:25;;15342:20;15360:1;15342:20;:::i;:::-;15337:25;;15530:1;15462:66;15458:74;15455:1;15452:81;15447:1;15440:9;15433:17;15429:105;15426:2;;;15537:18;;:::i;:::-;15426:2;15585:1;15582;15578:9;15567:20;;15293:300;;;;:::o;15599:191::-;15639:4;15659:20;15677:1;15659:20;:::i;:::-;15654:25;;15693:20;15711:1;15693:20;:::i;:::-;15688:25;;15732:1;15729;15726:8;15723:2;;;15737:18;;:::i;:::-;15723:2;15782:1;15779;15775:9;15767:17;;15644:146;;;;:::o;15796:96::-;15833:7;15862:24;15880:5;15862:24;:::i;:::-;15851:35;;15841:51;;;:::o;15898:90::-;15932:7;15975:5;15968:13;15961:21;15950:32;;15940:48;;;:::o;15994:126::-;16031:7;16071:42;16064:5;16060:54;16049:65;;16039:81;;;:::o;16126:77::-;16163:7;16192:5;16181:16;;16171:32;;;:::o;16209:86::-;16244:7;16284:4;16277:5;16273:16;16262:27;;16252:43;;;:::o;16301:168::-;16372:9;16405:58;16457:5;16405:58;:::i;:::-;16392:71;;16382:87;;;:::o;16475:134::-;16546:9;16579:24;16597:5;16579:24;:::i;:::-;16566:37;;16556:53;;;:::o;16615:307::-;16683:1;16693:113;16707:6;16704:1;16701:13;16693:113;;;16792:1;16787:3;16783:11;16777:18;16773:1;16768:3;16764:11;16757:39;16729:2;16726:1;16722:10;16717:15;;16693:113;;;16824:6;16821:1;16818:13;16815:2;;;16904:1;16895:6;16890:3;16886:16;16879:27;16815:2;16664:258;;;;:::o;16928:320::-;16972:6;17009:1;17003:4;16999:12;16989:22;;17056:1;17050:4;17046:12;17077:18;17067:2;;17133:4;17125:6;17121:17;17111:27;;17067:2;17195;17187:6;17184:14;17164:18;17161:38;17158:2;;;17214:18;;:::i;:::-;17158:2;16979:269;;;;:::o;17254:180::-;17302:77;17299:1;17292:88;17399:4;17396:1;17389:15;17423:4;17420:1;17413:15;17440:180;17488:77;17485:1;17478:88;17585:4;17582:1;17575:15;17609:4;17606:1;17599:15;17626:180;17674:77;17671:1;17664:88;17771:4;17768:1;17761:15;17795:4;17792:1;17785:15;17812:102;17853:6;17904:2;17900:7;17895:2;17888:5;17884:14;17880:28;17870:38;;17860:54;;;:::o;17920:222::-;18060:34;18056:1;18048:6;18044:14;18037:58;18129:5;18124:2;18116:6;18112:15;18105:30;18026:116;:::o;18148:220::-;18288:34;18284:1;18276:6;18272:14;18265:58;18357:3;18352:2;18344:6;18340:15;18333:28;18254:114;:::o;18374:177::-;18514:29;18510:1;18502:6;18498:14;18491:53;18480:71;:::o;18557:221::-;18697:34;18693:1;18685:6;18681:14;18674:58;18766:4;18761:2;18753:6;18749:15;18742:29;18663:115;:::o;18784:221::-;18924:34;18920:1;18912:6;18908:14;18901:58;18993:4;18988:2;18980:6;18976:15;18969:29;18890:115;:::o;19011:225::-;19151:34;19147:1;19139:6;19135:14;19128:58;19220:8;19215:2;19207:6;19203:15;19196:33;19117:119;:::o;19242:227::-;19382:34;19378:1;19370:6;19366:14;19359:58;19451:10;19446:2;19438:6;19434:15;19427:35;19348:121;:::o;19475:220::-;19615:34;19611:1;19603:6;19599:14;19592:58;19684:3;19679:2;19671:6;19667:15;19660:28;19581:114;:::o;19701:224::-;19841:34;19837:1;19829:6;19825:14;19818:58;19910:7;19905:2;19897:6;19893:15;19886:32;19807:118;:::o;19931:223::-;20071:34;20067:1;20059:6;20055:14;20048:58;20140:6;20135:2;20127:6;20123:15;20116:31;20037:117;:::o;20160:224::-;20300:34;20296:1;20288:6;20284:14;20277:58;20369:7;20364:2;20356:6;20352:15;20345:32;20266:118;:::o;20390:181::-;20530:33;20526:1;20518:6;20514:14;20507:57;20496:75;:::o;20577:122::-;20650:24;20668:5;20650:24;:::i;:::-;20643:5;20640:35;20630:2;;20689:1;20686;20679:12;20630:2;20620:79;:::o;20705:122::-;20778:24;20796:5;20778:24;:::i;:::-;20771:5;20768:35;20758:2;;20817:1;20814;20807:12;20758:2;20748:79;:::o
Swarm Source
ipfs://b944f2f00cfb5830234f76391588f5f84bd1a3d2ad5718626dcf2d737369549d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.