ERC-721
Overview
Max Total Supply
74 POA
Holders
74
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 POALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProofOfAuditor
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
pragma solidity ^0.8.0; interface IDatabase { enum STATUS { NOTAUDITED, PENDING, PASSED, FAILED, REFUNDED } function HYACINTH_FEE() external view returns (uint256); function USDC() external view returns (address); function audits(uint256 auditId_) external view returns (address, address, STATUS, string memory, uint256, bool); function auditors(address auditor_) external view returns (uint256, uint256, uint256, uint256); function approvedAuditor(address auditor_) external view returns (bool isAuditor_); function hyacinthWallet() external view returns (address); function beingAudited() external; function mintPOD() external returns (uint256 id_, address developerWallet_); function addApprovedAuditor(address[] calldata auditors_) external; function removeApprovedAuditor(address[] calldata auditors_) external; function giveAuditorFeedback(uint256 auditId_, bool positive_) external; function refundBounty(uint256 auditId_) external; function submitResult(uint256 auditId_, STATUS result_, string memory description_) external; function rollOverExpired(uint256 auditId_) external; function levelsCompleted(address auditor_) external view returns (uint256[4] memory); function auditStatus(address contractAddress_) external view returns (STATUS status_); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.14; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./interface/IDatabase.sol"; /// @title Proof Of Auditor /// @notice NFT received when added as auditor /// @author Hyacinth contract ProofOfAuditor is ERC721 { using Strings for uint256; /// EVENTS /// /// @notice Emitted after database has been set /// @param database Address of database contract event DatabaseSet(address database); /// @notice Emitted after level logic contract has been set /// @param levelLogic Address of level logic contract event LevelLogicSet(address levelLogic); /// @notice Emitted after proof of auditor NFT is minted /// @param auditor Address of auditor /// @param poaId Id of NFT minted event ProofOfAuditorMinted(address indexed auditor, uint256 indexed poaId); /// ERRORS /// /// @notice Error for if not database error NotDatabase(); /// @notice Error for if not deployer error NotDeployer(); /// @notice Error for if being transferred error CanNotTransfer(); /// @notice Error for if address already set error AddressAlreadySet(); /// STATE VARIABLES /// /// @notice Address of database address public database; /// @notice Address of deployer address public deployer; /// @notice Total supply of token uint256 public totalSupply; /// @notice String of base URI string private _baseURIextended = "ipfs://bafybeibmc6z7lzkaugmtiv5wbgeqnr23ri4umu5dswoemr3rgfo3wirpgu/"; /// @notice Id adddress holds mapping(address => uint256) public idHeld; /// CONSTRUCTOR /// constructor() ERC721("Hyacinth Auditor NFT", "POA") { deployer = msg.sender; } /// SET DATABASE /// /// @notice Sets address of database /// @param database_ Address of database contract function setDatabase(address database_) external { if (deployer != msg.sender) revert NotDeployer(); if (database != address(0)) revert AddressAlreadySet(); database = database_; emit DatabaseSet(database_); } /// DATABASE FUNCTION /// /// @notice Mint approved auditor their POA NFT /// @param auditor_ Address of auditor who is receiving NFT /// @return id_ Id of NFT minted function mint(address auditor_) external payable returns (uint256 id_) { if (msg.sender != database) revert NotDatabase(); id_ = totalSupply; _safeMint(auditor_, id_); ++totalSupply; idHeld[auditor_] = id_; emit ProofOfAuditorMinted(auditor_, id_); } /// INTERNAL VIEW FUNCTION /// /// @notice Returns `_baseURIextended` /// @return baseURI_ Base URI of token function _baseURI() internal view virtual override returns (string memory baseURI_) { return _baseURIextended; } /// @notice Logic performed before transferring of `tokenId` /// @param from Address where `tokenId` is being sent from /// @param to Address where `tokenId` is being sent to /// @param tokenId Token Id that is being sent function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override { if (from != address(0)) { revert CanNotTransfer(); } super._beforeTokenTransfer(from, to, tokenId); } /// EXTERNAL VIEW FUNCTIONS /// /// @notice Returns level of `tokenId_` /// @param tokenId_ Token id of Proof Of Auditor NFT to return level for /// @return level_ Level of `tokenId_` function level(uint256 tokenId_) public view returns (uint256 level_) { address owner_ = ownerOf(tokenId_); uint256[4] memory levelsCompleted_ = IDatabase(database).levelsCompleted(owner_); uint256 totalCompleted_; for (uint256 i; i < 4; ++i) totalCompleted_ += levelsCompleted_[i]; (, uint256 positive_, uint256 negative_, uint256 baseLevel_) = IDatabase(database).auditors(owner_); uint256 totalFeedback_ = positive_ + negative_; uint256 feedbackPercent_; if (totalFeedback_ > 0) feedbackPercent_ = (10000 * positive_) / totalFeedback_; if (levelsCompleted_[2] >= 10 && feedbackPercent_ >= 9500) level_ = 3; else if (totalCompleted_ >= 20 && levelsCompleted_[1] >= 10 && feedbackPercent_ >= 9000) level_ = 2; else if (totalCompleted_ >= 5 && feedbackPercent_ >= 8000) level_ = 1; if (baseLevel_ > level_) level_ = baseLevel_; } /// @notice Returns token URI for `tokenId_` /// @param tokenId_ Id that is having URI returned /// @return tokenURI_ URI for `tokenId_` function tokenURI(uint256 tokenId_) public view override returns (string memory tokenURI_) { return string(abi.encodePacked(_baseURI(), level(tokenId_).toString())); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { return super.supportsInterface(interfaceId); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressAlreadySet","type":"error"},{"inputs":[],"name":"CanNotTransfer","type":"error"},{"inputs":[],"name":"NotDatabase","type":"error"},{"inputs":[],"name":"NotDeployer","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"database","type":"address"}],"name":"DatabaseSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"levelLogic","type":"address"}],"name":"LevelLogicSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"auditor","type":"address"},{"indexed":true,"internalType":"uint256","name":"poaId","type":"uint256"}],"name":"ProofOfAuditorMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"database","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"idHeld","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"level","outputs":[{"internalType":"uint256","name":"level_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"auditor_","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"database_","type":"address"}],"name":"setDatabase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051806080016040528060438152602001620031906043913960099080519060200190620000359291906200012b565b503480156200004357600080fd5b506040518060400160405280601481526020017f48796163696e74682041756469746f72204e46540000000000000000000000008152506040518060400160405280600381526020017f504f4100000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c89291906200012b565b508060019080519060200190620000e19291906200012b565b50505033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200023f565b82805462000139906200020a565b90600052602060002090601f0160209004810192826200015d5760008555620001a9565b82601f106200017857805160ff1916838001178555620001a9565b82800160010185558215620001a9579182015b82811115620001a85782518255916020019190600101906200018b565b5b509050620001b89190620001bc565b5090565b5b80821115620001d7576000816000905550600101620001bd565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200022357607f821691505b602082108103620002395762000238620001db565b5b50919050565b612f41806200024f6000396000f3fe60806040526004361061011f5760003560e01c80636a627842116100a0578063b88d4fde11610064578063b88d4fde14610412578063c87b56dd1461043b578063d5f3948814610478578063e985e9c5146104a3578063f5420374146104e05761011f565b80636a6278421461032657806370a0823114610356578063713b563f1461039357806395d89b41146103be578063a22cb465146103e95761011f565b8063095ea7b3116100e7578063095ea7b31461024357806318160ddd1461026c57806323b872dd1461029757806342842e0e146102c05780636352211e146102e95761011f565b806301ffc9a71461012457806303199b251461016157806305c58df21461019e57806306fdde03146101db578063081812fc14610206575b600080fd5b34801561013057600080fd5b5061014b60048036038101906101469190611ee9565b610509565b6040516101589190611f31565b60405180910390f35b34801561016d57600080fd5b5061018860048036038101906101839190611faa565b61051b565b6040516101959190611ff0565b60405180910390f35b3480156101aa57600080fd5b506101c560048036038101906101c09190612037565b610533565b6040516101d29190611ff0565b60405180910390f35b3480156101e757600080fd5b506101f06107ba565b6040516101fd91906120fd565b60405180910390f35b34801561021257600080fd5b5061022d60048036038101906102289190612037565b61084c565b60405161023a919061212e565b60405180910390f35b34801561024f57600080fd5b5061026a60048036038101906102659190612149565b610892565b005b34801561027857600080fd5b506102816109a9565b60405161028e9190611ff0565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612189565b6109af565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190612189565b610a0f565b005b3480156102f557600080fd5b50610310600480360381019061030b9190612037565b610a2f565b60405161031d919061212e565b60405180910390f35b610340600480360381019061033b9190611faa565b610ae0565b60405161034d9190611ff0565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190611faa565b610c1b565b60405161038a9190611ff0565b60405180910390f35b34801561039f57600080fd5b506103a8610cd2565b6040516103b5919061212e565b60405180910390f35b3480156103ca57600080fd5b506103d3610cf8565b6040516103e091906120fd565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190612208565b610d8a565b005b34801561041e57600080fd5b506104396004803603810190610434919061237d565b610da0565b005b34801561044757600080fd5b50610462600480360381019061045d9190612037565b610e02565b60405161046f91906120fd565b60405180910390f35b34801561048457600080fd5b5061048d610e44565b60405161049a919061212e565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190612400565b610e6a565b6040516104d79190611f31565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190611faa565b610efe565b005b600061051482611088565b9050919050565b600a6020528060005260406000206000915090505481565b60008061053f83610a2f565b90506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638baa353b836040518263ffffffff1660e01b815260040161059e919061212e565b608060405180830381865afa1580156105bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105df919061250b565b90506000805b60048110156106245782816004811061060157610600612538565b5b6020020151826106119190612596565b91508061061d906125ec565b90506105e5565b506000806000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347f9aa9f876040518263ffffffff1660e01b8152600401610685919061212e565b608060405180830381865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c69190612634565b93509350935050600082846106db9190612596565b90506000808211156107035781856127106106f6919061269b565b6107009190612724565b90505b600a8760026004811061071957610718612538565b5b60200201511015801561072e575061251c8110155b1561073c57600398506107a1565b601486101580156107665750600a8760016004811061075e5761075d612538565b5b602002015110155b801561077457506123288110155b1561078257600298506107a0565b600586101580156107955750611f408110155b1561079f57600198505b5b5b888311156107ad578298505b5050505050505050919050565b6060600080546107c990612784565b80601f01602080910402602001604051908101604052809291908181526020018280546107f590612784565b80156108425780601f1061081757610100808354040283529160200191610842565b820191906000526020600020905b81548152906001019060200180831161082557829003601f168201915b5050505050905090565b60006108578261116a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089d82610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490612827565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092c6111b5565b73ffffffffffffffffffffffffffffffffffffffff16148061095b575061095a816109556111b5565b610e6a565b5b61099a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610991906128b9565b60405180910390fd5b6109a483836111bd565b505050565b60085481565b6109c06109ba6111b5565b82611276565b6109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f69061294b565b60405180910390fd5b610a0a83838361130b565b505050565b610a2a83838360405180602001604052806000815250610da0565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906129b7565b60405180910390fd5b80915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b69576040517f5c19039800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008549050610b788282611571565b600860008154610b87906125ec565b9190508190555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff167f413c21150498d0e55cd57ab200a6e2d5c1cd2c4bf9936df5cde631ab4e7a70c960405160405180910390a3919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8290612a49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610d0790612784565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3390612784565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b5050505050905090565b610d9c610d956111b5565b838361158f565b5050565b610db1610dab6111b5565b83611276565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de79061294b565b60405180910390fd5b610dfc848484846116fb565b50505050565b6060610e0c611757565b610e1d610e1884610533565b6117e9565b604051602001610e2e929190612aa5565b6040516020818303038152906040529050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f8b906c9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100d576040517ff62c2d8200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f43ee3fb3a7e21f028af19bcf55df63ed26f5d40f41e4c2feff4734a42efbe76a8160405161107d919061212e565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061115357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611163575061116282611949565b5b9050919050565b611173816119b3565b6111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a9906129b7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661123083610a2f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061128283610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806112c457506112c38185610e6a565b5b8061130257508373ffffffffffffffffffffffffffffffffffffffff166112ea8461084c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661132b82610a2f565b73ffffffffffffffffffffffffffffffffffffffff1614611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890612b3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e790612bcd565b60405180910390fd5b6113fb838383611a1f565b6114066000826111bd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114569190612bed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114ad9190612596565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461156c838383611a95565b505050565b61158b828260405180602001604052806000815250611a9a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490612c6d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116ee9190611f31565b60405180910390a3505050565b61170684848461130b565b61171284848484611af5565b611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174890612cff565b60405180910390fd5b50505050565b60606009805461176690612784565b80601f016020809104026020016040519081016040528092919081815260200182805461179290612784565b80156117df5780601f106117b4576101008083540402835291602001916117df565b820191906000526020600020905b8154815290600101906020018083116117c257829003601f168201915b5050505050905090565b606060008203611830576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611944565b600082905060005b6000821461186257808061184b906125ec565b915050600a8261185b9190612724565b9150611838565b60008167ffffffffffffffff81111561187e5761187d612252565b5b6040519080825280601f01601f1916602001820160405280156118b05781602001600182028036833780820191505090505b5090505b6000851461193d576001826118c99190612bed565b9150600a856118d89190612d1f565b60306118e49190612596565b60f81b8183815181106118fa576118f9612538565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856119369190612724565b94506118b4565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a85576040517f1b5722f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a90838383611c7c565b505050565b505050565b611aa48383611c81565b611ab16000848484611af5565b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790612cff565b60405180910390fd5b505050565b6000611b168473ffffffffffffffffffffffffffffffffffffffff16611e5a565b15611c6f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b3f6111b5565b8786866040518563ffffffff1660e01b8152600401611b619493929190612da5565b6020604051808303816000875af1925050508015611b9d57506040513d601f19601f82011682018060405250810190611b9a9190612e06565b60015b611c1f573d8060008114611bcd576040519150601f19603f3d011682016040523d82523d6000602084013e611bd2565b606091505b506000815103611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90612cff565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611c74565b600190505b949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790612e7f565b60405180910390fd5b611cf9816119b3565b15611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090612eeb565b60405180910390fd5b611d4560008383611a1f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d959190612596565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e5660008383611a95565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ec681611e91565b8114611ed157600080fd5b50565b600081359050611ee381611ebd565b92915050565b600060208284031215611eff57611efe611e87565b5b6000611f0d84828501611ed4565b91505092915050565b60008115159050919050565b611f2b81611f16565b82525050565b6000602082019050611f466000830184611f22565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f7782611f4c565b9050919050565b611f8781611f6c565b8114611f9257600080fd5b50565b600081359050611fa481611f7e565b92915050565b600060208284031215611fc057611fbf611e87565b5b6000611fce84828501611f95565b91505092915050565b6000819050919050565b611fea81611fd7565b82525050565b60006020820190506120056000830184611fe1565b92915050565b61201481611fd7565b811461201f57600080fd5b50565b6000813590506120318161200b565b92915050565b60006020828403121561204d5761204c611e87565b5b600061205b84828501612022565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561209e578082015181840152602081019050612083565b838111156120ad576000848401525b50505050565b6000601f19601f8301169050919050565b60006120cf82612064565b6120d9818561206f565b93506120e9818560208601612080565b6120f2816120b3565b840191505092915050565b6000602082019050818103600083015261211781846120c4565b905092915050565b61212881611f6c565b82525050565b6000602082019050612143600083018461211f565b92915050565b600080604083850312156121605761215f611e87565b5b600061216e85828601611f95565b925050602061217f85828601612022565b9150509250929050565b6000806000606084860312156121a2576121a1611e87565b5b60006121b086828701611f95565b93505060206121c186828701611f95565b92505060406121d286828701612022565b9150509250925092565b6121e581611f16565b81146121f057600080fd5b50565b600081359050612202816121dc565b92915050565b6000806040838503121561221f5761221e611e87565b5b600061222d85828601611f95565b925050602061223e858286016121f3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61228a826120b3565b810181811067ffffffffffffffff821117156122a9576122a8612252565b5b80604052505050565b60006122bc611e7d565b90506122c88282612281565b919050565b600067ffffffffffffffff8211156122e8576122e7612252565b5b6122f1826120b3565b9050602081019050919050565b82818337600083830152505050565b600061232061231b846122cd565b6122b2565b90508281526020810184848401111561233c5761233b61224d565b5b6123478482856122fe565b509392505050565b600082601f83011261236457612363612248565b5b813561237484826020860161230d565b91505092915050565b6000806000806080858703121561239757612396611e87565b5b60006123a587828801611f95565b94505060206123b687828801611f95565b93505060406123c787828801612022565b925050606085013567ffffffffffffffff8111156123e8576123e7611e8c565b5b6123f48782880161234f565b91505092959194509250565b6000806040838503121561241757612416611e87565b5b600061242585828601611f95565b925050602061243685828601611f95565b9150509250929050565b600067ffffffffffffffff82111561245b5761245a612252565b5b602082029050919050565b600080fd5b60008151905061247a8161200b565b92915050565b600061249361248e84612440565b6122b2565b905080602084028301858111156124ad576124ac612466565b5b835b818110156124d657806124c2888261246b565b8452602084019350506020810190506124af565b5050509392505050565b600082601f8301126124f5576124f4612248565b5b6004612502848285612480565b91505092915050565b60006080828403121561252157612520611e87565b5b600061252f848285016124e0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125a182611fd7565b91506125ac83611fd7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125e1576125e0612567565b5b828201905092915050565b60006125f782611fd7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361262957612628612567565b5b600182019050919050565b6000806000806080858703121561264e5761264d611e87565b5b600061265c8782880161246b565b945050602061266d8782880161246b565b935050604061267e8782880161246b565b925050606061268f8782880161246b565b91505092959194509250565b60006126a682611fd7565b91506126b183611fd7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156126ea576126e9612567565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061272f82611fd7565b915061273a83611fd7565b92508261274a576127496126f5565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061279c57607f821691505b6020821081036127af576127ae612755565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061281160218361206f565b915061281c826127b5565b604082019050919050565b6000602082019050818103600083015261284081612804565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006128a3603e8361206f565b91506128ae82612847565b604082019050919050565b600060208201905081810360008301526128d281612896565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612935602e8361206f565b9150612940826128d9565b604082019050919050565b6000602082019050818103600083015261296481612928565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006129a160188361206f565b91506129ac8261296b565b602082019050919050565b600060208201905081810360008301526129d081612994565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612a3360298361206f565b9150612a3e826129d7565b604082019050919050565b60006020820190508181036000830152612a6281612a26565b9050919050565b600081905092915050565b6000612a7f82612064565b612a898185612a69565b9350612a99818560208601612080565b80840191505092915050565b6000612ab18285612a74565b9150612abd8284612a74565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612b2560258361206f565b9150612b3082612ac9565b604082019050919050565b60006020820190508181036000830152612b5481612b18565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612bb760248361206f565b9150612bc282612b5b565b604082019050919050565b60006020820190508181036000830152612be681612baa565b9050919050565b6000612bf882611fd7565b9150612c0383611fd7565b925082821015612c1657612c15612567565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612c5760198361206f565b9150612c6282612c21565b602082019050919050565b60006020820190508181036000830152612c8681612c4a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612ce960328361206f565b9150612cf482612c8d565b604082019050919050565b60006020820190508181036000830152612d1881612cdc565b9050919050565b6000612d2a82611fd7565b9150612d3583611fd7565b925082612d4557612d446126f5565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000612d7782612d50565b612d818185612d5b565b9350612d91818560208601612080565b612d9a816120b3565b840191505092915050565b6000608082019050612dba600083018761211f565b612dc7602083018661211f565b612dd46040830185611fe1565b8181036060830152612de68184612d6c565b905095945050505050565b600081519050612e0081611ebd565b92915050565b600060208284031215612e1c57612e1b611e87565b5b6000612e2a84828501612df1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612e6960208361206f565b9150612e7482612e33565b602082019050919050565b60006020820190508181036000830152612e9881612e5c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612ed5601c8361206f565b9150612ee082612e9f565b602082019050919050565b60006020820190508181036000830152612f0481612ec8565b905091905056fea2646970667358221220de863672faa57f79a7affb04b843f2327155808ce7c183ee8945261255bbc55d64736f6c634300080e0033697066733a2f2f62616679626569626d63367a376c7a6b6175676d7469763577626765716e723233726934756d75356473776f656d72337267666f337769727067752f
Deployed Bytecode
0x60806040526004361061011f5760003560e01c80636a627842116100a0578063b88d4fde11610064578063b88d4fde14610412578063c87b56dd1461043b578063d5f3948814610478578063e985e9c5146104a3578063f5420374146104e05761011f565b80636a6278421461032657806370a0823114610356578063713b563f1461039357806395d89b41146103be578063a22cb465146103e95761011f565b8063095ea7b3116100e7578063095ea7b31461024357806318160ddd1461026c57806323b872dd1461029757806342842e0e146102c05780636352211e146102e95761011f565b806301ffc9a71461012457806303199b251461016157806305c58df21461019e57806306fdde03146101db578063081812fc14610206575b600080fd5b34801561013057600080fd5b5061014b60048036038101906101469190611ee9565b610509565b6040516101589190611f31565b60405180910390f35b34801561016d57600080fd5b5061018860048036038101906101839190611faa565b61051b565b6040516101959190611ff0565b60405180910390f35b3480156101aa57600080fd5b506101c560048036038101906101c09190612037565b610533565b6040516101d29190611ff0565b60405180910390f35b3480156101e757600080fd5b506101f06107ba565b6040516101fd91906120fd565b60405180910390f35b34801561021257600080fd5b5061022d60048036038101906102289190612037565b61084c565b60405161023a919061212e565b60405180910390f35b34801561024f57600080fd5b5061026a60048036038101906102659190612149565b610892565b005b34801561027857600080fd5b506102816109a9565b60405161028e9190611ff0565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612189565b6109af565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190612189565b610a0f565b005b3480156102f557600080fd5b50610310600480360381019061030b9190612037565b610a2f565b60405161031d919061212e565b60405180910390f35b610340600480360381019061033b9190611faa565b610ae0565b60405161034d9190611ff0565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190611faa565b610c1b565b60405161038a9190611ff0565b60405180910390f35b34801561039f57600080fd5b506103a8610cd2565b6040516103b5919061212e565b60405180910390f35b3480156103ca57600080fd5b506103d3610cf8565b6040516103e091906120fd565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190612208565b610d8a565b005b34801561041e57600080fd5b506104396004803603810190610434919061237d565b610da0565b005b34801561044757600080fd5b50610462600480360381019061045d9190612037565b610e02565b60405161046f91906120fd565b60405180910390f35b34801561048457600080fd5b5061048d610e44565b60405161049a919061212e565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190612400565b610e6a565b6040516104d79190611f31565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190611faa565b610efe565b005b600061051482611088565b9050919050565b600a6020528060005260406000206000915090505481565b60008061053f83610a2f565b90506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638baa353b836040518263ffffffff1660e01b815260040161059e919061212e565b608060405180830381865afa1580156105bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105df919061250b565b90506000805b60048110156106245782816004811061060157610600612538565b5b6020020151826106119190612596565b91508061061d906125ec565b90506105e5565b506000806000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347f9aa9f876040518263ffffffff1660e01b8152600401610685919061212e565b608060405180830381865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c69190612634565b93509350935050600082846106db9190612596565b90506000808211156107035781856127106106f6919061269b565b6107009190612724565b90505b600a8760026004811061071957610718612538565b5b60200201511015801561072e575061251c8110155b1561073c57600398506107a1565b601486101580156107665750600a8760016004811061075e5761075d612538565b5b602002015110155b801561077457506123288110155b1561078257600298506107a0565b600586101580156107955750611f408110155b1561079f57600198505b5b5b888311156107ad578298505b5050505050505050919050565b6060600080546107c990612784565b80601f01602080910402602001604051908101604052809291908181526020018280546107f590612784565b80156108425780601f1061081757610100808354040283529160200191610842565b820191906000526020600020905b81548152906001019060200180831161082557829003601f168201915b5050505050905090565b60006108578261116a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089d82610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490612827565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092c6111b5565b73ffffffffffffffffffffffffffffffffffffffff16148061095b575061095a816109556111b5565b610e6a565b5b61099a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610991906128b9565b60405180910390fd5b6109a483836111bd565b505050565b60085481565b6109c06109ba6111b5565b82611276565b6109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f69061294b565b60405180910390fd5b610a0a83838361130b565b505050565b610a2a83838360405180602001604052806000815250610da0565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906129b7565b60405180910390fd5b80915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b69576040517f5c19039800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008549050610b788282611571565b600860008154610b87906125ec565b9190508190555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff167f413c21150498d0e55cd57ab200a6e2d5c1cd2c4bf9936df5cde631ab4e7a70c960405160405180910390a3919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8290612a49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610d0790612784565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3390612784565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b5050505050905090565b610d9c610d956111b5565b838361158f565b5050565b610db1610dab6111b5565b83611276565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de79061294b565b60405180910390fd5b610dfc848484846116fb565b50505050565b6060610e0c611757565b610e1d610e1884610533565b6117e9565b604051602001610e2e929190612aa5565b6040516020818303038152906040529050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f8b906c9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100d576040517ff62c2d8200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f43ee3fb3a7e21f028af19bcf55df63ed26f5d40f41e4c2feff4734a42efbe76a8160405161107d919061212e565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061115357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611163575061116282611949565b5b9050919050565b611173816119b3565b6111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a9906129b7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661123083610a2f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061128283610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806112c457506112c38185610e6a565b5b8061130257508373ffffffffffffffffffffffffffffffffffffffff166112ea8461084c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661132b82610a2f565b73ffffffffffffffffffffffffffffffffffffffff1614611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890612b3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e790612bcd565b60405180910390fd5b6113fb838383611a1f565b6114066000826111bd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114569190612bed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114ad9190612596565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461156c838383611a95565b505050565b61158b828260405180602001604052806000815250611a9a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490612c6d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116ee9190611f31565b60405180910390a3505050565b61170684848461130b565b61171284848484611af5565b611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174890612cff565b60405180910390fd5b50505050565b60606009805461176690612784565b80601f016020809104026020016040519081016040528092919081815260200182805461179290612784565b80156117df5780601f106117b4576101008083540402835291602001916117df565b820191906000526020600020905b8154815290600101906020018083116117c257829003601f168201915b5050505050905090565b606060008203611830576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611944565b600082905060005b6000821461186257808061184b906125ec565b915050600a8261185b9190612724565b9150611838565b60008167ffffffffffffffff81111561187e5761187d612252565b5b6040519080825280601f01601f1916602001820160405280156118b05781602001600182028036833780820191505090505b5090505b6000851461193d576001826118c99190612bed565b9150600a856118d89190612d1f565b60306118e49190612596565b60f81b8183815181106118fa576118f9612538565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856119369190612724565b94506118b4565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a85576040517f1b5722f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a90838383611c7c565b505050565b505050565b611aa48383611c81565b611ab16000848484611af5565b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790612cff565b60405180910390fd5b505050565b6000611b168473ffffffffffffffffffffffffffffffffffffffff16611e5a565b15611c6f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b3f6111b5565b8786866040518563ffffffff1660e01b8152600401611b619493929190612da5565b6020604051808303816000875af1925050508015611b9d57506040513d601f19601f82011682018060405250810190611b9a9190612e06565b60015b611c1f573d8060008114611bcd576040519150601f19603f3d011682016040523d82523d6000602084013e611bd2565b606091505b506000815103611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90612cff565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611c74565b600190505b949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790612e7f565b60405180910390fd5b611cf9816119b3565b15611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090612eeb565b60405180910390fd5b611d4560008383611a1f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d959190612596565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e5660008383611a95565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ec681611e91565b8114611ed157600080fd5b50565b600081359050611ee381611ebd565b92915050565b600060208284031215611eff57611efe611e87565b5b6000611f0d84828501611ed4565b91505092915050565b60008115159050919050565b611f2b81611f16565b82525050565b6000602082019050611f466000830184611f22565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f7782611f4c565b9050919050565b611f8781611f6c565b8114611f9257600080fd5b50565b600081359050611fa481611f7e565b92915050565b600060208284031215611fc057611fbf611e87565b5b6000611fce84828501611f95565b91505092915050565b6000819050919050565b611fea81611fd7565b82525050565b60006020820190506120056000830184611fe1565b92915050565b61201481611fd7565b811461201f57600080fd5b50565b6000813590506120318161200b565b92915050565b60006020828403121561204d5761204c611e87565b5b600061205b84828501612022565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561209e578082015181840152602081019050612083565b838111156120ad576000848401525b50505050565b6000601f19601f8301169050919050565b60006120cf82612064565b6120d9818561206f565b93506120e9818560208601612080565b6120f2816120b3565b840191505092915050565b6000602082019050818103600083015261211781846120c4565b905092915050565b61212881611f6c565b82525050565b6000602082019050612143600083018461211f565b92915050565b600080604083850312156121605761215f611e87565b5b600061216e85828601611f95565b925050602061217f85828601612022565b9150509250929050565b6000806000606084860312156121a2576121a1611e87565b5b60006121b086828701611f95565b93505060206121c186828701611f95565b92505060406121d286828701612022565b9150509250925092565b6121e581611f16565b81146121f057600080fd5b50565b600081359050612202816121dc565b92915050565b6000806040838503121561221f5761221e611e87565b5b600061222d85828601611f95565b925050602061223e858286016121f3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61228a826120b3565b810181811067ffffffffffffffff821117156122a9576122a8612252565b5b80604052505050565b60006122bc611e7d565b90506122c88282612281565b919050565b600067ffffffffffffffff8211156122e8576122e7612252565b5b6122f1826120b3565b9050602081019050919050565b82818337600083830152505050565b600061232061231b846122cd565b6122b2565b90508281526020810184848401111561233c5761233b61224d565b5b6123478482856122fe565b509392505050565b600082601f83011261236457612363612248565b5b813561237484826020860161230d565b91505092915050565b6000806000806080858703121561239757612396611e87565b5b60006123a587828801611f95565b94505060206123b687828801611f95565b93505060406123c787828801612022565b925050606085013567ffffffffffffffff8111156123e8576123e7611e8c565b5b6123f48782880161234f565b91505092959194509250565b6000806040838503121561241757612416611e87565b5b600061242585828601611f95565b925050602061243685828601611f95565b9150509250929050565b600067ffffffffffffffff82111561245b5761245a612252565b5b602082029050919050565b600080fd5b60008151905061247a8161200b565b92915050565b600061249361248e84612440565b6122b2565b905080602084028301858111156124ad576124ac612466565b5b835b818110156124d657806124c2888261246b565b8452602084019350506020810190506124af565b5050509392505050565b600082601f8301126124f5576124f4612248565b5b6004612502848285612480565b91505092915050565b60006080828403121561252157612520611e87565b5b600061252f848285016124e0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125a182611fd7565b91506125ac83611fd7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125e1576125e0612567565b5b828201905092915050565b60006125f782611fd7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361262957612628612567565b5b600182019050919050565b6000806000806080858703121561264e5761264d611e87565b5b600061265c8782880161246b565b945050602061266d8782880161246b565b935050604061267e8782880161246b565b925050606061268f8782880161246b565b91505092959194509250565b60006126a682611fd7565b91506126b183611fd7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156126ea576126e9612567565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061272f82611fd7565b915061273a83611fd7565b92508261274a576127496126f5565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061279c57607f821691505b6020821081036127af576127ae612755565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061281160218361206f565b915061281c826127b5565b604082019050919050565b6000602082019050818103600083015261284081612804565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006128a3603e8361206f565b91506128ae82612847565b604082019050919050565b600060208201905081810360008301526128d281612896565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612935602e8361206f565b9150612940826128d9565b604082019050919050565b6000602082019050818103600083015261296481612928565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006129a160188361206f565b91506129ac8261296b565b602082019050919050565b600060208201905081810360008301526129d081612994565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612a3360298361206f565b9150612a3e826129d7565b604082019050919050565b60006020820190508181036000830152612a6281612a26565b9050919050565b600081905092915050565b6000612a7f82612064565b612a898185612a69565b9350612a99818560208601612080565b80840191505092915050565b6000612ab18285612a74565b9150612abd8284612a74565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612b2560258361206f565b9150612b3082612ac9565b604082019050919050565b60006020820190508181036000830152612b5481612b18565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612bb760248361206f565b9150612bc282612b5b565b604082019050919050565b60006020820190508181036000830152612be681612baa565b9050919050565b6000612bf882611fd7565b9150612c0383611fd7565b925082821015612c1657612c15612567565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612c5760198361206f565b9150612c6282612c21565b602082019050919050565b60006020820190508181036000830152612c8681612c4a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612ce960328361206f565b9150612cf482612c8d565b604082019050919050565b60006020820190508181036000830152612d1881612cdc565b9050919050565b6000612d2a82611fd7565b9150612d3583611fd7565b925082612d4557612d446126f5565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000612d7782612d50565b612d818185612d5b565b9350612d91818560208601612080565b612d9a816120b3565b840191505092915050565b6000608082019050612dba600083018761211f565b612dc7602083018661211f565b612dd46040830185611fe1565b8181036060830152612de68184612d6c565b905095945050505050565b600081519050612e0081611ebd565b92915050565b600060208284031215612e1c57612e1b611e87565b5b6000612e2a84828501612df1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612e6960208361206f565b9150612e7482612e33565b602082019050919050565b60006020820190508181036000830152612e9881612e5c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612ed5601c8361206f565b9150612ee082612e9f565b602082019050919050565b60006020820190508181036000830152612f0481612ec8565b905091905056fea2646970667358221220de863672faa57f79a7affb04b843f2327155808ce7c183ee8945261255bbc55d64736f6c634300080e0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.