Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
TokenTracker
Multi Chain
Multichain Addresses
1 address found via
Latest 4 from a total of 4 transactions
Latest 25 internal transactions (View All)
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
9009247 | 134 days 6 hrs ago | 0 ETH | ||||
9009247 | 134 days 6 hrs ago | 0 ETH | ||||
9009207 | 134 days 6 hrs ago | 0 ETH | ||||
9009207 | 134 days 6 hrs ago | 0 ETH | ||||
8971797 | 140 days 18 hrs ago | 0 ETH | ||||
8971797 | 140 days 18 hrs ago | 0 ETH | ||||
8971781 | 140 days 18 hrs ago | 0 ETH | ||||
8971781 | 140 days 18 hrs ago | 0 ETH | ||||
8971757 | 140 days 18 hrs ago | 0 ETH | ||||
8971757 | 140 days 18 hrs ago | 0 ETH | ||||
8971744 | 140 days 18 hrs ago | 0 ETH | ||||
8971744 | 140 days 18 hrs ago | 0 ETH | ||||
8869467 | 158 days 15 hrs ago | 0 ETH | ||||
8863254 | 159 days 17 hrs ago | 0 ETH | ||||
8863254 | 159 days 17 hrs ago | 0 ETH | ||||
8863220 | 159 days 17 hrs ago | 0 ETH | ||||
8863220 | 159 days 17 hrs ago | 0 ETH | ||||
8863207 | 159 days 17 hrs ago | 0 ETH | ||||
8863207 | 159 days 17 hrs ago | 0 ETH | ||||
8863198 | 159 days 17 hrs ago | 0 ETH | ||||
8863198 | 159 days 17 hrs ago | 0 ETH | ||||
8863193 | 159 days 18 hrs ago | 0 ETH | ||||
8863193 | 159 days 18 hrs ago | 0 ETH | ||||
8859261 | 160 days 10 hrs ago | 0 ETH | ||||
8859261 | 160 days 10 hrs ago | 0 ETH |
Loading...
Loading
Contract Name:
ERC5679Ext721RefImpl
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0 // Author: Zainan Victor Zhou <[email protected]> // Open source repo: http://zzn.li/ercref pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./ERC5679.sol"; contract ERC5679Ext721RefImpl is ERC5679Ext721, ERC721 { event ErcRefImplDeploy(uint256 version, string name, string url); constructor(uint256 _version) ERC721("ERC5679Ext721RefImpl", "ERC5679Ext721RefImpl") { emit ErcRefImplDeploy(_version, "ERC5679Ext721RefImpl", "http://zzn.li/ercref"); } function safeMint( address _to, uint256 _id, bytes calldata // _data (unused) ) external override { // NO ACCESS CONTROL in this simple reference implementation. // Please DO NOT USE this in production. _safeMint(_to, _id); // ignoring _data in this simple reference implementation. } function burn( address, // _from, (unused) uint256 _id, bytes calldata // _data (unused) ) external override { // NO ACCESS CONTROL in this simple reference implementation. // Please DO NOT USE this in production. _burn(_id); // ignoring _data in this simple reference implementation. } function supportsInterface(bytes4 interfaceId) public view override(ERC5679Ext721, ERC721) returns (bool) {} }
// SPDX-License-Identifier: Apache-2.0 // Author: Zainan Victor Zhou <[email protected]> pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./IERC5679.sol"; abstract contract ERC5679Ext20 is IERC5679Ext20, ERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC5679Ext20).interfaceId || super.supportsInterface(interfaceId); } } abstract contract ERC5679Ext721 is IERC5679Ext721, ERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC5679Ext721).interfaceId || super.supportsInterface(interfaceId); } } abstract contract ERC5679Ext1155 is IERC5679Ext1155, ERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC5679Ext1155).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: Apache-2.0 // Author: Zainan Victor Zhou <[email protected]> import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; pragma solidity ^0.8.9; interface IERC5679Ext20 { function mint(address _to, uint256 _amount, bytes calldata _data) external; function burn(address _from, uint256 _amount, bytes calldata _data) external; } interface IERC5679Ext721 { function safeMint(address _to, uint256 _id, bytes calldata _data) external; function burn(address _from, uint256 _id, bytes calldata _data) external; } interface IERC5679Ext1155 { function safeMint(address _to, uint256 _id, uint256 _amount, bytes calldata _data) external; function safeMintBatch(address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; function burn(address _from, uint256 _id, uint256 _amount, bytes[] calldata _data) external; function burnBatch(address _from, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata _data) external; }
// 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 (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"uint256","name":"_version","type":"uint256"}],"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":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"url","type":"string"}],"name":"ErcRefImplDeploy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002b9138038062002b91833981810160405281019062000037919062000149565b6040518060400160405280601481526020017f45524335363739457874373231526566496d706c0000000000000000000000008152506040518060400160405280601481526020017f45524335363739457874373231526566496d706c0000000000000000000000008152508160009081620000b49190620003eb565b508060019081620000c69190620003eb565b5050507ffb5c37dd7c9ac630435f7dd4758617b3ee83e25aaf927852f52543bc84b612e281604051620000fa919062000594565b60405180910390a150620005db565b600080fd5b6000819050919050565b62000123816200010e565b81146200012f57600080fd5b50565b600081519050620001438162000118565b92915050565b60006020828403121562000162576200016162000109565b5b6000620001728482850162000132565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620001fd57607f821691505b602082108103620002135762000212620001b5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200027d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200023e565b6200028986836200023e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620002cc620002c6620002c0846200010e565b620002a1565b6200010e565b9050919050565b6000819050919050565b620002e883620002ab565b62000300620002f782620002d3565b8484546200024b565b825550505050565b600090565b6200031762000308565b62000324818484620002dd565b505050565b5b818110156200034c57620003406000826200030d565b6001810190506200032a565b5050565b601f8211156200039b57620003658162000219565b62000370846200022e565b8101602085101562000380578190505b620003986200038f856200022e565b83018262000329565b50505b505050565b600082821c905092915050565b6000620003c060001984600802620003a0565b1980831691505092915050565b6000620003db8383620003ad565b9150826002028217905092915050565b620003f6826200017b565b67ffffffffffffffff81111562000412576200041162000186565b5b6200041e8254620001e4565b6200042b82828562000350565b600060209050601f8311600181146200046357600084156200044e578287015190505b6200045a8582620003cd565b865550620004ca565b601f198416620004738662000219565b60005b828110156200049d5784890151825560018201915060208501945060208101905062000476565b86831015620004bd5784890151620004b9601f891682620003ad565b8355505b6001600288020188555050505b505050505050565b620004dd816200010e565b82525050565b600082825260208201905092915050565b7f45524335363739457874373231526566496d706c000000000000000000000000600082015250565b60006200052c601483620004e3565b91506200053982620004f4565b602082019050919050565b7f687474703a2f2f7a7a6e2e6c692f657263726566000000000000000000000000600082015250565b60006200057c601483620004e3565b9150620005898262000544565b602082019050919050565b6000606082019050620005ab6000830184620004d2565b8181036020830152620005be816200051d565b90508181036040830152620005d3816200056d565b905092915050565b6125a680620005eb6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80636352211e11610097578063a22cb46511610066578063a22cb46514610282578063b88d4fde1461029e578063c87b56dd146102ba578063e985e9c5146102ea576100f5565b80636352211e146101e857806370a08231146102185780638832e6e31461024857806395d89b4114610264576100f5565b8063095ea7b3116100d3578063095ea7b31461017857806323b872dd1461019457806342842e0e146101b057806344d17187146101cc576100f5565b806301ffc9a7146100fa57806306fdde031461012a578063081812fc14610148575b600080fd5b610114600480360381019061010f919061165e565b61031a565b60405161012191906116a6565b60405180910390f35b610132610321565b60405161013f9190611751565b60405180910390f35b610162600480360381019061015d91906117a9565b6103b3565b60405161016f9190611817565b60405180910390f35b610192600480360381019061018d919061185e565b6103f9565b005b6101ae60048036038101906101a9919061189e565b610510565b005b6101ca60048036038101906101c5919061189e565b610570565b005b6101e660048036038101906101e19190611956565b610590565b005b61020260048036038101906101fd91906117a9565b61059f565b60405161020f9190611817565b60405180910390f35b610232600480360381019061022d91906119ca565b610650565b60405161023f9190611a06565b60405180910390f35b610262600480360381019061025d9190611956565b610707565b005b61026c610717565b6040516102799190611751565b60405180910390f35b61029c60048036038101906102979190611a4d565b6107a9565b005b6102b860048036038101906102b39190611bbd565b6107bf565b005b6102d460048036038101906102cf91906117a9565b610821565b6040516102e19190611751565b60405180910390f35b61030460048036038101906102ff9190611c40565b610889565b60405161031191906116a6565b60405180910390f35b6000919050565b60606000805461033090611caf565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611caf565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b5050505050905090565b60006103be8261091d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006104048261059f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046b90611d52565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610493610968565b73ffffffffffffffffffffffffffffffffffffffff1614806104c257506104c1816104bc610968565b610889565b5b610501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f890611de4565b60405180910390fd5b61050b8383610970565b505050565b61052161051b610968565b82610a29565b610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790611e76565b60405180910390fd5b61056b838383610abe565b505050565b61058b838383604051806020016040528060008152506107bf565b505050565b61059983610d24565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063e90611ee2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790611f74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107118484610e41565b50505050565b60606001805461072690611caf565b80601f016020809104026020016040519081016040528092919081815260200182805461075290611caf565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b5050505050905090565b6107bb6107b4610968565b8383610e5f565b5050565b6107d06107ca610968565b83610a29565b61080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611e76565b60405180910390fd5b61081b84848484610fcb565b50505050565b606061082c8261091d565b6000610836611027565b905060008151116108565760405180602001604052806000815250610881565b806108608461103e565b604051602001610871929190611fd0565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6109268161119e565b610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c90611ee2565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166109e38361059f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610a358361059f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610a775750610a768185610889565b5b80610ab557508373ffffffffffffffffffffffffffffffffffffffff16610a9d846103b3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610ade8261059f565b73ffffffffffffffffffffffffffffffffffffffff1614610b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2b90612066565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906120f8565b60405180910390fd5b610bae83838361120a565b610bb9600082610970565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c099190612147565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c60919061217b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d1f83838361120f565b505050565b6000610d2f8261059f565b9050610d3d8160008461120a565b610d48600083610970565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d989190612147565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e3d8160008461120f565b5050565b610e5b828260405180602001604052806000815250611214565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906121fb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fbe91906116a6565b60405180910390a3505050565b610fd6848484610abe565b610fe28484848461126f565b611021576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110189061228d565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606060008203611085576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611199565b600082905060005b600082146110b75780806110a0906122ad565b915050600a826110b09190612324565b915061108d565b60008167ffffffffffffffff8111156110d3576110d2611a92565b5b6040519080825280601f01601f1916602001820160405280156111055781602001600182028036833780820191505090505b5090505b600085146111925760018261111e9190612147565b9150600a8561112d9190612355565b6030611139919061217b565b60f81b81838151811061114f5761114e612386565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561118b9190612324565b9450611109565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b61121e83836113f6565b61122b600084848461126f565b61126a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112619061228d565b60405180910390fd5b505050565b60006112908473ffffffffffffffffffffffffffffffffffffffff166115cf565b156113e9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026112b9610968565b8786866040518563ffffffff1660e01b81526004016112db949392919061240a565b6020604051808303816000875af192505050801561131757506040513d601f19601f82011682018060405250810190611314919061246b565b60015b611399573d8060008114611347576040519150601f19603f3d011682016040523d82523d6000602084013e61134c565b606091505b506000815103611391576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113889061228d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506113ee565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c906124e4565b60405180910390fd5b61146e8161119e565b156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a590612550565b60405180910390fd5b6114ba6000838361120a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150a919061217b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115cb6000838361120f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61163b81611606565b811461164657600080fd5b50565b60008135905061165881611632565b92915050565b600060208284031215611674576116736115fc565b5b600061168284828501611649565b91505092915050565b60008115159050919050565b6116a08161168b565b82525050565b60006020820190506116bb6000830184611697565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116fb5780820151818401526020810190506116e0565b60008484015250505050565b6000601f19601f8301169050919050565b6000611723826116c1565b61172d81856116cc565b935061173d8185602086016116dd565b61174681611707565b840191505092915050565b6000602082019050818103600083015261176b8184611718565b905092915050565b6000819050919050565b61178681611773565b811461179157600080fd5b50565b6000813590506117a38161177d565b92915050565b6000602082840312156117bf576117be6115fc565b5b60006117cd84828501611794565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611801826117d6565b9050919050565b611811816117f6565b82525050565b600060208201905061182c6000830184611808565b92915050565b61183b816117f6565b811461184657600080fd5b50565b60008135905061185881611832565b92915050565b60008060408385031215611875576118746115fc565b5b600061188385828601611849565b925050602061189485828601611794565b9150509250929050565b6000806000606084860312156118b7576118b66115fc565b5b60006118c586828701611849565b93505060206118d686828701611849565b92505060406118e786828701611794565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112611916576119156118f1565b5b8235905067ffffffffffffffff811115611933576119326118f6565b5b60208301915083600182028301111561194f5761194e6118fb565b5b9250929050565b600080600080606085870312156119705761196f6115fc565b5b600061197e87828801611849565b945050602061198f87828801611794565b935050604085013567ffffffffffffffff8111156119b0576119af611601565b5b6119bc87828801611900565b925092505092959194509250565b6000602082840312156119e0576119df6115fc565b5b60006119ee84828501611849565b91505092915050565b611a0081611773565b82525050565b6000602082019050611a1b60008301846119f7565b92915050565b611a2a8161168b565b8114611a3557600080fd5b50565b600081359050611a4781611a21565b92915050565b60008060408385031215611a6457611a636115fc565b5b6000611a7285828601611849565b9250506020611a8385828601611a38565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611aca82611707565b810181811067ffffffffffffffff82111715611ae957611ae8611a92565b5b80604052505050565b6000611afc6115f2565b9050611b088282611ac1565b919050565b600067ffffffffffffffff821115611b2857611b27611a92565b5b611b3182611707565b9050602081019050919050565b82818337600083830152505050565b6000611b60611b5b84611b0d565b611af2565b905082815260208101848484011115611b7c57611b7b611a8d565b5b611b87848285611b3e565b509392505050565b600082601f830112611ba457611ba36118f1565b5b8135611bb4848260208601611b4d565b91505092915050565b60008060008060808587031215611bd757611bd66115fc565b5b6000611be587828801611849565b9450506020611bf687828801611849565b9350506040611c0787828801611794565b925050606085013567ffffffffffffffff811115611c2857611c27611601565b5b611c3487828801611b8f565b91505092959194509250565b60008060408385031215611c5757611c566115fc565b5b6000611c6585828601611849565b9250506020611c7685828601611849565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cc757607f821691505b602082108103611cda57611cd9611c80565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d3c6021836116cc565b9150611d4782611ce0565b604082019050919050565b60006020820190508181036000830152611d6b81611d2f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611dce603e836116cc565b9150611dd982611d72565b604082019050919050565b60006020820190508181036000830152611dfd81611dc1565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000611e60602e836116cc565b9150611e6b82611e04565b604082019050919050565b60006020820190508181036000830152611e8f81611e53565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000611ecc6018836116cc565b9150611ed782611e96565b602082019050919050565b60006020820190508181036000830152611efb81611ebf565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000611f5e6029836116cc565b9150611f6982611f02565b604082019050919050565b60006020820190508181036000830152611f8d81611f51565b9050919050565b600081905092915050565b6000611faa826116c1565b611fb48185611f94565b9350611fc48185602086016116dd565b80840191505092915050565b6000611fdc8285611f9f565b9150611fe88284611f9f565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006120506025836116cc565b915061205b82611ff4565b604082019050919050565b6000602082019050818103600083015261207f81612043565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120e26024836116cc565b91506120ed82612086565b604082019050919050565b60006020820190508181036000830152612111816120d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061215282611773565b915061215d83611773565b925082820390508181111561217557612174612118565b5b92915050565b600061218682611773565b915061219183611773565b92508282019050808211156121a9576121a8612118565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006121e56019836116cc565b91506121f0826121af565b602082019050919050565b60006020820190508181036000830152612214816121d8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006122776032836116cc565b91506122828261221b565b604082019050919050565b600060208201905081810360008301526122a68161226a565b9050919050565b60006122b882611773565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122ea576122e9612118565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061232f82611773565b915061233a83611773565b92508261234a576123496122f5565b5b828204905092915050565b600061236082611773565b915061236b83611773565b92508261237b5761237a6122f5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006123dc826123b5565b6123e681856123c0565b93506123f68185602086016116dd565b6123ff81611707565b840191505092915050565b600060808201905061241f6000830187611808565b61242c6020830186611808565b61243960408301856119f7565b818103606083015261244b81846123d1565b905095945050505050565b60008151905061246581611632565b92915050565b600060208284031215612481576124806115fc565b5b600061248f84828501612456565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006124ce6020836116cc565b91506124d982612498565b602082019050919050565b600060208201905081810360008301526124fd816124c1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061253a601c836116cc565b915061254582612504565b602082019050919050565b600060208201905081810360008301526125698161252d565b905091905056fea264697066735822122085c8e74d0244f1628161efcfb8c2df0413d7a297a8b834c2a26d4b1fd5fe5bb464736f6c634300081100330000000000000000000000000000000000000000000000000000000000001002
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80636352211e11610097578063a22cb46511610066578063a22cb46514610282578063b88d4fde1461029e578063c87b56dd146102ba578063e985e9c5146102ea576100f5565b80636352211e146101e857806370a08231146102185780638832e6e31461024857806395d89b4114610264576100f5565b8063095ea7b3116100d3578063095ea7b31461017857806323b872dd1461019457806342842e0e146101b057806344d17187146101cc576100f5565b806301ffc9a7146100fa57806306fdde031461012a578063081812fc14610148575b600080fd5b610114600480360381019061010f919061165e565b61031a565b60405161012191906116a6565b60405180910390f35b610132610321565b60405161013f9190611751565b60405180910390f35b610162600480360381019061015d91906117a9565b6103b3565b60405161016f9190611817565b60405180910390f35b610192600480360381019061018d919061185e565b6103f9565b005b6101ae60048036038101906101a9919061189e565b610510565b005b6101ca60048036038101906101c5919061189e565b610570565b005b6101e660048036038101906101e19190611956565b610590565b005b61020260048036038101906101fd91906117a9565b61059f565b60405161020f9190611817565b60405180910390f35b610232600480360381019061022d91906119ca565b610650565b60405161023f9190611a06565b60405180910390f35b610262600480360381019061025d9190611956565b610707565b005b61026c610717565b6040516102799190611751565b60405180910390f35b61029c60048036038101906102979190611a4d565b6107a9565b005b6102b860048036038101906102b39190611bbd565b6107bf565b005b6102d460048036038101906102cf91906117a9565b610821565b6040516102e19190611751565b60405180910390f35b61030460048036038101906102ff9190611c40565b610889565b60405161031191906116a6565b60405180910390f35b6000919050565b60606000805461033090611caf565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611caf565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b5050505050905090565b60006103be8261091d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006104048261059f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046b90611d52565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610493610968565b73ffffffffffffffffffffffffffffffffffffffff1614806104c257506104c1816104bc610968565b610889565b5b610501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f890611de4565b60405180910390fd5b61050b8383610970565b505050565b61052161051b610968565b82610a29565b610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790611e76565b60405180910390fd5b61056b838383610abe565b505050565b61058b838383604051806020016040528060008152506107bf565b505050565b61059983610d24565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063e90611ee2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790611f74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107118484610e41565b50505050565b60606001805461072690611caf565b80601f016020809104026020016040519081016040528092919081815260200182805461075290611caf565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b5050505050905090565b6107bb6107b4610968565b8383610e5f565b5050565b6107d06107ca610968565b83610a29565b61080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080690611e76565b60405180910390fd5b61081b84848484610fcb565b50505050565b606061082c8261091d565b6000610836611027565b905060008151116108565760405180602001604052806000815250610881565b806108608461103e565b604051602001610871929190611fd0565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6109268161119e565b610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c90611ee2565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166109e38361059f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610a358361059f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610a775750610a768185610889565b5b80610ab557508373ffffffffffffffffffffffffffffffffffffffff16610a9d846103b3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610ade8261059f565b73ffffffffffffffffffffffffffffffffffffffff1614610b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2b90612066565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906120f8565b60405180910390fd5b610bae83838361120a565b610bb9600082610970565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c099190612147565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c60919061217b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d1f83838361120f565b505050565b6000610d2f8261059f565b9050610d3d8160008461120a565b610d48600083610970565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d989190612147565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e3d8160008461120f565b5050565b610e5b828260405180602001604052806000815250611214565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906121fb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fbe91906116a6565b60405180910390a3505050565b610fd6848484610abe565b610fe28484848461126f565b611021576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110189061228d565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606060008203611085576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611199565b600082905060005b600082146110b75780806110a0906122ad565b915050600a826110b09190612324565b915061108d565b60008167ffffffffffffffff8111156110d3576110d2611a92565b5b6040519080825280601f01601f1916602001820160405280156111055781602001600182028036833780820191505090505b5090505b600085146111925760018261111e9190612147565b9150600a8561112d9190612355565b6030611139919061217b565b60f81b81838151811061114f5761114e612386565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561118b9190612324565b9450611109565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b61121e83836113f6565b61122b600084848461126f565b61126a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112619061228d565b60405180910390fd5b505050565b60006112908473ffffffffffffffffffffffffffffffffffffffff166115cf565b156113e9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026112b9610968565b8786866040518563ffffffff1660e01b81526004016112db949392919061240a565b6020604051808303816000875af192505050801561131757506040513d601f19601f82011682018060405250810190611314919061246b565b60015b611399573d8060008114611347576040519150601f19603f3d011682016040523d82523d6000602084013e61134c565b606091505b506000815103611391576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113889061228d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506113ee565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c906124e4565b60405180910390fd5b61146e8161119e565b156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a590612550565b60405180910390fd5b6114ba6000838361120a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150a919061217b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115cb6000838361120f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61163b81611606565b811461164657600080fd5b50565b60008135905061165881611632565b92915050565b600060208284031215611674576116736115fc565b5b600061168284828501611649565b91505092915050565b60008115159050919050565b6116a08161168b565b82525050565b60006020820190506116bb6000830184611697565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116fb5780820151818401526020810190506116e0565b60008484015250505050565b6000601f19601f8301169050919050565b6000611723826116c1565b61172d81856116cc565b935061173d8185602086016116dd565b61174681611707565b840191505092915050565b6000602082019050818103600083015261176b8184611718565b905092915050565b6000819050919050565b61178681611773565b811461179157600080fd5b50565b6000813590506117a38161177d565b92915050565b6000602082840312156117bf576117be6115fc565b5b60006117cd84828501611794565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611801826117d6565b9050919050565b611811816117f6565b82525050565b600060208201905061182c6000830184611808565b92915050565b61183b816117f6565b811461184657600080fd5b50565b60008135905061185881611832565b92915050565b60008060408385031215611875576118746115fc565b5b600061188385828601611849565b925050602061189485828601611794565b9150509250929050565b6000806000606084860312156118b7576118b66115fc565b5b60006118c586828701611849565b93505060206118d686828701611849565b92505060406118e786828701611794565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112611916576119156118f1565b5b8235905067ffffffffffffffff811115611933576119326118f6565b5b60208301915083600182028301111561194f5761194e6118fb565b5b9250929050565b600080600080606085870312156119705761196f6115fc565b5b600061197e87828801611849565b945050602061198f87828801611794565b935050604085013567ffffffffffffffff8111156119b0576119af611601565b5b6119bc87828801611900565b925092505092959194509250565b6000602082840312156119e0576119df6115fc565b5b60006119ee84828501611849565b91505092915050565b611a0081611773565b82525050565b6000602082019050611a1b60008301846119f7565b92915050565b611a2a8161168b565b8114611a3557600080fd5b50565b600081359050611a4781611a21565b92915050565b60008060408385031215611a6457611a636115fc565b5b6000611a7285828601611849565b9250506020611a8385828601611a38565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611aca82611707565b810181811067ffffffffffffffff82111715611ae957611ae8611a92565b5b80604052505050565b6000611afc6115f2565b9050611b088282611ac1565b919050565b600067ffffffffffffffff821115611b2857611b27611a92565b5b611b3182611707565b9050602081019050919050565b82818337600083830152505050565b6000611b60611b5b84611b0d565b611af2565b905082815260208101848484011115611b7c57611b7b611a8d565b5b611b87848285611b3e565b509392505050565b600082601f830112611ba457611ba36118f1565b5b8135611bb4848260208601611b4d565b91505092915050565b60008060008060808587031215611bd757611bd66115fc565b5b6000611be587828801611849565b9450506020611bf687828801611849565b9350506040611c0787828801611794565b925050606085013567ffffffffffffffff811115611c2857611c27611601565b5b611c3487828801611b8f565b91505092959194509250565b60008060408385031215611c5757611c566115fc565b5b6000611c6585828601611849565b9250506020611c7685828601611849565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cc757607f821691505b602082108103611cda57611cd9611c80565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d3c6021836116cc565b9150611d4782611ce0565b604082019050919050565b60006020820190508181036000830152611d6b81611d2f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611dce603e836116cc565b9150611dd982611d72565b604082019050919050565b60006020820190508181036000830152611dfd81611dc1565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000611e60602e836116cc565b9150611e6b82611e04565b604082019050919050565b60006020820190508181036000830152611e8f81611e53565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000611ecc6018836116cc565b9150611ed782611e96565b602082019050919050565b60006020820190508181036000830152611efb81611ebf565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000611f5e6029836116cc565b9150611f6982611f02565b604082019050919050565b60006020820190508181036000830152611f8d81611f51565b9050919050565b600081905092915050565b6000611faa826116c1565b611fb48185611f94565b9350611fc48185602086016116dd565b80840191505092915050565b6000611fdc8285611f9f565b9150611fe88284611f9f565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006120506025836116cc565b915061205b82611ff4565b604082019050919050565b6000602082019050818103600083015261207f81612043565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120e26024836116cc565b91506120ed82612086565b604082019050919050565b60006020820190508181036000830152612111816120d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061215282611773565b915061215d83611773565b925082820390508181111561217557612174612118565b5b92915050565b600061218682611773565b915061219183611773565b92508282019050808211156121a9576121a8612118565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006121e56019836116cc565b91506121f0826121af565b602082019050919050565b60006020820190508181036000830152612214816121d8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006122776032836116cc565b91506122828261221b565b604082019050919050565b600060208201905081810360008301526122a68161226a565b9050919050565b60006122b882611773565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122ea576122e9612118565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061232f82611773565b915061233a83611773565b92508261234a576123496122f5565b5b828204905092915050565b600061236082611773565b915061236b83611773565b92508261237b5761237a6122f5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006123dc826123b5565b6123e681856123c0565b93506123f68185602086016116dd565b6123ff81611707565b840191505092915050565b600060808201905061241f6000830187611808565b61242c6020830186611808565b61243960408301856119f7565b818103606083015261244b81846123d1565b905095945050505050565b60008151905061246581611632565b92915050565b600060208284031215612481576124806115fc565b5b600061248f84828501612456565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006124ce6020836116cc565b91506124d982612498565b602082019050919050565b600060208201905081810360008301526124fd816124c1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061253a601c836116cc565b915061254582612504565b602082019050919050565b600060208201905081810360008301526125698161252d565b905091905056fea264697066735822122085c8e74d0244f1628161efcfb8c2df0413d7a297a8b834c2a26d4b1fd5fe5bb464736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000001002
-----Decoded View---------------
Arg [0] : _version (uint256): 4098
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001002
Loading...
Loading
[ Download: CSV Export ]
[ 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.