Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
TokenTracker
Multi Chain
Multichain Addresses
N/ALatest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 8295437 | 258 days 17 hrs ago | IN | Create: ERC721ForTesting | 0 ETH | 0.03937496 |
Loading...
Loading
Contract Name:
ERC721ForTesting
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]> // DRAFTv1 pragma solidity ^0.8.9; // import 721 import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; // impport 5269 import "../ERC5269.sol"; contract ERC721ForTesting is ERC721, ERC5269 { bytes32 constant public EIP_FINAL = keccak256("FINAL"); constructor() ERC721("ERC721ForTesting", "E721FT") ERC5269() { _mint(msg.sender, 0); emit OnSupportEIP(address(0x0), 721, bytes32(0), EIP_FINAL, ""); emit OnSupportEIP(address(0x0), 721, keccak256("ERC721Metadata"), EIP_FINAL, ""); emit OnSupportEIP(address(0x0), 721, keccak256("ERC721Enumerable"), EIP_FINAL, ""); } function supportEIP( address caller, uint256 majorEIPIdentifier, bytes32 minorEIPIdentifier, bytes calldata extraData) external override view returns (bytes32 eipStatus) { if (majorEIPIdentifier == 721) { if (minorEIPIdentifier == 0) { return keccak256("FINAL"); } else if (minorEIPIdentifier == keccak256("ERC721Metadata")) { return keccak256("FINAL"); } else if (minorEIPIdentifier == keccak256("ERC721Enumerable")) { return keccak256("FINAL"); } } return super._supportEIP(caller, majorEIPIdentifier, minorEIPIdentifier, extraData); } }
// SPDX-License-Identifier: Apache-2.0 // Author: Zainan Victor Zhou <[email protected]> pragma solidity ^0.8.9; import "./IERC5269.sol"; contract ERC5269 is IERC5269 { bytes32 constant public EIP_STATUS = keccak256("DRAFTv1"); constructor () { emit OnSupportEIP(address(0x0), 5269, bytes32(0), EIP_STATUS, ""); } function _supportEIP( address /*caller*/, uint256 majorEIPIdentifier, bytes32 minorEIPIdentifier, bytes calldata /*extraData*/) internal virtual view returns (bytes32 eipStatus) { if (majorEIPIdentifier == 5269) { if (minorEIPIdentifier == bytes32(0)) { return EIP_STATUS; } } return bytes32(0); } function supportEIP( address caller, uint256 majorEIPIdentifier, bytes32 minorEIPIdentifier, bytes calldata extraData) external virtual view returns (bytes32 eipStatus) { return _supportEIP(caller, majorEIPIdentifier, minorEIPIdentifier, extraData); } }
// 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]> // DRAFTv1 pragma solidity ^0.8.9; interface IERC5269 { event OnSupportEIP( address indexed caller, // when emitted with `address(0x0)` means all callers. uint256 indexed majorEIPIdentifier, bytes32 indexed minorEIPIdentifier, // 0 means the entire EIP bytes32 eipStatus, bytes extraData ); /// @dev The core method of EIP/ERC Interface Detection /// @param caller, a `address` value of the address of a caller being queried whether the given EIP is supported. /// @param majorEIPIdentifier, a `uint256` value and SHOULD BE the EIP number being queried. Unless superseded by future EIP, such EIP number SHOULD BE less or equal to (0, 2^32-1]. For a function call to `supportEIP`, any value outside of this range is deemed unspecified and open to implementation's choice or for future EIPs to specify. /// @param minorEIPIdentifier, a `bytes32` value reserved for authors of individual EIP to specify. For example the author of [EIP-721](/EIPS/eip-721) MAY specify `keccak256("ERC721Metadata")` or `keccak256("ERC721Metadata.tokenURI")` as `minorEIPIdentifier` to be quired for support. Author could also use this minorEIPIdentifier to specify different versions, such as EIP-712 has its V1-V4 with different behavior. /// @param extraData, a `bytes` for [EIP-5750](/EIPS/eip-5750) for future extensions. /// @return eipStatus a bytes32 indicating the status of EIP the contract supports. /// - For FINAL EIPs, it MUST return `keccak256("FINAL")`. /// - For non-FINAL EIPs, it SHOULD return `keccak256("DRAFT")`. /// During EIP procedure, EIP authors are allowed to specify their own /// eipStatus other than `FINAL` or `DRAFT` at their discretion such as `keccak256("DRAFTv1")` /// or `keccak256("DRAFT-option1")`and such value of eipStatus MUST be documented in the EIP body function supportEIP( address caller, uint256 majorEIPIdentifier, bytes32 minorEIPIdentifier, bytes calldata extraData) external view returns (bytes32 eipStatus); }
// 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 (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 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 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": {} }
[{"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":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"uint256","name":"majorEIPIdentifier","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"minorEIPIdentifier","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"eipStatus","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"OnSupportEIP","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":[],"name":"EIP_FINAL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EIP_STATUS","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"uint256","name":"majorEIPIdentifier","type":"uint256"},{"internalType":"bytes32","name":"minorEIPIdentifier","type":"bytes32"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"supportEIP","outputs":[{"internalType":"bytes32","name":"eipStatus","type":"bytes32"}],"stateMutability":"view","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
60806040523480156200001157600080fd5b506040518060400160405280601081526020017f455243373231466f7254657374696e67000000000000000000000000000000008152506040518060400160405280600681526020017f453732314654000000000000000000000000000000000000000000000000000081525081600090816200008f9190620007c0565b508060019081620000a19190620007c0565b5050506000801b611495600073ffffffffffffffffffffffffffffffffffffffff167f7392703939678e3294a1207e8a05281a97a0019d357d1e200a54313d9f5995e77f2ac674c8fae7799b1bce70b6709bd745abae12e3805975275c5beb8be723fd9c604051620001149190620008fd565b60405180910390a46200012f336000620002d760201b60201c565b6000801b6102d1600073ffffffffffffffffffffffffffffffffffffffff167f7392703939678e3294a1207e8a05281a97a0019d357d1e200a54313d9f5995e77f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f36040516200019f9190620008fd565b60405180910390a47fe9633f3dfb8352b5b755d9760b9bec09a36ea18f68832630ced0a1fb6a82ed9d6102d1600073ffffffffffffffffffffffffffffffffffffffff167f7392703939678e3294a1207e8a05281a97a0019d357d1e200a54313d9f5995e77f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f3604051620002349190620008fd565b60405180910390a47ff94514c6b504b09299abe9ea0589c1b67af26f4c6b53089524c1177fcef8daf96102d1600073ffffffffffffffffffffffffffffffffffffffff167f7392703939678e3294a1207e8a05281a97a0019d357d1e200a54313d9f5995e77f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f3604051620002c99190620008fd565b60405180910390a462000a8e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003409062000990565b60405180910390fd5b6200035a81620004d060201b60201c565b156200039d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003949062000a02565b60405180910390fd5b620003b1600083836200053c60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000403919062000a53565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620004cc600083836200054160201b60201c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005c857607f821691505b602082108103620005de57620005dd62000580565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000609565b62000654868362000609565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006a16200069b62000695846200066c565b62000676565b6200066c565b9050919050565b6000819050919050565b620006bd8362000680565b620006d5620006cc82620006a8565b84845462000616565b825550505050565b600090565b620006ec620006dd565b620006f9818484620006b2565b505050565b5b81811015620007215762000715600082620006e2565b600181019050620006ff565b5050565b601f82111562000770576200073a81620005e4565b6200074584620005f9565b8101602085101562000755578190505b6200076d6200076485620005f9565b830182620006fe565b50505b505050565b600082821c905092915050565b6000620007956000198460080262000775565b1980831691505092915050565b6000620007b0838362000782565b9150826002028217905092915050565b620007cb8262000546565b67ffffffffffffffff811115620007e757620007e662000551565b5b620007f38254620005af565b6200080082828562000725565b600060209050601f83116001811462000838576000841562000823578287015190505b6200082f8582620007a2565b8655506200089f565b601f1984166200084886620005e4565b60005b8281101562000872578489015182556001820191506020850194506020810190506200084b565b868310156200089257848901516200088e601f89168262000782565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b620008bc81620008a7565b82525050565b600082825260208201905092915050565b50565b6000620008e5600083620008c2565b9150620008f282620008d3565b600082019050919050565b6000604082019050620009146000830184620008b1565b81810360208301526200092781620008d6565b905092915050565b600082825260208201905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000620009786020836200092f565b9150620009858262000940565b602082019050919050565b60006020820190508181036000830152620009ab8162000969565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000620009ea601c836200092f565b9150620009f782620009b2565b602082019050919050565b6000602082019050818103600083015262000a1d81620009db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000a60826200066c565b915062000a6d836200066c565b925082820190508082111562000a885762000a8762000a24565b5b92915050565b6124c38062000a9e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806375fb09d311610097578063b88d4fde11610066578063b88d4fde146102bf578063b8b340f6146102db578063c87b56dd146102f9578063e985e9c51461032957610100565b806375fb09d3146102375780637a4636cb1461026757806395d89b4114610285578063a22cb465146102a357610100565b806323b872dd116100d357806323b872dd1461019f57806342842e0e146101bb5780636352211e146101d757806370a082311461020757610100565b806301ffc9a71461010557806306fdde0314610135578063081812fc14610153578063095ea7b314610183575b600080fd5b61011f600480360381019061011a91906115df565b610359565b60405161012c9190611627565b60405180910390f35b61013d61043b565b60405161014a91906116d2565b60405180910390f35b61016d6004803603810190610168919061172a565b6104cd565b60405161017a9190611798565b60405180910390f35b61019d600480360381019061019891906117df565b610513565b005b6101b960048036038101906101b4919061181f565b61062a565b005b6101d560048036038101906101d0919061181f565b61068a565b005b6101f160048036038101906101ec919061172a565b6106aa565b6040516101fe9190611798565b60405180910390f35b610221600480360381019061021c9190611872565b61075b565b60405161022e91906118ae565b60405180910390f35b610251600480360381019061024c9190611964565b610812565b60405161025e91906119fb565b60405180910390f35b61026f610907565b60405161027c91906119fb565b60405180910390f35b61028d61092b565b60405161029a91906116d2565b60405180910390f35b6102bd60048036038101906102b89190611a42565b6109bd565b005b6102d960048036038101906102d49190611bb2565b6109d3565b005b6102e3610a35565b6040516102f091906119fb565b60405180910390f35b610313600480360381019061030e919061172a565b610a59565b60405161032091906116d2565b60405180910390f35b610343600480360381019061033e9190611c35565b610ac1565b6040516103509190611627565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061042457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610434575061043382610b55565b5b9050919050565b60606000805461044a90611ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461047690611ca4565b80156104c35780601f10610498576101008083540402835291602001916104c3565b820191906000526020600020905b8154815290600101906020018083116104a657829003601f168201915b5050505050905090565b60006104d882610bbf565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061051e826106aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361058e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058590611d47565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105ad610c0a565b73ffffffffffffffffffffffffffffffffffffffff1614806105dc57506105db816105d6610c0a565b610ac1565b5b61061b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061290611dd9565b60405180910390fd5b6106258383610c12565b505050565b61063b610635610c0a565b82610ccb565b61067a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067190611e6b565b60405180910390fd5b610685838383610d60565b505050565b6106a5838383604051806020016040528060008152506109d3565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074990611ed7565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c290611f69565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006102d185036108ee576000801b840361084f577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b7fe9633f3dfb8352b5b755d9760b9bec09a36ea18f68832630ced0a1fb6a82ed9d840361089e577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b7ff94514c6b504b09299abe9ea0589c1b67af26f4c6b53089524c1177fcef8daf984036108ed577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b5b6108fb8686868686610fc6565b90505b95945050505050565b7f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f381565b60606001805461093a90611ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461096690611ca4565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b6109cf6109c8610c0a565b8383611014565b5050565b6109e46109de610c0a565b83610ccb565b610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611e6b565b60405180910390fd5b610a2f84848484611180565b50505050565b7f2ac674c8fae7799b1bce70b6709bd745abae12e3805975275c5beb8be723fd9c81565b6060610a6482610bbf565b6000610a6e6111dc565b90506000815111610a8e5760405180602001604052806000815250610ab9565b80610a98846111f3565b604051602001610aa9929190611fc5565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610bc881611353565b610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90611ed7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610c85836106aa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cd7836106aa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610d195750610d188185610ac1565b5b80610d5757508373ffffffffffffffffffffffffffffffffffffffff16610d3f846104cd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610d80826106aa565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd9061205b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906120ed565b60405180910390fd5b610e508383836113bf565b610e5b600082610c12565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eab919061213c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f029190612170565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fc18383836113c4565b505050565b60006114958503611004576000801b8403611003577f2ac674c8fae7799b1bce70b6709bd745abae12e3805975275c5beb8be723fd9c905061100b565b5b6000801b90505b95945050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611079906121f0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111739190611627565b60405180910390a3505050565b61118b848484610d60565b611197848484846113c9565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90612282565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606000820361123a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061134e565b600082905060005b6000821461126c578080611255906122a2565b915050600a826112659190612319565b9150611242565b60008167ffffffffffffffff81111561128857611287611a87565b5b6040519080825280601f01601f1916602001820160405280156112ba5781602001600182028036833780820191505090505b5090505b60008514611347576001826112d3919061213c565b9150600a856112e2919061234a565b60306112ee9190612170565b60f81b8183815181106113045761130361237b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856113409190612319565b94506112be565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006113ea8473ffffffffffffffffffffffffffffffffffffffff16611550565b15611543578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611413610c0a565b8786866040518563ffffffff1660e01b815260040161143594939291906123ff565b6020604051808303816000875af192505050801561147157506040513d601f19601f8201168201806040525081019061146e9190612460565b60015b6114f3573d80600081146114a1576040519150601f19603f3d011682016040523d82523d6000602084013e6114a6565b606091505b5060008151036114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290612282565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611548565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6115bc81611587565b81146115c757600080fd5b50565b6000813590506115d9816115b3565b92915050565b6000602082840312156115f5576115f461157d565b5b6000611603848285016115ca565b91505092915050565b60008115159050919050565b6116218161160c565b82525050565b600060208201905061163c6000830184611618565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561167c578082015181840152602081019050611661565b60008484015250505050565b6000601f19601f8301169050919050565b60006116a482611642565b6116ae818561164d565b93506116be81856020860161165e565b6116c781611688565b840191505092915050565b600060208201905081810360008301526116ec8184611699565b905092915050565b6000819050919050565b611707816116f4565b811461171257600080fd5b50565b600081359050611724816116fe565b92915050565b6000602082840312156117405761173f61157d565b5b600061174e84828501611715565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061178282611757565b9050919050565b61179281611777565b82525050565b60006020820190506117ad6000830184611789565b92915050565b6117bc81611777565b81146117c757600080fd5b50565b6000813590506117d9816117b3565b92915050565b600080604083850312156117f6576117f561157d565b5b6000611804858286016117ca565b925050602061181585828601611715565b9150509250929050565b6000806000606084860312156118385761183761157d565b5b6000611846868287016117ca565b9350506020611857868287016117ca565b925050604061186886828701611715565b9150509250925092565b6000602082840312156118885761188761157d565b5b6000611896848285016117ca565b91505092915050565b6118a8816116f4565b82525050565b60006020820190506118c3600083018461189f565b92915050565b6000819050919050565b6118dc816118c9565b81146118e757600080fd5b50565b6000813590506118f9816118d3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611924576119236118ff565b5b8235905067ffffffffffffffff81111561194157611940611904565b5b60208301915083600182028301111561195d5761195c611909565b5b9250929050565b6000806000806000608086880312156119805761197f61157d565b5b600061198e888289016117ca565b955050602061199f88828901611715565b94505060406119b0888289016118ea565b935050606086013567ffffffffffffffff8111156119d1576119d0611582565b5b6119dd8882890161190e565b92509250509295509295909350565b6119f5816118c9565b82525050565b6000602082019050611a1060008301846119ec565b92915050565b611a1f8161160c565b8114611a2a57600080fd5b50565b600081359050611a3c81611a16565b92915050565b60008060408385031215611a5957611a5861157d565b5b6000611a67858286016117ca565b9250506020611a7885828601611a2d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611abf82611688565b810181811067ffffffffffffffff82111715611ade57611add611a87565b5b80604052505050565b6000611af1611573565b9050611afd8282611ab6565b919050565b600067ffffffffffffffff821115611b1d57611b1c611a87565b5b611b2682611688565b9050602081019050919050565b82818337600083830152505050565b6000611b55611b5084611b02565b611ae7565b905082815260208101848484011115611b7157611b70611a82565b5b611b7c848285611b33565b509392505050565b600082601f830112611b9957611b986118ff565b5b8135611ba9848260208601611b42565b91505092915050565b60008060008060808587031215611bcc57611bcb61157d565b5b6000611bda878288016117ca565b9450506020611beb878288016117ca565b9350506040611bfc87828801611715565b925050606085013567ffffffffffffffff811115611c1d57611c1c611582565b5b611c2987828801611b84565b91505092959194509250565b60008060408385031215611c4c57611c4b61157d565b5b6000611c5a858286016117ca565b9250506020611c6b858286016117ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cbc57607f821691505b602082108103611ccf57611cce611c75565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d3160218361164d565b9150611d3c82611cd5565b604082019050919050565b60006020820190508181036000830152611d6081611d24565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611dc3603e8361164d565b9150611dce82611d67565b604082019050919050565b60006020820190508181036000830152611df281611db6565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000611e55602e8361164d565b9150611e6082611df9565b604082019050919050565b60006020820190508181036000830152611e8481611e48565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000611ec160188361164d565b9150611ecc82611e8b565b602082019050919050565b60006020820190508181036000830152611ef081611eb4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000611f5360298361164d565b9150611f5e82611ef7565b604082019050919050565b60006020820190508181036000830152611f8281611f46565b9050919050565b600081905092915050565b6000611f9f82611642565b611fa98185611f89565b9350611fb981856020860161165e565b80840191505092915050565b6000611fd18285611f94565b9150611fdd8284611f94565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061204560258361164d565b915061205082611fe9565b604082019050919050565b6000602082019050818103600083015261207481612038565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120d760248361164d565b91506120e28261207b565b604082019050919050565b60006020820190508181036000830152612106816120ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612147826116f4565b9150612152836116f4565b925082820390508181111561216a5761216961210d565b5b92915050565b600061217b826116f4565b9150612186836116f4565b925082820190508082111561219e5761219d61210d565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006121da60198361164d565b91506121e5826121a4565b602082019050919050565b60006020820190508181036000830152612209816121cd565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061226c60328361164d565b915061227782612210565b604082019050919050565b6000602082019050818103600083015261229b8161225f565b9050919050565b60006122ad826116f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122df576122de61210d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612324826116f4565b915061232f836116f4565b92508261233f5761233e6122ea565b5b828204905092915050565b6000612355826116f4565b9150612360836116f4565b9250826123705761236f6122ea565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006123d1826123aa565b6123db81856123b5565b93506123eb81856020860161165e565b6123f481611688565b840191505092915050565b60006080820190506124146000830187611789565b6124216020830186611789565b61242e604083018561189f565b818103606083015261244081846123c6565b905095945050505050565b60008151905061245a816115b3565b92915050565b6000602082840312156124765761247561157d565b5b60006124848482850161244b565b9150509291505056fea2646970667358221220b7c8afb2d177e8e415f6c092a79df33765546bdfc218f3bc3af2c511748fb6e164736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806375fb09d311610097578063b88d4fde11610066578063b88d4fde146102bf578063b8b340f6146102db578063c87b56dd146102f9578063e985e9c51461032957610100565b806375fb09d3146102375780637a4636cb1461026757806395d89b4114610285578063a22cb465146102a357610100565b806323b872dd116100d357806323b872dd1461019f57806342842e0e146101bb5780636352211e146101d757806370a082311461020757610100565b806301ffc9a71461010557806306fdde0314610135578063081812fc14610153578063095ea7b314610183575b600080fd5b61011f600480360381019061011a91906115df565b610359565b60405161012c9190611627565b60405180910390f35b61013d61043b565b60405161014a91906116d2565b60405180910390f35b61016d6004803603810190610168919061172a565b6104cd565b60405161017a9190611798565b60405180910390f35b61019d600480360381019061019891906117df565b610513565b005b6101b960048036038101906101b4919061181f565b61062a565b005b6101d560048036038101906101d0919061181f565b61068a565b005b6101f160048036038101906101ec919061172a565b6106aa565b6040516101fe9190611798565b60405180910390f35b610221600480360381019061021c9190611872565b61075b565b60405161022e91906118ae565b60405180910390f35b610251600480360381019061024c9190611964565b610812565b60405161025e91906119fb565b60405180910390f35b61026f610907565b60405161027c91906119fb565b60405180910390f35b61028d61092b565b60405161029a91906116d2565b60405180910390f35b6102bd60048036038101906102b89190611a42565b6109bd565b005b6102d960048036038101906102d49190611bb2565b6109d3565b005b6102e3610a35565b6040516102f091906119fb565b60405180910390f35b610313600480360381019061030e919061172a565b610a59565b60405161032091906116d2565b60405180910390f35b610343600480360381019061033e9190611c35565b610ac1565b6040516103509190611627565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061042457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610434575061043382610b55565b5b9050919050565b60606000805461044a90611ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461047690611ca4565b80156104c35780601f10610498576101008083540402835291602001916104c3565b820191906000526020600020905b8154815290600101906020018083116104a657829003601f168201915b5050505050905090565b60006104d882610bbf565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061051e826106aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361058e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058590611d47565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105ad610c0a565b73ffffffffffffffffffffffffffffffffffffffff1614806105dc57506105db816105d6610c0a565b610ac1565b5b61061b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061290611dd9565b60405180910390fd5b6106258383610c12565b505050565b61063b610635610c0a565b82610ccb565b61067a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067190611e6b565b60405180910390fd5b610685838383610d60565b505050565b6106a5838383604051806020016040528060008152506109d3565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074990611ed7565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c290611f69565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006102d185036108ee576000801b840361084f577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b7fe9633f3dfb8352b5b755d9760b9bec09a36ea18f68832630ced0a1fb6a82ed9d840361089e577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b7ff94514c6b504b09299abe9ea0589c1b67af26f4c6b53089524c1177fcef8daf984036108ed577f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f390506108fe565b5b6108fb8686868686610fc6565b90505b95945050505050565b7f622cf22cab192b5876b3fca29b9a8f3809843a473269678313be2b041b0458f381565b60606001805461093a90611ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461096690611ca4565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b6109cf6109c8610c0a565b8383611014565b5050565b6109e46109de610c0a565b83610ccb565b610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a90611e6b565b60405180910390fd5b610a2f84848484611180565b50505050565b7f2ac674c8fae7799b1bce70b6709bd745abae12e3805975275c5beb8be723fd9c81565b6060610a6482610bbf565b6000610a6e6111dc565b90506000815111610a8e5760405180602001604052806000815250610ab9565b80610a98846111f3565b604051602001610aa9929190611fc5565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610bc881611353565b610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90611ed7565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610c85836106aa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cd7836106aa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610d195750610d188185610ac1565b5b80610d5757508373ffffffffffffffffffffffffffffffffffffffff16610d3f846104cd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610d80826106aa565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd9061205b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906120ed565b60405180910390fd5b610e508383836113bf565b610e5b600082610c12565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eab919061213c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f029190612170565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610fc18383836113c4565b505050565b60006114958503611004576000801b8403611003577f2ac674c8fae7799b1bce70b6709bd745abae12e3805975275c5beb8be723fd9c905061100b565b5b6000801b90505b95945050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611079906121f0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111739190611627565b60405180910390a3505050565b61118b848484610d60565b611197848484846113c9565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90612282565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606000820361123a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061134e565b600082905060005b6000821461126c578080611255906122a2565b915050600a826112659190612319565b9150611242565b60008167ffffffffffffffff81111561128857611287611a87565b5b6040519080825280601f01601f1916602001820160405280156112ba5781602001600182028036833780820191505090505b5090505b60008514611347576001826112d3919061213c565b9150600a856112e2919061234a565b60306112ee9190612170565b60f81b8183815181106113045761130361237b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856113409190612319565b94506112be565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006113ea8473ffffffffffffffffffffffffffffffffffffffff16611550565b15611543578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611413610c0a565b8786866040518563ffffffff1660e01b815260040161143594939291906123ff565b6020604051808303816000875af192505050801561147157506040513d601f19601f8201168201806040525081019061146e9190612460565b60015b6114f3573d80600081146114a1576040519150601f19603f3d011682016040523d82523d6000602084013e6114a6565b606091505b5060008151036114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290612282565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611548565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6115bc81611587565b81146115c757600080fd5b50565b6000813590506115d9816115b3565b92915050565b6000602082840312156115f5576115f461157d565b5b6000611603848285016115ca565b91505092915050565b60008115159050919050565b6116218161160c565b82525050565b600060208201905061163c6000830184611618565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561167c578082015181840152602081019050611661565b60008484015250505050565b6000601f19601f8301169050919050565b60006116a482611642565b6116ae818561164d565b93506116be81856020860161165e565b6116c781611688565b840191505092915050565b600060208201905081810360008301526116ec8184611699565b905092915050565b6000819050919050565b611707816116f4565b811461171257600080fd5b50565b600081359050611724816116fe565b92915050565b6000602082840312156117405761173f61157d565b5b600061174e84828501611715565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061178282611757565b9050919050565b61179281611777565b82525050565b60006020820190506117ad6000830184611789565b92915050565b6117bc81611777565b81146117c757600080fd5b50565b6000813590506117d9816117b3565b92915050565b600080604083850312156117f6576117f561157d565b5b6000611804858286016117ca565b925050602061181585828601611715565b9150509250929050565b6000806000606084860312156118385761183761157d565b5b6000611846868287016117ca565b9350506020611857868287016117ca565b925050604061186886828701611715565b9150509250925092565b6000602082840312156118885761188761157d565b5b6000611896848285016117ca565b91505092915050565b6118a8816116f4565b82525050565b60006020820190506118c3600083018461189f565b92915050565b6000819050919050565b6118dc816118c9565b81146118e757600080fd5b50565b6000813590506118f9816118d3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611924576119236118ff565b5b8235905067ffffffffffffffff81111561194157611940611904565b5b60208301915083600182028301111561195d5761195c611909565b5b9250929050565b6000806000806000608086880312156119805761197f61157d565b5b600061198e888289016117ca565b955050602061199f88828901611715565b94505060406119b0888289016118ea565b935050606086013567ffffffffffffffff8111156119d1576119d0611582565b5b6119dd8882890161190e565b92509250509295509295909350565b6119f5816118c9565b82525050565b6000602082019050611a1060008301846119ec565b92915050565b611a1f8161160c565b8114611a2a57600080fd5b50565b600081359050611a3c81611a16565b92915050565b60008060408385031215611a5957611a5861157d565b5b6000611a67858286016117ca565b9250506020611a7885828601611a2d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611abf82611688565b810181811067ffffffffffffffff82111715611ade57611add611a87565b5b80604052505050565b6000611af1611573565b9050611afd8282611ab6565b919050565b600067ffffffffffffffff821115611b1d57611b1c611a87565b5b611b2682611688565b9050602081019050919050565b82818337600083830152505050565b6000611b55611b5084611b02565b611ae7565b905082815260208101848484011115611b7157611b70611a82565b5b611b7c848285611b33565b509392505050565b600082601f830112611b9957611b986118ff565b5b8135611ba9848260208601611b42565b91505092915050565b60008060008060808587031215611bcc57611bcb61157d565b5b6000611bda878288016117ca565b9450506020611beb878288016117ca565b9350506040611bfc87828801611715565b925050606085013567ffffffffffffffff811115611c1d57611c1c611582565b5b611c2987828801611b84565b91505092959194509250565b60008060408385031215611c4c57611c4b61157d565b5b6000611c5a858286016117ca565b9250506020611c6b858286016117ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611cbc57607f821691505b602082108103611ccf57611cce611c75565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d3160218361164d565b9150611d3c82611cd5565b604082019050919050565b60006020820190508181036000830152611d6081611d24565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611dc3603e8361164d565b9150611dce82611d67565b604082019050919050565b60006020820190508181036000830152611df281611db6565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000611e55602e8361164d565b9150611e6082611df9565b604082019050919050565b60006020820190508181036000830152611e8481611e48565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000611ec160188361164d565b9150611ecc82611e8b565b602082019050919050565b60006020820190508181036000830152611ef081611eb4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000611f5360298361164d565b9150611f5e82611ef7565b604082019050919050565b60006020820190508181036000830152611f8281611f46565b9050919050565b600081905092915050565b6000611f9f82611642565b611fa98185611f89565b9350611fb981856020860161165e565b80840191505092915050565b6000611fd18285611f94565b9150611fdd8284611f94565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061204560258361164d565b915061205082611fe9565b604082019050919050565b6000602082019050818103600083015261207481612038565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120d760248361164d565b91506120e28261207b565b604082019050919050565b60006020820190508181036000830152612106816120ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612147826116f4565b9150612152836116f4565b925082820390508181111561216a5761216961210d565b5b92915050565b600061217b826116f4565b9150612186836116f4565b925082820190508082111561219e5761219d61210d565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006121da60198361164d565b91506121e5826121a4565b602082019050919050565b60006020820190508181036000830152612209816121cd565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061226c60328361164d565b915061227782612210565b604082019050919050565b6000602082019050818103600083015261229b8161225f565b9050919050565b60006122ad826116f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122df576122de61210d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612324826116f4565b915061232f836116f4565b92508261233f5761233e6122ea565b5b828204905092915050565b6000612355826116f4565b9150612360836116f4565b9250826123705761236f6122ea565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006123d1826123aa565b6123db81856123b5565b93506123eb81856020860161165e565b6123f481611688565b840191505092915050565b60006080820190506124146000830187611789565b6124216020830186611789565b61242e604083018561189f565b818103606083015261244081846123c6565b905095945050505050565b60008151905061245a816115b3565b92915050565b6000602082840312156124765761247561157d565b5b60006124848482850161244b565b9150509291505056fea2646970667358221220b7c8afb2d177e8e415f6c092a79df33765546bdfc218f3bc3af2c511748fb6e164736f6c63430008110033
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.