Feature Tip: Add private address tag to any address under My Name Tag !
Contract Overview
Balance:
0 Ether
EtherValue:
$0.00
More Info
[ Download CSV Export ]
View more zero value Internal Transactions in Advanced View mode
Contract Name:
Owned
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./Admin.sol"; import "./IOwned.sol"; // Owned by 0xG contract Owned is Admin, ERC721, IOwned { mapping(uint => address) internal _holders; mapping(uint => uint) internal _lendingExpires; string[] internal _uris = new string[](3); address internal _render; bytes4 private constant _INTERFACE_ID_EIP2981 = 0x2a55205a; address private _royaltiesReceiver; uint private _royaltiesBps; uint internal _supply; constructor() ERC721("Owned", "OWNED") {} function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { return interfaceId == type(IOwned).interfaceId || interfaceId == _INTERFACE_ID_EIP2981 || ERC721.supportsInterface(interfaceId); } function ownerOf(uint tokenId) public view virtual override returns (address) { address holder = _holders[tokenId]; require(holder != address(0), "ERC721: owner query for nonexistent token"); return holder; } function tokenInfo(uint tokenId) external view virtual override returns ( address owner, address holder, uint expire ) { return (ERC721.ownerOf(tokenId), _holders[tokenId], _lendingExpires[tokenId]); } function _beforeTokenTransfer( address from, address to, uint tokenId ) internal virtual override { if (from != address(0)) { require(ERC721.ownerOf(tokenId) == _holders[tokenId], "Owned: transfer of lent token"); } _holders[tokenId] = to; } function setApprovalForAll(address operator, bool approved) public virtual override { require(ERC721.balanceOf(msg.sender) > 0, "Owned: caller not owner of a token"); ERC721.setApprovalForAll(operator, approved); } function approve(address to, uint256 tokenId) public virtual override { require(block.timestamp > _lendingExpires[tokenId], "Owned: token locked until lending expiration"); ERC721.approve(to, tokenId); } function lend(address to, uint tokenId, uint expire) external override { require(to != address(0) && to != address(0xdead), "Owned: lend to burn address not allowed"); require(block.timestamp > _lendingExpires[tokenId], "Owned: token locked until lending expiration"); require(_isApprovedOrOwner(msg.sender, tokenId), "Owned: lend caller is not owner nor approved"); address owner = ERC721.ownerOf(tokenId); address holder = _holders[tokenId]; _holders[tokenId] = to; _lendingExpires[tokenId] = expire; if (owner != holder) { emit Transfer(holder, owner, tokenId); } emit Transfer(owner, to, tokenId); emit Lend(owner, to, tokenId, expire); } function claim(uint tokenId) external override { require(block.timestamp > _lendingExpires[tokenId], "Owned: token locked until lending expiration"); address owner = ERC721.ownerOf(tokenId); require(owner == msg.sender, 'Owned: claim caller is not owner'); address holder = _holders[tokenId]; require(owner != holder, 'Owned: claim caller is already holder'); _lendingExpires[tokenId] = 0; _holders[tokenId] = owner; emit Transfer(holder, owner, tokenId); emit Claim(owner, holder, tokenId); } function returnToken(uint tokenId) external override { address holder = _holders[tokenId]; require(holder == msg.sender, "Owned: caller not holder of token"); address owner = ERC721.ownerOf(tokenId); _lendingExpires[tokenId] = 0; _holders[tokenId] = owner; emit Transfer(holder, owner, tokenId); emit ReturnToken(holder, owner, tokenId); } function mint(address to, uint tokenId) external override adminOnly { _supply += 1; _safeMint(to, tokenId); emit Mint(owner(), to, tokenId); } function burn(uint tokenId) external override { address owner = ERC721.ownerOf(tokenId); require(owner == msg.sender, "Owned: caller not owner"); require(block.timestamp > _lendingExpires[tokenId], "Owned: token locked until lending expiration"); _supply -= 1; _lendingExpires[tokenId] = 0; address holder = _holders[tokenId]; if (owner != holder) { emit Transfer(holder, owner, tokenId); } _burn(tokenId); } function supply() external view override returns (uint) { return _supply; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (_render != address(0)) { return IRender(_render) .render(tokenId, ERC721.ownerOf(tokenId), _holders[tokenId], _lendingExpires[tokenId]); } return _uris[ERC721.ownerOf(tokenId) == _holders[tokenId] ? 0 : _lendingExpires[tokenId] == 0 ? 1 : 2]; } function setTokenURIs(string[] memory uris) external adminOnly { _uris = uris; } function setRender(address render_) external adminOnly { _render = render_; } function royaltyInfo(uint256, uint256 value) public view returns (address, uint256) { if (_royaltiesReceiver == address(0)) return (address(0), 0); return (_royaltiesReceiver, _royaltiesBps*value/10000); } function setRoyalties(address receiver, uint256 bps) external adminOnly { _royaltiesReceiver = receiver; _royaltiesBps = bps; } } interface IRender { function render(uint tokenId, address owner, address holder, uint until) external view returns (string memory); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /** * @dev Required interface of an Owned compliant contract. */ interface IOwned { event Lend(address owner, address to, uint tokenId, uint expire); event Claim(address owner, address from, uint tokenId); event ReturnToken(address holder, address to, uint tokenId); event Mint(address from, address to, uint tokenId); /** * @dev Returns the ``owner``, ``holder`` and ``expire`` (lending expiration) for a ``tokenId``. */ function tokenInfo(uint tokenId) external view returns (address owner, address holder, uint expire); /** * @dev Lend ``tokenId`` to ``to`` address until lending ``expire``s. * When ``expire`` is set to ``0`` the owner can claim the token any time, otherwise they have to wait until expiration. * * Requirements: * - Caller must be an admin or approved operator. * - Owner is holder of the token or ``expire`` is ``0``. * * Emits a {ERC721.Transfer} event. * Emits a {IOwned.Lend} event. */ function lend(address to, uint tokenId, uint expire) external; /** * @dev Owner can use this method to claim ``tokenId`` back. * * Requirements: * - Token was lent with ``expire`` set to ``0`` or lending has expired i.e. ``block.timestamp`` > ``expire``. * * Emits a {ERC721.Transfer} event. * Emits a {IOwned.Claim} event. */ function claim(uint tokenId) external; /** * @dev Holder can return ``tokenId`` to Owner any time. * * Requirements: * - Token held by caller. * * Emits a {ERC721.Transfer} event. * Emits a {IOwned.ReturnToken} event. */ function returnToken(uint tokenId) external; /** * @dev Mint ``tokenId`` to ``to`` address. * * Requirements: * - caller must be an admin. * - ``tokenId`` must not exist. * * Emits a {ERC721.Transfer} event. * Emits a {IOwned.Mint} event. */ function mint(address to, uint tokenId) external; /** * @dev Burn ``tokenId``. * * Requirements: * - caller must be the token owner and holder. * - ``tokenId`` must exist. * * Emits a {ERC721.Transfer} event. */ function burn(uint tokenId) external; /** * @dev Returns total tokens supply. */ function supply() external view returns (uint); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; abstract contract Admin { mapping(address => bool) private _admins; address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _owner = msg.sender; _admins[msg.sender] = true; } function owner() public view virtual returns (address) { return _owner; } function isAdmin(address addr) public view virtual returns (bool) { return true == _admins[addr]; } modifier adminOnly { require(isAdmin(msg.sender), "Admin: caller is not an admin"); _; } function setOwner(address newOwner) external adminOnly { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } function setAdmin(address addr, bool add) external adminOnly { if (add) { _admins[addr] = true; } else { delete _admins[addr]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (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 `IERC721.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/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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// 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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expire","type":"uint256"}],"name":"Lend","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ReturnToken","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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","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":"addr","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"expire","type":"uint256"}],"name":"lend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"returnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"addr","type":"address"},{"internalType":"bool","name":"add","type":"bool"}],"name":"setAdmin","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":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"render_","type":"address"}],"name":"setRender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"uris","type":"string[]"}],"name":"setTokenURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenInfo","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256","name":"expire","type":"uint256"}],"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
6080604052600367ffffffffffffffff81111562000022576200002162000341565b5b6040519080825280602002602001820160405280156200005757816020015b6060815260200190600190039081620000415790505b50600a90805190602001906200006f929190620001bc565b503480156200007d57600080fd5b506040518060400160405280600581526020017f4f776e65640000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4f574e454400000000000000000000000000000000000000000000000000000081525033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081600290805190602001906200019a92919062000223565b508060039080519060200190620001b392919062000223565b505050620003d5565b82805482825590600052602060002090810192821562000210579160200282015b828111156200020f578251829080519060200190620001fe92919062000223565b5091602001919060010190620001dd565b5b5090506200021f9190620002b4565b5090565b82805462000231906200039f565b90600052602060002090601f016020900481019282620002555760008555620002a1565b82601f106200027057805160ff1916838001178555620002a1565b82800160010185558215620002a1579182015b82811115620002a057825182559160200191906001019062000283565b5b509050620002b09190620002dc565b5090565b5b80821115620002d85760008181620002ce9190620002fb565b50600101620002b5565b5090565b5b80821115620002f7576000816000905550600101620002dd565b5090565b50805462000309906200039f565b6000825580601f106200031d57506200033e565b601f0160209004906000526020600020908101906200033d9190620002dc565b5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003b857607f821691505b60208210811415620003cf57620003ce62000370565b5b50919050565b61485080620003e56000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c80634b0bddd2116100f957806395d89b4111610097578063c87b56dd11610071578063c87b56dd146104e9578063cc33c87514610519578063e985e9c51461054b578063f0c136cb1461057b576101c3565b806395d89b4114610493578063a22cb465146104b1578063b88d4fde146104cd576101c3565b80637082d203116100d35780637082d2031461040d57806370a08231146104295780638c7ea24b146104595780638da5cb5b14610475576101c3565b80634b0bddd2146103a55780636178efee146103c15780636352211e146103dd576101c3565b806323b872dd11610166578063379607f511610140578063379607f51461033557806340c10f191461035157806342842e0e1461036d57806342966c6814610389576101c3565b806323b872dd146102b857806324d7806c146102d45780632a55205a14610304576101c3565b806306fdde03116101a257806306fdde0314610232578063081812fc14610250578063095ea7b31461028057806313af40351461029c576101c3565b8062c07ffc146101c857806301ffc9a7146101e4578063047fc9aa14610214575b600080fd5b6101e260048036038101906101dd9190613105565b610597565b005b6101fe60048036038101906101f991906131a6565b6105f9565b60405161020b91906131ee565b60405180910390f35b61021c6106c2565b6040516102299190613222565b60405180910390f35b61023a6106cc565b60405161024791906132c5565b60405180910390f35b61026a60048036038101906102659190613313565b61075e565b6040516102779190613381565b60405180910390f35b61029a600480360381019061029591906133c8565b6107e3565b005b6102b660048036038101906102b19190613408565b610846565b005b6102d260048036038101906102cd9190613435565b610954565b005b6102ee60048036038101906102e99190613408565b6109b4565b6040516102fb91906131ee565b60405180910390f35b61031e60048036038101906103199190613488565b610a10565b60405161032c9291906134c8565b60405180910390f35b61034f600480360381019061034a9190613313565b610ac0565b005b61036b600480360381019061036691906133c8565b610d3d565b005b61038760048036038101906103829190613435565b610def565b005b6103a3600480360381019061039e9190613313565b610e0f565b005b6103bf60048036038101906103ba919061351d565b610fe7565b005b6103db60048036038101906103d69190613313565b6110e4565b005b6103f760048036038101906103f29190613313565b61129d565b6040516104049190613381565b60405180910390f35b6104276004803603810190610422919061355d565b61134f565b005b610443600480360381019061043e9190613408565b611674565b6040516104509190613222565b60405180910390f35b610473600480360381019061046e91906133c8565b61172c565b005b61047d6117c0565b60405161048a9190613381565b60405180910390f35b61049b6117ea565b6040516104a891906132c5565b60405180910390f35b6104cb60048036038101906104c6919061351d565b61187c565b005b6104e760048036038101906104e29190613651565b6118d5565b005b61050360048036038101906104fe9190613313565b611937565b60405161051091906132c5565b60405180910390f35b610533600480360381019061052e9190613313565b611c1f565b604051610542939291906136d4565b60405180910390f35b6105656004803603810190610560919061370b565b611c82565b60405161057291906131ee565b60405180910390f35b61059560048036038101906105909190613408565b611d16565b005b6105a0336109b4565b6105df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d690613797565b60405180910390fd5b80600a90805190602001906105f5929190612d5e565b5050565b60007fec7758b6000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106ab5750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106bb57506106ba82611da2565b5b9050919050565b6000600e54905090565b6060600280546106db906137e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610707906137e6565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b5050505050905090565b600061076982611e84565b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f9061388a565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60096000828152602001908152602001600020544211610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f9061391c565b60405180910390fd5b6108428282611ef0565b5050565b61084f336109b4565b61088e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088590613797565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61096561095f612008565b82612010565b6109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b906139ae565b60405180910390fd5b6109af8383836120ee565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151560011515149050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a765760008091509150610ab9565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084600d54610aaa91906139fd565b610ab49190613a86565b915091505b9250929050565b60096000828152602001908152602001600020544211610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c9061391c565b60405180910390fd5b6000610b2082612355565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790613b03565b60405180910390fd5b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90613b95565b60405180910390fd5b60006009600085815260200190815260200160002081905550816008600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a47f70eb43c4a8ae8c40502dcf22436c509c28d6ff421cf07c491be56984bd987068828285604051610d30939291906136d4565b60405180910390a1505050565b610d46336109b4565b610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90613797565b60405180910390fd5b6001600e6000828254610d989190613bb5565b92505081905550610da98282612407565b7fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8610dd26117c0565b8383604051610de3939291906136d4565b60405180910390a15050565b610e0a838383604051806020016040528060008152506118d5565b505050565b6000610e1a82612355565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8190613c57565b60405180910390fd5b60096000838152602001908152602001600020544211610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed69061391c565b60405180910390fd5b6001600e6000828254610ef29190613c77565b925050819055506000600960008481526020019081526020016000208190555060006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610fd957828273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b610fe283612425565b505050565b610ff0336109b4565b61102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690613797565b60405180910390fd5b80156110915760016000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110e0565b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b5050565b60006008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118190613d1d565b60405180910390fd5b600061119583612355565b905060006009600085815260200190815260200160002081905550806008600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a47fac1ae688886434c29b55e5fed6861c34c08136c1e7b729fad7007e2f45611aa9828285604051611290939291906136d4565b60405180910390a1505050565b6000806008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90613daf565b60405180910390fd5b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156113ba575061dead73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b6113f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f090613e41565b60405180910390fd5b6009600083815260200190815260200160002054421161144e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114459061391c565b60405180910390fd5b6114583383612010565b611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e90613ed3565b60405180910390fd5b60006114a283612355565b905060006008600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050846008600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260096000868152602001908152602001600020819055508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146115d557838273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b838573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a47f1e1266728a17ea2e42eddc391e837e44434a2a988146e9eec87d275fc9215ca4828686866040516116659493929190613ef3565b60405180910390a15050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90613faa565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611735336109b4565b611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90613797565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d819055505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117f9906137e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611825906137e6565b80156118725780601f1061184757610100808354040283529160200191611872565b820191906000526020600020905b81548152906001019060200180831161185557829003601f168201915b5050505050905090565b600061188733611674565b116118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be9061403c565b60405180910390fd5b6118d18282612542565b5050565b6118e66118e0612008565b83612010565b611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c906139ae565b60405180910390fd5b61193184848484612558565b50505050565b606061194282611e84565b611981576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611978906140ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ad357600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663eb3bce0583611a1f85612355565b6008600087815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660096000888152602001908152602001600020546040518563ffffffff1660e01b8152600401611a8694939291906140ee565b600060405180830381865afa158015611aa3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611acc91906141a3565b9050611c1a565b600a6008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b2884612355565b73ffffffffffffffffffffffffffffffffffffffff1614611b6d576000600960008581526020019081526020016000205414611b65576002611b68565b60015b611b70565b60005b60ff1681548110611b8457611b836141ec565b5b906000526020600020018054611b99906137e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc5906137e6565b8015611c125780601f10611be757610100808354040283529160200191611c12565b820191906000526020600020905b815481529060010190602001808311611bf557829003601f168201915b505050505090505b919050565b6000806000611c2d84612355565b6008600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660096000878152602001908152602001600020549250925092509193909250565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d1f336109b4565b611d5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5590613797565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e6d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e7d5750611e7c826125b4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611efb82612355565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f639061428d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611f8b612008565b73ffffffffffffffffffffffffffffffffffffffff161480611fba5750611fb981611fb4612008565b611c82565b5b611ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff09061431f565b60405180910390fd5b612003838361261e565b505050565b600033905090565b600061201b82611e84565b61205a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612051906143b1565b60405180910390fd5b600061206583612355565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120d457508373ffffffffffffffffffffffffffffffffffffffff166120bc8461075e565b73ffffffffffffffffffffffffffffffffffffffff16145b806120e557506120e48185611c82565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661210e82612355565b73ffffffffffffffffffffffffffffffffffffffff1614612164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215b90614443565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cb906144d5565b60405180910390fd5b6121df8383836126d7565b6121ea60008261261e565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461223a9190613c77565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122919190613bb5565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461235083838361280c565b505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f590613daf565b60405180910390fd5b80915050919050565b612421828260405180602001604052806000815250612811565b5050565b600061243082612355565b905061243e816000846126d7565b61244960008361261e565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124999190613c77565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461253e8160008461280c565b5050565b61255461254d612008565b838361286c565b5050565b6125638484846120ee565b61256f848484846129d9565b6125ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a590614567565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661269183612355565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127b5576008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661275e82612355565b73ffffffffffffffffffffffffffffffffffffffff16146127b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ab906145d3565b60405180910390fd5b5b816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b505050565b61281b8383612b61565b61282860008484846129d9565b612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e90614567565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d29061463f565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129cc91906131ee565b60405180910390a3505050565b60006129fa8473ffffffffffffffffffffffffffffffffffffffff16612d3b565b15612b54578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a23612008565b8786866040518563ffffffff1660e01b8152600401612a4594939291906146b4565b6020604051808303816000875af1925050508015612a8157506040513d601f19601f82011682018060405250810190612a7e9190614715565b60015b612b04573d8060008114612ab1576040519150601f19603f3d011682016040523d82523d6000602084013e612ab6565b606091505b50600081511415612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390614567565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b59565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc89061478e565b60405180910390fd5b612bda81611e84565b15612c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c11906147fa565b60405180910390fd5b612c26600083836126d7565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c769190613bb5565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d376000838361280c565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054828255906000526020600020908101928215612dad579160200282015b82811115612dac578251829080519060200190612d9c929190612dbe565b5091602001919060010190612d7e565b5b509050612dba9190612e44565b5090565b828054612dca906137e6565b90600052602060002090601f016020900481019282612dec5760008555612e33565b82601f10612e0557805160ff1916838001178555612e33565b82800160010185558215612e33579182015b82811115612e32578251825591602001919060010190612e17565b5b509050612e409190612e68565b5090565b5b80821115612e645760008181612e5b9190612e85565b50600101612e45565b5090565b5b80821115612e81576000816000905550600101612e69565b5090565b508054612e91906137e6565b6000825580601f10612ea35750612ec2565b601f016020900490600052602060002090810190612ec19190612e68565b5b50565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f2782612ede565b810181811067ffffffffffffffff82111715612f4657612f45612eef565b5b80604052505050565b6000612f59612ec5565b9050612f658282612f1e565b919050565b600067ffffffffffffffff821115612f8557612f84612eef565b5b602082029050602081019050919050565b600080fd5b600080fd5b600067ffffffffffffffff821115612fbb57612fba612eef565b5b612fc482612ede565b9050602081019050919050565b82818337600083830152505050565b6000612ff3612fee84612fa0565b612f4f565b90508281526020810184848401111561300f5761300e612f9b565b5b61301a848285612fd1565b509392505050565b600082601f83011261303757613036612ed9565b5b8135613047848260208601612fe0565b91505092915050565b600061306361305e84612f6a565b612f4f565b9050808382526020820190506020840283018581111561308657613085612f96565b5b835b818110156130cd57803567ffffffffffffffff8111156130ab576130aa612ed9565b5b8086016130b88982613022565b85526020850194505050602081019050613088565b5050509392505050565b600082601f8301126130ec576130eb612ed9565b5b81356130fc848260208601613050565b91505092915050565b60006020828403121561311b5761311a612ecf565b5b600082013567ffffffffffffffff81111561313957613138612ed4565b5b613145848285016130d7565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131838161314e565b811461318e57600080fd5b50565b6000813590506131a08161317a565b92915050565b6000602082840312156131bc576131bb612ecf565b5b60006131ca84828501613191565b91505092915050565b60008115159050919050565b6131e8816131d3565b82525050565b600060208201905061320360008301846131df565b92915050565b6000819050919050565b61321c81613209565b82525050565b60006020820190506132376000830184613213565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327757808201518184015260208101905061325c565b83811115613286576000848401525b50505050565b60006132978261323d565b6132a18185613248565b93506132b1818560208601613259565b6132ba81612ede565b840191505092915050565b600060208201905081810360008301526132df818461328c565b905092915050565b6132f081613209565b81146132fb57600080fd5b50565b60008135905061330d816132e7565b92915050565b60006020828403121561332957613328612ecf565b5b6000613337848285016132fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061336b82613340565b9050919050565b61337b81613360565b82525050565b60006020820190506133966000830184613372565b92915050565b6133a581613360565b81146133b057600080fd5b50565b6000813590506133c28161339c565b92915050565b600080604083850312156133df576133de612ecf565b5b60006133ed858286016133b3565b92505060206133fe858286016132fe565b9150509250929050565b60006020828403121561341e5761341d612ecf565b5b600061342c848285016133b3565b91505092915050565b60008060006060848603121561344e5761344d612ecf565b5b600061345c868287016133b3565b935050602061346d868287016133b3565b925050604061347e868287016132fe565b9150509250925092565b6000806040838503121561349f5761349e612ecf565b5b60006134ad858286016132fe565b92505060206134be858286016132fe565b9150509250929050565b60006040820190506134dd6000830185613372565b6134ea6020830184613213565b9392505050565b6134fa816131d3565b811461350557600080fd5b50565b600081359050613517816134f1565b92915050565b6000806040838503121561353457613533612ecf565b5b6000613542858286016133b3565b925050602061355385828601613508565b9150509250929050565b60008060006060848603121561357657613575612ecf565b5b6000613584868287016133b3565b9350506020613595868287016132fe565b92505060406135a6868287016132fe565b9150509250925092565b600067ffffffffffffffff8211156135cb576135ca612eef565b5b6135d482612ede565b9050602081019050919050565b60006135f46135ef846135b0565b612f4f565b9050828152602081018484840111156136105761360f612f9b565b5b61361b848285612fd1565b509392505050565b600082601f83011261363857613637612ed9565b5b81356136488482602086016135e1565b91505092915050565b6000806000806080858703121561366b5761366a612ecf565b5b6000613679878288016133b3565b945050602061368a878288016133b3565b935050604061369b878288016132fe565b925050606085013567ffffffffffffffff8111156136bc576136bb612ed4565b5b6136c887828801613623565b91505092959194509250565b60006060820190506136e96000830186613372565b6136f66020830185613372565b6137036040830184613213565b949350505050565b6000806040838503121561372257613721612ecf565b5b6000613730858286016133b3565b9250506020613741858286016133b3565b9150509250929050565b7f41646d696e3a2063616c6c6572206973206e6f7420616e2061646d696e000000600082015250565b6000613781601d83613248565b915061378c8261374b565b602082019050919050565b600060208201905081810360008301526137b081613774565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137fe57607f821691505b60208210811415613812576138116137b7565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613874602c83613248565b915061387f82613818565b604082019050919050565b600060208201905081810360008301526138a381613867565b9050919050565b7f4f776e65643a20746f6b656e206c6f636b656420756e74696c206c656e64696e60008201527f672065787069726174696f6e0000000000000000000000000000000000000000602082015250565b6000613906602c83613248565b9150613911826138aa565b604082019050919050565b60006020820190508181036000830152613935816138f9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613998603183613248565b91506139a38261393c565b604082019050919050565b600060208201905081810360008301526139c78161398b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0882613209565b9150613a1383613209565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a4c57613a4b6139ce565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a9182613209565b9150613a9c83613209565b925082613aac57613aab613a57565b5b828204905092915050565b7f4f776e65643a20636c61696d2063616c6c6572206973206e6f74206f776e6572600082015250565b6000613aed602083613248565b9150613af882613ab7565b602082019050919050565b60006020820190508181036000830152613b1c81613ae0565b9050919050565b7f4f776e65643a20636c61696d2063616c6c657220697320616c7265616479206860008201527f6f6c646572000000000000000000000000000000000000000000000000000000602082015250565b6000613b7f602583613248565b9150613b8a82613b23565b604082019050919050565b60006020820190508181036000830152613bae81613b72565b9050919050565b6000613bc082613209565b9150613bcb83613209565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c0057613bff6139ce565b5b828201905092915050565b7f4f776e65643a2063616c6c6572206e6f74206f776e6572000000000000000000600082015250565b6000613c41601783613248565b9150613c4c82613c0b565b602082019050919050565b60006020820190508181036000830152613c7081613c34565b9050919050565b6000613c8282613209565b9150613c8d83613209565b925082821015613ca057613c9f6139ce565b5b828203905092915050565b7f4f776e65643a2063616c6c6572206e6f7420686f6c646572206f6620746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d07602183613248565b9150613d1282613cab565b604082019050919050565b60006020820190508181036000830152613d3681613cfa565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613d99602983613248565b9150613da482613d3d565b604082019050919050565b60006020820190508181036000830152613dc881613d8c565b9050919050565b7f4f776e65643a206c656e6420746f206275726e2061646472657373206e6f742060008201527f616c6c6f77656400000000000000000000000000000000000000000000000000602082015250565b6000613e2b602783613248565b9150613e3682613dcf565b604082019050919050565b60006020820190508181036000830152613e5a81613e1e565b9050919050565b7f4f776e65643a206c656e642063616c6c6572206973206e6f74206f776e65722060008201527f6e6f7220617070726f7665640000000000000000000000000000000000000000602082015250565b6000613ebd602c83613248565b9150613ec882613e61565b604082019050919050565b60006020820190508181036000830152613eec81613eb0565b9050919050565b6000608082019050613f086000830187613372565b613f156020830186613372565b613f226040830185613213565b613f2f6060830184613213565b95945050505050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613f94602a83613248565b9150613f9f82613f38565b604082019050919050565b60006020820190508181036000830152613fc381613f87565b9050919050565b7f4f776e65643a2063616c6c6572206e6f74206f776e6572206f66206120746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b6000614026602283613248565b915061403182613fca565b604082019050919050565b6000602082019050818103600083015261405581614019565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006140b8602f83613248565b91506140c38261405c565b604082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b60006080820190506141036000830187613213565b6141106020830186613372565b61411d6040830185613372565b61412a6060830184613213565b95945050505050565b600061414661414184612fa0565b612f4f565b90508281526020810184848401111561416257614161612f9b565b5b61416d848285613259565b509392505050565b600082601f83011261418a57614189612ed9565b5b815161419a848260208601614133565b91505092915050565b6000602082840312156141b9576141b8612ecf565b5b600082015167ffffffffffffffff8111156141d7576141d6612ed4565b5b6141e384828501614175565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614277602183613248565b91506142828261421b565b604082019050919050565b600060208201905081810360008301526142a68161426a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614309603883613248565b9150614314826142ad565b604082019050919050565b60006020820190508181036000830152614338816142fc565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061439b602c83613248565b91506143a68261433f565b604082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061442d602583613248565b9150614438826143d1565b604082019050919050565b6000602082019050818103600083015261445c81614420565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006144bf602483613248565b91506144ca82614463565b604082019050919050565b600060208201905081810360008301526144ee816144b2565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614551603283613248565b915061455c826144f5565b604082019050919050565b6000602082019050818103600083015261458081614544565b9050919050565b7f4f776e65643a207472616e73666572206f66206c656e7420746f6b656e000000600082015250565b60006145bd601d83613248565b91506145c882614587565b602082019050919050565b600060208201905081810360008301526145ec816145b0565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614629601983613248565b9150614634826145f3565b602082019050919050565b600060208201905081810360008301526146588161461c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006146868261465f565b614690818561466a565b93506146a0818560208601613259565b6146a981612ede565b840191505092915050565b60006080820190506146c96000830187613372565b6146d66020830186613372565b6146e36040830185613213565b81810360608301526146f5818461467b565b905095945050505050565b60008151905061470f8161317a565b92915050565b60006020828403121561472b5761472a612ecf565b5b600061473984828501614700565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614778602083613248565b915061478382614742565b602082019050919050565b600060208201905081810360008301526147a78161476b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006147e4601c83613248565b91506147ef826147ae565b602082019050919050565b60006020820190508181036000830152614813816147d7565b905091905056fea264697066735822122029b5fb2beb56ab59e6766a77bcb202cd80c4334b06aae936c4bfdcb1ecac036164736f6c634300080b0033
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.
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.