Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 ENS3
Holders
1
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
19 ENS3Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ENS3
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '../interface/IFractonTokenFactory.sol'; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface ENS { function reclaim(uint256 id, address owner) external; } contract ENS3 is ERC721 { address public constant ENS_CONTRACT = 0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85; address public constant FRACTON_FACTORY = 0x3Aec3113a09627Af7C9039954D8592fF0bC20c25; address public rent_market; string public constant ENS_BASE_URI = "https://metadata.ens.domains/mainnet/0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85/"; event SafeWrap(address from, string ENSName, uint256 tokenId); event SafeUnwrap( address from, address to, string ENSName, uint256 tokenId ); constructor() ERC721("Wrapped 3-Digit ENS", "ENS3") {} //temp function ENSNametoId(string memory ENSName) public pure returns (uint256) { bytes memory buffer = bytes(ENSName); require(buffer.length == 3, "not 3 digit number"); for(uint8 i=0; i<3; i++){ uint8 numberbybytes = uint8(buffer[i]) - 48; require(0 <= numberbybytes && numberbybytes < 10, "not 3 digit number"); } return uint256(keccak256(abi.encodePacked(ENSName))); } function setRentMarket(address newrentmarket) external { address dao = IFractonTokenFactory(FRACTON_FACTORY).getDAOAddress(); require(msg.sender == dao, 'only DAO'); rent_market = newrentmarket; } function safeWrap(string memory ENSName) external { uint256 tokenId = ENSNametoId(ENSName); IERC721(ENS_CONTRACT).transferFrom(_msgSender(),address(this),tokenId); //reclaim controller to Fracton DAO for resolving names if rent market not onboard if(rent_market != address(0)){ ENS(ENS_CONTRACT).reclaim(tokenId, rent_market); } else{ address dao = IFractonTokenFactory(FRACTON_FACTORY).getDAOAddress(); ENS(ENS_CONTRACT).reclaim(tokenId, dao); } _safeMint(_msgSender(), tokenId); emit SafeWrap(_msgSender(), ENSName, tokenId); } function safeUnwrap(string memory ENSName) external { uint256 tokenId = ENSNametoId(ENSName); address owner = ownerOf(tokenId); require(_isApprovedOrOwner(_msgSender(), tokenId),"ERC721: transfer caller is not owner nor approved"); _burn(tokenId); IERC721(ENS_CONTRACT).safeTransferFrom(address(this),_msgSender(),tokenId); emit SafeUnwrap(owner, _msgSender(), ENSName, tokenId); } function tokenURI(uint256 tokenId) public pure override returns (string memory) { return string(abi.encodePacked(ENS_BASE_URI, Strings.toString(tokenId))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IFractonTokenFactory { function getowner() external view returns (address); function getDAOAddress() external view returns (address); function getVaultAddress() external view returns (address); function getSwapAddress() external view returns (address); function getPoolFundingVaultAddress() external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: 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 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// 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 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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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); }
{ "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"},{"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":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"ENSName","type":"string"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SafeUnwrap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"string","name":"ENSName","type":"string"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SafeWrap","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":"string","name":"ENSName","type":"string"}],"name":"ENSNametoId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"ENS_BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ENS_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FRACTON_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"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":[],"name":"rent_market","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":"string","name":"ENSName","type":"string"}],"name":"safeUnwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ENSName","type":"string"}],"name":"safeWrap","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":"newrentmarket","type":"address"}],"name":"setRentMarket","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":"","type":"string"}],"stateMutability":"pure","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
60806040523480156200001157600080fd5b506040518060400160405280601381526020017f5772617070656420332d446967697420454e53000000000000000000000000008152506040518060400160405280600481526020017f454e533300000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620000b8565b508060019080519060200190620000af929190620000b8565b505050620001cd565b828054620000c69062000197565b90600052602060002090601f016020900481019282620000ea576000855562000136565b82601f106200010557805160ff191683800117855562000136565b8280016001018555821562000136579182015b828111156200013557825182559160200191906001019062000118565b5b50905062000145919062000149565b5090565b5b80821115620001645760008160009055506001016200014a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620001b057607f821691505b60208210811415620001c757620001c662000168565b5b50919050565b61338580620001dd6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063a587f04d1161007c578063a587f04d1461033a578063b88d4fde1461036a578063c87b56dd14610386578063e985e9c5146103b6578063f070edd0146103e6578063fc62da951461040257610137565b806370a08231146102985780637effd39c146102c85780638c102663146102e457806395d89b4114610300578063a22cb4651461031e57610137565b806323b872dd116100ff57806323b872dd146101f457806342842e0e14610210578063464f0c4a1461022c5780636352211e1461024a5780636653a2b81461027a57610137565b806301ffc9a71461013c57806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ba5780630e25afd2146101d6575b600080fd5b61015660048036038101906101519190611fda565b610420565b6040516101639190612022565b60405180910390f35b610174610502565b60405161018191906120d6565b60405180910390f35b6101a4600480360381019061019f919061212e565b610594565b6040516101b1919061219c565b60405180910390f35b6101d460048036038101906101cf91906121e3565b610619565b005b6101de610731565b6040516101eb91906120d6565b60405180910390f35b61020e60048036038101906102099190612223565b61074d565b005b61022a60048036038101906102259190612223565b6107ad565b005b6102346107cd565b604051610241919061219c565b60405180910390f35b610264600480360381019061025f919061212e565b6107f3565b604051610271919061219c565b60405180910390f35b6102826108a5565b60405161028f919061219c565b60405180910390f35b6102b260048036038101906102ad9190612276565b6108bd565b6040516102bf91906122b2565b60405180910390f35b6102e260048036038101906102dd9190612276565b610975565b005b6102fe60048036038101906102f99190612402565b610abe565b005b610308610dc3565b60405161031591906120d6565b60405180910390f35b61033860048036038101906103339190612477565b610e55565b005b610354600480360381019061034f9190612402565b610e6b565b60405161036191906122b2565b60405180910390f35b610384600480360381019061037f9190612558565b610f95565b005b6103a0600480360381019061039b919061212e565b610ff7565b6040516103ad91906120d6565b60405180910390f35b6103d060048036038101906103cb91906125db565b611042565b6040516103dd9190612022565b60405180910390f35b61040060048036038101906103fb9190612402565b6110d6565b005b61040a61121c565b604051610417919061219c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82611234565b5b9050919050565b6060600080546105119061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461053d9061264a565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f8261129e565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d5906126ee565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610624826107f3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90612780565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b461130a565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd61130a565b611042565b5b610722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071990612812565b60405180910390fd5b61072c8383611312565b505050565b6040518060800160405280605081526020016133006050913981565b61075e61075861130a565b826113cb565b61079d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610794906128a4565b60405180910390fd5b6107a88383836114a9565b505050565b6107c883838360405180602001604052806000815250610f95565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561089c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089390612936565b60405180910390fd5b80915050919050565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8581565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561092e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610925906129c8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0991906129fd565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7090612a76565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000610ac982610e6b565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166323b872dd610b0361130a565b30846040518463ffffffff1660e01b8152600401610b2393929190612a96565b600060405180830381600087803b158015610b3d57600080fd5b505af1158015610b51573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c53577357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610c1c929190612acd565b600060405180830381600087803b158015610c3657600080fd5b505af1158015610c4a573d6000803e3d6000fd5b50505050610d6c565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610caf57600080fd5b505afa158015610cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce791906129fd565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c83836040518363ffffffff1660e01b8152600401610d38929190612acd565b600060405180830381600087803b158015610d5257600080fd5b505af1158015610d66573d6000803e3d6000fd5b50505050505b610d7d610d7761130a565b82611710565b7faa9f5d1bb8ddbedf5ff7686b78137644f67bada64eb11d78e1a932badcea32b1610da661130a565b8383604051610db793929190612af6565b60405180910390a15050565b606060018054610dd29061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfe9061264a565b8015610e4b5780601f10610e2057610100808354040283529160200191610e4b565b820191906000526020600020905b815481529060010190602001808311610e2e57829003601f168201915b5050505050905090565b610e67610e6061130a565b838361172e565b5050565b6000808290506003815114610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90612b80565b60405180910390fd5b60005b60038160ff161015610f625760006030838360ff1681518110610ede57610edd612ba0565b5b602001015160f81c60f81b60f81c610ef69190612c0b565b90508060ff16600011158015610f0f5750600a8160ff16105b610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590612b80565b60405180910390fd5b508080610f5a90612c3f565b915050610eb8565b5082604051602001610f749190612ca5565b6040516020818303038152906040528051906020012060001c915050919050565b610fa6610fa061130a565b836113cb565b610fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdc906128a4565b60405180910390fd5b610ff18484848461189b565b50505050565b60606040518060800160405280605081526020016133006050913961101b836118f7565b60405160200161102c929190612cbc565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006110e182610e6b565b905060006110ee826107f3565b90506111016110fb61130a565b836113cb565b611140576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611137906128a4565b60405180910390fd5b61114982611a58565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166342842e0e3061118261130a565b856040518463ffffffff1660e01b81526004016111a193929190612a96565b600060405180830381600087803b1580156111bb57600080fd5b505af11580156111cf573d6000803e3d6000fd5b505050507ff060c8b10c9a1322a2c665529a83b8d7a8ba6d592d4049098c5795d6284d7c1e816111fd61130a565b858560405161120f9493929190612ce0565b60405180910390a1505050565b733aec3113a09627af7c9039954d8592ff0bc20c2581565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611385836107f3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113d68261129e565b611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90612d9e565b60405180910390fd5b6000611420836107f3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061146257506114618185611042565b5b806114a057508373ffffffffffffffffffffffffffffffffffffffff1661148884610594565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166114c9826107f3565b73ffffffffffffffffffffffffffffffffffffffff161461151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690612e30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690612ec2565b60405180910390fd5b61159a838383611b75565b6115a5600082611312565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115f59190612ee2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461164c9190612f16565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461170b838383611b7a565b505050565b61172a828260405180602001604052806000815250611b7f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561179d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179490612fb8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188e9190612022565b60405180910390a3505050565b6118a68484846114a9565b6118b284848484611bda565b6118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e89061304a565b60405180910390fd5b50505050565b6060600082141561193f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611a53565b600082905060005b6000821461197157808061195a9061306a565b915050600a8261196a91906130e2565b9150611947565b60008167ffffffffffffffff81111561198d5761198c6122d7565b5b6040519080825280601f01601f1916602001820160405280156119bf5781602001600182028036833780820191505090505b5090505b60008514611a4c576001826119d89190612ee2565b9150600a856119e79190613113565b60306119f39190612f16565b60f81b818381518110611a0957611a08612ba0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611a4591906130e2565b94506119c3565b8093505050505b919050565b6000611a63826107f3565b9050611a7181600084611b75565b611a7c600083611312565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611acc9190612ee2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b7181600084611b7a565b5050565b505050565b505050565b611b898383611d71565b611b966000848484611bda565b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc9061304a565b60405180910390fd5b505050565b6000611bfb8473ffffffffffffffffffffffffffffffffffffffff16611f4b565b15611d64578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c2461130a565b8786866040518563ffffffff1660e01b8152600401611c469493929190613199565b602060405180830381600087803b158015611c6057600080fd5b505af1925050508015611c9157506040513d601f19601f82011682018060405250810190611c8e91906131fa565b60015b611d14573d8060008114611cc1576040519150601f19603f3d011682016040523d82523d6000602084013e611cc6565b606091505b50600081511415611d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d039061304a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d69565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890613273565b60405180910390fd5b611dea8161129e565b15611e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e21906132df565b60405180910390fd5b611e3660008383611b75565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e869190612f16565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f4760008383611b7a565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611fb781611f82565b8114611fc257600080fd5b50565b600081359050611fd481611fae565b92915050565b600060208284031215611ff057611fef611f78565b5b6000611ffe84828501611fc5565b91505092915050565b60008115159050919050565b61201c81612007565b82525050565b60006020820190506120376000830184612013565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561207757808201518184015260208101905061205c565b83811115612086576000848401525b50505050565b6000601f19601f8301169050919050565b60006120a88261203d565b6120b28185612048565b93506120c2818560208601612059565b6120cb8161208c565b840191505092915050565b600060208201905081810360008301526120f0818461209d565b905092915050565b6000819050919050565b61210b816120f8565b811461211657600080fd5b50565b60008135905061212881612102565b92915050565b60006020828403121561214457612143611f78565b5b600061215284828501612119565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121868261215b565b9050919050565b6121968161217b565b82525050565b60006020820190506121b1600083018461218d565b92915050565b6121c08161217b565b81146121cb57600080fd5b50565b6000813590506121dd816121b7565b92915050565b600080604083850312156121fa576121f9611f78565b5b6000612208858286016121ce565b925050602061221985828601612119565b9150509250929050565b60008060006060848603121561223c5761223b611f78565b5b600061224a868287016121ce565b935050602061225b868287016121ce565b925050604061226c86828701612119565b9150509250925092565b60006020828403121561228c5761228b611f78565b5b600061229a848285016121ce565b91505092915050565b6122ac816120f8565b82525050565b60006020820190506122c760008301846122a3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61230f8261208c565b810181811067ffffffffffffffff8211171561232e5761232d6122d7565b5b80604052505050565b6000612341611f6e565b905061234d8282612306565b919050565b600067ffffffffffffffff82111561236d5761236c6122d7565b5b6123768261208c565b9050602081019050919050565b82818337600083830152505050565b60006123a56123a084612352565b612337565b9050828152602081018484840111156123c1576123c06122d2565b5b6123cc848285612383565b509392505050565b600082601f8301126123e9576123e86122cd565b5b81356123f9848260208601612392565b91505092915050565b60006020828403121561241857612417611f78565b5b600082013567ffffffffffffffff81111561243657612435611f7d565b5b612442848285016123d4565b91505092915050565b61245481612007565b811461245f57600080fd5b50565b6000813590506124718161244b565b92915050565b6000806040838503121561248e5761248d611f78565b5b600061249c858286016121ce565b92505060206124ad85828601612462565b9150509250929050565b600067ffffffffffffffff8211156124d2576124d16122d7565b5b6124db8261208c565b9050602081019050919050565b60006124fb6124f6846124b7565b612337565b905082815260208101848484011115612517576125166122d2565b5b612522848285612383565b509392505050565b600082601f83011261253f5761253e6122cd565b5b813561254f8482602086016124e8565b91505092915050565b6000806000806080858703121561257257612571611f78565b5b6000612580878288016121ce565b9450506020612591878288016121ce565b93505060406125a287828801612119565b925050606085013567ffffffffffffffff8111156125c3576125c2611f7d565b5b6125cf8782880161252a565b91505092959194509250565b600080604083850312156125f2576125f1611f78565b5b6000612600858286016121ce565b9250506020612611858286016121ce565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061266257607f821691505b602082108114156126765761267561261b565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006126d8602c83612048565b91506126e38261267c565b604082019050919050565b60006020820190508181036000830152612707816126cb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061276a602183612048565b91506127758261270e565b604082019050919050565b600060208201905081810360008301526127998161275d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006127fc603883612048565b9150612807826127a0565b604082019050919050565b6000602082019050818103600083015261282b816127ef565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061288e603183612048565b915061289982612832565b604082019050919050565b600060208201905081810360008301526128bd81612881565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612920602983612048565b915061292b826128c4565b604082019050919050565b6000602082019050818103600083015261294f81612913565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006129b2602a83612048565b91506129bd82612956565b604082019050919050565b600060208201905081810360008301526129e1816129a5565b9050919050565b6000815190506129f7816121b7565b92915050565b600060208284031215612a1357612a12611f78565b5b6000612a21848285016129e8565b91505092915050565b7f6f6e6c792044414f000000000000000000000000000000000000000000000000600082015250565b6000612a60600883612048565b9150612a6b82612a2a565b602082019050919050565b60006020820190508181036000830152612a8f81612a53565b9050919050565b6000606082019050612aab600083018661218d565b612ab8602083018561218d565b612ac560408301846122a3565b949350505050565b6000604082019050612ae260008301856122a3565b612aef602083018461218d565b9392505050565b6000606082019050612b0b600083018661218d565b8181036020830152612b1d818561209d565b9050612b2c60408301846122a3565b949350505050565b7f6e6f742033206469676974206e756d6265720000000000000000000000000000600082015250565b6000612b6a601283612048565b9150612b7582612b34565b602082019050919050565b60006020820190508181036000830152612b9981612b5d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c1682612bcf565b9150612c2183612bcf565b925082821015612c3457612c33612bdc565b5b828203905092915050565b6000612c4a82612bcf565b915060ff821415612c5e57612c5d612bdc565b5b600182019050919050565b600081905092915050565b6000612c7f8261203d565b612c898185612c69565b9350612c99818560208601612059565b80840191505092915050565b6000612cb18284612c74565b915081905092915050565b6000612cc88285612c74565b9150612cd48284612c74565b91508190509392505050565b6000608082019050612cf5600083018761218d565b612d02602083018661218d565b8181036040830152612d14818561209d565b9050612d2360608301846122a3565b95945050505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612d88602c83612048565b9150612d9382612d2c565b604082019050919050565b60006020820190508181036000830152612db781612d7b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612e1a602583612048565b9150612e2582612dbe565b604082019050919050565b60006020820190508181036000830152612e4981612e0d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612eac602483612048565b9150612eb782612e50565b604082019050919050565b60006020820190508181036000830152612edb81612e9f565b9050919050565b6000612eed826120f8565b9150612ef8836120f8565b925082821015612f0b57612f0a612bdc565b5b828203905092915050565b6000612f21826120f8565b9150612f2c836120f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f6157612f60612bdc565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612fa2601983612048565b9150612fad82612f6c565b602082019050919050565b60006020820190508181036000830152612fd181612f95565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613034603283612048565b915061303f82612fd8565b604082019050919050565b6000602082019050818103600083015261306381613027565b9050919050565b6000613075826120f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130a8576130a7612bdc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130ed826120f8565b91506130f8836120f8565b925082613108576131076130b3565b5b828204905092915050565b600061311e826120f8565b9150613129836120f8565b925082613139576131386130b3565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061316b82613144565b613175818561314f565b9350613185818560208601612059565b61318e8161208c565b840191505092915050565b60006080820190506131ae600083018761218d565b6131bb602083018661218d565b6131c860408301856122a3565b81810360608301526131da8184613160565b905095945050505050565b6000815190506131f481611fae565b92915050565b6000602082840312156132105761320f611f78565b5b600061321e848285016131e5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061325d602083612048565b915061326882613227565b602082019050919050565b6000602082019050818103600083015261328c81613250565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006132c9601c83612048565b91506132d482613293565b602082019050919050565b600060208201905081810360008301526132f8816132bc565b905091905056fe68747470733a2f2f6d657461646174612e656e732e646f6d61696e732f6d61696e6e65742f3078353766313838376138626631396231346663306466366664396232616363396166313437656138352fa2646970667358221220987441412c9c72718f65690e033da50121c5778f0244662fabcdd06b31bdbe8b64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063a587f04d1161007c578063a587f04d1461033a578063b88d4fde1461036a578063c87b56dd14610386578063e985e9c5146103b6578063f070edd0146103e6578063fc62da951461040257610137565b806370a08231146102985780637effd39c146102c85780638c102663146102e457806395d89b4114610300578063a22cb4651461031e57610137565b806323b872dd116100ff57806323b872dd146101f457806342842e0e14610210578063464f0c4a1461022c5780636352211e1461024a5780636653a2b81461027a57610137565b806301ffc9a71461013c57806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ba5780630e25afd2146101d6575b600080fd5b61015660048036038101906101519190611fda565b610420565b6040516101639190612022565b60405180910390f35b610174610502565b60405161018191906120d6565b60405180910390f35b6101a4600480360381019061019f919061212e565b610594565b6040516101b1919061219c565b60405180910390f35b6101d460048036038101906101cf91906121e3565b610619565b005b6101de610731565b6040516101eb91906120d6565b60405180910390f35b61020e60048036038101906102099190612223565b61074d565b005b61022a60048036038101906102259190612223565b6107ad565b005b6102346107cd565b604051610241919061219c565b60405180910390f35b610264600480360381019061025f919061212e565b6107f3565b604051610271919061219c565b60405180910390f35b6102826108a5565b60405161028f919061219c565b60405180910390f35b6102b260048036038101906102ad9190612276565b6108bd565b6040516102bf91906122b2565b60405180910390f35b6102e260048036038101906102dd9190612276565b610975565b005b6102fe60048036038101906102f99190612402565b610abe565b005b610308610dc3565b60405161031591906120d6565b60405180910390f35b61033860048036038101906103339190612477565b610e55565b005b610354600480360381019061034f9190612402565b610e6b565b60405161036191906122b2565b60405180910390f35b610384600480360381019061037f9190612558565b610f95565b005b6103a0600480360381019061039b919061212e565b610ff7565b6040516103ad91906120d6565b60405180910390f35b6103d060048036038101906103cb91906125db565b611042565b6040516103dd9190612022565b60405180910390f35b61040060048036038101906103fb9190612402565b6110d6565b005b61040a61121c565b604051610417919061219c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82611234565b5b9050919050565b6060600080546105119061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461053d9061264a565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f8261129e565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d5906126ee565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610624826107f3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90612780565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b461130a565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd61130a565b611042565b5b610722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071990612812565b60405180910390fd5b61072c8383611312565b505050565b6040518060800160405280605081526020016133006050913981565b61075e61075861130a565b826113cb565b61079d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610794906128a4565b60405180910390fd5b6107a88383836114a9565b505050565b6107c883838360405180602001604052806000815250610f95565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561089c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089390612936565b60405180910390fd5b80915050919050565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8581565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561092e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610925906129c8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0991906129fd565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7090612a76565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000610ac982610e6b565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166323b872dd610b0361130a565b30846040518463ffffffff1660e01b8152600401610b2393929190612a96565b600060405180830381600087803b158015610b3d57600080fd5b505af1158015610b51573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c53577357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610c1c929190612acd565b600060405180830381600087803b158015610c3657600080fd5b505af1158015610c4a573d6000803e3d6000fd5b50505050610d6c565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610caf57600080fd5b505afa158015610cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce791906129fd565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c83836040518363ffffffff1660e01b8152600401610d38929190612acd565b600060405180830381600087803b158015610d5257600080fd5b505af1158015610d66573d6000803e3d6000fd5b50505050505b610d7d610d7761130a565b82611710565b7faa9f5d1bb8ddbedf5ff7686b78137644f67bada64eb11d78e1a932badcea32b1610da661130a565b8383604051610db793929190612af6565b60405180910390a15050565b606060018054610dd29061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfe9061264a565b8015610e4b5780601f10610e2057610100808354040283529160200191610e4b565b820191906000526020600020905b815481529060010190602001808311610e2e57829003601f168201915b5050505050905090565b610e67610e6061130a565b838361172e565b5050565b6000808290506003815114610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90612b80565b60405180910390fd5b60005b60038160ff161015610f625760006030838360ff1681518110610ede57610edd612ba0565b5b602001015160f81c60f81b60f81c610ef69190612c0b565b90508060ff16600011158015610f0f5750600a8160ff16105b610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590612b80565b60405180910390fd5b508080610f5a90612c3f565b915050610eb8565b5082604051602001610f749190612ca5565b6040516020818303038152906040528051906020012060001c915050919050565b610fa6610fa061130a565b836113cb565b610fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdc906128a4565b60405180910390fd5b610ff18484848461189b565b50505050565b60606040518060800160405280605081526020016133006050913961101b836118f7565b60405160200161102c929190612cbc565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006110e182610e6b565b905060006110ee826107f3565b90506111016110fb61130a565b836113cb565b611140576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611137906128a4565b60405180910390fd5b61114982611a58565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166342842e0e3061118261130a565b856040518463ffffffff1660e01b81526004016111a193929190612a96565b600060405180830381600087803b1580156111bb57600080fd5b505af11580156111cf573d6000803e3d6000fd5b505050507ff060c8b10c9a1322a2c665529a83b8d7a8ba6d592d4049098c5795d6284d7c1e816111fd61130a565b858560405161120f9493929190612ce0565b60405180910390a1505050565b733aec3113a09627af7c9039954d8592ff0bc20c2581565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611385836107f3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113d68261129e565b611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90612d9e565b60405180910390fd5b6000611420836107f3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061146257506114618185611042565b5b806114a057508373ffffffffffffffffffffffffffffffffffffffff1661148884610594565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166114c9826107f3565b73ffffffffffffffffffffffffffffffffffffffff161461151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690612e30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690612ec2565b60405180910390fd5b61159a838383611b75565b6115a5600082611312565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115f59190612ee2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461164c9190612f16565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461170b838383611b7a565b505050565b61172a828260405180602001604052806000815250611b7f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561179d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179490612fb8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188e9190612022565b60405180910390a3505050565b6118a68484846114a9565b6118b284848484611bda565b6118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e89061304a565b60405180910390fd5b50505050565b6060600082141561193f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611a53565b600082905060005b6000821461197157808061195a9061306a565b915050600a8261196a91906130e2565b9150611947565b60008167ffffffffffffffff81111561198d5761198c6122d7565b5b6040519080825280601f01601f1916602001820160405280156119bf5781602001600182028036833780820191505090505b5090505b60008514611a4c576001826119d89190612ee2565b9150600a856119e79190613113565b60306119f39190612f16565b60f81b818381518110611a0957611a08612ba0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611a4591906130e2565b94506119c3565b8093505050505b919050565b6000611a63826107f3565b9050611a7181600084611b75565b611a7c600083611312565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611acc9190612ee2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b7181600084611b7a565b5050565b505050565b505050565b611b898383611d71565b611b966000848484611bda565b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc9061304a565b60405180910390fd5b505050565b6000611bfb8473ffffffffffffffffffffffffffffffffffffffff16611f4b565b15611d64578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c2461130a565b8786866040518563ffffffff1660e01b8152600401611c469493929190613199565b602060405180830381600087803b158015611c6057600080fd5b505af1925050508015611c9157506040513d601f19601f82011682018060405250810190611c8e91906131fa565b60015b611d14573d8060008114611cc1576040519150601f19603f3d011682016040523d82523d6000602084013e611cc6565b606091505b50600081511415611d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d039061304a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d69565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890613273565b60405180910390fd5b611dea8161129e565b15611e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e21906132df565b60405180910390fd5b611e3660008383611b75565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e869190612f16565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f4760008383611b7a565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611fb781611f82565b8114611fc257600080fd5b50565b600081359050611fd481611fae565b92915050565b600060208284031215611ff057611fef611f78565b5b6000611ffe84828501611fc5565b91505092915050565b60008115159050919050565b61201c81612007565b82525050565b60006020820190506120376000830184612013565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561207757808201518184015260208101905061205c565b83811115612086576000848401525b50505050565b6000601f19601f8301169050919050565b60006120a88261203d565b6120b28185612048565b93506120c2818560208601612059565b6120cb8161208c565b840191505092915050565b600060208201905081810360008301526120f0818461209d565b905092915050565b6000819050919050565b61210b816120f8565b811461211657600080fd5b50565b60008135905061212881612102565b92915050565b60006020828403121561214457612143611f78565b5b600061215284828501612119565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121868261215b565b9050919050565b6121968161217b565b82525050565b60006020820190506121b1600083018461218d565b92915050565b6121c08161217b565b81146121cb57600080fd5b50565b6000813590506121dd816121b7565b92915050565b600080604083850312156121fa576121f9611f78565b5b6000612208858286016121ce565b925050602061221985828601612119565b9150509250929050565b60008060006060848603121561223c5761223b611f78565b5b600061224a868287016121ce565b935050602061225b868287016121ce565b925050604061226c86828701612119565b9150509250925092565b60006020828403121561228c5761228b611f78565b5b600061229a848285016121ce565b91505092915050565b6122ac816120f8565b82525050565b60006020820190506122c760008301846122a3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61230f8261208c565b810181811067ffffffffffffffff8211171561232e5761232d6122d7565b5b80604052505050565b6000612341611f6e565b905061234d8282612306565b919050565b600067ffffffffffffffff82111561236d5761236c6122d7565b5b6123768261208c565b9050602081019050919050565b82818337600083830152505050565b60006123a56123a084612352565b612337565b9050828152602081018484840111156123c1576123c06122d2565b5b6123cc848285612383565b509392505050565b600082601f8301126123e9576123e86122cd565b5b81356123f9848260208601612392565b91505092915050565b60006020828403121561241857612417611f78565b5b600082013567ffffffffffffffff81111561243657612435611f7d565b5b612442848285016123d4565b91505092915050565b61245481612007565b811461245f57600080fd5b50565b6000813590506124718161244b565b92915050565b6000806040838503121561248e5761248d611f78565b5b600061249c858286016121ce565b92505060206124ad85828601612462565b9150509250929050565b600067ffffffffffffffff8211156124d2576124d16122d7565b5b6124db8261208c565b9050602081019050919050565b60006124fb6124f6846124b7565b612337565b905082815260208101848484011115612517576125166122d2565b5b612522848285612383565b509392505050565b600082601f83011261253f5761253e6122cd565b5b813561254f8482602086016124e8565b91505092915050565b6000806000806080858703121561257257612571611f78565b5b6000612580878288016121ce565b9450506020612591878288016121ce565b93505060406125a287828801612119565b925050606085013567ffffffffffffffff8111156125c3576125c2611f7d565b5b6125cf8782880161252a565b91505092959194509250565b600080604083850312156125f2576125f1611f78565b5b6000612600858286016121ce565b9250506020612611858286016121ce565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061266257607f821691505b602082108114156126765761267561261b565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006126d8602c83612048565b91506126e38261267c565b604082019050919050565b60006020820190508181036000830152612707816126cb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061276a602183612048565b91506127758261270e565b604082019050919050565b600060208201905081810360008301526127998161275d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006127fc603883612048565b9150612807826127a0565b604082019050919050565b6000602082019050818103600083015261282b816127ef565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061288e603183612048565b915061289982612832565b604082019050919050565b600060208201905081810360008301526128bd81612881565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612920602983612048565b915061292b826128c4565b604082019050919050565b6000602082019050818103600083015261294f81612913565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006129b2602a83612048565b91506129bd82612956565b604082019050919050565b600060208201905081810360008301526129e1816129a5565b9050919050565b6000815190506129f7816121b7565b92915050565b600060208284031215612a1357612a12611f78565b5b6000612a21848285016129e8565b91505092915050565b7f6f6e6c792044414f000000000000000000000000000000000000000000000000600082015250565b6000612a60600883612048565b9150612a6b82612a2a565b602082019050919050565b60006020820190508181036000830152612a8f81612a53565b9050919050565b6000606082019050612aab600083018661218d565b612ab8602083018561218d565b612ac560408301846122a3565b949350505050565b6000604082019050612ae260008301856122a3565b612aef602083018461218d565b9392505050565b6000606082019050612b0b600083018661218d565b8181036020830152612b1d818561209d565b9050612b2c60408301846122a3565b949350505050565b7f6e6f742033206469676974206e756d6265720000000000000000000000000000600082015250565b6000612b6a601283612048565b9150612b7582612b34565b602082019050919050565b60006020820190508181036000830152612b9981612b5d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c1682612bcf565b9150612c2183612bcf565b925082821015612c3457612c33612bdc565b5b828203905092915050565b6000612c4a82612bcf565b915060ff821415612c5e57612c5d612bdc565b5b600182019050919050565b600081905092915050565b6000612c7f8261203d565b612c898185612c69565b9350612c99818560208601612059565b80840191505092915050565b6000612cb18284612c74565b915081905092915050565b6000612cc88285612c74565b9150612cd48284612c74565b91508190509392505050565b6000608082019050612cf5600083018761218d565b612d02602083018661218d565b8181036040830152612d14818561209d565b9050612d2360608301846122a3565b95945050505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612d88602c83612048565b9150612d9382612d2c565b604082019050919050565b60006020820190508181036000830152612db781612d7b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612e1a602583612048565b9150612e2582612dbe565b604082019050919050565b60006020820190508181036000830152612e4981612e0d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612eac602483612048565b9150612eb782612e50565b604082019050919050565b60006020820190508181036000830152612edb81612e9f565b9050919050565b6000612eed826120f8565b9150612ef8836120f8565b925082821015612f0b57612f0a612bdc565b5b828203905092915050565b6000612f21826120f8565b9150612f2c836120f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f6157612f60612bdc565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612fa2601983612048565b9150612fad82612f6c565b602082019050919050565b60006020820190508181036000830152612fd181612f95565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613034603283612048565b915061303f82612fd8565b604082019050919050565b6000602082019050818103600083015261306381613027565b9050919050565b6000613075826120f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130a8576130a7612bdc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130ed826120f8565b91506130f8836120f8565b925082613108576131076130b3565b5b828204905092915050565b600061311e826120f8565b9150613129836120f8565b925082613139576131386130b3565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061316b82613144565b613175818561314f565b9350613185818560208601612059565b61318e8161208c565b840191505092915050565b60006080820190506131ae600083018761218d565b6131bb602083018661218d565b6131c860408301856122a3565b81810360608301526131da8184613160565b905095945050505050565b6000815190506131f481611fae565b92915050565b6000602082840312156132105761320f611f78565b5b600061321e848285016131e5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061325d602083612048565b915061326882613227565b602082019050919050565b6000602082019050818103600083015261328c81613250565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006132c9601c83612048565b91506132d482613293565b602082019050919050565b600060208201905081810360008301526132f8816132bc565b905091905056fe68747470733a2f2f6d657461646174612e656e732e646f6d61696e732f6d61696e6e65742f3078353766313838376138626631396231346663306466366664396232616363396166313437656138352fa2646970667358221220987441412c9c72718f65690e033da50121c5778f0244662fabcdd06b31bdbe8b64736f6c63430008090033
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.