More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,259 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Unwrap | 21284294 | 12 days ago | IN | 0 ETH | 0.00069217 | ||||
Safe Unwrap | 21284209 | 12 days ago | IN | 0 ETH | 0.00072097 | ||||
Safe Unwrap | 21284199 | 12 days ago | IN | 0 ETH | 0.0007286 | ||||
Safe Unwrap | 21284180 | 12 days ago | IN | 0 ETH | 0.00073305 | ||||
Safe Unwrap | 21284170 | 12 days ago | IN | 0 ETH | 0.0008206 | ||||
Safe Unwrap | 21284161 | 12 days ago | IN | 0 ETH | 0.0008165 | ||||
Safe Unwrap | 21284139 | 12 days ago | IN | 0 ETH | 0.00067848 | ||||
Safe Unwrap | 21267658 | 14 days ago | IN | 0 ETH | 0.00056468 | ||||
Safe Unwrap | 21267655 | 14 days ago | IN | 0 ETH | 0.00061718 | ||||
Safe Unwrap | 21267651 | 14 days ago | IN | 0 ETH | 0.00054249 | ||||
Safe Unwrap | 21267648 | 14 days ago | IN | 0 ETH | 0.0006287 | ||||
Safe Unwrap | 21267644 | 14 days ago | IN | 0 ETH | 0.00058337 | ||||
Safe Unwrap | 21267641 | 14 days ago | IN | 0 ETH | 0.00059623 | ||||
Safe Unwrap | 21267630 | 14 days ago | IN | 0 ETH | 0.0005112 | ||||
Safe Unwrap | 21267627 | 14 days ago | IN | 0 ETH | 0.00057894 | ||||
Safe Unwrap | 21267622 | 14 days ago | IN | 0 ETH | 0.00063033 | ||||
Safe Unwrap | 21267618 | 14 days ago | IN | 0 ETH | 0.00062551 | ||||
Safe Unwrap | 21267614 | 14 days ago | IN | 0 ETH | 0.00068534 | ||||
Safe Unwrap | 21257206 | 15 days ago | IN | 0 ETH | 0.00071742 | ||||
Safe Unwrap | 21257195 | 15 days ago | IN | 0 ETH | 0.00066193 | ||||
Safe Unwrap | 21257189 | 15 days ago | IN | 0 ETH | 0.00061701 | ||||
Safe Unwrap | 21257186 | 15 days ago | IN | 0 ETH | 0.00058861 | ||||
Safe Unwrap | 21110793 | 36 days ago | IN | 0 ETH | 0.00016061 | ||||
Safe Unwrap | 21110793 | 36 days ago | IN | 0 ETH | 0.00017225 | ||||
Safe Unwrap | 21106482 | 36 days ago | IN | 0 ETH | 0.0002027 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ENS4
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 ENS4 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, uint256 ENSName, uint256 tokenId); event SafeUnwrap( address from, address to, uint256 ENSName, uint256 tokenId ); constructor() ERC721("Wrapped 4-Digit ENS", "ENS4") {} //fork from Openzepplin String.sol function toString(uint256 value) internal pure returns (string memory) { 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); } function ENSNametoId(uint256 ENSNameDigit) public pure returns (uint256) { require( 999 < ENSNameDigit && ENSNameDigit < 10000, "not 4-digit number" ); string memory name_string = toString(ENSNameDigit); return uint256(keccak256(abi.encodePacked(name_string))); } //set rent market when onboard, and assign rent market as ens controller function setRentMarket(address newrentmarket) external { address dao = IFractonTokenFactory(FRACTON_FACTORY).getDAOAddress(); require(msg.sender == dao, 'only DAO'); rent_market = newrentmarket; } function safeWrap(uint256 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(uint256 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":"uint256","name":"ENSName","type":"uint256"},{"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":"uint256","name":"ENSName","type":"uint256"},{"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":"uint256","name":"ENSNameDigit","type":"uint256"}],"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":"uint256","name":"ENSName","type":"uint256"}],"name":"safeUnwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ENSName","type":"uint256"}],"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
60806040523480156200001157600080fd5b506040518060400160405280601381526020017f5772617070656420342d446967697420454e53000000000000000000000000008152506040518060400160405280600481526020017f454e533400000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620000b8565b508060019080519060200190620000af929190620000b8565b505050620001cd565b828054620000c69062000197565b90600052602060002090601f016020900481019282620000ea576000855562000136565b82601f106200010557805160ff191683800117855562000136565b8280016001018555821562000136579182015b828111156200013557825182559160200191906001019062000118565b5b50905062000145919062000149565b5090565b5b80821115620001645760008160009055506001016200014a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620001b057607f821691505b60208210811415620001c757620001c662000168565b5b50919050565b6132eb80620001dd6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80636653a2b8116100b857806396af8e761161007c57806396af8e761461033a578063a22cb4651461036a578063b88d4fde14610386578063c87b56dd146103a2578063e985e9c5146103d2578063fc62da951461040257610137565b80636653a2b8146102965780636ac6954b146102b457806370a08231146102d05780637effd39c1461030057806395d89b411461031c57610137565b806323b872dd116100ff57806323b872dd146101f45780633ffabafe1461021057806342842e0e1461022c578063464f0c4a146102485780636352211e1461026657610137565b806301ffc9a71461013c57806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ba5780630e25afd2146101d6575b600080fd5b610156600480360381019061015191906120a3565b610420565b60405161016391906120eb565b60405180910390f35b610174610502565b604051610181919061219f565b60405180910390f35b6101a4600480360381019061019f91906121f7565b610594565b6040516101b19190612265565b60405180910390f35b6101d460048036038101906101cf91906122ac565b610619565b005b6101de610731565b6040516101eb919061219f565b60405180910390f35b61020e600480360381019061020991906122ec565b61074d565b005b61022a600480360381019061022591906121f7565b6107ad565b005b610246600480360381019061024191906122ec565b610ab2565b005b610250610ad2565b60405161025d9190612265565b60405180910390f35b610280600480360381019061027b91906121f7565b610af8565b60405161028d9190612265565b60405180910390f35b61029e610baa565b6040516102ab9190612265565b60405180910390f35b6102ce60048036038101906102c991906121f7565b610bc2565b005b6102ea60048036038101906102e5919061233f565b610d08565b6040516102f7919061237b565b60405180910390f35b61031a6004803603810190610315919061233f565b610dc0565b005b610324610f09565b604051610331919061219f565b60405180910390f35b610354600480360381019061034f91906121f7565b610f9b565b604051610361919061237b565b60405180910390f35b610384600480360381019061037f91906123c2565b61102d565b005b6103a0600480360381019061039b9190612537565b611043565b005b6103bc60048036038101906103b791906121f7565b6110a5565b6040516103c9919061219f565b60405180910390f35b6103ec60048036038101906103e791906125ba565b6110f0565b6040516103f991906120eb565b60405180910390f35b61040a611184565b6040516104179190612265565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa8261119c565b5b9050919050565b60606000805461051190612629565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90612629565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f82611206565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d5906126cd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061062482610af8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c9061275f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b4611272565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd611272565b6110f0565b5b610722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610719906127f1565b60405180910390fd5b61072c838361127a565b505050565b6040518060800160405280605081526020016132666050913981565b61075e610758611272565b82611333565b61079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490612883565b60405180910390fd5b6107a8838383611411565b505050565b60006107b882610f9b565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166323b872dd6107f2611272565b30846040518463ffffffff1660e01b8152600401610812939291906128a3565b600060405180830381600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610942577357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161090b9291906128da565b600060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b50505050610a5b565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561099e57600080fd5b505afa1580156109b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d69190612918565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c83836040518363ffffffff1660e01b8152600401610a279291906128da565b600060405180830381600087803b158015610a4157600080fd5b505af1158015610a55573d6000803e3d6000fd5b50505050505b610a6c610a66611272565b82611678565b7ffe3d448ee59e68d4ba289355022199f41226eb48c344985aec0cd13da79fe282610a95611272565b8383604051610aa693929190612945565b60405180910390a15050565b610acd83838360405180602001604052806000815250611043565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b98906129ee565b60405180910390fd5b80915050919050565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8581565b6000610bcd82610f9b565b90506000610bda82610af8565b9050610bed610be7611272565b83611333565b610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390612883565b60405180910390fd5b610c3582611696565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166342842e0e30610c6e611272565b856040518463ffffffff1660e01b8152600401610c8d939291906128a3565b600060405180830381600087803b158015610ca757600080fd5b505af1158015610cbb573d6000803e3d6000fd5b505050507fab5256d8b9a95ae55d9e6c442f9a8d216db560acfe9c12a7261bd1492f89bcd881610ce9611272565b8585604051610cfb9493929190612a0e565b60405180910390a1505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090612ac5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1c57600080fd5b505afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612918565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90612b31565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b606060018054610f1890612629565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4490612629565b8015610f915780601f10610f6657610100808354040283529160200191610f91565b820191906000526020600020905b815481529060010190602001808311610f7457829003601f168201915b5050505050905090565b6000816103e7108015610faf575061271082105b610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590612b9d565b60405180910390fd5b6000610ff9836117b3565b90508060405160200161100c9190612bf9565b6040516020818303038152906040528051906020012060001c915050919050565b61103f611038611272565b8383611914565b5050565b61105461104e611272565b83611333565b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a90612883565b60405180910390fd5b61109f84848484611a81565b50505050565b6060604051806080016040528060508152602001613266605091396110c983611add565b6040516020016110da929190612c10565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b733aec3113a09627af7c9039954d8592ff0bc20c2581565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112ed83610af8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061133e82611206565b61137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490612ca6565b60405180910390fd5b600061138883610af8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113ca57506113c981856110f0565b5b8061140857508373ffffffffffffffffffffffffffffffffffffffff166113f084610594565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661143182610af8565b73ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90612d38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90612dca565b60405180910390fd5b611502838383611c3e565b61150d60008261127a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461155d9190612e19565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115b49190612e4d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611673838383611c43565b505050565b611692828260405180602001604052806000815250611c48565b5050565b60006116a182610af8565b90506116af81600084611c3e565b6116ba60008361127a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461170a9190612e19565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117af81600084611c43565b5050565b606060008214156117fb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061190f565b600082905060005b6000821461182d57808061181690612ea3565b915050600a826118269190612f1b565b9150611803565b60008167ffffffffffffffff8111156118495761184861240c565b5b6040519080825280601f01601f19166020018201604052801561187b5781602001600182028036833780820191505090505b5090505b60008514611908576001826118949190612e19565b9150600a856118a39190612f4c565b60306118af9190612e4d565b60f81b8183815181106118c5576118c4612f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856119019190612f1b565b945061187f565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90612ff8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a7491906120eb565b60405180910390a3505050565b611a8c848484611411565b611a9884848484611ca3565b611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061308a565b60405180910390fd5b50505050565b60606000821415611b25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c39565b600082905060005b60008214611b57578080611b4090612ea3565b915050600a82611b509190612f1b565b9150611b2d565b60008167ffffffffffffffff811115611b7357611b7261240c565b5b6040519080825280601f01601f191660200182016040528015611ba55781602001600182028036833780820191505090505b5090505b60008514611c3257600182611bbe9190612e19565b9150600a85611bcd9190612f4c565b6030611bd99190612e4d565b60f81b818381518110611bef57611bee612f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2b9190612f1b565b9450611ba9565b8093505050505b919050565b505050565b505050565b611c528383611e3a565b611c5f6000848484611ca3565b611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c959061308a565b60405180910390fd5b505050565b6000611cc48473ffffffffffffffffffffffffffffffffffffffff16612014565b15611e2d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ced611272565b8786866040518563ffffffff1660e01b8152600401611d0f94939291906130ff565b602060405180830381600087803b158015611d2957600080fd5b505af1925050508015611d5a57506040513d601f19601f82011682018060405250810190611d579190613160565b60015b611ddd573d8060008114611d8a576040519150601f19603f3d011682016040523d82523d6000602084013e611d8f565b606091505b50600081511415611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc9061308a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e32565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea1906131d9565b60405180910390fd5b611eb381611206565b15611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90613245565b60405180910390fd5b611eff60008383611c3e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f4f9190612e4d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201060008383611c43565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6120808161204b565b811461208b57600080fd5b50565b60008135905061209d81612077565b92915050565b6000602082840312156120b9576120b8612041565b5b60006120c78482850161208e565b91505092915050565b60008115159050919050565b6120e5816120d0565b82525050565b600060208201905061210060008301846120dc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612140578082015181840152602081019050612125565b8381111561214f576000848401525b50505050565b6000601f19601f8301169050919050565b600061217182612106565b61217b8185612111565b935061218b818560208601612122565b61219481612155565b840191505092915050565b600060208201905081810360008301526121b98184612166565b905092915050565b6000819050919050565b6121d4816121c1565b81146121df57600080fd5b50565b6000813590506121f1816121cb565b92915050565b60006020828403121561220d5761220c612041565b5b600061221b848285016121e2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061224f82612224565b9050919050565b61225f81612244565b82525050565b600060208201905061227a6000830184612256565b92915050565b61228981612244565b811461229457600080fd5b50565b6000813590506122a681612280565b92915050565b600080604083850312156122c3576122c2612041565b5b60006122d185828601612297565b92505060206122e2858286016121e2565b9150509250929050565b60008060006060848603121561230557612304612041565b5b600061231386828701612297565b935050602061232486828701612297565b9250506040612335868287016121e2565b9150509250925092565b60006020828403121561235557612354612041565b5b600061236384828501612297565b91505092915050565b612375816121c1565b82525050565b6000602082019050612390600083018461236c565b92915050565b61239f816120d0565b81146123aa57600080fd5b50565b6000813590506123bc81612396565b92915050565b600080604083850312156123d9576123d8612041565b5b60006123e785828601612297565b92505060206123f8858286016123ad565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61244482612155565b810181811067ffffffffffffffff821117156124635761246261240c565b5b80604052505050565b6000612476612037565b9050612482828261243b565b919050565b600067ffffffffffffffff8211156124a2576124a161240c565b5b6124ab82612155565b9050602081019050919050565b82818337600083830152505050565b60006124da6124d584612487565b61246c565b9050828152602081018484840111156124f6576124f5612407565b5b6125018482856124b8565b509392505050565b600082601f83011261251e5761251d612402565b5b813561252e8482602086016124c7565b91505092915050565b6000806000806080858703121561255157612550612041565b5b600061255f87828801612297565b945050602061257087828801612297565b9350506040612581878288016121e2565b925050606085013567ffffffffffffffff8111156125a2576125a1612046565b5b6125ae87828801612509565b91505092959194509250565b600080604083850312156125d1576125d0612041565b5b60006125df85828601612297565b92505060206125f085828601612297565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061264157607f821691505b60208210811415612655576126546125fa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006126b7602c83612111565b91506126c28261265b565b604082019050919050565b600060208201905081810360008301526126e6816126aa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612749602183612111565b9150612754826126ed565b604082019050919050565b600060208201905081810360008301526127788161273c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006127db603883612111565b91506127e68261277f565b604082019050919050565b6000602082019050818103600083015261280a816127ce565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061286d603183612111565b915061287882612811565b604082019050919050565b6000602082019050818103600083015261289c81612860565b9050919050565b60006060820190506128b86000830186612256565b6128c56020830185612256565b6128d2604083018461236c565b949350505050565b60006040820190506128ef600083018561236c565b6128fc6020830184612256565b9392505050565b60008151905061291281612280565b92915050565b60006020828403121561292e5761292d612041565b5b600061293c84828501612903565b91505092915050565b600060608201905061295a6000830186612256565b612967602083018561236c565b612974604083018461236c565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006129d8602983612111565b91506129e38261297c565b604082019050919050565b60006020820190508181036000830152612a07816129cb565b9050919050565b6000608082019050612a236000830187612256565b612a306020830186612256565b612a3d604083018561236c565b612a4a606083018461236c565b95945050505050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612aaf602a83612111565b9150612aba82612a53565b604082019050919050565b60006020820190508181036000830152612ade81612aa2565b9050919050565b7f6f6e6c792044414f000000000000000000000000000000000000000000000000600082015250565b6000612b1b600883612111565b9150612b2682612ae5565b602082019050919050565b60006020820190508181036000830152612b4a81612b0e565b9050919050565b7f6e6f7420342d6469676974206e756d6265720000000000000000000000000000600082015250565b6000612b87601283612111565b9150612b9282612b51565b602082019050919050565b60006020820190508181036000830152612bb681612b7a565b9050919050565b600081905092915050565b6000612bd382612106565b612bdd8185612bbd565b9350612bed818560208601612122565b80840191505092915050565b6000612c058284612bc8565b915081905092915050565b6000612c1c8285612bc8565b9150612c288284612bc8565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612c90602c83612111565b9150612c9b82612c34565b604082019050919050565b60006020820190508181036000830152612cbf81612c83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612d22602583612111565b9150612d2d82612cc6565b604082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612db4602483612111565b9150612dbf82612d58565b604082019050919050565b60006020820190508181036000830152612de381612da7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e24826121c1565b9150612e2f836121c1565b925082821015612e4257612e41612dea565b5b828203905092915050565b6000612e58826121c1565b9150612e63836121c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e9857612e97612dea565b5b828201905092915050565b6000612eae826121c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ee157612ee0612dea565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f26826121c1565b9150612f31836121c1565b925082612f4157612f40612eec565b5b828204905092915050565b6000612f57826121c1565b9150612f62836121c1565b925082612f7257612f71612eec565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612fe2601983612111565b9150612fed82612fac565b602082019050919050565b6000602082019050818103600083015261301181612fd5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613074603283612111565b915061307f82613018565b604082019050919050565b600060208201905081810360008301526130a381613067565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006130d1826130aa565b6130db81856130b5565b93506130eb818560208601612122565b6130f481612155565b840191505092915050565b60006080820190506131146000830187612256565b6131216020830186612256565b61312e604083018561236c565b818103606083015261314081846130c6565b905095945050505050565b60008151905061315a81612077565b92915050565b60006020828403121561317657613175612041565b5b60006131848482850161314b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006131c3602083612111565b91506131ce8261318d565b602082019050919050565b600060208201905081810360008301526131f2816131b6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061322f601c83612111565b915061323a826131f9565b602082019050919050565b6000602082019050818103600083015261325e81613222565b905091905056fe68747470733a2f2f6d657461646174612e656e732e646f6d61696e732f6d61696e6e65742f3078353766313838376138626631396231346663306466366664396232616363396166313437656138352fa2646970667358221220e69e65688a445e7dd6ae21d093eac949e0333df1a3ea9306d734d2236fd9fab864736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80636653a2b8116100b857806396af8e761161007c57806396af8e761461033a578063a22cb4651461036a578063b88d4fde14610386578063c87b56dd146103a2578063e985e9c5146103d2578063fc62da951461040257610137565b80636653a2b8146102965780636ac6954b146102b457806370a08231146102d05780637effd39c1461030057806395d89b411461031c57610137565b806323b872dd116100ff57806323b872dd146101f45780633ffabafe1461021057806342842e0e1461022c578063464f0c4a146102485780636352211e1461026657610137565b806301ffc9a71461013c57806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ba5780630e25afd2146101d6575b600080fd5b610156600480360381019061015191906120a3565b610420565b60405161016391906120eb565b60405180910390f35b610174610502565b604051610181919061219f565b60405180910390f35b6101a4600480360381019061019f91906121f7565b610594565b6040516101b19190612265565b60405180910390f35b6101d460048036038101906101cf91906122ac565b610619565b005b6101de610731565b6040516101eb919061219f565b60405180910390f35b61020e600480360381019061020991906122ec565b61074d565b005b61022a600480360381019061022591906121f7565b6107ad565b005b610246600480360381019061024191906122ec565b610ab2565b005b610250610ad2565b60405161025d9190612265565b60405180910390f35b610280600480360381019061027b91906121f7565b610af8565b60405161028d9190612265565b60405180910390f35b61029e610baa565b6040516102ab9190612265565b60405180910390f35b6102ce60048036038101906102c991906121f7565b610bc2565b005b6102ea60048036038101906102e5919061233f565b610d08565b6040516102f7919061237b565b60405180910390f35b61031a6004803603810190610315919061233f565b610dc0565b005b610324610f09565b604051610331919061219f565b60405180910390f35b610354600480360381019061034f91906121f7565b610f9b565b604051610361919061237b565b60405180910390f35b610384600480360381019061037f91906123c2565b61102d565b005b6103a0600480360381019061039b9190612537565b611043565b005b6103bc60048036038101906103b791906121f7565b6110a5565b6040516103c9919061219f565b60405180910390f35b6103ec60048036038101906103e791906125ba565b6110f0565b6040516103f991906120eb565b60405180910390f35b61040a611184565b6040516104179190612265565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa8261119c565b5b9050919050565b60606000805461051190612629565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90612629565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f82611206565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d5906126cd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061062482610af8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c9061275f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b4611272565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd611272565b6110f0565b5b610722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610719906127f1565b60405180910390fd5b61072c838361127a565b505050565b6040518060800160405280605081526020016132666050913981565b61075e610758611272565b82611333565b61079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490612883565b60405180910390fd5b6107a8838383611411565b505050565b60006107b882610f9b565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166323b872dd6107f2611272565b30846040518463ffffffff1660e01b8152600401610812939291906128a3565b600060405180830381600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610942577357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c82600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161090b9291906128da565b600060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b50505050610a5b565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561099e57600080fd5b505afa1580156109b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d69190612918565b90507357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166328ed4f6c83836040518363ffffffff1660e01b8152600401610a279291906128da565b600060405180830381600087803b158015610a4157600080fd5b505af1158015610a55573d6000803e3d6000fd5b50505050505b610a6c610a66611272565b82611678565b7ffe3d448ee59e68d4ba289355022199f41226eb48c344985aec0cd13da79fe282610a95611272565b8383604051610aa693929190612945565b60405180910390a15050565b610acd83838360405180602001604052806000815250611043565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b98906129ee565b60405180910390fd5b80915050919050565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8581565b6000610bcd82610f9b565b90506000610bda82610af8565b9050610bed610be7611272565b83611333565b610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390612883565b60405180910390fd5b610c3582611696565b7357f1887a8bf19b14fc0df6fd9b2acc9af147ea8573ffffffffffffffffffffffffffffffffffffffff166342842e0e30610c6e611272565b856040518463ffffffff1660e01b8152600401610c8d939291906128a3565b600060405180830381600087803b158015610ca757600080fd5b505af1158015610cbb573d6000803e3d6000fd5b505050507fab5256d8b9a95ae55d9e6c442f9a8d216db560acfe9c12a7261bd1492f89bcd881610ce9611272565b8585604051610cfb9493929190612a0e565b60405180910390a1505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090612ac5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000733aec3113a09627af7c9039954d8592ff0bc20c2573ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1c57600080fd5b505afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612918565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90612b31565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b606060018054610f1890612629565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4490612629565b8015610f915780601f10610f6657610100808354040283529160200191610f91565b820191906000526020600020905b815481529060010190602001808311610f7457829003601f168201915b5050505050905090565b6000816103e7108015610faf575061271082105b610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590612b9d565b60405180910390fd5b6000610ff9836117b3565b90508060405160200161100c9190612bf9565b6040516020818303038152906040528051906020012060001c915050919050565b61103f611038611272565b8383611914565b5050565b61105461104e611272565b83611333565b611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a90612883565b60405180910390fd5b61109f84848484611a81565b50505050565b6060604051806080016040528060508152602001613266605091396110c983611add565b6040516020016110da929190612c10565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b733aec3113a09627af7c9039954d8592ff0bc20c2581565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112ed83610af8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061133e82611206565b61137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490612ca6565b60405180910390fd5b600061138883610af8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113ca57506113c981856110f0565b5b8061140857508373ffffffffffffffffffffffffffffffffffffffff166113f084610594565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661143182610af8565b73ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90612d38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90612dca565b60405180910390fd5b611502838383611c3e565b61150d60008261127a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461155d9190612e19565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115b49190612e4d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611673838383611c43565b505050565b611692828260405180602001604052806000815250611c48565b5050565b60006116a182610af8565b90506116af81600084611c3e565b6116ba60008361127a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461170a9190612e19565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117af81600084611c43565b5050565b606060008214156117fb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061190f565b600082905060005b6000821461182d57808061181690612ea3565b915050600a826118269190612f1b565b9150611803565b60008167ffffffffffffffff8111156118495761184861240c565b5b6040519080825280601f01601f19166020018201604052801561187b5781602001600182028036833780820191505090505b5090505b60008514611908576001826118949190612e19565b9150600a856118a39190612f4c565b60306118af9190612e4d565b60f81b8183815181106118c5576118c4612f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856119019190612f1b565b945061187f565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90612ff8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a7491906120eb565b60405180910390a3505050565b611a8c848484611411565b611a9884848484611ca3565b611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061308a565b60405180910390fd5b50505050565b60606000821415611b25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c39565b600082905060005b60008214611b57578080611b4090612ea3565b915050600a82611b509190612f1b565b9150611b2d565b60008167ffffffffffffffff811115611b7357611b7261240c565b5b6040519080825280601f01601f191660200182016040528015611ba55781602001600182028036833780820191505090505b5090505b60008514611c3257600182611bbe9190612e19565b9150600a85611bcd9190612f4c565b6030611bd99190612e4d565b60f81b818381518110611bef57611bee612f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2b9190612f1b565b9450611ba9565b8093505050505b919050565b505050565b505050565b611c528383611e3a565b611c5f6000848484611ca3565b611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c959061308a565b60405180910390fd5b505050565b6000611cc48473ffffffffffffffffffffffffffffffffffffffff16612014565b15611e2d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ced611272565b8786866040518563ffffffff1660e01b8152600401611d0f94939291906130ff565b602060405180830381600087803b158015611d2957600080fd5b505af1925050508015611d5a57506040513d601f19601f82011682018060405250810190611d579190613160565b60015b611ddd573d8060008114611d8a576040519150601f19603f3d011682016040523d82523d6000602084013e611d8f565b606091505b50600081511415611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc9061308a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e32565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea1906131d9565b60405180910390fd5b611eb381611206565b15611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90613245565b60405180910390fd5b611eff60008383611c3e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f4f9190612e4d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201060008383611c43565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6120808161204b565b811461208b57600080fd5b50565b60008135905061209d81612077565b92915050565b6000602082840312156120b9576120b8612041565b5b60006120c78482850161208e565b91505092915050565b60008115159050919050565b6120e5816120d0565b82525050565b600060208201905061210060008301846120dc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612140578082015181840152602081019050612125565b8381111561214f576000848401525b50505050565b6000601f19601f8301169050919050565b600061217182612106565b61217b8185612111565b935061218b818560208601612122565b61219481612155565b840191505092915050565b600060208201905081810360008301526121b98184612166565b905092915050565b6000819050919050565b6121d4816121c1565b81146121df57600080fd5b50565b6000813590506121f1816121cb565b92915050565b60006020828403121561220d5761220c612041565b5b600061221b848285016121e2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061224f82612224565b9050919050565b61225f81612244565b82525050565b600060208201905061227a6000830184612256565b92915050565b61228981612244565b811461229457600080fd5b50565b6000813590506122a681612280565b92915050565b600080604083850312156122c3576122c2612041565b5b60006122d185828601612297565b92505060206122e2858286016121e2565b9150509250929050565b60008060006060848603121561230557612304612041565b5b600061231386828701612297565b935050602061232486828701612297565b9250506040612335868287016121e2565b9150509250925092565b60006020828403121561235557612354612041565b5b600061236384828501612297565b91505092915050565b612375816121c1565b82525050565b6000602082019050612390600083018461236c565b92915050565b61239f816120d0565b81146123aa57600080fd5b50565b6000813590506123bc81612396565b92915050565b600080604083850312156123d9576123d8612041565b5b60006123e785828601612297565b92505060206123f8858286016123ad565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61244482612155565b810181811067ffffffffffffffff821117156124635761246261240c565b5b80604052505050565b6000612476612037565b9050612482828261243b565b919050565b600067ffffffffffffffff8211156124a2576124a161240c565b5b6124ab82612155565b9050602081019050919050565b82818337600083830152505050565b60006124da6124d584612487565b61246c565b9050828152602081018484840111156124f6576124f5612407565b5b6125018482856124b8565b509392505050565b600082601f83011261251e5761251d612402565b5b813561252e8482602086016124c7565b91505092915050565b6000806000806080858703121561255157612550612041565b5b600061255f87828801612297565b945050602061257087828801612297565b9350506040612581878288016121e2565b925050606085013567ffffffffffffffff8111156125a2576125a1612046565b5b6125ae87828801612509565b91505092959194509250565b600080604083850312156125d1576125d0612041565b5b60006125df85828601612297565b92505060206125f085828601612297565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061264157607f821691505b60208210811415612655576126546125fa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006126b7602c83612111565b91506126c28261265b565b604082019050919050565b600060208201905081810360008301526126e6816126aa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612749602183612111565b9150612754826126ed565b604082019050919050565b600060208201905081810360008301526127788161273c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006127db603883612111565b91506127e68261277f565b604082019050919050565b6000602082019050818103600083015261280a816127ce565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061286d603183612111565b915061287882612811565b604082019050919050565b6000602082019050818103600083015261289c81612860565b9050919050565b60006060820190506128b86000830186612256565b6128c56020830185612256565b6128d2604083018461236c565b949350505050565b60006040820190506128ef600083018561236c565b6128fc6020830184612256565b9392505050565b60008151905061291281612280565b92915050565b60006020828403121561292e5761292d612041565b5b600061293c84828501612903565b91505092915050565b600060608201905061295a6000830186612256565b612967602083018561236c565b612974604083018461236c565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006129d8602983612111565b91506129e38261297c565b604082019050919050565b60006020820190508181036000830152612a07816129cb565b9050919050565b6000608082019050612a236000830187612256565b612a306020830186612256565b612a3d604083018561236c565b612a4a606083018461236c565b95945050505050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612aaf602a83612111565b9150612aba82612a53565b604082019050919050565b60006020820190508181036000830152612ade81612aa2565b9050919050565b7f6f6e6c792044414f000000000000000000000000000000000000000000000000600082015250565b6000612b1b600883612111565b9150612b2682612ae5565b602082019050919050565b60006020820190508181036000830152612b4a81612b0e565b9050919050565b7f6e6f7420342d6469676974206e756d6265720000000000000000000000000000600082015250565b6000612b87601283612111565b9150612b9282612b51565b602082019050919050565b60006020820190508181036000830152612bb681612b7a565b9050919050565b600081905092915050565b6000612bd382612106565b612bdd8185612bbd565b9350612bed818560208601612122565b80840191505092915050565b6000612c058284612bc8565b915081905092915050565b6000612c1c8285612bc8565b9150612c288284612bc8565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612c90602c83612111565b9150612c9b82612c34565b604082019050919050565b60006020820190508181036000830152612cbf81612c83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612d22602583612111565b9150612d2d82612cc6565b604082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612db4602483612111565b9150612dbf82612d58565b604082019050919050565b60006020820190508181036000830152612de381612da7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e24826121c1565b9150612e2f836121c1565b925082821015612e4257612e41612dea565b5b828203905092915050565b6000612e58826121c1565b9150612e63836121c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e9857612e97612dea565b5b828201905092915050565b6000612eae826121c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ee157612ee0612dea565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f26826121c1565b9150612f31836121c1565b925082612f4157612f40612eec565b5b828204905092915050565b6000612f57826121c1565b9150612f62836121c1565b925082612f7257612f71612eec565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612fe2601983612111565b9150612fed82612fac565b602082019050919050565b6000602082019050818103600083015261301181612fd5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613074603283612111565b915061307f82613018565b604082019050919050565b600060208201905081810360008301526130a381613067565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006130d1826130aa565b6130db81856130b5565b93506130eb818560208601612122565b6130f481612155565b840191505092915050565b60006080820190506131146000830187612256565b6131216020830186612256565b61312e604083018561236c565b818103606083015261314081846130c6565b905095945050505050565b60008151905061315a81612077565b92915050565b60006020828403121561317657613175612041565b5b60006131848482850161314b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006131c3602083612111565b91506131ce8261318d565b602082019050919050565b600060208201905081810360008301526131f2816131b6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061322f601c83612111565b915061323a826131f9565b602082019050919050565b6000602082019050818103600083015261325e81613222565b905091905056fe68747470733a2f2f6d657461646174612e656e732e646f6d61696e732f6d61696e6e65742f3078353766313838376138626631396231346663306466366664396232616363396166313437656138352fa2646970667358221220e69e65688a445e7dd6ae21d093eac949e0333df1a3ea9306d734d2236fd9fab864736f6c63430008090033
Loading...
Loading
Loading...
Loading
OVERVIEW
Wrapped 4-Digit ENS are ERC721 Tokens, each one backed 1:1 by an original 4-digit ENS address.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.