Overview
TokenID
79
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
A4ANFT
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; import "./ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract A4ANFT is ERC721URIStorage, Ownable { using Counters for Counters.Counter; Counters.Counter private _itemIds; mapping (uint256 => mapping (address => bool)) private _allowedToTransfer; mapping (uint256 => address) private _author; mapping (uint256 => uint256) private _authorFee; uint256 public _maxAuthorFee = 10; event ItemCreated(uint256 itemID, address receiver, string tokenURI, uint256 authorFee_); event AuthorshipTransferred(address originalAuthor, address newAuthor); event NewAuthorFee(uint256 itemID, uint256 oldFee, uint256 newAuthorFee); event NewMaxAuthorFee(uint256 oldFee, uint256 newAuthorFee); event TransferAllowed(uint256 itemID, address sender); event TransferDisallowed(uint256 itemID, address sender); event PlatformAdded(address platform); event PlatformRemoved(address platform); constructor() ERC721("Auth4Art", "A4A") { addPlatform(_msgSender()); } function createNFT(address receiver, string memory tokenURI, uint256 authorFee_) public onlyOwner returns (uint256) { require(authorFee_ < _maxAuthorFee, "Author fee cannot be more than _maxAuthorFee"); _itemIds.increment(); uint256 newItemId = _itemIds.current(); _mint(receiver, newItemId); _setTokenURI(newItemId, tokenURI); _author[newItemId] = receiver; _authorFee[newItemId] = authorFee_; emit ItemCreated(newItemId, receiver, tokenURI, authorFee_); return newItemId; } function _isAllowedToTransfer(uint256 itemID, address to) internal view returns (bool) { return (_allowedToTransfer[itemID][to]); } function allowToTransfer(uint256 itemID, address from) external onlyOwner { require(_exists(itemID), "ERC721: operator query for nonexistent token"); _allowedToTransfer[itemID][from] = true; emit TransferAllowed(itemID, from); } function disallowtoTransfer(uint256 itemID, address from) external onlyOwner { require(_exists(itemID), "ERC721: operator query for nonexistent token"); _allowedToTransfer[itemID][from] = false; emit TransferDisallowed(itemID, from); } function transferFrom( address from, address to, uint256 itemID ) public override { //solhint-disable-next-line max-line-length require(_isAllowedToTransfer(itemID, _msgSender()) || isPlatform(to) || isPlatform(_msgSender()) , "NFT cannot be transferred by this address."); _transfer(from, to, itemID); } function safeTransferFrom( address from, address to, uint256 itemID, bytes memory _data ) public override { require(_isAllowedToTransfer(itemID, _msgSender()) || isPlatform(to) || isPlatform(_msgSender()) , "NFT cannot be transferred by this address."); _safeTransfer(from, to, itemID, _data); } function _beforeTokenTransfer( address from, address to, uint256 itemID ) internal override { require(_isAllowedToTransfer(itemID, _msgSender()) || isPlatform(to) || isPlatform(_msgSender()) , "NFT cannot be transferred by this address."); super._beforeTokenTransfer(from, to, itemID); } function addPlatform(address spender) public onlyOwner { _platformApproval[spender] = true; emit PlatformAdded(spender); } function removePlatform(address spender) public onlyOwner { _platformApproval[spender] = false; emit PlatformRemoved(spender); } function author(uint256 itemID) external view returns(address){ return _author[itemID]; } function transferAuthorship(uint256 itemID, address newAuthor) external { require(_author[itemID] == _msgSender() || owner() == _msgSender(), "The authorship can only be changed by the original author."); _author[itemID] = newAuthor; emit AuthorshipTransferred(_msgSender(), newAuthor); } function authorFee(uint256 itemID) external view returns(uint256){ return _authorFee[itemID]; } function changeAuthorFee(uint256 itemID, uint256 newAuthorFee) external { require(_author[itemID] == _msgSender(), "The authorship can only be changed by the original author."); uint256 oldFee = _authorFee[itemID]; _authorFee[itemID] = newAuthorFee; emit NewAuthorFee(itemID, oldFee, newAuthorFee); } function changeMaxAuthorFee(uint256 newMaxAuthorFee) external onlyOwner { uint256 oldFee = _maxAuthorFee; _maxAuthorFee = newMaxAuthorFee; emit NewMaxAuthorFee(oldFee, _maxAuthorFee); } function burn(uint256 itemID) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), itemID) || owner() == _msgSender(), "ERC721Burnable: caller is not owner nor approved"); _burn(itemID); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.1; import "./ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/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) internal _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; mapping(address => bool) internal _platformApproval; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function isPlatform(address spender) public view returns (bool){ return _platformApproval[spender]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender || isPlatform(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.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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.0 (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.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 `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.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`, 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.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "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":"originalAuthor","type":"address"},{"indexed":false,"internalType":"address","name":"newAuthor","type":"address"}],"name":"AuthorshipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"itemID","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"authorFee_","type":"uint256"}],"name":"ItemCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"itemID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAuthorFee","type":"uint256"}],"name":"NewAuthorFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAuthorFee","type":"uint256"}],"name":"NewMaxAuthorFee","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":"platform","type":"address"}],"name":"PlatformAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"platform","type":"address"}],"name":"PlatformRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"itemID","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"TransferAllowed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"itemID","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"TransferDisallowed","type":"event"},{"inputs":[],"name":"_maxAuthorFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"addPlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"address","name":"from","type":"address"}],"name":"allowToTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"author","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"authorFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"itemID","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"uint256","name":"newAuthorFee","type":"uint256"}],"name":"changeAuthorFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxAuthorFee","type":"uint256"}],"name":"changeMaxAuthorFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"authorFee_","type":"uint256"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"address","name":"from","type":"address"}],"name":"disallowtoTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"isPlatform","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"spender","type":"address"}],"name":"removePlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"address","name":"newAuthor","type":"address"}],"name":"transferAuthorship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a600d553480156200001657600080fd5b506040518060400160405280600881526020017f41757468344172740000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f413441000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009b92919062000318565b508060019080519060200190620000b492919062000318565b505050620000d7620000cb620000fd60201b60201c565b6200010560201b60201c565b620000f7620000eb620000fd60201b60201c565b620001cb60201b60201c565b62000512565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001db620000fd60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000201620002ee60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200025a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000251906200041d565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f29bf29e36204f335e06da4f6b3e61de27f1261bc4480ca151d5e1dafc2a725c081604051620002e3919062000400565b60405180910390a150565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003269062000484565b90600052602060002090601f0160209004810192826200034a576000855562000396565b82601f106200036557805160ff191683800117855562000396565b8280016001018555821562000396579182015b828111156200039557825182559160200191906001019062000378565b5b509050620003a59190620003a9565b5090565b5b80821115620003c4576000816000905550600101620003aa565b5090565b620003d38162000450565b82525050565b6000620003e86020836200043f565b9150620003f582620004e9565b602082019050919050565b6000602082019050620004176000830184620003c8565b92915050565b600060208201905081810360008301526200043881620003d9565b9050919050565b600082825260208201905092915050565b60006200045d8262000464565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200049d57607f821691505b60208210811415620004b457620004b3620004ba565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6142fc80620005226000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636352211e11610104578063b88d4fde116100a2578063eaa6a67611610071578063eaa6a67614610526578063ec4eb44214610556578063f2fde38b14610586578063f37d238f146105a2576101cf565b8063b88d4fde1461048e578063c0c7bbd2146104aa578063c87b56dd146104c6578063e985e9c5146104f6576101cf565b80638d814cd1116100de5780638d814cd11461041a5780638da5cb5b1461043657806395d89b4114610454578063a22cb46514610472576101cf565b80636352211e146103b057806370a08231146103e0578063715018a614610410576101cf565b806323b872dd1161017157806342842e0e1161014b57806342842e0e1461032c57806342966c68146103485780635a43cb32146103645780635bd1598614610380576101cf565b806323b872dd146102d85780632748ff1f146102f45780633d19495b14610310576101cf565b806309141a7c116101ad57806309141a7c14610252578063095ea7b3146102825780631197b7751461029e5780631fef4279146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612f7f565b6105be565b6040516101fb91906134d5565b60405180910390f35b61020c6106a0565b60405161021991906134f0565b60405180910390f35b61023c60048036038101906102379190612fd1565b610732565b6040516102499190613445565b60405180910390f35b61026c60048036038101906102679190612d71565b6107b7565b60405161027991906134d5565b60405180910390f35b61029c60048036038101906102979190612f43565b61080d565b005b6102a6610925565b6040516102b391906137b2565b60405180910390f35b6102d660048036038101906102d19190612d71565b61092b565b005b6102f260048036038101906102ed9190612dd6565b610a39565b005b61030e60048036038101906103099190612ffa565b610ac0565b005b61032a60048036038101906103259190612ffa565b610c2a565b005b61034660048036038101906103419190612dd6565b610d94565b005b610362600480360381019061035d9190612fd1565b610db4565b005b61037e60048036038101906103799190612fd1565b610e54565b005b61039a60048036038101906103959190612fd1565b610f1d565b6040516103a791906137b2565b60405180910390f35b6103ca60048036038101906103c59190612fd1565b610f3a565b6040516103d79190613445565b60405180910390f35b6103fa60048036038101906103f59190612d71565b610fec565b60405161040791906137b2565b60405180910390f35b6104186110a4565b005b610434600480360381019061042f9190613036565b61112c565b005b61043e611244565b60405161044b9190613445565b60405180910390f35b61045c61126e565b60405161046991906134f0565b60405180910390f35b61048c60048036038101906104879190612ea0565b611300565b005b6104a860048036038101906104a39190612e25565b611316565b005b6104c460048036038101906104bf9190612ffa565b61139f565b005b6104e060048036038101906104db9190612fd1565b611521565b6040516104ed91906134f0565b60405180910390f35b610510600480360381019061050b9190612d9a565b611673565b60405161051d91906134d5565b60405180910390f35b610540600480360381019061053b9190612edc565b611707565b60405161054d91906137b2565b60405180910390f35b610570600480360381019061056b9190612fd1565b6118a7565b60405161057d9190613445565b60405180910390f35b6105a0600480360381019061059b9190612d71565b6118e4565b005b6105bc60048036038101906105b79190612d71565b6119dc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610699575061069882611aea565b5b9050919050565b6060600080546106af90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546106db90613add565b80156107285780601f106106fd57610100808354040283529160200191610728565b820191906000526020600020905b81548152906001019060200180831161070b57829003601f168201915b5050505050905090565b600061073d82611b54565b61077c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610773906136d2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600061081882610f3a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088090613752565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a8611bc0565b73ffffffffffffffffffffffffffffffffffffffff1614806108d757506108d6816108d1611bc0565b611673565b5b610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90613612565b60405180910390fd5b6109208383611bc8565b505050565b600d5481565b610933611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610951611244565b73ffffffffffffffffffffffffffffffffffffffff16146109a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906136f2565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f29bf29e36204f335e06da4f6b3e61de27f1261bc4480ca151d5e1dafc2a725c081604051610a2e9190613445565b60405180910390a150565b610a4a81610a45611bc0565b611c81565b80610a5a5750610a59826107b7565b5b80610a715750610a70610a6b611bc0565b6107b7565b5b610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa790613572565b60405180910390fd5b610abb838383611ce9565b505050565b610ac8611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610ae6611244565b73ffffffffffffffffffffffffffffffffffffffff1614610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b33906136f2565b60405180910390fd5b610b4582611b54565b610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b906135f2565b60405180910390fd5b6001600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f76b46e15d1c15f22e5ff72a9bc1c25a78802c8e21eaf1b434c5cecf2fef898058282604051610c1e9291906137cd565b60405180910390a15050565b610c32611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610c50611244565b73ffffffffffffffffffffffffffffffffffffffff1614610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d906136f2565b60405180910390fd5b610caf82611b54565b610cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce5906135f2565b60405180910390fd5b6000600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fe58f6d5a5faf9cca464192e088054deae4ec88a7ee4aafacd834f996253c270d8282604051610d889291906137cd565b60405180910390a15050565b610daf83838360405180602001604052806000815250611316565b505050565b610dc5610dbf611bc0565b82611f50565b80610e095750610dd3611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610df1611244565b73ffffffffffffffffffffffffffffffffffffffff16145b610e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3f90613772565b60405180910390fd5b610e518161203e565b50565b610e5c611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610e7a611244565b73ffffffffffffffffffffffffffffffffffffffff1614610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906136f2565b60405180910390fd5b6000600d54905081600d819055507f2a9d825e9cc961894bc89615d4f7b620be6662150dca2fa7078534f992e2799a81600d54604051610f11929190613842565b60405180910390a15050565b6000600c6000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613652565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490613632565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110ac611bc0565b73ffffffffffffffffffffffffffffffffffffffff166110ca611244565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611117906136f2565b60405180910390fd5b61112a6000612091565b565b611134611bc0565b73ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cb90613732565b60405180910390fd5b6000600c600084815260200190815260200160002054905081600c6000858152602001908152602001600020819055507fd95cc380b8c8c0f4ba9b5798556fd09b767af6d1957df2fc4841ebadeb6eb4f58382846040516112379392919061386b565b60405180910390a1505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461127d90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546112a990613add565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b5050505050905090565b61131261130b611bc0565b8383612157565b5050565b61132782611322611bc0565b611c81565b806113375750611336836107b7565b5b8061134e575061134d611348611bc0565b6107b7565b5b61138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490613572565b60405180910390fd5b611399848484846122c4565b50505050565b6113a7611bc0565b73ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061144c5750611416611bc0565b73ffffffffffffffffffffffffffffffffffffffff16611434611244565b73ffffffffffffffffffffffffffffffffffffffff16145b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290613732565b60405180910390fd5b80600b600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f306bad63a98e3cde833f707db80ee531e92ecde9d53d7ff99a0f2c026cdeb7a4611506611bc0565b82604051611515929190613460565b60405180910390a15050565b606061152c82611b54565b61156b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611562906136b2565b60405180910390fd5b600060076000848152602001908152602001600020805461158b90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546115b790613add565b80156116045780601f106115d957610100808354040283529160200191611604565b820191906000526020600020905b8154815290600101906020018083116115e757829003601f168201915b505050505090506000611615612320565b905060008151141561162b57819250505061166e565b600082511115611660578082604051602001611648929190613421565b6040516020818303038152906040529250505061166e565b61166984612337565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611711611bc0565b73ffffffffffffffffffffffffffffffffffffffff1661172f611244565b73ffffffffffffffffffffffffffffffffffffffff1614611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906136f2565b60405180910390fd5b600d5482106117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613792565b60405180910390fd5b6117d360096123de565b60006117df60096123f4565b90506117eb8582612402565b6117f581856125dc565b84600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c6000838152602001908152602001600020819055507f1603f20f721362b0691bb408edb3cf01409cd56da9edd4627b178750b7dd49a88186868660405161189494939291906137f6565b60405180910390a1809150509392505050565b6000600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6118ec611bc0565b73ffffffffffffffffffffffffffffffffffffffff1661190a611244565b73ffffffffffffffffffffffffffffffffffffffff1614611960576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611957906136f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790613532565b60405180910390fd5b6119d981612091565b50565b6119e4611bc0565b73ffffffffffffffffffffffffffffffffffffffff16611a02611244565b73ffffffffffffffffffffffffffffffffffffffff1614611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f906136f2565b60405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa3f06f52f9ee226b596200ff8de79821f0acd489918fb2db452f36592ffb6df281604051611adf9190613445565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c3b83610f3a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d0982610f3a565b73ffffffffffffffffffffffffffffffffffffffff1614611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690613552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc6906135b2565b60405180910390fd5b611dda838383612650565b611de5600082611bc8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3591906139f3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e8c919061396c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f4b8383836126d7565b505050565b6000611f5b82611b54565b611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f91906135f2565b60405180910390fd5b6000611fa583610f3a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fe75750611fe68185611673565b5b8061202557508373ffffffffffffffffffffffffffffffffffffffff1661200d84610732565b73ffffffffffffffffffffffffffffffffffffffff16145b806120355750612034846107b7565b5b91505092915050565b612047816126dc565b600060076000838152602001908152602001600020805461206790613add565b90501461208e5760076000828152602001908152602001600020600061208d9190612b55565b5b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd906135d2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b791906134d5565b60405180910390a3505050565b6122cf848484611ce9565b6122db848484846127f9565b61231a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231190613512565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061234282611b54565b612381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237890613712565b60405180910390fd5b600061238b612320565b905060008151116123ab57604051806020016040528060008152506123d6565b806123b584612990565b6040516020016123c6929190613421565b6040516020818303038152906040525b915050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246990613692565b60405180910390fd5b61247b81611b54565b156124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290613592565b60405180910390fd5b6124c760008383612650565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612517919061396c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125d8600083836126d7565b5050565b6125e582611b54565b612624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261b90613672565b60405180910390fd5b8060076000848152602001908152602001600020908051906020019061264b929190612b95565b505050565b6126618161265c611bc0565b611c81565b806126715750612670826107b7565b5b806126885750612687612682611bc0565b6107b7565b5b6126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be90613572565b60405180910390fd5b6126d2838383612b3d565b505050565b505050565b60006126e782610f3a565b90506126f581600084612650565b612700600083611bc8565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275091906139f3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f5816000846126d7565b5050565b600061281a8473ffffffffffffffffffffffffffffffffffffffff16612b42565b15612983578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612843611bc0565b8786866040518563ffffffff1660e01b81526004016128659493929190613489565b602060405180830381600087803b15801561287f57600080fd5b505af19250505080156128b057506040513d601f19601f820116820180604052508101906128ad9190612fa8565b60015b612933573d80600081146128e0576040519150601f19603f3d011682016040523d82523d6000602084013e6128e5565b606091505b5060008151141561292b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292290613512565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612988565b600190505b949350505050565b606060008214156129d8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b38565b600082905060005b60008214612a0a5780806129f390613b40565b915050600a82612a0391906139c2565b91506129e0565b60008167ffffffffffffffff811115612a4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a7e5781602001600182028036833780820191505090505b5090505b60008514612b3157600182612a9791906139f3565b9150600a85612aa69190613b89565b6030612ab2919061396c565b60f81b818381518110612aee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b2a91906139c2565b9450612a82565b8093505050505b919050565b505050565b600080823b905060008111915050919050565b508054612b6190613add565b6000825580601f10612b735750612b92565b601f016020900490600052602060002090810190612b919190612c1b565b5b50565b828054612ba190613add565b90600052602060002090601f016020900481019282612bc35760008555612c0a565b82601f10612bdc57805160ff1916838001178555612c0a565b82800160010185558215612c0a579182015b82811115612c09578251825591602001919060010190612bee565b5b509050612c179190612c1b565b5090565b5b80821115612c34576000816000905550600101612c1c565b5090565b6000612c4b612c46846138c7565b6138a2565b905082815260208101848484011115612c6357600080fd5b612c6e848285613a9b565b509392505050565b6000612c89612c84846138f8565b6138a2565b905082815260208101848484011115612ca157600080fd5b612cac848285613a9b565b509392505050565b600081359050612cc38161426a565b92915050565b600081359050612cd881614281565b92915050565b600081359050612ced81614298565b92915050565b600081519050612d0281614298565b92915050565b600082601f830112612d1957600080fd5b8135612d29848260208601612c38565b91505092915050565b600082601f830112612d4357600080fd5b8135612d53848260208601612c76565b91505092915050565b600081359050612d6b816142af565b92915050565b600060208284031215612d8357600080fd5b6000612d9184828501612cb4565b91505092915050565b60008060408385031215612dad57600080fd5b6000612dbb85828601612cb4565b9250506020612dcc85828601612cb4565b9150509250929050565b600080600060608486031215612deb57600080fd5b6000612df986828701612cb4565b9350506020612e0a86828701612cb4565b9250506040612e1b86828701612d5c565b9150509250925092565b60008060008060808587031215612e3b57600080fd5b6000612e4987828801612cb4565b9450506020612e5a87828801612cb4565b9350506040612e6b87828801612d5c565b925050606085013567ffffffffffffffff811115612e8857600080fd5b612e9487828801612d08565b91505092959194509250565b60008060408385031215612eb357600080fd5b6000612ec185828601612cb4565b9250506020612ed285828601612cc9565b9150509250929050565b600080600060608486031215612ef157600080fd5b6000612eff86828701612cb4565b935050602084013567ffffffffffffffff811115612f1c57600080fd5b612f2886828701612d32565b9250506040612f3986828701612d5c565b9150509250925092565b60008060408385031215612f5657600080fd5b6000612f6485828601612cb4565b9250506020612f7585828601612d5c565b9150509250929050565b600060208284031215612f9157600080fd5b6000612f9f84828501612cde565b91505092915050565b600060208284031215612fba57600080fd5b6000612fc884828501612cf3565b91505092915050565b600060208284031215612fe357600080fd5b6000612ff184828501612d5c565b91505092915050565b6000806040838503121561300d57600080fd5b600061301b85828601612d5c565b925050602061302c85828601612cb4565b9150509250929050565b6000806040838503121561304957600080fd5b600061305785828601612d5c565b925050602061306885828601612d5c565b9150509250929050565b61307b81613a27565b82525050565b61308a81613a39565b82525050565b600061309b82613929565b6130a5818561393f565b93506130b5818560208601613aaa565b6130be81613c76565b840191505092915050565b60006130d482613934565b6130de8185613950565b93506130ee818560208601613aaa565b6130f781613c76565b840191505092915050565b600061310d82613934565b6131178185613961565b9350613127818560208601613aaa565b80840191505092915050565b6000613140603283613950565b915061314b82613c87565b604082019050919050565b6000613163602683613950565b915061316e82613cd6565b604082019050919050565b6000613186602583613950565b915061319182613d25565b604082019050919050565b60006131a9602a83613950565b91506131b482613d74565b604082019050919050565b60006131cc601c83613950565b91506131d782613dc3565b602082019050919050565b60006131ef602483613950565b91506131fa82613dec565b604082019050919050565b6000613212601983613950565b915061321d82613e3b565b602082019050919050565b6000613235602c83613950565b915061324082613e64565b604082019050919050565b6000613258603883613950565b915061326382613eb3565b604082019050919050565b600061327b602a83613950565b915061328682613f02565b604082019050919050565b600061329e602983613950565b91506132a982613f51565b604082019050919050565b60006132c1602e83613950565b91506132cc82613fa0565b604082019050919050565b60006132e4602083613950565b91506132ef82613fef565b602082019050919050565b6000613307603183613950565b915061331282614018565b604082019050919050565b600061332a602c83613950565b915061333582614067565b604082019050919050565b600061334d602083613950565b9150613358826140b6565b602082019050919050565b6000613370602f83613950565b915061337b826140df565b604082019050919050565b6000613393603a83613950565b915061339e8261412e565b604082019050919050565b60006133b6602183613950565b91506133c18261417d565b604082019050919050565b60006133d9603083613950565b91506133e4826141cc565b604082019050919050565b60006133fc602c83613950565b91506134078261421b565b604082019050919050565b61341b81613a91565b82525050565b600061342d8285613102565b91506134398284613102565b91508190509392505050565b600060208201905061345a6000830184613072565b92915050565b60006040820190506134756000830185613072565b6134826020830184613072565b9392505050565b600060808201905061349e6000830187613072565b6134ab6020830186613072565b6134b86040830185613412565b81810360608301526134ca8184613090565b905095945050505050565b60006020820190506134ea6000830184613081565b92915050565b6000602082019050818103600083015261350a81846130c9565b905092915050565b6000602082019050818103600083015261352b81613133565b9050919050565b6000602082019050818103600083015261354b81613156565b9050919050565b6000602082019050818103600083015261356b81613179565b9050919050565b6000602082019050818103600083015261358b8161319c565b9050919050565b600060208201905081810360008301526135ab816131bf565b9050919050565b600060208201905081810360008301526135cb816131e2565b9050919050565b600060208201905081810360008301526135eb81613205565b9050919050565b6000602082019050818103600083015261360b81613228565b9050919050565b6000602082019050818103600083015261362b8161324b565b9050919050565b6000602082019050818103600083015261364b8161326e565b9050919050565b6000602082019050818103600083015261366b81613291565b9050919050565b6000602082019050818103600083015261368b816132b4565b9050919050565b600060208201905081810360008301526136ab816132d7565b9050919050565b600060208201905081810360008301526136cb816132fa565b9050919050565b600060208201905081810360008301526136eb8161331d565b9050919050565b6000602082019050818103600083015261370b81613340565b9050919050565b6000602082019050818103600083015261372b81613363565b9050919050565b6000602082019050818103600083015261374b81613386565b9050919050565b6000602082019050818103600083015261376b816133a9565b9050919050565b6000602082019050818103600083015261378b816133cc565b9050919050565b600060208201905081810360008301526137ab816133ef565b9050919050565b60006020820190506137c76000830184613412565b92915050565b60006040820190506137e26000830185613412565b6137ef6020830184613072565b9392505050565b600060808201905061380b6000830187613412565b6138186020830186613072565b818103604083015261382a81856130c9565b90506138396060830184613412565b95945050505050565b60006040820190506138576000830185613412565b6138646020830184613412565b9392505050565b60006060820190506138806000830186613412565b61388d6020830185613412565b61389a6040830184613412565b949350505050565b60006138ac6138bd565b90506138b88282613b0f565b919050565b6000604051905090565b600067ffffffffffffffff8211156138e2576138e1613c47565b5b6138eb82613c76565b9050602081019050919050565b600067ffffffffffffffff82111561391357613912613c47565b5b61391c82613c76565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061397782613a91565b915061398283613a91565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139b7576139b6613bba565b5b828201905092915050565b60006139cd82613a91565b91506139d883613a91565b9250826139e8576139e7613be9565b5b828204905092915050565b60006139fe82613a91565b9150613a0983613a91565b925082821015613a1c57613a1b613bba565b5b828203905092915050565b6000613a3282613a71565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ac8578082015181840152602081019050613aad565b83811115613ad7576000848401525b50505050565b60006002820490506001821680613af557607f821691505b60208210811415613b0957613b08613c18565b5b50919050565b613b1882613c76565b810181811067ffffffffffffffff82111715613b3757613b36613c47565b5b80604052505050565b6000613b4b82613a91565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b7e57613b7d613bba565b5b600182019050919050565b6000613b9482613a91565b9150613b9f83613a91565b925082613baf57613bae613be9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4e46542063616e6e6f74206265207472616e736665727265642062792074686960008201527f7320616464726573732e00000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686520617574686f72736869702063616e206f6e6c79206265206368616e6760008201527f656420627920746865206f726967696e616c20617574686f722e000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f417574686f72206665652063616e6e6f74206265206d6f7265207468616e205f60008201527f6d6178417574686f724665650000000000000000000000000000000000000000602082015250565b61427381613a27565b811461427e57600080fd5b50565b61428a81613a39565b811461429557600080fd5b50565b6142a181613a45565b81146142ac57600080fd5b50565b6142b881613a91565b81146142c357600080fd5b5056fea2646970667358221220ce2208b2cd9b07709e22548bbdc04181e1956fea0413210794c7d9b79b4e250164736f6c63430008010033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636352211e11610104578063b88d4fde116100a2578063eaa6a67611610071578063eaa6a67614610526578063ec4eb44214610556578063f2fde38b14610586578063f37d238f146105a2576101cf565b8063b88d4fde1461048e578063c0c7bbd2146104aa578063c87b56dd146104c6578063e985e9c5146104f6576101cf565b80638d814cd1116100de5780638d814cd11461041a5780638da5cb5b1461043657806395d89b4114610454578063a22cb46514610472576101cf565b80636352211e146103b057806370a08231146103e0578063715018a614610410576101cf565b806323b872dd1161017157806342842e0e1161014b57806342842e0e1461032c57806342966c68146103485780635a43cb32146103645780635bd1598614610380576101cf565b806323b872dd146102d85780632748ff1f146102f45780633d19495b14610310576101cf565b806309141a7c116101ad57806309141a7c14610252578063095ea7b3146102825780631197b7751461029e5780631fef4279146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612f7f565b6105be565b6040516101fb91906134d5565b60405180910390f35b61020c6106a0565b60405161021991906134f0565b60405180910390f35b61023c60048036038101906102379190612fd1565b610732565b6040516102499190613445565b60405180910390f35b61026c60048036038101906102679190612d71565b6107b7565b60405161027991906134d5565b60405180910390f35b61029c60048036038101906102979190612f43565b61080d565b005b6102a6610925565b6040516102b391906137b2565b60405180910390f35b6102d660048036038101906102d19190612d71565b61092b565b005b6102f260048036038101906102ed9190612dd6565b610a39565b005b61030e60048036038101906103099190612ffa565b610ac0565b005b61032a60048036038101906103259190612ffa565b610c2a565b005b61034660048036038101906103419190612dd6565b610d94565b005b610362600480360381019061035d9190612fd1565b610db4565b005b61037e60048036038101906103799190612fd1565b610e54565b005b61039a60048036038101906103959190612fd1565b610f1d565b6040516103a791906137b2565b60405180910390f35b6103ca60048036038101906103c59190612fd1565b610f3a565b6040516103d79190613445565b60405180910390f35b6103fa60048036038101906103f59190612d71565b610fec565b60405161040791906137b2565b60405180910390f35b6104186110a4565b005b610434600480360381019061042f9190613036565b61112c565b005b61043e611244565b60405161044b9190613445565b60405180910390f35b61045c61126e565b60405161046991906134f0565b60405180910390f35b61048c60048036038101906104879190612ea0565b611300565b005b6104a860048036038101906104a39190612e25565b611316565b005b6104c460048036038101906104bf9190612ffa565b61139f565b005b6104e060048036038101906104db9190612fd1565b611521565b6040516104ed91906134f0565b60405180910390f35b610510600480360381019061050b9190612d9a565b611673565b60405161051d91906134d5565b60405180910390f35b610540600480360381019061053b9190612edc565b611707565b60405161054d91906137b2565b60405180910390f35b610570600480360381019061056b9190612fd1565b6118a7565b60405161057d9190613445565b60405180910390f35b6105a0600480360381019061059b9190612d71565b6118e4565b005b6105bc60048036038101906105b79190612d71565b6119dc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610699575061069882611aea565b5b9050919050565b6060600080546106af90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546106db90613add565b80156107285780601f106106fd57610100808354040283529160200191610728565b820191906000526020600020905b81548152906001019060200180831161070b57829003601f168201915b5050505050905090565b600061073d82611b54565b61077c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610773906136d2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600061081882610f3a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088090613752565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a8611bc0565b73ffffffffffffffffffffffffffffffffffffffff1614806108d757506108d6816108d1611bc0565b611673565b5b610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90613612565b60405180910390fd5b6109208383611bc8565b505050565b600d5481565b610933611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610951611244565b73ffffffffffffffffffffffffffffffffffffffff16146109a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906136f2565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f29bf29e36204f335e06da4f6b3e61de27f1261bc4480ca151d5e1dafc2a725c081604051610a2e9190613445565b60405180910390a150565b610a4a81610a45611bc0565b611c81565b80610a5a5750610a59826107b7565b5b80610a715750610a70610a6b611bc0565b6107b7565b5b610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa790613572565b60405180910390fd5b610abb838383611ce9565b505050565b610ac8611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610ae6611244565b73ffffffffffffffffffffffffffffffffffffffff1614610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b33906136f2565b60405180910390fd5b610b4582611b54565b610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b906135f2565b60405180910390fd5b6001600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f76b46e15d1c15f22e5ff72a9bc1c25a78802c8e21eaf1b434c5cecf2fef898058282604051610c1e9291906137cd565b60405180910390a15050565b610c32611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610c50611244565b73ffffffffffffffffffffffffffffffffffffffff1614610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d906136f2565b60405180910390fd5b610caf82611b54565b610cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce5906135f2565b60405180910390fd5b6000600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fe58f6d5a5faf9cca464192e088054deae4ec88a7ee4aafacd834f996253c270d8282604051610d889291906137cd565b60405180910390a15050565b610daf83838360405180602001604052806000815250611316565b505050565b610dc5610dbf611bc0565b82611f50565b80610e095750610dd3611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610df1611244565b73ffffffffffffffffffffffffffffffffffffffff16145b610e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3f90613772565b60405180910390fd5b610e518161203e565b50565b610e5c611bc0565b73ffffffffffffffffffffffffffffffffffffffff16610e7a611244565b73ffffffffffffffffffffffffffffffffffffffff1614610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906136f2565b60405180910390fd5b6000600d54905081600d819055507f2a9d825e9cc961894bc89615d4f7b620be6662150dca2fa7078534f992e2799a81600d54604051610f11929190613842565b60405180910390a15050565b6000600c6000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613652565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490613632565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110ac611bc0565b73ffffffffffffffffffffffffffffffffffffffff166110ca611244565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611117906136f2565b60405180910390fd5b61112a6000612091565b565b611134611bc0565b73ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cb90613732565b60405180910390fd5b6000600c600084815260200190815260200160002054905081600c6000858152602001908152602001600020819055507fd95cc380b8c8c0f4ba9b5798556fd09b767af6d1957df2fc4841ebadeb6eb4f58382846040516112379392919061386b565b60405180910390a1505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461127d90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546112a990613add565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b5050505050905090565b61131261130b611bc0565b8383612157565b5050565b61132782611322611bc0565b611c81565b806113375750611336836107b7565b5b8061134e575061134d611348611bc0565b6107b7565b5b61138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490613572565b60405180910390fd5b611399848484846122c4565b50505050565b6113a7611bc0565b73ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061144c5750611416611bc0565b73ffffffffffffffffffffffffffffffffffffffff16611434611244565b73ffffffffffffffffffffffffffffffffffffffff16145b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290613732565b60405180910390fd5b80600b600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f306bad63a98e3cde833f707db80ee531e92ecde9d53d7ff99a0f2c026cdeb7a4611506611bc0565b82604051611515929190613460565b60405180910390a15050565b606061152c82611b54565b61156b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611562906136b2565b60405180910390fd5b600060076000848152602001908152602001600020805461158b90613add565b80601f01602080910402602001604051908101604052809291908181526020018280546115b790613add565b80156116045780601f106115d957610100808354040283529160200191611604565b820191906000526020600020905b8154815290600101906020018083116115e757829003601f168201915b505050505090506000611615612320565b905060008151141561162b57819250505061166e565b600082511115611660578082604051602001611648929190613421565b6040516020818303038152906040529250505061166e565b61166984612337565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611711611bc0565b73ffffffffffffffffffffffffffffffffffffffff1661172f611244565b73ffffffffffffffffffffffffffffffffffffffff1614611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906136f2565b60405180910390fd5b600d5482106117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613792565b60405180910390fd5b6117d360096123de565b60006117df60096123f4565b90506117eb8582612402565b6117f581856125dc565b84600b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c6000838152602001908152602001600020819055507f1603f20f721362b0691bb408edb3cf01409cd56da9edd4627b178750b7dd49a88186868660405161189494939291906137f6565b60405180910390a1809150509392505050565b6000600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6118ec611bc0565b73ffffffffffffffffffffffffffffffffffffffff1661190a611244565b73ffffffffffffffffffffffffffffffffffffffff1614611960576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611957906136f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790613532565b60405180910390fd5b6119d981612091565b50565b6119e4611bc0565b73ffffffffffffffffffffffffffffffffffffffff16611a02611244565b73ffffffffffffffffffffffffffffffffffffffff1614611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f906136f2565b60405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa3f06f52f9ee226b596200ff8de79821f0acd489918fb2db452f36592ffb6df281604051611adf9190613445565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c3b83610f3a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d0982610f3a565b73ffffffffffffffffffffffffffffffffffffffff1614611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690613552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc6906135b2565b60405180910390fd5b611dda838383612650565b611de5600082611bc8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3591906139f3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e8c919061396c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f4b8383836126d7565b505050565b6000611f5b82611b54565b611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f91906135f2565b60405180910390fd5b6000611fa583610f3a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fe75750611fe68185611673565b5b8061202557508373ffffffffffffffffffffffffffffffffffffffff1661200d84610732565b73ffffffffffffffffffffffffffffffffffffffff16145b806120355750612034846107b7565b5b91505092915050565b612047816126dc565b600060076000838152602001908152602001600020805461206790613add565b90501461208e5760076000828152602001908152602001600020600061208d9190612b55565b5b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd906135d2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b791906134d5565b60405180910390a3505050565b6122cf848484611ce9565b6122db848484846127f9565b61231a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231190613512565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061234282611b54565b612381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237890613712565b60405180910390fd5b600061238b612320565b905060008151116123ab57604051806020016040528060008152506123d6565b806123b584612990565b6040516020016123c6929190613421565b6040516020818303038152906040525b915050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246990613692565b60405180910390fd5b61247b81611b54565b156124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290613592565b60405180910390fd5b6124c760008383612650565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612517919061396c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125d8600083836126d7565b5050565b6125e582611b54565b612624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261b90613672565b60405180910390fd5b8060076000848152602001908152602001600020908051906020019061264b929190612b95565b505050565b6126618161265c611bc0565b611c81565b806126715750612670826107b7565b5b806126885750612687612682611bc0565b6107b7565b5b6126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be90613572565b60405180910390fd5b6126d2838383612b3d565b505050565b505050565b60006126e782610f3a565b90506126f581600084612650565b612700600083611bc8565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275091906139f3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f5816000846126d7565b5050565b600061281a8473ffffffffffffffffffffffffffffffffffffffff16612b42565b15612983578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612843611bc0565b8786866040518563ffffffff1660e01b81526004016128659493929190613489565b602060405180830381600087803b15801561287f57600080fd5b505af19250505080156128b057506040513d601f19601f820116820180604052508101906128ad9190612fa8565b60015b612933573d80600081146128e0576040519150601f19603f3d011682016040523d82523d6000602084013e6128e5565b606091505b5060008151141561292b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292290613512565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612988565b600190505b949350505050565b606060008214156129d8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b38565b600082905060005b60008214612a0a5780806129f390613b40565b915050600a82612a0391906139c2565b91506129e0565b60008167ffffffffffffffff811115612a4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a7e5781602001600182028036833780820191505090505b5090505b60008514612b3157600182612a9791906139f3565b9150600a85612aa69190613b89565b6030612ab2919061396c565b60f81b818381518110612aee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b2a91906139c2565b9450612a82565b8093505050505b919050565b505050565b600080823b905060008111915050919050565b508054612b6190613add565b6000825580601f10612b735750612b92565b601f016020900490600052602060002090810190612b919190612c1b565b5b50565b828054612ba190613add565b90600052602060002090601f016020900481019282612bc35760008555612c0a565b82601f10612bdc57805160ff1916838001178555612c0a565b82800160010185558215612c0a579182015b82811115612c09578251825591602001919060010190612bee565b5b509050612c179190612c1b565b5090565b5b80821115612c34576000816000905550600101612c1c565b5090565b6000612c4b612c46846138c7565b6138a2565b905082815260208101848484011115612c6357600080fd5b612c6e848285613a9b565b509392505050565b6000612c89612c84846138f8565b6138a2565b905082815260208101848484011115612ca157600080fd5b612cac848285613a9b565b509392505050565b600081359050612cc38161426a565b92915050565b600081359050612cd881614281565b92915050565b600081359050612ced81614298565b92915050565b600081519050612d0281614298565b92915050565b600082601f830112612d1957600080fd5b8135612d29848260208601612c38565b91505092915050565b600082601f830112612d4357600080fd5b8135612d53848260208601612c76565b91505092915050565b600081359050612d6b816142af565b92915050565b600060208284031215612d8357600080fd5b6000612d9184828501612cb4565b91505092915050565b60008060408385031215612dad57600080fd5b6000612dbb85828601612cb4565b9250506020612dcc85828601612cb4565b9150509250929050565b600080600060608486031215612deb57600080fd5b6000612df986828701612cb4565b9350506020612e0a86828701612cb4565b9250506040612e1b86828701612d5c565b9150509250925092565b60008060008060808587031215612e3b57600080fd5b6000612e4987828801612cb4565b9450506020612e5a87828801612cb4565b9350506040612e6b87828801612d5c565b925050606085013567ffffffffffffffff811115612e8857600080fd5b612e9487828801612d08565b91505092959194509250565b60008060408385031215612eb357600080fd5b6000612ec185828601612cb4565b9250506020612ed285828601612cc9565b9150509250929050565b600080600060608486031215612ef157600080fd5b6000612eff86828701612cb4565b935050602084013567ffffffffffffffff811115612f1c57600080fd5b612f2886828701612d32565b9250506040612f3986828701612d5c565b9150509250925092565b60008060408385031215612f5657600080fd5b6000612f6485828601612cb4565b9250506020612f7585828601612d5c565b9150509250929050565b600060208284031215612f9157600080fd5b6000612f9f84828501612cde565b91505092915050565b600060208284031215612fba57600080fd5b6000612fc884828501612cf3565b91505092915050565b600060208284031215612fe357600080fd5b6000612ff184828501612d5c565b91505092915050565b6000806040838503121561300d57600080fd5b600061301b85828601612d5c565b925050602061302c85828601612cb4565b9150509250929050565b6000806040838503121561304957600080fd5b600061305785828601612d5c565b925050602061306885828601612d5c565b9150509250929050565b61307b81613a27565b82525050565b61308a81613a39565b82525050565b600061309b82613929565b6130a5818561393f565b93506130b5818560208601613aaa565b6130be81613c76565b840191505092915050565b60006130d482613934565b6130de8185613950565b93506130ee818560208601613aaa565b6130f781613c76565b840191505092915050565b600061310d82613934565b6131178185613961565b9350613127818560208601613aaa565b80840191505092915050565b6000613140603283613950565b915061314b82613c87565b604082019050919050565b6000613163602683613950565b915061316e82613cd6565b604082019050919050565b6000613186602583613950565b915061319182613d25565b604082019050919050565b60006131a9602a83613950565b91506131b482613d74565b604082019050919050565b60006131cc601c83613950565b91506131d782613dc3565b602082019050919050565b60006131ef602483613950565b91506131fa82613dec565b604082019050919050565b6000613212601983613950565b915061321d82613e3b565b602082019050919050565b6000613235602c83613950565b915061324082613e64565b604082019050919050565b6000613258603883613950565b915061326382613eb3565b604082019050919050565b600061327b602a83613950565b915061328682613f02565b604082019050919050565b600061329e602983613950565b91506132a982613f51565b604082019050919050565b60006132c1602e83613950565b91506132cc82613fa0565b604082019050919050565b60006132e4602083613950565b91506132ef82613fef565b602082019050919050565b6000613307603183613950565b915061331282614018565b604082019050919050565b600061332a602c83613950565b915061333582614067565b604082019050919050565b600061334d602083613950565b9150613358826140b6565b602082019050919050565b6000613370602f83613950565b915061337b826140df565b604082019050919050565b6000613393603a83613950565b915061339e8261412e565b604082019050919050565b60006133b6602183613950565b91506133c18261417d565b604082019050919050565b60006133d9603083613950565b91506133e4826141cc565b604082019050919050565b60006133fc602c83613950565b91506134078261421b565b604082019050919050565b61341b81613a91565b82525050565b600061342d8285613102565b91506134398284613102565b91508190509392505050565b600060208201905061345a6000830184613072565b92915050565b60006040820190506134756000830185613072565b6134826020830184613072565b9392505050565b600060808201905061349e6000830187613072565b6134ab6020830186613072565b6134b86040830185613412565b81810360608301526134ca8184613090565b905095945050505050565b60006020820190506134ea6000830184613081565b92915050565b6000602082019050818103600083015261350a81846130c9565b905092915050565b6000602082019050818103600083015261352b81613133565b9050919050565b6000602082019050818103600083015261354b81613156565b9050919050565b6000602082019050818103600083015261356b81613179565b9050919050565b6000602082019050818103600083015261358b8161319c565b9050919050565b600060208201905081810360008301526135ab816131bf565b9050919050565b600060208201905081810360008301526135cb816131e2565b9050919050565b600060208201905081810360008301526135eb81613205565b9050919050565b6000602082019050818103600083015261360b81613228565b9050919050565b6000602082019050818103600083015261362b8161324b565b9050919050565b6000602082019050818103600083015261364b8161326e565b9050919050565b6000602082019050818103600083015261366b81613291565b9050919050565b6000602082019050818103600083015261368b816132b4565b9050919050565b600060208201905081810360008301526136ab816132d7565b9050919050565b600060208201905081810360008301526136cb816132fa565b9050919050565b600060208201905081810360008301526136eb8161331d565b9050919050565b6000602082019050818103600083015261370b81613340565b9050919050565b6000602082019050818103600083015261372b81613363565b9050919050565b6000602082019050818103600083015261374b81613386565b9050919050565b6000602082019050818103600083015261376b816133a9565b9050919050565b6000602082019050818103600083015261378b816133cc565b9050919050565b600060208201905081810360008301526137ab816133ef565b9050919050565b60006020820190506137c76000830184613412565b92915050565b60006040820190506137e26000830185613412565b6137ef6020830184613072565b9392505050565b600060808201905061380b6000830187613412565b6138186020830186613072565b818103604083015261382a81856130c9565b90506138396060830184613412565b95945050505050565b60006040820190506138576000830185613412565b6138646020830184613412565b9392505050565b60006060820190506138806000830186613412565b61388d6020830185613412565b61389a6040830184613412565b949350505050565b60006138ac6138bd565b90506138b88282613b0f565b919050565b6000604051905090565b600067ffffffffffffffff8211156138e2576138e1613c47565b5b6138eb82613c76565b9050602081019050919050565b600067ffffffffffffffff82111561391357613912613c47565b5b61391c82613c76565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061397782613a91565b915061398283613a91565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139b7576139b6613bba565b5b828201905092915050565b60006139cd82613a91565b91506139d883613a91565b9250826139e8576139e7613be9565b5b828204905092915050565b60006139fe82613a91565b9150613a0983613a91565b925082821015613a1c57613a1b613bba565b5b828203905092915050565b6000613a3282613a71565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ac8578082015181840152602081019050613aad565b83811115613ad7576000848401525b50505050565b60006002820490506001821680613af557607f821691505b60208210811415613b0957613b08613c18565b5b50919050565b613b1882613c76565b810181811067ffffffffffffffff82111715613b3757613b36613c47565b5b80604052505050565b6000613b4b82613a91565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b7e57613b7d613bba565b5b600182019050919050565b6000613b9482613a91565b9150613b9f83613a91565b925082613baf57613bae613be9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4e46542063616e6e6f74206265207472616e736665727265642062792074686960008201527f7320616464726573732e00000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686520617574686f72736869702063616e206f6e6c79206265206368616e6760008201527f656420627920746865206f726967696e616c20617574686f722e000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f417574686f72206665652063616e6e6f74206265206d6f7265207468616e205f60008201527f6d6178417574686f724665650000000000000000000000000000000000000000602082015250565b61427381613a27565b811461427e57600080fd5b50565b61428a81613a39565b811461429557600080fd5b50565b6142a181613a45565b81146142ac57600080fd5b50565b6142b881613a91565b81146142c357600080fd5b5056fea2646970667358221220ce2208b2cd9b07709e22548bbdc04181e1956fea0413210794c7d9b79b4e250164736f6c63430008010033
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.